diff --git a/Tests/LibWeb/Text/expected/all-window-properties.txt b/Tests/LibWeb/Text/expected/all-window-properties.txt
index a384a84079..8fa706e12a 100644
--- a/Tests/LibWeb/Text/expected/all-window-properties.txt
+++ b/Tests/LibWeb/Text/expected/all-window-properties.txt
@@ -395,6 +395,7 @@ asyncTest
printElement
println
promiseTest
+removeTestErrorHandler
spoofCurrentURL
test
timeout
diff --git a/Tests/LibWeb/Text/input/HTML/Window-onerror.html b/Tests/LibWeb/Text/input/HTML/Window-onerror.html
index 525f1f70a6..318ab4fd6d 100644
--- a/Tests/LibWeb/Text/input/HTML/Window-onerror.html
+++ b/Tests/LibWeb/Text/input/HTML/Window-onerror.html
@@ -2,6 +2,9 @@