Bug 1527149 [wpt PR 15328] - HTML: noopener keyword is tokenized, a=testonly
☠☠ backed out by 749b314d6c28 ☠ ☠
authorAnne van Kesteren <annevk@annevk.nl>
Tue, 19 Feb 2019 14:39:00 +0000
changeset 460332 3624a9aa806e8ea05d0401acedba7ac98b240a97
parent 460331 a8f45fe8d265f71d7e8ee3570d2586911b0cb7cb
child 460333 3294c6e7ac26d46ca5f7ae40aeba130c100c62a2
push id112074
push userwptsync@mozilla.com
push dateThu, 21 Feb 2019 19:59:15 +0000
treeherdermozilla-inbound@a15983fcecca [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstestonly
bugs1527149, 15328
milestone67.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1527149 [wpt PR 15328] - HTML: noopener keyword is tokenized, a=testonly Automatic update from web-platform-tests HTML: noopener keyword is tokenized See https://github.com/whatwg/html/pull/4079. -- wpt-commits: 6d9e199e99ce76bafb4d31a58641e5a2591c9587 wpt-pr: 15328
testing/web-platform/tests/html/browsers/the-window-object/window-open-noopener.html
--- a/testing/web-platform/tests/html/browsers/the-window-object/window-open-noopener.html
+++ b/testing/web-platform/tests/html/browsers/the-window-object/window-open-noopener.html
@@ -10,23 +10,23 @@
 
 <script src=/resources/testharness.js></script>
 <script src=/resources/testharnessreport.js></script>
 <script>
 var testData = [
   { testDescription: "window.open() with 'noopener' should not reuse existing target",
     secondWindowFeatureString: "noopener",
     shouldReuse: false },
-  { testDescription: "noopener needs to be present as a token on its own",
+  { testDescription: "noopener=1 means the same as noopener",
     secondWindowFeatureString: "noopener=1",
-    shouldReuse: true },
-  { testDescription: "noopener needs to be present as a token on its own again",
+    shouldReuse: false },
+  { testDescription: "noopener=0 means lack of noopener",
     secondWindowFeatureString: "noopener=0",
     shouldReuse: true },
-  { testDescription: "noopener needs to be present as a token on its own yet again",
+  { testDescription: "noopener needs to be present as a token on its own",
     secondWindowFeatureString: "make me noopener",
     shouldReuse: true },
   { testDescription: "Trailing noopener should work",
     secondWindowFeatureString: "abc def,  \n\r noopener",
     shouldReuse: false },
   { testDescription: "Leading noopener should work",
     secondWindowFeatureString: "noopener \f\t , hey, there",
     shouldReuse: false },