mirror of
https://github.com/RGBCube/serenity
synced 2025-05-19 17:05:06 +00:00
LibWeb: Make window.location.reload() enumerable only
This commit is contained in:
parent
eb0810bf1a
commit
b69abb3626
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ LocationObject::LocationObject()
|
||||||
put_native_property("search", search_getter, nullptr, attr);
|
put_native_property("search", search_getter, nullptr, attr);
|
||||||
put_native_property("protocol", protocol_getter, nullptr, attr);
|
put_native_property("protocol", protocol_getter, nullptr, attr);
|
||||||
|
|
||||||
put_native_function("reload", reload);
|
put_native_function("reload", reload, JS::Attribute::Enumerable);
|
||||||
}
|
}
|
||||||
|
|
||||||
LocationObject::~LocationObject()
|
LocationObject::~LocationObject()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue