diff --git a/html/browsers/windows/browsing-context-names/browsing-context-choose-parent-001.html b/html/browsers/windows/browsing-context-names/browsing-context-choose-parent-001.html
new file mode 100644
index 00000000000000..e1495beb8b184d
--- /dev/null
+++ b/html/browsers/windows/browsing-context-names/browsing-context-choose-parent-001.html
@@ -0,0 +1,15 @@
+
+
+
HTML Test: Choose browsing context - '_parent'
+
+
+
+
+
+
diff --git a/html/browsers/windows/browsing-context-names/browsing-context-choose-parent-002.html b/html/browsers/windows/browsing-context-names/browsing-context-choose-parent-002.html
new file mode 100644
index 00000000000000..9cdef8349f38c1
--- /dev/null
+++ b/html/browsers/windows/browsing-context-names/browsing-context-choose-parent-002.html
@@ -0,0 +1,17 @@
+
+
+HTML Test: Choose browsing context - '_parent' (nested contexts)
+
+
+
+
diff --git a/html/browsers/windows/browsing-context-names/browsing-context-choose-parent-003.html b/html/browsers/windows/browsing-context-names/browsing-context-choose-parent-003.html
new file mode 100644
index 00000000000000..f0a165e6844c7a
--- /dev/null
+++ b/html/browsers/windows/browsing-context-names/browsing-context-choose-parent-003.html
@@ -0,0 +1,17 @@
+
+
+HTML Test: Choose browsing context - '_parent' (via window.open)
+
+
+
+
diff --git a/html/browsers/windows/browsing-context-names/browsing-context-choose-parent-004.html b/html/browsers/windows/browsing-context-names/browsing-context-choose-parent-004.html
new file mode 100644
index 00000000000000..ca98f66d172380
--- /dev/null
+++ b/html/browsers/windows/browsing-context-names/browsing-context-choose-parent-004.html
@@ -0,0 +1,16 @@
+
+
+HTML Test: Choose browsing context - '_parent' (case-sensitivity)
+
+
+
+
+
+
diff --git a/html/browsers/windows/browsing-context-names/browsing-context-choose-parent.html b/html/browsers/windows/browsing-context-names/browsing-context-choose-parent.html
deleted file mode 100644
index c771a8fd71bbac..00000000000000
--- a/html/browsers/windows/browsing-context-names/browsing-context-choose-parent.html
+++ /dev/null
@@ -1,20 +0,0 @@
-
-
-HTML Test: Choose browsing context - the given name is '_parent'
-
-
-
-
-
-
diff --git a/html/browsers/windows/browsing-context-names/existing.html b/html/browsers/windows/browsing-context-names/existing.html
index 13d2c6ab4e00c2..6023319cebfd31 100644
--- a/html/browsers/windows/browsing-context-names/existing.html
+++ b/html/browsers/windows/browsing-context-names/existing.html
@@ -5,7 +5,7 @@
diff --git a/html/browsers/windows/browsing-context-names/parent1.html b/html/browsers/windows/browsing-context-names/resources/parent-iframe-1.html
similarity index 77%
rename from html/browsers/windows/browsing-context-names/parent1.html
rename to html/browsers/windows/browsing-context-names/resources/parent-iframe-1.html
index fb34b2fe707922..3d7accffd7806e 100644
--- a/html/browsers/windows/browsing-context-names/parent1.html
+++ b/html/browsers/windows/browsing-context-names/resources/parent-iframe-1.html
@@ -2,4 +2,4 @@
HTML Test: browsing context name - parent
-
+
diff --git a/html/browsers/windows/browsing-context-names/parent2.html b/html/browsers/windows/browsing-context-names/resources/parent-iframe-2.html
similarity index 80%
rename from html/browsers/windows/browsing-context-names/parent2.html
rename to html/browsers/windows/browsing-context-names/resources/parent-iframe-2.html
index 34eb1c76bf55b7..81d0735c60970a 100644
--- a/html/browsers/windows/browsing-context-names/parent2.html
+++ b/html/browsers/windows/browsing-context-names/resources/parent-iframe-2.html
@@ -4,6 +4,6 @@
diff --git a/html/browsers/windows/browsing-context-names/resources/parent-iframe-3.html b/html/browsers/windows/browsing-context-names/resources/parent-iframe-3.html
new file mode 100644
index 00000000000000..1412dc2e79b227
--- /dev/null
+++ b/html/browsers/windows/browsing-context-names/resources/parent-iframe-3.html
@@ -0,0 +1,6 @@
+
+
+HTML Test: browsing context name - parent
+
diff --git a/html/browsers/windows/browsing-context-names/resources/parent-iframe-insensitive-1.html b/html/browsers/windows/browsing-context-names/resources/parent-iframe-insensitive-1.html
new file mode 100644
index 00000000000000..8ddbf44a3b5e40
--- /dev/null
+++ b/html/browsers/windows/browsing-context-names/resources/parent-iframe-insensitive-1.html
@@ -0,0 +1,4 @@
+
+
+HTML Test: browsing context name - parent
+
diff --git a/html/browsers/windows/browsing-context-names/resources/parent-iframe-insensitive-2.html b/html/browsers/windows/browsing-context-names/resources/parent-iframe-insensitive-2.html
new file mode 100644
index 00000000000000..38d6b2f42848a1
--- /dev/null
+++ b/html/browsers/windows/browsing-context-names/resources/parent-iframe-insensitive-2.html
@@ -0,0 +1,8 @@
+
+
+HTML Test: browsing context name - parent (case-insensitive)
+
diff --git a/html/browsers/windows/browsing-context-names/resources/parent-top-nested.html b/html/browsers/windows/browsing-context-names/resources/parent-top-nested.html
new file mode 100644
index 00000000000000..ffe35113233935
--- /dev/null
+++ b/html/browsers/windows/browsing-context-names/resources/parent-top-nested.html
@@ -0,0 +1,4 @@
+
+
+HTML Test: browsing context name - parent: nested context
+
diff --git a/html/browsers/windows/browsing-context-names/resources/parent-top-replace.html b/html/browsers/windows/browsing-context-names/resources/parent-top-replace.html
new file mode 100644
index 00000000000000..9b334c326693c0
--- /dev/null
+++ b/html/browsers/windows/browsing-context-names/resources/parent-top-replace.html
@@ -0,0 +1,4 @@
+
+
+HTML Test: browsing context name - parent: top-level context (gets replaced)
+
diff --git a/html/browsers/windows/browsing-context-names/resources/parent-top.html b/html/browsers/windows/browsing-context-names/resources/parent-top.html
new file mode 100644
index 00000000000000..6ad72f969be9cd
--- /dev/null
+++ b/html/browsers/windows/browsing-context-names/resources/parent-top.html
@@ -0,0 +1,12 @@
+
+
+HTML Test: browsing context name - parent: top-level context
+
+
diff --git a/html/browsers/windows/browsing-context-names/resources/post-to-opener.html b/html/browsers/windows/browsing-context-names/resources/post-to-opener.html
new file mode 100644
index 00000000000000..3e9b7aaccb0dda
--- /dev/null
+++ b/html/browsers/windows/browsing-context-names/resources/post-to-opener.html
@@ -0,0 +1,12 @@
+
+
+HTML Test: post window's name to top browsing context
+
+
diff --git a/html/browsers/windows/browsing-context-names/resources/post-to-top-or-close.html b/html/browsers/windows/browsing-context-names/resources/post-to-top-or-close.html
new file mode 100644
index 00000000000000..2ccb6731d7ba44
--- /dev/null
+++ b/html/browsers/windows/browsing-context-names/resources/post-to-top-or-close.html
@@ -0,0 +1,16 @@
+
+
+HTML Test: post window's name to top browsing context
+
+
diff --git a/html/browsers/windows/browsing-context-names/message.html b/html/browsers/windows/browsing-context-names/resources/post-to-top.html
similarity index 70%
rename from html/browsers/windows/browsing-context-names/message.html
rename to html/browsers/windows/browsing-context-names/resources/post-to-top.html
index 90720d46a9d090..aebb57b0197e3c 100644
--- a/html/browsers/windows/browsing-context-names/message.html
+++ b/html/browsers/windows/browsing-context-names/resources/post-to-top.html
@@ -3,7 +3,8 @@
HTML Test: post window's name to top browsing context
diff --git a/html/browsers/windows/browsing-context-names/self1.html b/html/browsers/windows/browsing-context-names/self1.html
index 2c8e3a414c94e2..d72df6f86420cb 100644
--- a/html/browsers/windows/browsing-context-names/self1.html
+++ b/html/browsers/windows/browsing-context-names/self1.html
@@ -5,7 +5,7 @@
diff --git a/html/browsers/windows/browsing-context-names/self2.html b/html/browsers/windows/browsing-context-names/self2.html
index 57276fadafe860..b3b4f59b535974 100644
--- a/html/browsers/windows/browsing-context-names/self2.html
+++ b/html/browsers/windows/browsing-context-names/self2.html
@@ -5,7 +5,7 @@