Title: [237811] trunk/LayoutTests
Revision
237811
Author
[email protected]
Date
2018-11-05 09:54:22 -0800 (Mon, 05 Nov 2018)

Log Message

Resync html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name WPT tests
https://bugs.webkit.org/show_bug.cgi?id=191214

Reviewed by Geoff Garen.

Resync html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name WPT tests from
upstream c583bcd7eb.

* web-platform-tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/creating_browsing_context_test_01-expected.txt:
* web-platform-tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/creating_browsing_context_test_01.html:
* web-platform-tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/no_window_open_when_term_nesting_level_nonzero.window-expected.txt: Added.
* web-platform-tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/no_window_open_when_term_nesting_level_nonzero.window.html: Added.
* web-platform-tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/no_window_open_when_term_nesting_level_nonzero.window.js: Added.
(test.frame.contentWindow.onpagehide):
(test.frame.contentDocument.onvisibilitychange):
(test.frame.contentWindow.onbeforeunload):
(test.frame.contentWindow.onunload):
(test):
(async_test):
* web-platform-tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/non_automated/w3c-import.log:
* web-platform-tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/open-features-tokenization-noopener-expected.txt:
* web-platform-tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/open-features-tokenization-noopener.html:
* web-platform-tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/resources/message-opener.html:
* web-platform-tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/resources/w3c-import.log:
* web-platform-tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/w3c-import.log:

Modified Paths

Added Paths

Diff

Modified: trunk/LayoutTests/imported/w3c/ChangeLog (237810 => 237811)


--- trunk/LayoutTests/imported/w3c/ChangeLog	2018-11-05 17:47:42 UTC (rev 237810)
+++ trunk/LayoutTests/imported/w3c/ChangeLog	2018-11-05 17:54:22 UTC (rev 237811)
@@ -1,3 +1,31 @@
+2018-11-05  Chris Dumez  <[email protected]>
+
+        Resync html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name WPT tests
+        https://bugs.webkit.org/show_bug.cgi?id=191214
+
+        Reviewed by Geoff Garen.
+
+        Resync html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name WPT tests from
+        upstream c583bcd7eb.
+
+        * web-platform-tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/creating_browsing_context_test_01-expected.txt:
+        * web-platform-tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/creating_browsing_context_test_01.html:
+        * web-platform-tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/no_window_open_when_term_nesting_level_nonzero.window-expected.txt: Added.
+        * web-platform-tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/no_window_open_when_term_nesting_level_nonzero.window.html: Added.
+        * web-platform-tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/no_window_open_when_term_nesting_level_nonzero.window.js: Added.
+        (test.frame.contentWindow.onpagehide):
+        (test.frame.contentDocument.onvisibilitychange):
+        (test.frame.contentWindow.onbeforeunload):
+        (test.frame.contentWindow.onunload):
+        (test):
+        (async_test):
+        * web-platform-tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/non_automated/w3c-import.log:
+        * web-platform-tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/open-features-tokenization-noopener-expected.txt:
+        * web-platform-tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/open-features-tokenization-noopener.html:
+        * web-platform-tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/resources/message-opener.html:
+        * web-platform-tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/resources/w3c-import.log:
+        * web-platform-tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/w3c-import.log:
+
 2018-11-05  Ali Juma  <[email protected]>
 
         [IntersectionObserver] Fix isIntersecting computation when 0 is not a threshold

Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/creating_browsing_context_test_01-expected.txt (237810 => 237811)


--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/creating_browsing_context_test_01-expected.txt	2018-11-05 17:47:42 UTC (rev 237810)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/creating_browsing_context_test_01-expected.txt	2018-11-05 17:54:22 UTC (rev 237811)
@@ -1,6 +1,6 @@
 
 PASS first argument: absolute url 
-PASS first argument: empty url 
+FAIL first argument: empty url assert_equals: win.document.charset expected "UTF-8" but got "windows-1252"
 PASS second argument: passing a non-empty name 
 PASS second argument: setting name after opening 
 

Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/creating_browsing_context_test_01.html (237810 => 237811)


--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/creating_browsing_context_test_01.html	2018-11-05 17:47:42 UTC (rev 237810)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/creating_browsing_context_test_01.html	2018-11-05 17:54:22 UTC (rev 237811)
@@ -20,6 +20,7 @@
   var win = window.open('', '', 'height=1,width=1');
   this.add_cleanup(function() { win.close(); });
   assert_equals(win.location.href, 'about:blank', 'win.location.href');
+  assert_equals(win.document.charset, 'UTF-8', 'win.document.charset');
 }, 'first argument: empty url');
 
 test(function () {

Added: trunk/LayoutTests/imported/w3c/web-platform-tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/no_window_open_when_term_nesting_level_nonzero.window-expected.txt (0 => 237811)


--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/no_window_open_when_term_nesting_level_nonzero.window-expected.txt	                        (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/no_window_open_when_term_nesting_level_nonzero.window-expected.txt	2018-11-05 17:54:22 UTC (rev 237811)
@@ -0,0 +1,8 @@
+CONSOLE MESSAGE: line 2659: Error: assert_equals: expected no popup during pagehide expected null but got object "[object Window]"
+CONSOLE MESSAGE: line 2659: Error: assert_equals: expected no popup during unload expected null but got object "[object Window]"
+
+PASS no popups with frame removal 
+FAIL no popups with frame navigation assert_equals: expected no popup during visibilitychange expected null but got object "[object Window]"
+FAIL no popups from synchronously reachable window assert_equals: expected no popup during visibilitychange expected null but got object "[object Window]"
+FAIL no popups from another synchronously reachable window assert_equals: expected no popup during visibilitychange expected null but got object "[object Window]"
+

Added: trunk/LayoutTests/imported/w3c/web-platform-tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/no_window_open_when_term_nesting_level_nonzero.window.html (0 => 237811)


--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/no_window_open_when_term_nesting_level_nonzero.window.html	                        (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/no_window_open_when_term_nesting_level_nonzero.window.html	2018-11-05 17:54:22 UTC (rev 237811)
@@ -0,0 +1 @@
+<!-- This file is required for WebKit test infrastructure to run the templated test -->
\ No newline at end of file

Added: trunk/LayoutTests/imported/w3c/web-platform-tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/no_window_open_when_term_nesting_level_nonzero.window.js (0 => 237811)


--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/no_window_open_when_term_nesting_level_nonzero.window.js	                        (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/no_window_open_when_term_nesting_level_nonzero.window.js	2018-11-05 17:54:22 UTC (rev 237811)
@@ -0,0 +1,113 @@
+test(function() {
+  var test_window = window.open('', '', 'height=1,width=1');
+  var test_document = test_window.document;
+
+  var frame = test_document.createElement('iframe');
+  test_document.body.appendChild(frame);
+
+  frame.contentWindow._onpagehide_ = function(evt) {
+    assert_equals(frame.contentWindow.open('', '', 'height=1,width=1'), null,
+      "expected no popup during pagehide");
+  };
+  frame.contentDocument._onvisibilitychange_ = function(evt) {
+    assert_equals(frame.contentWindow.open('', '', 'height=1,width=1'), null,
+      "expected no popup during visibilitychange");
+  };
+  frame.contentWindow._onbeforeunload_ = function(evt) {
+    assert_equals(frame.contentWindow.open('', '', 'height=1,width=1'), null,
+      "expected no popup during beforeunload");
+  };
+  frame.contentWindow._onunload_ = function(evt) {
+    assert_equals(frame.contentWindow.open('', '', 'height=1,width=1'), null,
+      "expected no popup during unload");
+  };
+
+  frame.remove();
+}, 'no popups with frame removal');
+
+async_test(function(t) {
+  var test_window = window.open('', '', 'height=1,width=1');
+  var test_document = test_window.document;
+
+  var frame = test_document.createElement('iframe');
+  test_document.body.appendChild(frame);
+
+  frame.contentWindow._onpagehide_ = t.step_func(function(evt) {
+    assert_equals(frame.contentWindow.open('', '', 'height=1,width=1'), null,
+      "expected no popup during pagehide");
+  });
+  frame.contentDocument._onvisibilitychange_ = t.step_func(function(evt) {
+    assert_equals(frame.contentWindow.open('', '', 'height=1,width=1'), null,
+      "expected no popup during visibilitychange");
+  });
+  frame.contentWindow._onbeforeunload_ = t.step_func(function(evt) {
+    assert_equals(frame.contentWindow.open('', '', 'height=1,width=1'), null,
+      "expected no popup during beforeunload");
+  });
+  frame.contentWindow._onunload_ = t.step_func(function(evt) {
+    assert_equals(frame.contentWindow.open('', '', 'height=1,width=1'), null,
+      "expected no popup during unload");
+  });
+
+  frame._onload_ = t.step_func_done();
+
+  frame.contentWindow.location.href = ""
+}, 'no popups with frame navigation');
+
+async_test(function(t) {
+  var test_window = window.open('', '', 'height=1,width=1');
+  var test_document = test_window.document;
+
+  var frame = test_document.createElement('iframe');
+  test_document.body.appendChild(frame);
+
+  frame.contentWindow._onpagehide_ = t.step_func(function(evt) {
+    assert_equals(test_window.open('', '', 'height=1,width=1'), null,
+      "expected no popup during pagehide");
+  });
+  frame.contentDocument._onvisibilitychange_ = t.step_func(function(evt) {
+    assert_equals(test_window.open('', '', 'height=1,width=1'), null,
+      "expected no popup during visibilitychange");
+  });
+  frame.contentWindow._onbeforeunload_ = t.step_func(function(evt) {
+    assert_equals(test_window.open('', '', 'height=1,width=1'), null,
+      "expected no popup during beforeunload");
+  });
+  frame.contentWindow._onunload_ = t.step_func(function(evt) {
+    assert_equals(test_window.open('', '', 'height=1,width=1'), null,
+      "expected no popup during unload");
+  });
+
+  frame._onload_ = t.step_func_done();
+
+  frame.contentWindow.location.href = ""
+}, 'no popups from synchronously reachable window');
+
+async_test(function(t) {
+  var test_window = window.open('', '', 'height=1,width=1');
+  var test_document = test_window.document;
+
+  var frame = test_document.createElement('iframe');
+  test_document.body.appendChild(frame);
+
+  frame.contentWindow._onpagehide_ = t.step_func(function(evt) {
+    assert_equals(window.open('', '', 'height=1,width=1'), null,
+      "expected no popup during pagehide");
+  });
+  frame.contentDocument._onvisibilitychange_ = t.step_func(function(evt) {
+    assert_equals(window.open('', '', 'height=1,width=1'), null,
+      "expected no popup during visibilitychange");
+  });
+  frame.contentWindow._onbeforeunload_ = t.step_func(function(evt) {
+    assert_equals(window.open('', '', 'height=1,width=1'), null,
+      "expected no popup during beforeunload");
+  });
+  frame.contentWindow._onunload_ = t.step_func(function(evt) {
+    assert_equals(window.open('', '', 'height=1,width=1'), null,
+      "expected no popup during unload");
+  });
+
+  frame._onload_ = t.step_func_done();
+
+  frame.contentWindow.location.href = ""
+}, 'no popups from another synchronously reachable window');

Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/non_automated/w3c-import.log (237810 => 237811)


--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/non_automated/w3c-import.log	2018-11-05 17:47:42 UTC (rev 237810)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/non_automated/w3c-import.log	2018-11-05 17:54:22 UTC (rev 237811)
@@ -1,7 +1,7 @@
 The tests in this directory were imported from the W3C repository.
 Do NOT modify these tests directly in WebKit.
 Instead, create a pull request on the WPT github:
-	https://github.com/w3c/web-platform-tests
+	https://github.com/web-platform-tests/wpt
 
 Then run the Tools/Scripts/import-w3c-tests in WebKit to reimport
 

Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/open-features-tokenization-noopener-expected.txt (237810 => 237811)


--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/open-features-tokenization-noopener-expected.txt	2018-11-05 17:47:42 UTC (rev 237810)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/open-features-tokenization-noopener-expected.txt	2018-11-05 17:54:22 UTC (rev 237811)
@@ -1,10 +1,10 @@
 
 PASS tokenization should skip window features separators before `name` 
-FAIL feature `name` should be converted to ASCII lowercase assert_equals: "noopener=NOOPENER" should activate feature "noopener" expected null but got object "[object Window]"
+PASS feature `name` should be converted to ASCII lowercase 
 PASS after `name`, tokenization should skip window features separators that are not "=" or "," 
-FAIL Tokenizing should ignore window feature separators except "," after initial "=" and before value assert_equals: "noopener
-=\r noopener," should activate feature "noopener" expected null but got object "[object Window]"
-FAIL Tokenizing should read characters until first window feature separator as `value` assert_equals: "noopener=noopener" should set "noopener" expected null but got object "[object Window]"
-FAIL "noopener" should be based on name (key), not value assert_equals: "noopener=false" should activate feature "noopener" expected null but got object "[object Window]"
+PASS Tokenizing should ignore window feature separators except "," after initial "=" and before value 
+PASS Tokenizing should read characters until first window feature separator as `value` 
+PASS Integer values other than 0 should activate the feature 
+PASS Integer value of 0 should not activate the feature 
 PASS invalid feature names should not tokenize as "noopener" 
 

Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/open-features-tokenization-noopener.html (237810 => 237811)


--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/open-features-tokenization-noopener.html	2018-11-05 17:47:42 UTC (rev 237810)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/open-features-tokenization-noopener.html	2018-11-05 17:54:22 UTC (rev 237811)
@@ -40,8 +40,10 @@
     'noOpenER',
     '  NOopener',
     '=NOOPENER',
-    'noopener=NOOPENER', // => ('noopener', 'noopener')
-    'NOOPENER=noopener' // => ('noopener', 'noopener')
+    'noopener=1',
+    'NOOPENER=1',
+    'NOOPENER=yes',
+    'noopener=YES',
   ];
   featureVariants.forEach(feature => {
     var win = window.open(windowURL, '', feature);
@@ -82,9 +84,9 @@
     'noopener==,',
     'noopener=\n ,',
     'noopener = \t ,',
-    'noopener\n=\r noopener,', // => ('noopener', 'noopener')
+    'noopener\n=\r 1,', // => ('noopener', '1')
     'noopener=,yes', // => ('noopener'), ('yes')
-    'noopener= foo=,', // => ('noopener', 'foo')
+    'noopener= yes=,', // => ('noopener', 'yes')
     'noopener = \u000Cyes' // => ('noopener', 'yes')
   ];
   featureVariants.forEach(feature => {
@@ -96,7 +98,7 @@
 test (t => {
   // Tokenizing `value` should collect any non-separator code points until first separator
   var featureVariants = [
-    'noopener=noopener', // => ('noopener', 'noopener')
+    'noopener=1', // => ('noopener', 'noopener')
     'noopener=yes', // => ('noopener', 'yes')
     'noopener = yes ,', // => ('noopener', 'yes')
     'noopener=\nyes  ,', // => ('noopener', 'yes')
@@ -103,7 +105,7 @@
     'noopener=yes yes', // => ('noopener', 'yes'), ('yes', '')
     'noopener=yes\ts', // => ('noopener', 'yes'), ('s', '')
     'noopener==', // => ('noopener', '')
-    'noopener=0\n,', // => ('noopener', '0')
+    'noopener=1\n,', // => ('noopener', '1')
     '==noopener===', // => ('noopener', '')
     'noopener==\u000C' // => ('noopener', '')
   ];
@@ -114,22 +116,32 @@
 }, 'Tokenizing should read characters until first window feature separator as `value`');
 
 test (t => {
-  // If tokenizedFeatures contains an entry with the key "noopener"...disown opener
-  // i.e. `value` should be irrelevant
   var featureVariants = [
-    'noopener=false',
-    ',noopener=0, ',
-    'foo=bar,noopener=noopener,',
-    'noopener=true',
-    'noopener=foo\nbar\t'
+    'noopener=1',
+    'noopener=2',
+    'noopener=12345',
+    'noopener=1.5',
+    'noopener=-1',
   ];
   featureVariants.forEach(feature => {
     var win = window.open(windowURL, '', feature);
     assert_equals(win, null, `"${feature}" should activate feature "noopener"`);
   });
-}, '"noopener" should be based on name (key), not value');
+}, 'Integer values other than 0 should activate the feature');
 
 test (t => {
+  var featureVariants = [
+    'noopener=0',
+    'noopener=0.5',
+    'noopener=error',
+  ];
+  featureVariants.forEach(feature => {
+    var win = window.open(windowURL, '', feature);
+    assert_not_equals(win, null, `"${feature}" should NOT activate feature "noopener"`);
+  });
+}, 'Integer value of 0 should not activate the feature');
+
+test (t => {
   var invalidFeatureVariants = [
     '-noopener', //     => ('-noopener', '')
     'NOOPENERRRR', //   => ('noopenerrr', '')

Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/resources/message-opener.html (237810 => 237811)


--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/resources/message-opener.html	2018-11-05 17:47:42 UTC (rev 237810)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/resources/message-opener.html	2018-11-05 17:54:22 UTC (rev 237811)
@@ -1,7 +1,16 @@
 <script src=""
 <script>
 var prefixedMessage = new PrefixedMessageResource();
-window.addEventListener('load', () => {
+var max = 50, attempts = 0;
+function sendCoordinates() {
+  // Certain windowing systems position windows asynchronously.
+  // As a result, the window may not be positioned yet when the
+  // load event fires. To accommodate this, allow waiting up to
+  // 5 seconds for positioning to take place.
+  if (!window.screenX && !window.screenY && ++attempts < max) {
+    setTimeout(sendCoordinates, 100);
+    return;
+  }
   prefixedMessage.postToOpener({
     left: window.screenX,
     top: window.screenY,
@@ -8,5 +17,6 @@
     width: window.innerWidth,
     height: window.innerHeight
   });
-});
+}
+window.addEventListener('load', sendCoordinates);
 </script>

Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/resources/w3c-import.log (237810 => 237811)


--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/resources/w3c-import.log	2018-11-05 17:47:42 UTC (rev 237810)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/resources/w3c-import.log	2018-11-05 17:54:22 UTC (rev 237811)
@@ -1,7 +1,7 @@
 The tests in this directory were imported from the W3C repository.
 Do NOT modify these tests directly in WebKit.
 Instead, create a pull request on the WPT github:
-	https://github.com/w3c/web-platform-tests
+	https://github.com/web-platform-tests/wpt
 
 Then run the Tools/Scripts/import-w3c-tests in WebKit to reimport
 

Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/w3c-import.log (237810 => 237811)


--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/w3c-import.log	2018-11-05 17:47:42 UTC (rev 237810)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/w3c-import.log	2018-11-05 17:54:22 UTC (rev 237811)
@@ -1,7 +1,7 @@
 The tests in this directory were imported from the W3C repository.
 Do NOT modify these tests directly in WebKit.
 Instead, create a pull request on the WPT github:
-	https://github.com/w3c/web-platform-tests
+	https://github.com/web-platform-tests/wpt
 
 Then run the Tools/Scripts/import-w3c-tests in WebKit to reimport
 
@@ -22,6 +22,7 @@
 /LayoutTests/imported/w3c/web-platform-tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/close_unload-1.html
 /LayoutTests/imported/w3c/web-platform-tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/close_unload.html
 /LayoutTests/imported/w3c/web-platform-tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/creating_browsing_context_test_01.html
+/LayoutTests/imported/w3c/web-platform-tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/no_window_open_when_term_nesting_level_nonzero.window.js
 /LayoutTests/imported/w3c/web-platform-tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/open-features-negative-innerwidth-innerheight.html
 /LayoutTests/imported/w3c/web-platform-tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/open-features-negative-screenx-screeny.html
 /LayoutTests/imported/w3c/web-platform-tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/open-features-negative-top-left.html

Added: trunk/LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/no_window_open_when_term_nesting_level_nonzero.window-expected.txt (0 => 237811)


--- trunk/LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/no_window_open_when_term_nesting_level_nonzero.window-expected.txt	                        (rev 0)
+++ trunk/LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/no_window_open_when_term_nesting_level_nonzero.window-expected.txt	2018-11-05 17:54:22 UTC (rev 237811)
@@ -0,0 +1,8 @@
+CONSOLE MESSAGE: line 2659: Error: assert_equals: expected no popup during pagehide expected null but got object "[object Window]"
+CONSOLE MESSAGE: line 2659: Error: assert_equals: expected no popup during unload expected null but got object "[object Window]"
+
+PASS no popups with frame removal 
+FAIL no popups with frame navigation assert_equals: expected no popup during beforeunload expected null but got object "[object Window]"
+FAIL no popups from synchronously reachable window assert_equals: expected no popup during beforeunload expected null but got object "[object Window]"
+FAIL no popups from another synchronously reachable window assert_equals: expected no popup during beforeunload expected null but got object "[object Window]"
+

Modified: trunk/LayoutTests/platform/wk2/TestExpectations (237810 => 237811)


--- trunk/LayoutTests/platform/wk2/TestExpectations	2018-11-05 17:47:42 UTC (rev 237810)
+++ trunk/LayoutTests/platform/wk2/TestExpectations	2018-11-05 17:54:22 UTC (rev 237811)
@@ -770,3 +770,7 @@
 webkit.org/b/186406 compositing/iframes/display-none-subframe.html [ Pass Failure ]
 
 webkit.org/b/187766 http/wpt/service-workers/update-service-worker.https.html [ Pass Timeout ]
+
+# Newly imported test that is flaky on WebKit2 only.
+imported/w3c/web-platform-tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/no_window_open_when_term_nesting_level_nonzero.window.html [ Pass Failure ]
+
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to