mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-23 09:22:30 +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: b69abb3626
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…
Add table
Add a link
Reference in a new issue