diff --git a/Tests/LibWeb/Text/expected/form-method-dialog.txt b/Tests/LibWeb/Text/expected/form-method-dialog.txt
index 0568a2a0cc..6f5aa98762 100644
--- a/Tests/LibWeb/Text/expected/form-method-dialog.txt
+++ b/Tests/LibWeb/Text/expected/form-method-dialog.txt
@@ -1,2 +1,4 @@
dialog.open before form submit: true
+dialog.returnValue before form submit should be empty: true
dialog.open after form submit: false
+dialog.returnValue after form submit: PASS
diff --git a/Tests/LibWeb/Text/input/form-method-dialog.html b/Tests/LibWeb/Text/input/form-method-dialog.html
index 3fe6737e61..312419eb7c 100644
--- a/Tests/LibWeb/Text/input/form-method-dialog.html
+++ b/Tests/LibWeb/Text/input/form-method-dialog.html
@@ -1,7 +1,7 @@