Diff
Modified: trunk/LayoutTests/ChangeLog (205037 => 205038)
--- trunk/LayoutTests/ChangeLog 2016-08-26 20:35:21 UTC (rev 205037)
+++ trunk/LayoutTests/ChangeLog 2016-08-26 20:54:19 UTC (rev 205038)
@@ -1,3 +1,25 @@
+2016-08-26 Jiewen Tan <[email protected]>
+
+ Unreviewed, rebase iOS simulator WK1 http tests
+
+ * platform/ios-simulator-wk1/TestExpectations:
+ * platform/ios-simulator-wk1/animations/trigger-container-scroll-simple-expected.txt: Added.
+ * platform/ios-simulator-wk1/css2.1/t040302-c61-ex-len-00-b-a-expected.txt:
+ * platform/ios-simulator-wk1/http/tests/dom/window-open-about-blank-and-access-document-expected.txt: Added.
+ * platform/ios-simulator-wk1/http/tests/dom/window-open-about-uppercase-blank-and-access-document-expected.txt: Added.
+ * platform/ios-simulator-wk1/http/tests/dom/window-open-about-webkit-org-and-access-document-expected.txt: Added.
+ * platform/ios-simulator-wk1/http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/proper-open-window-upgrades-expected.txt: Added.
+ * platform/ios-simulator-wk1/http/tests/security/cross-origin-modal-dialog-base-expected.txt: Added.
+ * platform/ios-simulator-wk1/http/tests/security/insecure-geolocation-expected.txt: Added.
+ * platform/ios-simulator-wk1/http/tests/security/mixedContent/insecure-form-in-main-frame-expected.txt: Added.
+ * platform/ios-simulator-wk1/http/tests/security/mixedContent/insecure-script-in-data-iframe-in-main-frame-blocked-expected.txt: Added.
+ * platform/ios-simulator-wk1/http/tests/security/mixedContent/insecure-xhr-sync-in-main-frame-expected.txt: Added.
+ * platform/ios-simulator-wk1/http/tests/security/mixedcontent-geolocation-block-insecure-content-expected.txt: Added.
+ * platform/ios-simulator-wk1/http/tests/security/mixedcontent-geolocation-expected.txt: Added.
+ * platform/ios-simulator-wk1/http/tests/security/window-opened-from-sandboxed-iframe-should-inherit-sandbox-expected.txt: Added.
+ * platform/ios-simulator-wk2/TestExpectations:
+ * platform/ios-simulator/TestExpectations:
+
2016-08-26 Chris Dumez <[email protected]>
Calling crossOriginWindow.toString() should not be allowed
Modified: trunk/LayoutTests/platform/ios-simulator/TestExpectations (205037 => 205038)
--- trunk/LayoutTests/platform/ios-simulator/TestExpectations 2016-08-26 20:35:21 UTC (rev 205037)
+++ trunk/LayoutTests/platform/ios-simulator/TestExpectations 2016-08-26 20:54:19 UTC (rev 205038)
@@ -410,7 +410,6 @@
# HTTP tests that fail:
http/tests/cache/willsendrequest-returns-null-for-memory-cache-load.html [ Failure ]
-http/tests/download/inherited-encoding.html [ Failure ]
http/tests/loading/post-in-iframe-with-back-navigation.html [ Failure ]
http/tests/loading/promote-img-preload-priority.html [ Failure ]
http/tests/loading/sizes/preload-image-sizes.html [ Failure ]
@@ -438,8 +437,6 @@
http/tests/security/cross-origin-plugin-private-browsing-toggled-allowed.html [ Failure ]
http/tests/security/cross-origin-plugin-private-browsing-toggled.html [ Failure ]
http/tests/security/cross-origin-plugin.html [ Failure ]
-http/tests/security/cross-origin-worker-indexeddb-allowed.html [ Failure ]
-http/tests/security/cross-origin-worker-indexeddb.html [ Failure ]
http/tests/security/local-user-CSS-from-remote.html [ Failure ]
http/tests/security/storage-blocking-loosened-plugin.html [ Failure ]
http/tests/security/storage-blocking-loosened-private-browsing-plugin.html [ Failure ]
@@ -999,7 +996,6 @@
http/tests/xmlhttprequest/basic-auth-nopassword.html [ Failure ]
http/tests/xmlhttprequest/default-content-type-dashboard.html [ Failure ]
http/tests/xmlhttprequest/head-redirection.html [ Failure ]
-http/tests/xmlhttprequest/svg-created-by-xhr-allowed-in-dashboard.html [ Failure ]
# DeviceMotion tests that time out:
fast/dom/DeviceMotion/no-page-cache.html
Modified: trunk/LayoutTests/platform/ios-simulator-wk1/TestExpectations (205037 => 205038)
--- trunk/LayoutTests/platform/ios-simulator-wk1/TestExpectations 2016-08-26 20:35:21 UTC (rev 205037)
+++ trunk/LayoutTests/platform/ios-simulator-wk1/TestExpectations 2016-08-26 20:54:19 UTC (rev 205038)
@@ -932,11 +932,9 @@
http/tests/navigation/page-cache-iframe-no-current-historyItem.html [ Failure ]
# XMLHttpRequest tests that fail
-http/tests/xmlhttprequest/cache-override.html [ Failure ]
http/tests/xmlhttprequest/cross-origin-cookie-storage.html [ Failure ]
http/tests/xmlhttprequest/failed-auth.html [ Failure ]
webkit.org/b/82672 http/tests/xmlhttprequest/range-test.html [ Failure ]
-http/tests/xmlhttprequest/remember-bad-password.html [ Failure ]
# _javascript_s tests that fail:
js/dom/deep-recursion-test.html [ Failure ]
@@ -1059,6 +1057,7 @@
# Animation tests that fail:
animations/combo-transform-translate+scale.html [ Pass Failure ]
animations/suspend-resume-animation-events.html [ Pass Failure ]
+animations/trigger-container-scroll-empty.html [ Failure ]
# IndexedDB is not supported on iOS WK1.
storage/indexeddb
@@ -1070,7 +1069,6 @@
crypto/subtle/rsa-indexeddb.html
fast/history/page-cache-indexed-closed-db.html
fast/history/page-cache-indexed-opened-db.html
-http/tests/security/no-indexeddb-from-sandbox.html [ Failure ]
# ShouldOpenExternalURLs not yet supported in WK1
loader/navigation-policy [ Skip ]
@@ -1129,16 +1127,12 @@
http/tests/incremental/pause-in-script-element.pl
http/tests/navigation/metaredirect-frames.html
http/tests/security/frameNavigation/context-for-location-assign.html
-http/tests/cache/cached-main-resource.html [ Timeout ]
-http/tests/cookies/simple-cookies-expired.html [ Timeout ]
-http/tests/cookies/simple-cookies-max-age.html [ Timeout ]
-http/tests/images/png-partial-load.html [ Timeout ]
-http/tests/images/png-progressive-load.html [ Timeout ]
# HTTP tests that fail:
http/tests/loading/preload-img-srcset-sizes.html [ Failure ]
http/tests/loading/progress-finished-callback.html [ Failure ]
http/tests/misc/acid3.html [ Failure ]
+http/tests/navigation/anchor-frames.html [ Failure ]
http/tests/navigation/_javascript_link-frames.html [ Failure ]
http/tests/navigation/postredirect-basic.html [ Failure ]
http/tests/navigation/postredirect-goback1.html [ Failure ]
@@ -1152,7 +1146,6 @@
http/tests/security/canvas-remote-read-remote-video-allowed-anonymous.html [ Failure ]
http/tests/security/canvas-remote-read-remote-video-allowed-with-credentials.html [ Failure ]
http/tests/security/contentSecurityPolicy/object-src-url-allowed.html [ Failure ]
-http/tests/security/contentSecurityPolicy/object-src-url-blocked.html [ Failure ]
http/tests/security/cross-origin-indexeddb-allowed.html [ Failure ]
http/tests/security/cross-origin-indexeddb.html [ Failure ]
http/tests/security/cross-origin-local-storage-wk1.html [ Failure ]
@@ -1329,7 +1322,6 @@
# Latest iOS failures as of Sept 1, 2015
accessibility/ios-simulator/iframe-access.html [ Failure ]
-animations/simultaneous-start-transform.html [ Failure ]
compositing/iframes/display-none-subframe.html [ Failure ]
css3/blending/blend-mode-simple-composited.html [ Failure ]
editing/selection/caret-mode-document-begin-end.html [ Failure ]
@@ -1337,7 +1329,6 @@
fast/forms/input-text-option-delete.html [ Failure ]
fast/xsl/xslt-extra-content-at-end.xml [ Failure ]
fast/xsl/xslt-missing-namespace-in-xslt.xml [ Failure ]
-http/tests/security/video-cross-origin-accesssameorigin.html [ Failure ]
js/dom/JSON-stringify.html [ Failure ]
fast/parser/external-entities-in-xslt.xml [ Failure ]
editing/selection/update-selection-by-style-change.html [ ImageOnlyFailure ]
Added: trunk/LayoutTests/platform/ios-simulator-wk1/animations/trigger-container-scroll-simple-expected.txt (0 => 205038)
--- trunk/LayoutTests/platform/ios-simulator-wk1/animations/trigger-container-scroll-simple-expected.txt (rev 0)
+++ trunk/LayoutTests/platform/ios-simulator-wk1/animations/trigger-container-scroll-simple-expected.txt 2016-08-26 20:54:19 UTC (rev 205038)
@@ -0,0 +1,6 @@
+This element should begin animating only when the page scrolls to 20px from the top. The animation is almost instantaneous, so it will snap to its final position. Remember to scroll to the top of the page before reloading!
+
+Value before animation is applied: auto (should be auto)
+Value with animation but no scroll: 0px (should be 0px)
+Value with animation after scroll: 0px (should be 100px)
+
Modified: trunk/LayoutTests/platform/ios-simulator-wk1/css2.1/t040302-c61-ex-len-00-b-a-expected.txt (205037 => 205038)
--- trunk/LayoutTests/platform/ios-simulator-wk1/css2.1/t040302-c61-ex-len-00-b-a-expected.txt 2016-08-26 20:35:21 UTC (rev 205037)
+++ trunk/LayoutTests/platform/ios-simulator-wk1/css2.1/t040302-c61-ex-len-00-b-a-expected.txt 2016-08-26 20:54:19 UTC (rev 205038)
@@ -6,12 +6,12 @@
RenderBlock {P} at (0,0) size 784x20 [color=#000080]
RenderText {#text} at (0,0) size 332x19
text run at (0,0) width 332: "The two blocks below should have the same height."
- RenderTable {TABLE} at (80,36) size 103x52
- RenderTableSection {TBODY} at (0,0) size 103x52
- RenderTableRow {TR} at (0,2) size 103x48
- RenderTableCell {TD} at (2,2) size 49x48 [r=0 c=0 rs=1 cs=1]
- RenderBlock {DIV} at (4,4) size 41x40 [color=#000080]
+ RenderTable {TABLE} at (80,36) size 102x52
+ RenderTableSection {TBODY} at (0,0) size 102x52
+ RenderTableRow {TR} at (0,2) size 102x48
+ RenderTableCell {TD} at (2,2) size 48x48 [r=0 c=0 rs=1 cs=1]
+ RenderBlock {DIV} at (4,4) size 40x40 [color=#000080]
RenderText {#text} at (0,0) size 40x40
text run at (0,0) width 40: "\x{C9}"
- RenderTableCell {TD} at (52,2) size 49x48 [r=0 c=1 rs=1 cs=1]
+ RenderTableCell {TD} at (52,2) size 48x48 [r=0 c=1 rs=1 cs=1]
RenderBlock {DIV} at (4,4) size 40x40 [border: (40px solid #000080) none]
Added: trunk/LayoutTests/platform/ios-simulator-wk1/http/tests/dom/window-open-about-blank-and-access-document-expected.txt (0 => 205038)
--- trunk/LayoutTests/platform/ios-simulator-wk1/http/tests/dom/window-open-about-blank-and-access-document-expected.txt (rev 0)
+++ trunk/LayoutTests/platform/ios-simulator-wk1/http/tests/dom/window-open-about-blank-and-access-document-expected.txt 2016-08-26 20:54:19 UTC (rev 205038)
@@ -0,0 +1,2 @@
+PASS newWindow.document is defined.
+
Added: trunk/LayoutTests/platform/ios-simulator-wk1/http/tests/dom/window-open-about-uppercase-blank-and-access-document-expected.txt (0 => 205038)
--- trunk/LayoutTests/platform/ios-simulator-wk1/http/tests/dom/window-open-about-uppercase-blank-and-access-document-expected.txt (rev 0)
+++ trunk/LayoutTests/platform/ios-simulator-wk1/http/tests/dom/window-open-about-uppercase-blank-and-access-document-expected.txt 2016-08-26 20:54:19 UTC (rev 205038)
@@ -0,0 +1,2 @@
+PASS newWindow.document is defined.
+
Added: trunk/LayoutTests/platform/ios-simulator-wk1/http/tests/dom/window-open-about-webkit-org-and-access-document-expected.txt (0 => 205038)
--- trunk/LayoutTests/platform/ios-simulator-wk1/http/tests/dom/window-open-about-webkit-org-and-access-document-expected.txt (rev 0)
+++ trunk/LayoutTests/platform/ios-simulator-wk1/http/tests/dom/window-open-about-webkit-org-and-access-document-expected.txt 2016-08-26 20:54:19 UTC (rev 205038)
@@ -0,0 +1,2 @@
+PASS newWindow.document is undefined.
+
Added: trunk/LayoutTests/platform/ios-simulator-wk1/http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/proper-open-window-upgrades-expected.txt (0 => 205038)
--- trunk/LayoutTests/platform/ios-simulator-wk1/http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/proper-open-window-upgrades-expected.txt (rev 0)
+++ trunk/LayoutTests/platform/ios-simulator-wk1/http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/proper-open-window-upgrades-expected.txt 2016-08-26 20:54:19 UTC (rev 205038)
@@ -0,0 +1,7 @@
+ALERT: PASS
+ALERT: PASS
+This test causes a new window to open performing a secure navigation to a document with the 'upgrade-insecure-requests' header. The secure document has an insecure script reference, which will get upgraded. The secure document does an insecure navigation to a new window. This new navigation should not be upgraded.
+
+The new document does an insecure navigation to a host we have visited before. This navigation should be upgraded, even though the site does not have the 'update-insecure-requests' header. The new document also does an insecure navigation to a second domain, which has not been upgraded before. This navigation should not be upgraded, and will fail (in this test) because we only provide the resource to load under the HTTPS server.
+
+If upgrades are working as expected, there should be two PASS entries in the test output. If there are five entires, the insecure load to a new host is being improperly upgraded.
Added: trunk/LayoutTests/platform/ios-simulator-wk1/http/tests/security/cross-origin-modal-dialog-base-expected.txt (0 => 205038)
--- trunk/LayoutTests/platform/ios-simulator-wk1/http/tests/security/cross-origin-modal-dialog-base-expected.txt (rev 0)
+++ trunk/LayoutTests/platform/ios-simulator-wk1/http/tests/security/cross-origin-modal-dialog-base-expected.txt 2016-08-26 20:54:19 UTC (rev 205038)
@@ -0,0 +1,12 @@
+Tests that a modal dialog doesn't fall back to its openers origin when document.location is set to a relative path.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+Showing modal dialog.
+Returned from modal dialog.
+If test passed, console messages above should both show the same document.location.origin, <http://localhost:8000>.
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
Added: trunk/LayoutTests/platform/ios-simulator-wk1/http/tests/security/insecure-geolocation-expected.txt (0 => 205038)
--- trunk/LayoutTests/platform/ios-simulator-wk1/http/tests/security/insecure-geolocation-expected.txt (rev 0)
+++ trunk/LayoutTests/platform/ios-simulator-wk1/http/tests/security/insecure-geolocation-expected.txt 2016-08-26 20:54:19 UTC (rev 205038)
@@ -0,0 +1 @@
+This test loads an insecure frame that tries to access geolocation. Access to geolocation is blocked over insecure connections.
Added: trunk/LayoutTests/platform/ios-simulator-wk1/http/tests/security/mixedContent/insecure-form-in-main-frame-expected.txt (0 => 205038)
--- trunk/LayoutTests/platform/ios-simulator-wk1/http/tests/security/mixedContent/insecure-form-in-main-frame-expected.txt (rev 0)
+++ trunk/LayoutTests/platform/ios-simulator-wk1/http/tests/security/mixedContent/insecure-form-in-main-frame-expected.txt 2016-08-26 20:54:19 UTC (rev 205038)
@@ -0,0 +1,10 @@
+main frame - didFinishDocumentLoadForFrame
+main frame - didStartProvisionalLoadForFrame
+main frame - didHandleOnloadEventsForFrame
+main frame - didFinishLoadForFrame
+main frame - didCommitLoadForFrame
+didDisplayInsecureContent
+main frame - didFinishDocumentLoadForFrame
+main frame - didHandleOnloadEventsForFrame
+main frame - didFinishLoadForFrame
+This test opens a window that has a form with an non-https action. We should trigger a mixed content callback because the main frame in the window is HTTPS but is running insecure content.
Added: trunk/LayoutTests/platform/ios-simulator-wk1/http/tests/security/mixedContent/insecure-script-in-data-iframe-in-main-frame-blocked-expected.txt (0 => 205038)
--- trunk/LayoutTests/platform/ios-simulator-wk1/http/tests/security/mixedContent/insecure-script-in-data-iframe-in-main-frame-blocked-expected.txt (rev 0)
+++ trunk/LayoutTests/platform/ios-simulator-wk1/http/tests/security/mixedContent/insecure-script-in-data-iframe-in-main-frame-blocked-expected.txt 2016-08-26 20:54:19 UTC (rev 205038)
@@ -0,0 +1 @@
+This test opens a window that loads a data: iframe that loads an insecure script, and that the script is still blocked. Although the data: frame has a separate origin, the script can still navigate top.
Added: trunk/LayoutTests/platform/ios-simulator-wk1/http/tests/security/mixedContent/insecure-xhr-sync-in-main-frame-expected.txt (0 => 205038)
--- trunk/LayoutTests/platform/ios-simulator-wk1/http/tests/security/mixedContent/insecure-xhr-sync-in-main-frame-expected.txt (rev 0)
+++ trunk/LayoutTests/platform/ios-simulator-wk1/http/tests/security/mixedContent/insecure-xhr-sync-in-main-frame-expected.txt 2016-08-26 20:54:19 UTC (rev 205038)
@@ -0,0 +1 @@
+This test opens a HTTPS window that loads insecure data via synchronous XHR. We should trigger a mixed content callback because the main frame in the window is HTTPS but now has insecure data.
Added: trunk/LayoutTests/platform/ios-simulator-wk1/http/tests/security/mixedcontent-geolocation-block-insecure-content-expected.txt (0 => 205038)
--- trunk/LayoutTests/platform/ios-simulator-wk1/http/tests/security/mixedcontent-geolocation-block-insecure-content-expected.txt (rev 0)
+++ trunk/LayoutTests/platform/ios-simulator-wk1/http/tests/security/mixedcontent-geolocation-block-insecure-content-expected.txt 2016-08-26 20:54:19 UTC (rev 205038)
@@ -0,0 +1 @@
+This test loads a secure frame with insecure content that tries to access geolocation before loading insecure content. Access to insecure content is blocked over secure connections when geolocation is accessed.
Added: trunk/LayoutTests/platform/ios-simulator-wk1/http/tests/security/mixedcontent-geolocation-expected.txt (0 => 205038)
--- trunk/LayoutTests/platform/ios-simulator-wk1/http/tests/security/mixedcontent-geolocation-expected.txt (rev 0)
+++ trunk/LayoutTests/platform/ios-simulator-wk1/http/tests/security/mixedcontent-geolocation-expected.txt 2016-08-26 20:54:19 UTC (rev 205038)
@@ -0,0 +1 @@
+This test loads a secure frame with mixed content that tries to access geolocation. Access to geolocation is blocked over secure connections with mixed content.
Added: trunk/LayoutTests/platform/ios-simulator-wk1/http/tests/security/window-opened-from-sandboxed-iframe-should-inherit-sandbox-expected.txt (0 => 205038)
--- trunk/LayoutTests/platform/ios-simulator-wk1/http/tests/security/window-opened-from-sandboxed-iframe-should-inherit-sandbox-expected.txt (rev 0)
+++ trunk/LayoutTests/platform/ios-simulator-wk1/http/tests/security/window-opened-from-sandboxed-iframe-should-inherit-sandbox-expected.txt 2016-08-26 20:54:19 UTC (rev 205038)
@@ -0,0 +1 @@
+
Modified: trunk/LayoutTests/platform/ios-simulator-wk2/TestExpectations (205037 => 205038)
--- trunk/LayoutTests/platform/ios-simulator-wk2/TestExpectations 2016-08-26 20:35:21 UTC (rev 205037)
+++ trunk/LayoutTests/platform/ios-simulator-wk2/TestExpectations 2016-08-26 20:54:19 UTC (rev 205038)
@@ -362,6 +362,8 @@
http/tests/navigation/reload-subframe-object.html [ Failure ]
http/tests/navigation/success200-subframeload.html [ Failure ]
http/tests/navigation/timerredirect-subframeload.html [ Failure ]
+http/tests/security/cross-origin-worker-indexeddb-allowed.html [ Failure ]
+http/tests/security/cross-origin-worker-indexeddb.html [ Failure ]
http/tests/security/drag-drop-local-file.html [ Failure ]
http/tests/security/drag-drop-same-unique-origin.html [ Failure ]
http/tests/security/drag-over-remote-content-iframe.html [ Failure ]
@@ -373,6 +375,7 @@
http/tests/security/redirect-BLOCKED-to-localURL.html [ Failure ]
http/tests/security/setDomainRelaxationForbiddenForURLScheme.html [ Failure ]
http/tests/uri/css-href.php [ Failure ]
+http/tests/xmlhttprequest/svg-created-by-xhr-allowed-in-dashboard.html [ Failure ]
# HTTP tests that assert:
http/tests/navigation/new-window-redirect-history.html