mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 16:45:03 +00:00
LibWeb: Fix location.reload.length
This was accidentally being set to JS::Attribute::Enumerable instead of 0.
This commit is contained in:
@@ -47,7 +47,7 @@ LocationObject::LocationObject()
|
||||
define_native_property("search", search_getter, nullptr, attr);
|
||||
define_native_property("protocol", protocol_getter, nullptr, attr);
|
||||
|
||||
define_native_function("reload", reload, JS::Attribute::Enumerable);
|
||||
define_native_function("reload", reload, 0, JS::Attribute::Enumerable);
|
||||
}
|
||||
|
||||
LocationObject::~LocationObject()
|
||||
|
||||
Reference in New Issue
Block a user