mirror of
https://github.com/RGBCube/serenity
synced 2025-07-10 11:57:35 +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
|
@ -40,8 +40,9 @@ LocationObject::LocationObject(JS::GlobalObject& global_object)
|
|||
{
|
||||
}
|
||||
|
||||
void LocationObject::initialize(JS::Interpreter&, JS::GlobalObject&)
|
||||
void LocationObject::initialize(JS::Interpreter& interpreter, JS::GlobalObject& global_object)
|
||||
{
|
||||
Object::initialize(interpreter, global_object);
|
||||
u8 attr = JS::Attribute::Writable | JS::Attribute::Enumerable;
|
||||
define_native_property("href", href_getter, href_setter, attr);
|
||||
define_native_property("host", host_getter, nullptr, attr);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue