LibWeb: Don't generate a wrap() function for the Event IDL interface
We already have a wrap() in EventWrapperFactory.cpp. It would be nice to generate that at some point but it will require a lot more work on the wrapper generator.
This commit is contained in:
parent
ddbfd77e2c
commit
024b216141
Notes:
sideshowbarker
2024-07-19 01:15:25 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/024b2161415
2 changed files with 3 additions and 0 deletions
|
@ -36,6 +36,7 @@
|
|||
#include <LibTextCodec/Decoder.h>
|
||||
#include <LibWeb/Bindings/DocumentWrapper.h>
|
||||
#include <LibWeb/Bindings/EventWrapper.h>
|
||||
#include <LibWeb/Bindings/EventWrapperFactory.h>
|
||||
#include <LibWeb/Bindings/LocationObject.h>
|
||||
#include <LibWeb/Bindings/NavigatorObject.h>
|
||||
#include <LibWeb/Bindings/NodeWrapperFactory.h>
|
||||
|
|
|
@ -342,6 +342,8 @@ int main(int argc, char** argv)
|
|||
static bool should_emit_wrapper_factory(const IDL::Interface& interface)
|
||||
{
|
||||
// FIXME: This is very hackish.
|
||||
if (interface.name == "Event")
|
||||
return false;
|
||||
if (interface.name == "EventTarget")
|
||||
return false;
|
||||
if (interface.name == "Node")
|
||||
|
|
Loading…
Add table
Reference in a new issue