summaryrefslogtreecommitdiff
path: root/Libraries
diff options
context:
space:
mode:
authorLuke <luke.wilde@live.co.uk>2020-06-06 07:36:38 +0100
committerAndreas Kling <kling@serenityos.org>2020-06-06 09:55:30 +0200
commit9de92ae4c14907bb3bd446ee27bf60f4ea8589bb (patch)
treeb6358c52fe961d0cccea005929642f123ebef454 /Libraries
parent61d5bec7392e11b78c699de468af1482083b1b3d (diff)
downloadserenity-9de92ae4c14907bb3bd446ee27bf60f4ea8589bb.zip
LibWeb: Fix location.reload.length
This was accidentally being set to JS::Attribute::Enumerable instead of 0.
Diffstat (limited to 'Libraries')
-rw-r--r--Libraries/LibWeb/Bindings/LocationObject.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Libraries/LibWeb/Bindings/LocationObject.cpp b/Libraries/LibWeb/Bindings/LocationObject.cpp
index 8acce54dfa..7864f54efc 100644
--- a/Libraries/LibWeb/Bindings/LocationObject.cpp
+++ b/Libraries/LibWeb/Bindings/LocationObject.cpp
@@ -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()