mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-25 15:39:55 +00:00
LibWeb: Make window.location.reload() enumerable only
This commit is contained in:
parent
eb0810bf1a
commit
b69abb3626
Notes:
sideshowbarker
2024-07-19 06:23:03 +09:00
Author: https://github.com/linusg Commit: https://github.com/SerenityOS/serenity/commit/b69abb36265 Pull-request: https://github.com/SerenityOS/serenity/pull/2301
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("protocol", protocol_getter, nullptr, attr);
|
||||
|
||||
put_native_function("reload", reload);
|
||||
put_native_function("reload", reload, JS::Attribute::Enumerable);
|
||||
}
|
||||
|
||||
LocationObject::~LocationObject()
|
||||
|
|
Loading…
Reference in a new issue