LibWeb: Make window.location.reload() enumerable only

This commit is contained in:
Linus Groh 2020-05-19 21:48:18 +01:00 committed by Andreas Kling
parent eb0810bf1a
commit b69abb3626
Notes: sideshowbarker 2024-07-19 06:23:03 +09:00

View file

@ -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()