diff --git a/docshell/test/navigation/file_bug1536471.html b/docshell/test/navigation/file_bug1536471.html
new file mode 100644
index 000000000000..53012257ee18
--- /dev/null
+++ b/docshell/test/navigation/file_bug1536471.html
@@ -0,0 +1,8 @@
+
+
+ Nested Frame
+
+
+
+
+
diff --git a/docshell/test/navigation/mochitest.ini b/docshell/test/navigation/mochitest.ini
index f99abe685301..99e287d94346 100644
--- a/docshell/test/navigation/mochitest.ini
+++ b/docshell/test/navigation/mochitest.ini
@@ -70,6 +70,8 @@ skip-if = (!debug && (os == 'mac' || os == 'win')) # Bug 874423
[test_bug1364364.html]
skip-if = (os == "android") # Bug 1560378
[test_bug1375833.html]
+[test_bug1536471.html]
+support-files = file_bug1536471.html
[test_child.html]
skip-if = fission # Times out.
[test_grandchild.html]
diff --git a/docshell/test/navigation/test_bug1536471.html b/docshell/test/navigation/test_bug1536471.html
new file mode 100644
index 000000000000..f37aedba2197
--- /dev/null
+++ b/docshell/test/navigation/test_bug1536471.html
@@ -0,0 +1,75 @@
+
+
+
+
+
+ Test for Bug 1536471
+
+
+
+
+
+Mozilla Bug
+
+
+
+
+
+
+
+
+
+