diff options
Diffstat (limited to 'Userland/Libraries/LibWeb/HTML/DOMStringMap.cpp')
-rw-r--r-- | Userland/Libraries/LibWeb/HTML/DOMStringMap.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibWeb/HTML/DOMStringMap.cpp b/Userland/Libraries/LibWeb/HTML/DOMStringMap.cpp index 60dff8eb6d..904e09a96b 100644 --- a/Userland/Libraries/LibWeb/HTML/DOMStringMap.cpp +++ b/Userland/Libraries/LibWeb/HTML/DOMStringMap.cpp @@ -185,7 +185,7 @@ bool DOMStringMap::delete_existing_named_property(DeprecatedString const& name) JS::Value DOMStringMap::named_item_value(FlyString const& name) const { - return js_string(vm(), determine_value_of_named_property(name)); + return JS::PrimitiveString::create(vm(), determine_value_of_named_property(name)); } } |