From 6d9efa467e88b08e40b74fdbe066cd878bb6bf77 Mon Sep 17 00:00:00 2001 From: Samael Wang Date: Wed, 30 Aug 2017 17:00:12 +0800 Subject: [PATCH] Bug 1364364 - Part 4: Add test case. r=smaug MozReview-Commit-ID: BozQDPdx0MI --HG-- extra : rebase_source : 861931ed42bd00cb698e051818d98808d828d65e --- .../test/navigation/file_bug1364364-1.html | 33 +++++++++++ .../test/navigation/file_bug1364364-2.html | 14 +++++ docshell/test/navigation/mochitest.ini | 3 + docshell/test/navigation/test_bug1364364.html | 56 +++++++++++++++++++ 4 files changed, 106 insertions(+) create mode 100644 docshell/test/navigation/file_bug1364364-1.html create mode 100644 docshell/test/navigation/file_bug1364364-2.html create mode 100644 docshell/test/navigation/test_bug1364364.html diff --git a/docshell/test/navigation/file_bug1364364-1.html b/docshell/test/navigation/file_bug1364364-1.html new file mode 100644 index 000000000000..e3badce80d1c --- /dev/null +++ b/docshell/test/navigation/file_bug1364364-1.html @@ -0,0 +1,33 @@ + + + + + title + + +

+
+
+ + + diff --git a/docshell/test/navigation/file_bug1364364-2.html b/docshell/test/navigation/file_bug1364364-2.html new file mode 100644 index 000000000000..6e52ecaaa974 --- /dev/null +++ b/docshell/test/navigation/file_bug1364364-2.html @@ -0,0 +1,14 @@ + + + + + title + + + + + diff --git a/docshell/test/navigation/mochitest.ini b/docshell/test/navigation/mochitest.ini index 5918f346b779..e8d3e7cead89 100644 --- a/docshell/test/navigation/mochitest.ini +++ b/docshell/test/navigation/mochitest.ini @@ -47,6 +47,8 @@ support-files = file_contentpolicy_block_window.html file_bug1326251.html file_bug1326251_evict_cache.html + file_bug1364364-1.html + file_bug1364364-2.html file_bug1375833.html file_bug1375833-frame1.html file_bug1375833-frame2.html @@ -61,6 +63,7 @@ skip-if = toolkit == "android" || toolkit == "windows" # disabled on Windows bec [test_bug430624.html] [test_bug430723.html] skip-if = (toolkit == 'android') || (!debug && (os == 'mac' || os == 'win')) # Bug 874423 +[test_bug1364364.html] [test_bug1375833.html] [test_child.html] [test_grandchild.html] diff --git a/docshell/test/navigation/test_bug1364364.html b/docshell/test/navigation/test_bug1364364.html new file mode 100644 index 000000000000..f09ad426cb7b --- /dev/null +++ b/docshell/test/navigation/test_bug1364364.html @@ -0,0 +1,56 @@ + + + + + + Test for Bug 1364364 + + + + + +Mozilla Bug 1364364 +

+ +
+
+ +