1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-18 14:55:08 +00:00

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

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