1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-24 19:37:35 +00:00
serenity/Libraries/LibWeb/Bindings
Linus Groh 50b76e4cc7 LibWeb: Don't allocate XMLHttpRequestConstructor twice
add_constructor() will already allocate an XMLHttpRequestConstructor and
update m_xhr_constructor accordingly, we don't have to do it ourselves.
This is now in line with how all the LibJS constructors work. Also make
the XHR constructor responsible for setting its "prototype" property
itself, for consistency and fail-proofing.
Previously we would only set it on the constructor we allocated manually
but which was then thrown away, leading to the property never being set
properly.
2020-12-09 12:49:30 +01:00
..
EventListenerWrapper.cpp LibWeb: Remove a bunch of unnecessary <LibJS/Interpreter.h> includes 2020-09-29 17:04:16 +02:00
EventListenerWrapper.h LibWeb: Move DOM classes into the Web::DOM namespace 2020-07-26 20:05:15 +02:00
EventTargetWrapperFactory.cpp LibWeb: Move DOM event dispatch to its own class 2020-09-06 14:48:14 +02:00
EventTargetWrapperFactory.h LibWeb: Move DOM event dispatch to its own class 2020-09-06 14:48:14 +02:00
EventWrapperFactory.cpp LibWeb: Mark compilation-unit-only functions as static 2020-08-12 20:40:59 +02:00
EventWrapperFactory.h LibWeb: Move DOM classes into the Web::DOM namespace 2020-07-26 20:05:15 +02:00
LocationObject.cpp LibWeb: Complete the URL in href_setter() before trying to load it 2020-12-02 10:08:29 +01:00
LocationObject.h LibJS: Simplify Cell::initialize() 2020-07-23 17:31:08 +02:00
NavigatorObject.cpp LibWeb: Remove a bunch of unnecessary <LibJS/Interpreter.h> includes 2020-09-29 17:04:16 +02:00
NavigatorObject.h LibJS: Simplify Cell::initialize() 2020-07-23 17:31:08 +02:00
NodeWrapperFactory.cpp LibWeb: Add almost all obsolete but required IDL attributes 2020-11-12 10:38:26 +01:00
NodeWrapperFactory.h LibWeb: Move DOM classes into the Web::DOM namespace 2020-07-26 20:05:15 +02:00
ScriptExecutionContext.cpp LibWeb: Add Bindings::ScriptExecutionContext 2020-09-20 19:22:44 +02:00
ScriptExecutionContext.h LibWeb: Add Bindings::ScriptExecutionContext 2020-09-20 19:22:44 +02:00
WindowObject.cpp LibWeb: Don't allocate XMLHttpRequestConstructor twice 2020-12-09 12:49:30 +01:00
WindowObject.h LibJS: Rename Cell::visit_children() => Cell::visit_edges() 2020-11-28 17:16:48 +01:00
Wrappable.cpp LibWeb: Add missing copyright headers 2020-03-15 10:24:05 +01:00
Wrappable.h LibWeb: Use "namespace Web::Foo {" since C++20 allows it :^) 2020-07-21 16:23:08 +02:00
Wrapper.h LibWeb: Use "namespace Web::Foo {" since C++20 allows it :^) 2020-07-21 16:23:08 +02:00
XMLHttpRequestConstructor.cpp LibWeb: Don't allocate XMLHttpRequestConstructor twice 2020-12-09 12:49:30 +01:00
XMLHttpRequestConstructor.h LibJS: Remove Interpreter& argument to Function::construct() 2020-09-27 20:26:58 +02:00
XMLHttpRequestPrototype.cpp LibWeb: Remove a bunch of unnecessary <LibJS/Interpreter.h> includes 2020-09-29 17:04:16 +02:00
XMLHttpRequestPrototype.h LibJS: Simplify Cell::initialize() 2020-07-23 17:31:08 +02:00
XMLHttpRequestWrapper.cpp LibWeb: Use "namespace Web::Foo {" since C++20 allows it :^) 2020-07-21 16:23:08 +02:00
XMLHttpRequestWrapper.h LibWeb: Use "namespace Web::Foo {" since C++20 allows it :^) 2020-07-21 16:23:08 +02:00