summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/HTML/HTMLElement.cpp
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2022-09-04 16:56:15 +0200
committerAndreas Kling <kling@serenityos.org>2022-09-06 00:27:09 +0200
commit497ead37bcc959a9325aa22b0a233e302b071229 (patch)
tree5657266abb6d64bef43e251c002d05a392055562 /Userland/Libraries/LibWeb/HTML/HTMLElement.cpp
parent0e47754ac82b3c9996732fc29dac9d2a1abed8ac (diff)
downloadserenity-497ead37bcc959a9325aa22b0a233e302b071229.zip
LibWeb: Make DOMException GC-allocated
Diffstat (limited to 'Userland/Libraries/LibWeb/HTML/HTMLElement.cpp')
-rw-r--r--Userland/Libraries/LibWeb/HTML/HTMLElement.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibWeb/HTML/HTMLElement.cpp b/Userland/Libraries/LibWeb/HTML/HTMLElement.cpp
index e2660a8f02..097e16cda2 100644
--- a/Userland/Libraries/LibWeb/HTML/HTMLElement.cpp
+++ b/Userland/Libraries/LibWeb/HTML/HTMLElement.cpp
@@ -104,7 +104,7 @@ DOM::ExceptionOr<void> HTMLElement::set_content_editable(String const& content_e
set_attribute(HTML::AttributeNames::contenteditable, "false");
return {};
}
- return DOM::SyntaxError::create("Invalid contentEditable value, must be 'true', 'false', or 'inherit'");
+ return DOM::SyntaxError::create(global_object(), "Invalid contentEditable value, must be 'true', 'false', or 'inherit'");
}
void HTMLElement::set_inner_text(StringView text)