diff --git a/Tests/LibWeb/Text/expected/XHR/XMLHttpRequest-forbidden-method.txt b/Tests/LibWeb/Text/expected/XHR/XMLHttpRequest-forbidden-method.txt
new file mode 100644
index 00000000000..7ef22e9a431
--- /dev/null
+++ b/Tests/LibWeb/Text/expected/XHR/XMLHttpRequest-forbidden-method.txt
@@ -0,0 +1 @@
+PASS
diff --git a/Tests/LibWeb/Text/input/XHR/XMLHttpRequest-forbidden-method.html b/Tests/LibWeb/Text/input/XHR/XMLHttpRequest-forbidden-method.html
new file mode 100644
index 00000000000..3c2c0e93478
--- /dev/null
+++ b/Tests/LibWeb/Text/input/XHR/XMLHttpRequest-forbidden-method.html
@@ -0,0 +1,20 @@
+
+