From aa5986fb0fcc9fa445cdc2b1f7cce10c428d8e8e Mon Sep 17 00:00:00 2001 From: Bill McCloskey Date: Tue, 3 Feb 2015 09:20:50 -0800 Subject: [PATCH] Bug 1126245 - Add test (r=bent) --- .../test/file_window_open_close_inner.html | 7 +++ .../test/file_window_open_close_outer.html | 5 ++ dom/html/test/mochitest.ini | 5 +- dom/html/test/test_window_open_close.html | 53 +++++++++++++++++++ 4 files changed, 69 insertions(+), 1 deletion(-) create mode 100644 dom/html/test/file_window_open_close_inner.html create mode 100644 dom/html/test/file_window_open_close_outer.html create mode 100644 dom/html/test/test_window_open_close.html diff --git a/dom/html/test/file_window_open_close_inner.html b/dom/html/test/file_window_open_close_inner.html new file mode 100644 index 000000000000..dbc7e3aba83c --- /dev/null +++ b/dom/html/test/file_window_open_close_inner.html @@ -0,0 +1,7 @@ + + + + + diff --git a/dom/html/test/file_window_open_close_outer.html b/dom/html/test/file_window_open_close_outer.html new file mode 100644 index 000000000000..b1450cee4f22 --- /dev/null +++ b/dom/html/test/file_window_open_close_outer.html @@ -0,0 +1,5 @@ + + +link + + diff --git a/dom/html/test/mochitest.ini b/dom/html/test/mochitest.ini index b98e5a058be4..84b3276355b1 100644 --- a/dom/html/test/mochitest.ini +++ b/dom/html/test/mochitest.ini @@ -176,6 +176,8 @@ support-files = file_imports_redirected.html file_srcdoc-2.html file_srcdoc.html + file_window_open_close_outer.html + file_window_open_close_inner.html form_submit_server.sjs image.png image-allow-credentials.png @@ -579,4 +581,5 @@ support-files = file_bug871161-1.html file_bug871161-2.html [test_bug1013316.html] [test_hash_encoded.html] [test_bug1081037.html] - +[test_window_open_close.html] +skip-if = buildapp == 'b2g' # bug 1129014 diff --git a/dom/html/test/test_window_open_close.html b/dom/html/test/test_window_open_close.html new file mode 100644 index 000000000000..c7e3b96f5df8 --- /dev/null +++ b/dom/html/test/test_window_open_close.html @@ -0,0 +1,53 @@ + + + + + + + + + + + + +