From 190a5fa6c7826d55f0ac629ba3fe30ee51ed39ad Mon Sep 17 00:00:00 2001 From: James Graham Date: Fri, 17 Feb 2017 08:06:34 +0000 Subject: [PATCH] Bug 1308969 - Fix cross-origin browser name test, r=Ms2ger MozReview-Commit-ID: 49stqMka8j5 --- testing/web-platform/meta/MANIFEST.json | 11 ++++- ...rowsing_context_name_cross_origin.html.ini | 13 +----- .../browsing_context_name_cross_origin-0.html | 34 ++++++++++++++++ .../browsing_context_name_cross_origin.html | 40 +++---------------- 4 files changed, 51 insertions(+), 47 deletions(-) create mode 100644 testing/web-platform/tests/html/browsers/browsing-the-web/history-traversal/browsing_context_name_cross_origin-0.html diff --git a/testing/web-platform/meta/MANIFEST.json b/testing/web-platform/meta/MANIFEST.json index f4a037f7f3b1..8741ee781b29 100644 --- a/testing/web-platform/meta/MANIFEST.json +++ b/testing/web-platform/meta/MANIFEST.json @@ -44239,6 +44239,11 @@ {} ] ], + "html/browsers/browsing-the-web/history-traversal/browsing_context_name_cross_origin-0.html": [ + [ + {} + ] + ], "html/browsers/browsing-the-web/history-traversal/contains.json": [ [ {} @@ -164967,8 +164972,12 @@ "87d7d141b05200ad3db0660d9d8d8bdf7876ee4b", "testharness" ], + "html/browsers/browsing-the-web/history-traversal/browsing_context_name_cross_origin-0.html": [ + "a0512a75c277b22bbbcd37692580c779334ab74b", + "support" + ], "html/browsers/browsing-the-web/history-traversal/browsing_context_name_cross_origin.html": [ - "7455a083f29518418a3508b8fd3ade74cb747666", + "80ddf5ab19d6698340820c2fa4145d4aa6960459", "testharness" ], "html/browsers/browsing-the-web/history-traversal/browsing_context_name_cross_origin_2.html": [ diff --git a/testing/web-platform/meta/html/browsers/browsing-the-web/history-traversal/browsing_context_name_cross_origin.html.ini b/testing/web-platform/meta/html/browsers/browsing-the-web/history-traversal/browsing_context_name_cross_origin.html.ini index 71f2f2cde3b4..b5426f9f0eee 100644 --- a/testing/web-platform/meta/html/browsers/browsing-the-web/history-traversal/browsing_context_name_cross_origin.html.ini +++ b/testing/web-platform/meta/html/browsers/browsing-the-web/history-traversal/browsing_context_name_cross_origin.html.ini @@ -1,15 +1,4 @@ [browsing_context_name_cross_origin.html] type: testharness [Restoring window.name on cross-origin history traversal] - expected: - if not debug and e10s and (os == "linux") and (version == "Ubuntu 16.04") and (processor == "x86_64") and (bits == 64): FAIL - if not debug and e10s and (os == "linux") and (version == "Ubuntu 16.04") and (processor == "x86") and (bits == 32): FAIL - if not debug and e10s and (os == "mac") and (version == "OS X 10.10.5") and (processor == "x86_64") and (bits == 64): FAIL - if not debug and e10s and (os == "win") and (version == "6.1.7601") and (processor == "x86") and (bits == 32): FAIL - if debug and e10s and (os == "linux") and (version == "Ubuntu 16.04") and (processor == "x86_64") and (bits == 64): FAIL - if debug and e10s and (os == "mac") and (version == "OS X 10.10.5") and (processor == "x86_64") and (bits == 64): FAIL - if debug and e10s and (os == "win") and (version == "6.2.9200") and (processor == "x86_64") and (bits == 64): FAIL - if debug and e10s and (os == "linux") and (version == "Ubuntu 16.04") and (processor == "x86") and (bits == 32): FAIL - if not debug and e10s and (os == "win") and (version == "6.2.9200") and (processor == "x86_64") and (bits == 64): FAIL - if debug and e10s and (os == "win") and (version == "6.1.7601") and (processor == "x86") and (bits == 32): FAIL - + expected: FAIL diff --git a/testing/web-platform/tests/html/browsers/browsing-the-web/history-traversal/browsing_context_name_cross_origin-0.html b/testing/web-platform/tests/html/browsers/browsing-the-web/history-traversal/browsing_context_name_cross_origin-0.html new file mode 100644 index 000000000000..9e9172271473 --- /dev/null +++ b/testing/web-platform/tests/html/browsers/browsing-the-web/history-traversal/browsing_context_name_cross_origin-0.html @@ -0,0 +1,34 @@ + + diff --git a/testing/web-platform/tests/html/browsers/browsing-the-web/history-traversal/browsing_context_name_cross_origin.html b/testing/web-platform/tests/html/browsers/browsing-the-web/history-traversal/browsing_context_name_cross_origin.html index 8ce8b11b5e6c..caa0bce3eb9a 100644 --- a/testing/web-platform/tests/html/browsers/browsing-the-web/history-traversal/browsing_context_name_cross_origin.html +++ b/testing/web-platform/tests/html/browsers/browsing-the-web/history-traversal/browsing_context_name_cross_origin.html @@ -2,40 +2,12 @@ Restoring window.name on cross-origin history traversal -

-
+