diff --git a/Tests/LibWeb/Text/expected/localStorage.txt b/Tests/LibWeb/Text/expected/localStorage.txt
index a5ea54de542..37bc923eb44 100644
--- a/Tests/LibWeb/Text/expected/localStorage.txt
+++ b/Tests/LibWeb/Text/expected/localStorage.txt
@@ -1,6 +1,10 @@
+undefined
+null
value
value
other
other
+undefined
+null
foo
foo
diff --git a/Tests/LibWeb/Text/input/localStorage.html b/Tests/LibWeb/Text/input/localStorage.html
index 32715a3ecf2..85fc7b4df29 100644
--- a/Tests/LibWeb/Text/input/localStorage.html
+++ b/Tests/LibWeb/Text/input/localStorage.html
@@ -1,6 +1,10 @@