Title: [205169] trunk/LayoutTests
Revision
205169
Author
cdu...@apple.com
Date
2016-08-29 21:53:17 -0700 (Mon, 29 Aug 2016)

Log Message

Unskip several web-platform-tests that are now passing
https://bugs.webkit.org/show_bug.cgi?id=161367

Reviewed by Geoffrey Garen.

LayoutTests/imported/w3c:

Rebaseline those tests and update window-security.sub.html as per:
https://github.com/w3c/web-platform-tests/pull/3607

* web-platform-tests/html/browsers/history/the-location-interface/security_location_0.sub-expected.txt:
* web-platform-tests/html/browsers/the-window-object/security-window/window-security.sub-expected.txt:
* web-platform-tests/html/browsers/the-window-object/security-window/window-security.sub.html:
* web-platform-tests/html/browsers/windows/nested-browsing-contexts/frameElement.sub-expected.txt:

LayoutTests:

Unskip several web-platform-tests that are now passing.

* TestExpectations:

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (205168 => 205169)


--- trunk/LayoutTests/ChangeLog	2016-08-30 02:07:12 UTC (rev 205168)
+++ trunk/LayoutTests/ChangeLog	2016-08-30 04:53:17 UTC (rev 205169)
@@ -1,3 +1,14 @@
+2016-08-29  Chris Dumez  <cdu...@apple.com>
+
+        Unskip several web-platform-tests that are now passing
+        https://bugs.webkit.org/show_bug.cgi?id=161367
+
+        Reviewed by Geoffrey Garen.
+
+        Unskip several web-platform-tests that are now passing.
+
+        * TestExpectations:
+
 2016-08-29  Joseph Pecoraro  <pecor...@apple.com>
 
         REGRESSION(r202568): Web Inspector: Expanding Array Prototype in Console shows no properties

Modified: trunk/LayoutTests/TestExpectations (205168 => 205169)


--- trunk/LayoutTests/TestExpectations	2016-08-30 02:07:12 UTC (rev 205168)
+++ trunk/LayoutTests/TestExpectations	2016-08-30 04:53:17 UTC (rev 205169)
@@ -475,6 +475,7 @@
 # WPT tests that fail after doing full test repository reimport and need further investigation
 imported/w3c/web-platform-tests/XMLHttpRequest/send-entity-body-document.htm [ Pass Failure Timeout ]
 imported/w3c/web-platform-tests/dom/nodes/Document-createElement-namespace.html [ Pass Failure ]
+imported/w3c/web-platform-tests/html/browsers/windows/nested-browsing-contexts/frameElement.sub.html [ Pass Failure ]
 imported/w3c/web-platform-tests/html/browsers/windows/targeting-cross-origin-nested-browsing-contexts.sub.html [ Pass Failure ]
 
 # W3C XMLHttpRequest tests
@@ -1211,12 +1212,6 @@
 
 editing/deleting/delete-emoji.html [ Slow ]
 
-# W3C tests what are trying to access www1.localhost.
-webkit.org/b/161142 imported/w3c/web-platform-tests/html/browsers/history/the-location-interface/security_location_0.sub.htm [ Skip ]
-webkit.org/b/161142 imported/w3c/web-platform-tests/html/browsers/the-window-object/security-window/window-security.sub.html [ Skip ]
-webkit.org/b/161142 imported/w3c/web-platform-tests/html/browsers/windows/nested-browsing-contexts/frameElement.sub.html [ Skip ]
-webkit.org/b/161142 imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/cross_origin_parentage.html [ Skip ]
-
 # New emoji requires system support.
 webkit.org/b/159755 fast/text/emoji-num-glyphs.html [ Failure ]
 webkit.org/b/159755 fast/text/emoji-gender-2-3.html [ ImageOnlyFailure ]

Modified: trunk/LayoutTests/imported/w3c/ChangeLog (205168 => 205169)


--- trunk/LayoutTests/imported/w3c/ChangeLog	2016-08-30 02:07:12 UTC (rev 205168)
+++ trunk/LayoutTests/imported/w3c/ChangeLog	2016-08-30 04:53:17 UTC (rev 205169)
@@ -1,5 +1,20 @@
 2016-08-29  Chris Dumez  <cdu...@apple.com>
 
+        Unskip several web-platform-tests that are now passing
+        https://bugs.webkit.org/show_bug.cgi?id=161367
+
+        Reviewed by Geoffrey Garen.
+
+        Rebaseline those tests and update window-security.sub.html as per:
+        https://github.com/w3c/web-platform-tests/pull/3607
+
+        * web-platform-tests/html/browsers/history/the-location-interface/security_location_0.sub-expected.txt:
+        * web-platform-tests/html/browsers/the-window-object/security-window/window-security.sub-expected.txt:
+        * web-platform-tests/html/browsers/the-window-object/security-window/window-security.sub.html:
+        * web-platform-tests/html/browsers/windows/nested-browsing-contexts/frameElement.sub-expected.txt:
+
+2016-08-29  Chris Dumez  <cdu...@apple.com>
+
         document.createEvent("popstateevent") should create a PopStateEvent
         https://bugs.webkit.org/show_bug.cgi?id=161321
 

Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/browsers/history/the-location-interface/security_location_0.sub-expected.txt (205168 => 205169)


--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/browsers/history/the-location-interface/security_location_0.sub-expected.txt	2016-08-30 02:07:12 UTC (rev 205168)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/browsers/history/the-location-interface/security_location_0.sub-expected.txt	2016-08-30 04:53:17 UTC (rev 205169)
@@ -1,4 +1,3 @@
-Blocked access to external URL http://www.localhost:8800/
 Access location object from different origins doesn't raise SECURITY_ERR exception
 
 

Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/browsers/the-window-object/security-window/window-security.sub-expected.txt (205168 => 205169)


--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/browsers/the-window-object/security-window/window-security.sub-expected.txt	2016-08-30 02:07:12 UTC (rev 205168)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/browsers/the-window-object/security-window/window-security.sub-expected.txt	2016-08-30 04:53:17 UTC (rev 205169)
@@ -1,7 +1,129 @@
-Blocked access to external URL http://www1.localhost:8800/
-CONSOLE MESSAGE: line 16: ReferenceError: Can't find variable: fr_load
 
-Harness Error (FAIL), message = ReferenceError: Can't find variable: fr_load
+PASS Window Security testing 
+PASS A SecurityError exception must be thrown when window.applicationCache is accessed from a different origin. 
+PASS A SecurityError exception must be thrown when window.devicePixelRatio is accessed from a different origin. 
+PASS A SecurityError exception must be thrown when window.document is accessed from a different origin. 
+FAIL A SecurityError exception must be thrown when window.external is accessed from a different origin. assert_true: window.external should exist. expected true got false
+PASS A SecurityError exception must be thrown when window.frameElement is accessed from a different origin. 
+PASS A SecurityError exception must be thrown when window.history is accessed from a different origin. 
+PASS A SecurityError exception must be thrown when window.innerWidth is accessed from a different origin. 
+PASS A SecurityError exception must be thrown when window.innerHeight is accessed from a different origin. 
+PASS A SecurityError exception must be thrown when window.locationbar is accessed from a different origin. 
+PASS A SecurityError exception must be thrown when window.localStorage is accessed from a different origin. 
+PASS A SecurityError exception must be thrown when window.menubar is accessed from a different origin. 
+PASS A SecurityError exception must be thrown when window.name is accessed from a different origin. 
+PASS A SecurityError exception must be thrown when window.navigator is accessed from a different origin. 
+PASS A SecurityError exception must be thrown when window.onabort is accessed from a different origin. 
+FAIL A SecurityError exception must be thrown when window.onafterprint is accessed from a different origin. assert_true: window.onafterprint should exist. expected true got false
+FAIL A SecurityError exception must be thrown when window.onbeforeprint is accessed from a different origin. assert_true: window.onbeforeprint should exist. expected true got false
+PASS A SecurityError exception must be thrown when window.onbeforeunload is accessed from a different origin. 
+PASS A SecurityError exception must be thrown when window.onblur is accessed from a different origin. 
+FAIL A SecurityError exception must be thrown when window.oncancel is accessed from a different origin. assert_true: window.oncancel should exist. expected true got false
+PASS A SecurityError exception must be thrown when window.oncanplay is accessed from a different origin. 
+PASS A SecurityError exception must be thrown when window.oncanplaythrough is accessed from a different origin. 
+PASS A SecurityError exception must be thrown when window.onchange is accessed from a different origin. 
+PASS A SecurityError exception must be thrown when window.onclick is accessed from a different origin. 
+FAIL A SecurityError exception must be thrown when window.onclose is accessed from a different origin. assert_true: window.onclose should exist. expected true got false
+PASS A SecurityError exception must be thrown when window.oncontextmenu is accessed from a different origin. 
+PASS A SecurityError exception must be thrown when window.oncuechange is accessed from a different origin. 
+PASS A SecurityError exception must be thrown when window.ondblclick is accessed from a different origin. 
+PASS A SecurityError exception must be thrown when window.ondrag is accessed from a different origin. 
+PASS A SecurityError exception must be thrown when window.ondragend is accessed from a different origin. 
+PASS A SecurityError exception must be thrown when window.ondragenter is accessed from a different origin. 
+PASS A SecurityError exception must be thrown when window.ondragleave is accessed from a different origin. 
+PASS A SecurityError exception must be thrown when window.ondragover is accessed from a different origin. 
+PASS A SecurityError exception must be thrown when window.ondragstart is accessed from a different origin. 
+PASS A SecurityError exception must be thrown when window.ondrop is accessed from a different origin. 
+PASS A SecurityError exception must be thrown when window.ondurationchange is accessed from a different origin. 
+PASS A SecurityError exception must be thrown when window.onemptied is accessed from a different origin. 
+PASS A SecurityError exception must be thrown when window.onended is accessed from a different origin. 
+PASS A SecurityError exception must be thrown when window.onerror is accessed from a different origin. 
+PASS A SecurityError exception must be thrown when window.onfocus is accessed from a different origin. 
+PASS A SecurityError exception must be thrown when window.onhashchange is accessed from a different origin. 
+PASS A SecurityError exception must be thrown when window.oninput is accessed from a different origin. 
+PASS A SecurityError exception must be thrown when window.oninvalid is accessed from a different origin. 
+PASS A SecurityError exception must be thrown when window.onkeydown is accessed from a different origin. 
+PASS A SecurityError exception must be thrown when window.onkeypress is accessed from a different origin. 
+PASS A SecurityError exception must be thrown when window.onkeyup is accessed from a different origin. 
+PASS A SecurityError exception must be thrown when window.onload is accessed from a different origin. 
+PASS A SecurityError exception must be thrown when window.onloadeddata is accessed from a different origin. 
+PASS A SecurityError exception must be thrown when window.onloadedmetadata is accessed from a different origin. 
+PASS A SecurityError exception must be thrown when window.onloadstart is accessed from a different origin. 
+PASS A SecurityError exception must be thrown when window.onmessage is accessed from a different origin. 
+PASS A SecurityError exception must be thrown when window.onmousedown is accessed from a different origin. 
+PASS A SecurityError exception must be thrown when window.onmousemove is accessed from a different origin. 
+PASS A SecurityError exception must be thrown when window.onmouseout is accessed from a different origin. 
+PASS A SecurityError exception must be thrown when window.onmouseover is accessed from a different origin. 
+PASS A SecurityError exception must be thrown when window.onmouseup is accessed from a different origin. 
+PASS A SecurityError exception must be thrown when window.onmousewheel is accessed from a different origin. 
+PASS A SecurityError exception must be thrown when window.onoffline is accessed from a different origin. 
+PASS A SecurityError exception must be thrown when window.ononline is accessed from a different origin. 
+PASS A SecurityError exception must be thrown when window.onpause is accessed from a different origin. 
+PASS A SecurityError exception must be thrown when window.onplay is accessed from a different origin. 
+PASS A SecurityError exception must be thrown when window.onplaying is accessed from a different origin. 
+PASS A SecurityError exception must be thrown when window.onpagehide is accessed from a different origin. 
+PASS A SecurityError exception must be thrown when window.onpageshow is accessed from a different origin. 
+PASS A SecurityError exception must be thrown when window.onpopstate is accessed from a different origin. 
+PASS A SecurityError exception must be thrown when window.onprogress is accessed from a different origin. 
+PASS A SecurityError exception must be thrown when window.onratechange is accessed from a different origin. 
+PASS A SecurityError exception must be thrown when window.onreset is accessed from a different origin. 
+PASS A SecurityError exception must be thrown when window.onresize is accessed from a different origin. 
+PASS A SecurityError exception must be thrown when window.onscroll is accessed from a different origin. 
+PASS A SecurityError exception must be thrown when window.onseeked is accessed from a different origin. 
+PASS A SecurityError exception must be thrown when window.onseeking is accessed from a different origin. 
+PASS A SecurityError exception must be thrown when window.onselect is accessed from a different origin. 
+FAIL A SecurityError exception must be thrown when window.onshow is accessed from a different origin. assert_true: window.onshow should exist. expected true got false
+PASS A SecurityError exception must be thrown when window.onstalled is accessed from a different origin. 
+PASS A SecurityError exception must be thrown when window.onstorage is accessed from a different origin. 
+PASS A SecurityError exception must be thrown when window.onsubmit is accessed from a different origin. 
+PASS A SecurityError exception must be thrown when window.onsuspend is accessed from a different origin. 
+PASS A SecurityError exception must be thrown when window.ontimeupdate is accessed from a different origin. 
+PASS A SecurityError exception must be thrown when window.onunload is accessed from a different origin. 
+PASS A SecurityError exception must be thrown when window.onvolumechange is accessed from a different origin. 
+PASS A SecurityError exception must be thrown when window.onwaiting is accessed from a different origin. 
+PASS A SecurityError exception must be thrown when window.pageXOffset is accessed from a different origin. 
+PASS A SecurityError exception must be thrown when window.pageYOffset is accessed from a different origin. 
+PASS A SecurityError exception must be thrown when window.personalbar is accessed from a different origin. 
+PASS A SecurityError exception must be thrown when window.screen is accessed from a different origin. 
+PASS A SecurityError exception must be thrown when window.scrollbars is accessed from a different origin. 
+PASS A SecurityError exception must be thrown when window.statusbar is accessed from a different origin. 
+PASS A SecurityError exception must be thrown when window.status is accessed from a different origin. 
+PASS A SecurityError exception must be thrown when window.screenX is accessed from a different origin. 
+PASS A SecurityError exception must be thrown when window.screenY is accessed from a different origin. 
+PASS A SecurityError exception must be thrown when window.sessionStorage is accessed from a different origin. 
+PASS A SecurityError exception must be thrown when window.toolbar is accessed from a different origin. 
+PASS A SecurityError exception must be thrown when window.alert is accessed from a different origin. 
+PASS A SecurityError exception must be thrown when window.clearInterval is accessed from a different origin. 
+PASS A SecurityError exception must be thrown when window.clearTimeout is accessed from a different origin. 
+PASS A SecurityError exception must be thrown when window.confirm is accessed from a different origin. 
+PASS A SecurityError exception must be thrown when window.getComputedStyle is accessed from a different origin. 
+PASS A SecurityError exception must be thrown when window.getSelection is accessed from a different origin. 
+PASS A SecurityError exception must be thrown when window.matchMedia is accessed from a different origin. 
+PASS A SecurityError exception must be thrown when window.moveBy is accessed from a different origin. 
+PASS A SecurityError exception must be thrown when window.moveTo is accessed from a different origin. 
+PASS A SecurityError exception must be thrown when window.open is accessed from a different origin. 
+PASS A SecurityError exception must be thrown when window.print is accessed from a different origin. 
+PASS A SecurityError exception must be thrown when window.prompt is accessed from a different origin. 
+PASS A SecurityError exception must be thrown when window.resizeTo is accessed from a different origin. 
+PASS A SecurityError exception must be thrown when window.resizeBy is accessed from a different origin. 
+PASS A SecurityError exception must be thrown when window.scroll is accessed from a different origin. 
+PASS A SecurityError exception must be thrown when window.scrollTo is accessed from a different origin. 
+PASS A SecurityError exception must be thrown when window.scrollBy is accessed from a different origin. 
+PASS A SecurityError exception must be thrown when window.setInterval is accessed from a different origin. 
+PASS A SecurityError exception must be thrown when window.setTimeout is accessed from a different origin. 
+PASS A SecurityError exception must be thrown when window.showModalDialog is accessed from a different origin. 
+PASS A SecurityError exception must be thrown when window.stop is accessed from a different origin. 
+PASS A SecurityError exception should not be thrown when window.closed is accessed from a different origin. 
+PASS A SecurityError exception should not be thrown when window.frames is accessed from a different origin. 
+PASS A SecurityError exception should not be thrown when window.length is accessed from a different origin. 
+PASS A SecurityError exception should not be thrown when window.location is accessed from a different origin. 
+PASS A SecurityError exception should not be thrown when window.opener is accessed from a different origin. 
+PASS A SecurityError exception should not be thrown when window.parent is accessed from a different origin. 
+PASS A SecurityError exception should not be thrown when window.self is accessed from a different origin. 
+PASS A SecurityError exception should not be thrown when window.top is accessed from a different origin. 
+PASS A SecurityError exception should not be thrown when window.window is accessed from a different origin. 
+PASS A SecurityError exception should not be thrown when window.blur is accessed from a different origin. 
+PASS A SecurityError exception should not be thrown when window.close is accessed from a different origin. 
+PASS A SecurityError exception should not be thrown when window.focus is accessed from a different origin. 
+PASS A SecurityError exception should not be thrown when window.postMessage is accessed from a different origin. 
 
-NOTRUN Window Security testing 
-

Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/browsers/the-window-object/security-window/window-security.sub.html (205168 => 205169)


--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/browsers/the-window-object/security-window/window-security.sub.html	2016-08-30 02:07:12 UTC (rev 205168)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/browsers/the-window-object/security-window/window-security.sub.html	2016-08-30 04:53:17 UTC (rev 205169)
@@ -191,7 +191,9 @@
 }
 
 </script>
-<iframe id="fr" _onload_="fr_load()" style="display:none"></iframe>
+<iframe id="fr" style="display:none"></iframe>
 <script>
-document.getElementById('fr').setAttribute('src', get_host_info().HTTP_REMOTE_ORIGIN + "/");
+var frame = document.getElementById('fr');
+frame.setAttribute("onload", "fr_load()");
+frame.setAttribute('src', get_host_info().HTTP_REMOTE_ORIGIN + "/");
 </script>

Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/browsers/windows/nested-browsing-contexts/frameElement.sub-expected.txt (205168 => 205169)


--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/browsers/windows/nested-browsing-contexts/frameElement.sub-expected.txt	2016-08-30 02:07:12 UTC (rev 205168)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/browsers/windows/nested-browsing-contexts/frameElement.sub-expected.txt	2016-08-30 04:53:17 UTC (rev 205169)
@@ -1,5 +1,3 @@
-Blocked access to external URL http://www1.localhost:8800/html/browsers/windows/nested-browsing-contexts/test.html
-Blocked access to external URL http://www1.localhost:8800/html/browsers/windows/nested-browsing-contexts/testcase3.html
 
 Harness Error (TIMEOUT), message = null
 
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to