diff --git a/tests/wpt/metadata/html/dom/dynamic-markup-insertion/__dir__.ini b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/closing-the-input-stream/__dir__.ini
similarity index 100%
rename from tests/wpt/metadata/html/dom/dynamic-markup-insertion/__dir__.ini
rename to tests/wpt/metadata/html/dom/dynamic-markup-insertion/closing-the-input-stream/__dir__.ini
diff --git a/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/001.html.ini b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/001.html.ini
new file mode 100644
index 00000000000..6985114e858
--- /dev/null
+++ b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/001.html.ini
@@ -0,0 +1,5 @@
+[001.html]
+ type: testharness
+ [document.write]
+ expected: FAIL
+
diff --git a/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/002.html.ini b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/002.html.ini
new file mode 100644
index 00000000000..2cc993ceb7d
--- /dev/null
+++ b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/002.html.ini
@@ -0,0 +1,5 @@
+[002.html]
+ type: testharness
+ [document.write]
+ expected: FAIL
+
diff --git a/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/003.html.ini b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/003.html.ini
new file mode 100644
index 00000000000..88bb5813400
--- /dev/null
+++ b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/003.html.ini
@@ -0,0 +1,5 @@
+[003.html]
+ type: testharness
+ [document.write]
+ expected: FAIL
+
diff --git a/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/004.html.ini b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/004.html.ini
new file mode 100644
index 00000000000..e1b8ef4e573
--- /dev/null
+++ b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/004.html.ini
@@ -0,0 +1,5 @@
+[004.html]
+ type: testharness
+ [document.write]
+ expected: FAIL
+
diff --git a/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/005.html.ini b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/005.html.ini
new file mode 100644
index 00000000000..803351606ca
--- /dev/null
+++ b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/005.html.ini
@@ -0,0 +1,5 @@
+[005.html]
+ type: testharness
+ [document.write]
+ expected: FAIL
+
diff --git a/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/006.html.ini b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/006.html.ini
new file mode 100644
index 00000000000..c9292a1eae6
--- /dev/null
+++ b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/006.html.ini
@@ -0,0 +1,5 @@
+[006.html]
+ type: testharness
+ [document.write]
+ expected: FAIL
+
diff --git a/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/007.html.ini b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/007.html.ini
new file mode 100644
index 00000000000..b340befb9be
--- /dev/null
+++ b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/007.html.ini
@@ -0,0 +1,5 @@
+[007.html]
+ type: testharness
+ [document.write]
+ expected: FAIL
+
diff --git a/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/008.html.ini b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/008.html.ini
new file mode 100644
index 00000000000..1cc053a9848
--- /dev/null
+++ b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/008.html.ini
@@ -0,0 +1,5 @@
+[008.html]
+ type: testharness
+ [document.write]
+ expected: FAIL
+
diff --git a/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/009.html.ini b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/009.html.ini
new file mode 100644
index 00000000000..566a0b8ebc4
--- /dev/null
+++ b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/009.html.ini
@@ -0,0 +1,5 @@
+[009.html]
+ type: testharness
+ [document.write]
+ expected: FAIL
+
diff --git a/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/010.html.ini b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/010.html.ini
new file mode 100644
index 00000000000..ddec5826883
--- /dev/null
+++ b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/010.html.ini
@@ -0,0 +1,5 @@
+[010.html]
+ type: testharness
+ [document.write]
+ expected: FAIL
+
diff --git a/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/011.html.ini b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/011.html.ini
new file mode 100644
index 00000000000..79e8adfc761
--- /dev/null
+++ b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/011.html.ini
@@ -0,0 +1,5 @@
+[011.html]
+ type: testharness
+ [document.write]
+ expected: FAIL
+
diff --git a/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/012.html.ini b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/012.html.ini
new file mode 100644
index 00000000000..77779cbe507
--- /dev/null
+++ b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/012.html.ini
@@ -0,0 +1,5 @@
+[012.html]
+ type: testharness
+ [document.write]
+ expected: FAIL
+
diff --git a/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/013.html.ini b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/013.html.ini
new file mode 100644
index 00000000000..7cb278bfb5f
--- /dev/null
+++ b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/013.html.ini
@@ -0,0 +1,5 @@
+[013.html]
+ type: testharness
+ [document.write]
+ expected: FAIL
+
diff --git a/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/014.html.ini b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/014.html.ini
new file mode 100644
index 00000000000..69e5c5bc04b
--- /dev/null
+++ b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/014.html.ini
@@ -0,0 +1,5 @@
+[014.html]
+ type: testharness
+ [document.write]
+ expected: FAIL
+
diff --git a/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/015.html.ini b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/015.html.ini
new file mode 100644
index 00000000000..f9eec8951cf
--- /dev/null
+++ b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/015.html.ini
@@ -0,0 +1,5 @@
+[015.html]
+ type: testharness
+ [document.write]
+ expected: FAIL
+
diff --git a/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/016.html.ini b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/016.html.ini
new file mode 100644
index 00000000000..d60580d3c69
--- /dev/null
+++ b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/016.html.ini
@@ -0,0 +1,5 @@
+[016.html]
+ type: testharness
+ [document.write]
+ expected: FAIL
+
diff --git a/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/017.html.ini b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/017.html.ini
new file mode 100644
index 00000000000..1710ed2f62b
--- /dev/null
+++ b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/017.html.ini
@@ -0,0 +1,5 @@
+[017.html]
+ type: testharness
+ [document.write]
+ expected: FAIL
+
diff --git a/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/018.html.ini b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/018.html.ini
new file mode 100644
index 00000000000..78062b20a21
--- /dev/null
+++ b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/018.html.ini
@@ -0,0 +1,5 @@
+[018.html]
+ type: testharness
+ [document.write]
+ expected: FAIL
+
diff --git a/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/019.html.ini b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/019.html.ini
new file mode 100644
index 00000000000..b1c7963c994
--- /dev/null
+++ b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/019.html.ini
@@ -0,0 +1,5 @@
+[019.html]
+ type: testharness
+ [document.write]
+ expected: FAIL
+
diff --git a/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/020.html.ini b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/020.html.ini
new file mode 100644
index 00000000000..eb57d7740c3
--- /dev/null
+++ b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/020.html.ini
@@ -0,0 +1,5 @@
+[020.html]
+ type: testharness
+ [document.write]
+ expected: FAIL
+
diff --git a/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/021.html.ini b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/021.html.ini
new file mode 100644
index 00000000000..9d67e353875
--- /dev/null
+++ b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/021.html.ini
@@ -0,0 +1,5 @@
+[021.html]
+ type: testharness
+ [document.write]
+ expected: FAIL
+
diff --git a/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/022.html.ini b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/022.html.ini
new file mode 100644
index 00000000000..c4ebec80380
--- /dev/null
+++ b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/022.html.ini
@@ -0,0 +1,5 @@
+[022.html]
+ type: testharness
+ [document.write]
+ expected: FAIL
+
diff --git a/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/023.html.ini b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/023.html.ini
new file mode 100644
index 00000000000..55bc59eff24
--- /dev/null
+++ b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/023.html.ini
@@ -0,0 +1,5 @@
+[023.html]
+ type: testharness
+ [document.write]
+ expected: FAIL
+
diff --git a/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/024.html.ini b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/024.html.ini
new file mode 100644
index 00000000000..b7c5651b2d6
--- /dev/null
+++ b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/024.html.ini
@@ -0,0 +1,5 @@
+[024.html]
+ type: testharness
+ [document.write]
+ expected: FAIL
+
diff --git a/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/025.html.ini b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/025.html.ini
new file mode 100644
index 00000000000..b7a0aa796ff
--- /dev/null
+++ b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/025.html.ini
@@ -0,0 +1,5 @@
+[025.html]
+ type: testharness
+ [document.write]
+ expected: FAIL
+
diff --git a/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/026.html.ini b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/026.html.ini
new file mode 100644
index 00000000000..e10cbc28464
--- /dev/null
+++ b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/026.html.ini
@@ -0,0 +1,5 @@
+[026.html]
+ type: testharness
+ [document.write]
+ expected: FAIL
+
diff --git a/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/027.html.ini b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/027.html.ini
new file mode 100644
index 00000000000..0d73fa40c75
--- /dev/null
+++ b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/027.html.ini
@@ -0,0 +1,5 @@
+[027.html]
+ type: testharness
+ [document.write]
+ expected: FAIL
+
diff --git a/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/028.html.ini b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/028.html.ini
new file mode 100644
index 00000000000..e0b9275cc65
--- /dev/null
+++ b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/028.html.ini
@@ -0,0 +1,5 @@
+[028.html]
+ type: testharness
+ [document.write]
+ expected: FAIL
+
diff --git a/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/029.html.ini b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/029.html.ini
new file mode 100644
index 00000000000..2c70a364d01
--- /dev/null
+++ b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/029.html.ini
@@ -0,0 +1,5 @@
+[029.html]
+ type: testharness
+ [document.write]
+ expected: FAIL
+
diff --git a/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/030.html.ini b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/030.html.ini
new file mode 100644
index 00000000000..c244617d745
--- /dev/null
+++ b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/030.html.ini
@@ -0,0 +1,5 @@
+[030.html]
+ type: testharness
+ [document.write]
+ expected: FAIL
+
diff --git a/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/031.html.ini b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/031.html.ini
new file mode 100644
index 00000000000..34cd66dc551
--- /dev/null
+++ b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/031.html.ini
@@ -0,0 +1,5 @@
+[031.html]
+ type: testharness
+ [document.write]
+ expected: FAIL
+
diff --git a/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/032.html.ini b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/032.html.ini
new file mode 100644
index 00000000000..5cc1d98dda1
--- /dev/null
+++ b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/032.html.ini
@@ -0,0 +1,5 @@
+[032.html]
+ type: testharness
+ [document.write]
+ expected: FAIL
+
diff --git a/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/033.html.ini b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/033.html.ini
new file mode 100644
index 00000000000..99177772899
--- /dev/null
+++ b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/033.html.ini
@@ -0,0 +1,5 @@
+[033.html]
+ type: testharness
+ [document.write]
+ expected: FAIL
+
diff --git a/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/034.html.ini b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/034.html.ini
new file mode 100644
index 00000000000..7b99ae3f430
--- /dev/null
+++ b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/034.html.ini
@@ -0,0 +1,5 @@
+[034.html]
+ type: testharness
+ [document.write]
+ expected: FAIL
+
diff --git a/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/035.html.ini b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/035.html.ini
new file mode 100644
index 00000000000..404f771509b
--- /dev/null
+++ b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/035.html.ini
@@ -0,0 +1,5 @@
+[035.html]
+ type: testharness
+ [document.write]
+ expected: FAIL
+
diff --git a/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/036.html.ini b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/036.html.ini
new file mode 100644
index 00000000000..a13aecc3e88
--- /dev/null
+++ b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/036.html.ini
@@ -0,0 +1,5 @@
+[036.html]
+ type: testharness
+ [document.write]
+ expected: FAIL
+
diff --git a/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/037.html.ini b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/037.html.ini
new file mode 100644
index 00000000000..081da77b51e
--- /dev/null
+++ b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/037.html.ini
@@ -0,0 +1,5 @@
+[037.html]
+ type: testharness
+ [document.write]
+ expected: FAIL
+
diff --git a/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/038.html.ini b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/038.html.ini
new file mode 100644
index 00000000000..da0cafe8719
--- /dev/null
+++ b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/038.html.ini
@@ -0,0 +1,5 @@
+[038.html]
+ type: testharness
+ [document.write]
+ expected: FAIL
+
diff --git a/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/039.html.ini b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/039.html.ini
new file mode 100644
index 00000000000..e8fe97673bb
--- /dev/null
+++ b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/039.html.ini
@@ -0,0 +1,5 @@
+[039.html]
+ type: testharness
+ [document.write]
+ expected: FAIL
+
diff --git a/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/040.html.ini b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/040.html.ini
new file mode 100644
index 00000000000..ac7633432ea
--- /dev/null
+++ b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/040.html.ini
@@ -0,0 +1,5 @@
+[040.html]
+ type: testharness
+ [document.write entity]
+ expected: FAIL
+
diff --git a/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/041.html.ini b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/041.html.ini
new file mode 100644
index 00000000000..33c57363c36
--- /dev/null
+++ b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/041.html.ini
@@ -0,0 +1,5 @@
+[041.html]
+ type: testharness
+ [document.write entity]
+ expected: FAIL
+
diff --git a/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/042.html.ini b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/042.html.ini
new file mode 100644
index 00000000000..bc683135956
--- /dev/null
+++ b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/042.html.ini
@@ -0,0 +1,5 @@
+[042.html]
+ type: testharness
+ [document.write entity]
+ expected: FAIL
+
diff --git a/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/043.html.ini b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/043.html.ini
new file mode 100644
index 00000000000..a768395cc7a
--- /dev/null
+++ b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/043.html.ini
@@ -0,0 +1,5 @@
+[043.html]
+ type: testharness
+ [document.write entity]
+ expected: FAIL
+
diff --git a/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/044.html.ini b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/044.html.ini
new file mode 100644
index 00000000000..f9dcb8ce85b
--- /dev/null
+++ b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/044.html.ini
@@ -0,0 +1,5 @@
+[044.html]
+ type: testharness
+ [document.write]
+ expected: FAIL
+
diff --git a/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/045.html.ini b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/045.html.ini
new file mode 100644
index 00000000000..c8b41a2bde9
--- /dev/null
+++ b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/045.html.ini
@@ -0,0 +1,5 @@
+[045.html]
+ type: testharness
+ [document.write]
+ expected: FAIL
+
diff --git a/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/046.html.ini b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/046.html.ini
new file mode 100644
index 00000000000..63190676ef6
--- /dev/null
+++ b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/046.html.ini
@@ -0,0 +1,5 @@
+[046.html]
+ type: testharness
+ [document.write]
+ expected: FAIL
+
diff --git a/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/047.html.ini b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/047.html.ini
new file mode 100644
index 00000000000..aaea77fd62a
--- /dev/null
+++ b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/047.html.ini
@@ -0,0 +1,5 @@
+[047.html]
+ type: testharness
+ [document.write]
+ expected: FAIL
+
diff --git a/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/048.html.ini b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/048.html.ini
new file mode 100644
index 00000000000..9eecfd65400
--- /dev/null
+++ b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/048.html.ini
@@ -0,0 +1,5 @@
+[048.html]
+ type: testharness
+ [document.write]
+ expected: FAIL
+
diff --git a/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/049.html.ini b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/049.html.ini
new file mode 100644
index 00000000000..3e8828bbee7
--- /dev/null
+++ b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/049.html.ini
@@ -0,0 +1,5 @@
+[049.html]
+ type: testharness
+ [document.write plaintext]
+ expected: FAIL
+
diff --git a/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/050.html.ini b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/050.html.ini
new file mode 100644
index 00000000000..49f2e23bbe4
--- /dev/null
+++ b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/050.html.ini
@@ -0,0 +1,5 @@
+[050.html]
+ type: testharness
+ [document.write plaintext]
+ expected: FAIL
+
diff --git a/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/051.html.ini b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/051.html.ini
new file mode 100644
index 00000000000..312d3c82842
--- /dev/null
+++ b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/051.html.ini
@@ -0,0 +1,5 @@
+[051.html]
+ type: testharness
+ [document.write \\r\\n]
+ expected: FAIL
+
diff --git a/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/document.write-01.xhtml.ini b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/document.write-01.xhtml.ini
new file mode 100644
index 00000000000..7f39b706b7a
--- /dev/null
+++ b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/document.write-01.xhtml.ini
@@ -0,0 +1,5 @@
+[document.write-01.xhtml]
+ type: testharness
+ [document.write in XHTML]
+ expected: FAIL
+
diff --git a/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/document.write-02.html.ini b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/document.write-02.html.ini
new file mode 100644
index 00000000000..2060c25a09a
--- /dev/null
+++ b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/document.write-02.html.ini
@@ -0,0 +1,8 @@
+[document.write-02.html]
+ type: testharness
+ [document.write(null)]
+ expected: FAIL
+
+ [document.write(undefined)]
+ expected: FAIL
+
diff --git a/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/iframe_001.html.ini b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/iframe_001.html.ini
new file mode 100644
index 00000000000..52b81f67d7c
--- /dev/null
+++ b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/iframe_001.html.ini
@@ -0,0 +1,5 @@
+[iframe_001.html]
+ type: testharness
+ [document.write into iframe]
+ expected: FAIL
+
diff --git a/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/iframe_002.html.ini b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/iframe_002.html.ini
new file mode 100644
index 00000000000..2ff277a9e17
--- /dev/null
+++ b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/iframe_002.html.ini
@@ -0,0 +1,5 @@
+[iframe_002.html]
+ type: testharness
+ [document.write into iframe]
+ expected: FAIL
+
diff --git a/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/iframe_003.html.ini b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/iframe_003.html.ini
new file mode 100644
index 00000000000..eb6199a85ed
--- /dev/null
+++ b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/iframe_003.html.ini
@@ -0,0 +1,5 @@
+[iframe_003.html]
+ type: testharness
+ [document.write script into iframe]
+ expected: FAIL
+
diff --git a/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/iframe_004.html.ini b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/iframe_004.html.ini
new file mode 100644
index 00000000000..8a0ba8992a8
--- /dev/null
+++ b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/iframe_004.html.ini
@@ -0,0 +1,5 @@
+[iframe_004.html]
+ type: testharness
+ [document.write script into iframe write back into parent]
+ expected: FAIL
+
diff --git a/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/iframe_005.html.ini b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/iframe_005.html.ini
new file mode 100644
index 00000000000..c921b37f80a
--- /dev/null
+++ b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/iframe_005.html.ini
@@ -0,0 +1,5 @@
+[iframe_005.html]
+ type: testharness
+ [document.write external script into iframe write back into parent]
+ expected: FAIL
+
diff --git a/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/iframe_006.html.ini b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/iframe_006.html.ini
new file mode 100644
index 00000000000..3f4286f9d70
--- /dev/null
+++ b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/iframe_006.html.ini
@@ -0,0 +1,5 @@
+[iframe_006.html]
+ type: testharness
+ [document.write external script into iframe write back into parent]
+ expected: FAIL
+
diff --git a/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/iframe_007.html.ini b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/iframe_007.html.ini
new file mode 100644
index 00000000000..7fcb001e740
--- /dev/null
+++ b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/iframe_007.html.ini
@@ -0,0 +1,5 @@
+[iframe_007.html]
+ type: testharness
+ [document.write comment into iframe]
+ expected: FAIL
+
diff --git a/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/iframe_008.html.ini b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/iframe_008.html.ini
new file mode 100644
index 00000000000..dd4c78c967b
--- /dev/null
+++ b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/iframe_008.html.ini
@@ -0,0 +1,5 @@
+[iframe_008.html]
+ type: testharness
+ [document.write plaintext into iframe]
+ expected: FAIL
+
diff --git a/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/iframe_009.html.ini b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/iframe_009.html.ini
new file mode 100644
index 00000000000..43ea13ee2b5
--- /dev/null
+++ b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/iframe_009.html.ini
@@ -0,0 +1,5 @@
+[iframe_009.html]
+ type: testharness
+ [document.write plaintext into iframe]
+ expected: FAIL
+
diff --git a/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/iframe_010.html.ini b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/iframe_010.html.ini
new file mode 100644
index 00000000000..c9450c9c996
--- /dev/null
+++ b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/iframe_010.html.ini
@@ -0,0 +1,5 @@
+[iframe_010.html]
+ type: testharness
+ [document.write plaintext]
+ expected: FAIL
+
diff --git a/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/script_001.html.ini b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/script_001.html.ini
new file mode 100644
index 00000000000..f49a2a87b15
--- /dev/null
+++ b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/script_001.html.ini
@@ -0,0 +1,5 @@
+[script_001.html]
+ type: testharness
+ [document.write script]
+ expected: FAIL
+
diff --git a/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/script_002.html.ini b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/script_002.html.ini
new file mode 100644
index 00000000000..1326994434f
--- /dev/null
+++ b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/script_002.html.ini
@@ -0,0 +1,5 @@
+[script_002.html]
+ type: testharness
+ [document.write script executed synchronously]
+ expected: FAIL
+
diff --git a/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/script_003.html.ini b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/script_003.html.ini
new file mode 100644
index 00000000000..27719a64893
--- /dev/null
+++ b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/script_003.html.ini
@@ -0,0 +1,5 @@
+[script_003.html]
+ type: testharness
+ [document.write script writing a further script]
+ expected: FAIL
+
diff --git a/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/script_004.html.ini b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/script_004.html.ini
new file mode 100644
index 00000000000..5e3c7610ffa
--- /dev/null
+++ b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/script_004.html.ini
@@ -0,0 +1,5 @@
+[script_004.html]
+ type: testharness
+ [document.write script writing script; order of execution]
+ expected: FAIL
+
diff --git a/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/script_005.html.ini b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/script_005.html.ini
new file mode 100644
index 00000000000..0cc9fff0847
--- /dev/null
+++ b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/script_005.html.ini
@@ -0,0 +1,5 @@
+[script_005.html]
+ type: testharness
+ [document.write external script]
+ expected: FAIL
+
diff --git a/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/script_006.html.ini b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/script_006.html.ini
new file mode 100644
index 00000000000..42cd244bb28
--- /dev/null
+++ b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/script_006.html.ini
@@ -0,0 +1,5 @@
+[script_006.html]
+ type: testharness
+ [document.write external script followed by internal script]
+ expected: FAIL
+
diff --git a/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/script_007.html.ini b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/script_007.html.ini
new file mode 100644
index 00000000000..80b73aad1fa
--- /dev/null
+++ b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/script_007.html.ini
@@ -0,0 +1,5 @@
+[script_007.html]
+ type: testharness
+ [document.write external script that document.writes inline script]
+ expected: FAIL
+
diff --git a/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/script_008.html.ini b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/script_008.html.ini
new file mode 100644
index 00000000000..927493f6636
--- /dev/null
+++ b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/script_008.html.ini
@@ -0,0 +1,5 @@
+[script_008.html]
+ type: testharness
+ [document.write external script that document.writes external script]
+ expected: FAIL
+
diff --git a/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/script_009.html.ini b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/script_009.html.ini
new file mode 100644
index 00000000000..2a8098c1e0c
--- /dev/null
+++ b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/script_009.html.ini
@@ -0,0 +1,5 @@
+[script_009.html]
+ type: testharness
+ [document.write script that document.writes script]
+ expected: FAIL
+
diff --git a/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/script_010.html.ini b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/script_010.html.ini
new file mode 100644
index 00000000000..ba746efe709
--- /dev/null
+++ b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/script_010.html.ini
@@ -0,0 +1,5 @@
+[script_010.html]
+ type: testharness
+ [document.write external script tokenizer order]
+ expected: FAIL
+
diff --git a/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/script_011.html.ini b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/script_011.html.ini
new file mode 100644
index 00000000000..237532dba26
--- /dev/null
+++ b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/script_011.html.ini
@@ -0,0 +1,5 @@
+[script_011.html]
+ type: testharness
+ [document.write external script that document.writes external script]
+ expected: FAIL
+
diff --git a/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/script_012.html.ini b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/script_012.html.ini
new file mode 100644
index 00000000000..4c217cf5d47
--- /dev/null
+++ b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/script_012.html.ini
@@ -0,0 +1,5 @@
+[script_012.html]
+ type: testharness
+ [document.write external script tokenizer order]
+ expected: FAIL
+
diff --git a/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/script_013.html.ini b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/script_013.html.ini
new file mode 100644
index 00000000000..f3f03e299da
--- /dev/null
+++ b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-write/script_013.html.ini
@@ -0,0 +1,5 @@
+[script_013.html]
+ type: testharness
+ [document.write]
+ expected: FAIL
+
diff --git a/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-writeln/document.writeln-01.xhtml.ini b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-writeln/document.writeln-01.xhtml.ini
new file mode 100644
index 00000000000..1b3d64f4e6e
--- /dev/null
+++ b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-writeln/document.writeln-01.xhtml.ini
@@ -0,0 +1,5 @@
+[document.writeln-01.xhtml]
+ type: testharness
+ [document.writeln in XHTML]
+ expected: FAIL
+
diff --git a/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-writeln/document.writeln-02.html.ini b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-writeln/document.writeln-02.html.ini
new file mode 100644
index 00000000000..ad4e48307f0
--- /dev/null
+++ b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-writeln/document.writeln-02.html.ini
@@ -0,0 +1,8 @@
+[document.writeln-02.html]
+ type: testharness
+ [document.writeln(null)]
+ expected: FAIL
+
+ [document.writeln(undefined)]
+ expected: FAIL
+
diff --git a/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-writeln/document.writeln-03.html.ini b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-writeln/document.writeln-03.html.ini
new file mode 100644
index 00000000000..4f4f59f240f
--- /dev/null
+++ b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/document-writeln/document.writeln-03.html.ini
@@ -0,0 +1,5 @@
+[document.writeln-03.html]
+ type: testharness
+ [Calling document.writeln with multiple arguments]
+ expected: FAIL
+
diff --git a/tests/wpt/metadata/html/dom/dynamic-markup-insertion/opening-the-input-stream/__dir__.ini b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/opening-the-input-stream/__dir__.ini
new file mode 100644
index 00000000000..163ca23a12f
--- /dev/null
+++ b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/opening-the-input-stream/__dir__.ini
@@ -0,0 +1 @@
+disabled: for now