mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 04:48:14 +00:00
LibWeb: Add some missing wrapper calls to base class initialize()
This is easy to forget, but the problem will go away once we start to auto-generate this code.
This commit is contained in:
parent
3ba17d8df7
commit
42870a9494
3 changed files with 6 additions and 3 deletions
|
@ -41,8 +41,9 @@ XMLHttpRequestConstructor::XMLHttpRequestConstructor(JS::GlobalObject& global_ob
|
|||
{
|
||||
}
|
||||
|
||||
void XMLHttpRequestConstructor::initialize(JS::Interpreter&, JS::GlobalObject&)
|
||||
void XMLHttpRequestConstructor::initialize(JS::Interpreter& interpreter, JS::GlobalObject& global_object)
|
||||
{
|
||||
NativeFunction::initialize(interpreter, global_object);
|
||||
define_property("length", JS::Value(1), JS::Attribute::Configurable);
|
||||
|
||||
define_property("UNSENT", JS::Value((i32)XMLHttpRequest::ReadyState::Unsent), JS::Attribute::Enumerable);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue