Changeset 229831 in webkit
- Timestamp:
- Mar 21, 2018, 3:28:50 PM (9 years ago)
- Location:
- trunk
- Files:
-
- 74 added
- 12 edited
- 29 copied
- 1 moved
-
LayoutTests/ChangeLog (modified) (1 diff)
-
LayoutTests/TestExpectations (modified) (1 diff)
-
LayoutTests/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-css-in-main-frame-expected.txt (modified) (1 diff)
-
LayoutTests/platform/ios/http/tests/loading/simple-subframe-expected.txt (modified) (1 diff)
-
LayoutTests/platform/mac-wk2/http/tests/loading (added)
-
LayoutTests/platform/mac-wk2/http/tests/loading/simple-subframe-expected.txt (copied) (copied from trunk/LayoutTests/platform/ios/http/tests/loading/simple-subframe-expected.txt ) (3 diffs)
-
LayoutTests/platform/wk2/fast (added)
-
LayoutTests/platform/wk2/fast/loader (added)
-
LayoutTests/platform/wk2/fast/loader/fragment-navigation-base-blank-expected.txt (copied) (copied from trunk/LayoutTests/platform/mac/webarchive/loading/mainresource-null-mimetype-crash-expected.txt ) (1 diff)
-
LayoutTests/platform/wk2/fast/loader/iframe-meta-refresh-base-blank-expected.txt (copied) (copied from trunk/LayoutTests/platform/wk2/http/tests/loading/authentication-after-redirect-stores-wrong-credentials/authentication-after-redirect-stores-wrong-credentials-expected.txt ) (1 diff)
-
LayoutTests/platform/wk2/fast/loader/iframe-set-location-base-blank-expected.txt (copied) (copied from trunk/LayoutTests/platform/wk2/http/tests/loading/authentication-after-redirect-stores-wrong-credentials/authentication-after-redirect-stores-wrong-credentials-expected.txt ) (1 diff)
-
LayoutTests/platform/wk2/fast/loader/main-document-url-for-non-http-loads-expected.txt (added)
-
LayoutTests/platform/wk2/fast/loader/refresh-iframe-base-blank-expected.txt (copied) (copied from trunk/LayoutTests/platform/wk2/http/tests/loading/authentication-after-redirect-stores-wrong-credentials/authentication-after-redirect-stores-wrong-credentials-expected.txt ) (1 diff)
-
LayoutTests/platform/wk2/fast/loader/subframe-removes-itself-expected.txt (copied) (copied from trunk/LayoutTests/platform/mac/webarchive/loading/mainresource-null-mimetype-crash-expected.txt ) (1 diff)
-
LayoutTests/platform/wk2/http/tests/contentdispositionattachmentsandbox (added)
-
LayoutTests/platform/wk2/http/tests/contentdispositionattachmentsandbox/cross-origin-frames-disabled-expected.txt (added)
-
LayoutTests/platform/wk2/http/tests/contentextensions (added)
-
LayoutTests/platform/wk2/http/tests/contentextensions/block-everything-unless-domain-expected.txt (added)
-
LayoutTests/platform/wk2/http/tests/loading/authentication-after-redirect-stores-wrong-credentials/authentication-after-redirect-stores-wrong-credentials-expected.txt (modified) (1 diff)
-
LayoutTests/platform/wk2/http/tests/loading/bad-server-subframe-expected.txt (added)
-
LayoutTests/platform/wk2/http/tests/loading/basic-auth-load-URL-with-consecutive-slashes-expected.txt (modified) (1 diff)
-
LayoutTests/platform/wk2/http/tests/loading/redirect-with-no-location-crash-expected.txt (copied) (copied from trunk/LayoutTests/platform/mac/webarchive/loading/mainresource-null-mimetype-crash-expected.txt ) (1 diff)
-
LayoutTests/platform/wk2/http/tests/loading/server-redirect-for-provisional-load-caching-expected.txt (added)
-
LayoutTests/platform/wk2/http/tests/loading/slow-parsing-subframe-expected.txt (added)
-
LayoutTests/platform/wk2/http/tests/misc/will-send-request-returns-null-on-redirect-expected.txt (added)
-
LayoutTests/platform/wk2/http/tests/misc/window-dot-stop-expected.txt (added)
-
LayoutTests/platform/wk2/http/tests/navigation (added)
-
LayoutTests/platform/wk2/http/tests/navigation/redirect-preserves-fragment-expected.txt (added)
-
LayoutTests/platform/wk2/http/tests/navigation/redirect-to-fragment-expected.txt (added)
-
LayoutTests/platform/wk2/http/tests/navigation/redirect-to-invalid-url-expected.txt (added)
-
LayoutTests/platform/wk2/http/tests/security/XFrameOptions (added)
-
LayoutTests/platform/wk2/http/tests/security/XFrameOptions/x-frame-options-allowall-expected.txt (added)
-
LayoutTests/platform/wk2/http/tests/security/XFrameOptions/x-frame-options-deny-expected.txt (added)
-
LayoutTests/platform/wk2/http/tests/security/XFrameOptions/x-frame-options-ignore-deny-meta-tag-expected.txt (added)
-
LayoutTests/platform/wk2/http/tests/security/XFrameOptions/x-frame-options-ignore-deny-meta-tag-in-body-expected.txt (added)
-
LayoutTests/platform/wk2/http/tests/security/XFrameOptions/x-frame-options-ignore-deny-meta-tag-parent-same-origin-allow-expected.txt (added)
-
LayoutTests/platform/wk2/http/tests/security/XFrameOptions/x-frame-options-ignore-deny-meta-tag-parent-same-origin-deny-expected.txt (added)
-
LayoutTests/platform/wk2/http/tests/security/XFrameOptions/x-frame-options-invalid-expected.txt (added)
-
LayoutTests/platform/wk2/http/tests/security/XFrameOptions/x-frame-options-multiple-headers-conflict-expected.txt (added)
-
LayoutTests/platform/wk2/http/tests/security/XFrameOptions/x-frame-options-multiple-headers-sameorigin-allow-expected.txt (added)
-
LayoutTests/platform/wk2/http/tests/security/XFrameOptions/x-frame-options-multiple-headers-sameorigin-deny-expected.txt (added)
-
LayoutTests/platform/wk2/http/tests/security/XFrameOptions/x-frame-options-parent-same-origin-allow-expected.txt (added)
-
LayoutTests/platform/wk2/http/tests/security/XFrameOptions/x-frame-options-parent-same-origin-deny-expected.txt (added)
-
LayoutTests/platform/wk2/http/tests/security/blocked-on-redirect-expected.txt (added)
-
LayoutTests/platform/wk2/http/tests/security/contentSecurityPolicy (added)
-
LayoutTests/platform/wk2/http/tests/security/contentSecurityPolicy/block-all-mixed-content (added)
-
LayoutTests/platform/wk2/http/tests/security/contentSecurityPolicy/block-all-mixed-content/data-url-iframe-in-main-frame-expected.txt (copied) (copied from trunk/LayoutTests/platform/mac/webarchive/loading/mainresource-null-mimetype-crash-expected.txt ) (1 diff)
-
LayoutTests/platform/wk2/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-css-in-iframe-expected.txt (added)
-
LayoutTests/platform/wk2/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-css-in-iframe-report-only-expected.txt (added)
-
LayoutTests/platform/wk2/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-css-in-main-frame-expected.txt (copied) (copied from trunk/LayoutTests/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-css-in-main-frame-expected.txt ) (1 diff)
-
LayoutTests/platform/wk2/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-iframe-in-iframe-expected.txt (added)
-
LayoutTests/platform/wk2/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-iframe-in-main-frame-expected.txt (added)
-
LayoutTests/platform/wk2/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-image-in-iframe-expected.txt (added)
-
LayoutTests/platform/wk2/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-image-in-iframe-with-enforced-and-report-policies-expected.txt (added)
-
LayoutTests/platform/wk2/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-image-in-iframe-with-inherited-policy-expected.txt (added)
-
LayoutTests/platform/wk2/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-image-in-javascript-url-iframe-in-iframe-expected.txt (added)
-
LayoutTests/platform/wk2/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-image-in-main-frame-expected.txt (copied) (copied from trunk/LayoutTests/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-css-in-main-frame-expected.txt ) (1 diff)
-
LayoutTests/platform/wk2/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-image-in-xslt-document-in-iframe-with-inherited-policy-expected.txt (added)
-
LayoutTests/platform/wk2/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-plugin-in-iframe-expected.txt (added)
-
LayoutTests/platform/wk2/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-plugin-in-main-frame-expected.txt (copied) (copied from trunk/LayoutTests/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-css-in-main-frame-expected.txt ) (1 diff)
-
LayoutTests/platform/wk2/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-script-in-iframe-expected.txt (added)
-
LayoutTests/platform/wk2/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-script-in-iframe-with-inherited-policy-expected.txt (added)
-
LayoutTests/platform/wk2/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-script-in-main-frame-expected.txt (copied) (copied from trunk/LayoutTests/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-css-in-main-frame-expected.txt ) (1 diff)
-
LayoutTests/platform/wk2/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-xhr-asynchronous-in-iframe-expected.txt (added)
-
LayoutTests/platform/wk2/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-xhr-asynchronous-in-main-frame-expected.txt (added)
-
LayoutTests/platform/wk2/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-xhr-synchronous-in-iframe-expected.txt (added)
-
LayoutTests/platform/wk2/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-xhr-synchronous-in-main-frame-expected.txt (added)
-
LayoutTests/platform/wk2/http/tests/security/contentSecurityPolicy/block-all-mixed-content/secure-image-after-upgrade-in-iframe-expected.txt (copied) (copied from trunk/LayoutTests/platform/mac/webarchive/loading/mainresource-null-mimetype-crash-expected.txt ) (1 diff)
-
LayoutTests/platform/wk2/http/tests/security/contentSecurityPolicy/block-all-mixed-content/secure-image-after-upgrade-redirect-in-iframe-expected.txt (moved) (moved from trunk/LayoutTests/platform/mac/webarchive/loading/mainresource-null-mimetype-crash-expected.txt ) (1 diff)
-
LayoutTests/platform/wk2/http/tests/security/contentSecurityPolicy/upgrade-insecure-requests (added)
-
LayoutTests/platform/wk2/http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/iframe-upgrade.https-expected.txt (added)
-
LayoutTests/platform/wk2/http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/proper-nested-upgrades-expected.txt (added)
-
LayoutTests/platform/wk2/http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/upgrade-insecure-css-in-iframe-expected.txt (copied) (copied from trunk/LayoutTests/platform/mac/webarchive/loading/mainresource-null-mimetype-crash-expected.txt ) (1 diff)
-
LayoutTests/platform/wk2/http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/upgrade-redirect-http-to-https-script-in-iframe-expected.txt (copied) (copied from trunk/LayoutTests/platform/mac/webarchive/loading/mainresource-null-mimetype-crash-expected.txt ) (1 diff)
-
LayoutTests/platform/wk2/http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/upgrade-redirect-https-to-http-script-in-iframe-expected.txt (copied) (copied from trunk/LayoutTests/platform/mac/webarchive/loading/mainresource-null-mimetype-crash-expected.txt ) (1 diff)
-
LayoutTests/platform/wk2/http/tests/security/http-0.9 (added)
-
LayoutTests/platform/wk2/http/tests/security/http-0.9/iframe-blocked-expected.txt (added)
-
LayoutTests/platform/wk2/http/tests/security/mixedContent/about-blank-iframe-in-main-frame-expected.txt (added)
-
LayoutTests/platform/wk2/http/tests/security/mixedContent/data-url-iframe-in-main-frame-expected.txt (copied) (copied from trunk/LayoutTests/platform/mac/webarchive/loading/mainresource-null-mimetype-crash-expected.txt ) (1 diff)
-
LayoutTests/platform/wk2/http/tests/security/mixedContent/data-url-script-in-iframe-expected.txt (copied) (copied from trunk/LayoutTests/platform/mac/webarchive/loading/mainresource-null-mimetype-crash-expected.txt ) (1 diff)
-
LayoutTests/platform/wk2/http/tests/security/mixedContent/empty-url-plugin-in-frame-expected.txt (copied) (copied from trunk/LayoutTests/platform/mac/webarchive/loading/mainresource-null-mimetype-crash-expected.txt ) (1 diff)
-
LayoutTests/platform/wk2/http/tests/security/mixedContent/insecure-css-in-iframe-expected.txt (copied) (copied from trunk/LayoutTests/platform/mac/webarchive/loading/mainresource-null-mimetype-crash-expected.txt ) (1 diff)
-
LayoutTests/platform/wk2/http/tests/security/mixedContent/insecure-css-in-main-frame-expected.txt (added)
-
LayoutTests/platform/wk2/http/tests/security/mixedContent/insecure-css-with-secure-cookies-expected.txt (added)
-
LayoutTests/platform/wk2/http/tests/security/mixedContent/insecure-executable-css-with-secure-cookies-expected.txt (added)
-
LayoutTests/platform/wk2/http/tests/security/mixedContent/insecure-form-in-iframe-expected.txt (copied) (copied from trunk/LayoutTests/platform/mac/webarchive/loading/mainresource-null-mimetype-crash-expected.txt ) (1 diff)
-
LayoutTests/platform/wk2/http/tests/security/mixedContent/insecure-form-in-main-frame-expected.txt (added)
-
LayoutTests/platform/wk2/http/tests/security/mixedContent/insecure-iframe-in-iframe-expected.txt (added)
-
LayoutTests/platform/wk2/http/tests/security/mixedContent/insecure-iframe-in-main-frame-expected.txt (added)
-
LayoutTests/platform/wk2/http/tests/security/mixedContent/insecure-image-in-iframe-expected.txt (copied) (copied from trunk/LayoutTests/platform/mac/webarchive/loading/mainresource-null-mimetype-crash-expected.txt ) (1 diff)
-
LayoutTests/platform/wk2/http/tests/security/mixedContent/javascript-url-form-in-main-frame-expected.txt (added)
-
LayoutTests/platform/wk2/http/tests/security/mixedContent/redirect-http-to-https-iframe-in-main-frame-expected.txt (added)
-
LayoutTests/platform/wk2/http/tests/security/mixedContent/redirect-http-to-https-script-in-iframe-expected.txt (added)
-
LayoutTests/platform/wk2/http/tests/security/mixedContent/redirect-https-to-http-iframe-in-main-frame-expected.txt (added)
-
LayoutTests/platform/wk2/http/tests/security/mixedContent/redirect-https-to-http-image-secure-cookies-block-expected.txt (added)
-
LayoutTests/platform/wk2/http/tests/security/mixedContent/redirect-https-to-http-image-secure-cookies-expected.txt (added)
-
LayoutTests/platform/wk2/http/tests/security/mixedContent/redirect-https-to-http-script-in-iframe-expected.txt (copied) (copied from trunk/LayoutTests/platform/mac/webarchive/loading/mainresource-null-mimetype-crash-expected.txt ) (1 diff)
-
LayoutTests/platform/wk2/http/tests/security/xssAuditor (added)
-
LayoutTests/platform/wk2/http/tests/security/xssAuditor/script-tag-with-callbacks-expected.txt (copied) (copied from trunk/LayoutTests/platform/mac/webarchive/loading/mainresource-null-mimetype-crash-expected.txt ) (1 diff)
-
LayoutTests/platform/wk2/inspector/page/frameScheduledNavigation-expected.txt (added)
-
LayoutTests/platform/wk2/loader (added)
-
LayoutTests/platform/wk2/loader/go-back-cached-main-resource-expected.txt (added)
-
LayoutTests/platform/wk2/webarchive (added)
-
LayoutTests/platform/wk2/webarchive/loading (added)
-
LayoutTests/platform/wk2/webarchive/loading/mainresource-null-mimetype-crash-expected.txt (copied) (copied from trunk/LayoutTests/platform/mac/webarchive/loading/mainresource-null-mimetype-crash-expected.txt ) (1 diff)
-
LayoutTests/platform/wk2/webarchive/loading/missing-data-expected.txt (copied) (copied from trunk/LayoutTests/platform/mac/webarchive/loading/mainresource-null-mimetype-crash-expected.txt ) (1 diff)
-
LayoutTests/platform/wk2/webarchive/loading/object-expected.txt (copied) (copied from trunk/LayoutTests/platform/mac/webarchive/loading/mainresource-null-mimetype-crash-expected.txt ) (1 diff)
-
LayoutTests/platform/wk2/webarchive/loading/test-loading-archive-expected.txt (copied) (copied from trunk/LayoutTests/platform/mac/webarchive/loading/mainresource-null-mimetype-crash-expected.txt ) (1 diff)
-
LayoutTests/platform/wk2/webarchive/loading/test-loading-archive-subresource-null-mimetype-expected.txt (added)
-
LayoutTests/platform/wk2/webarchive/loading/video-in-webarchive-expected.txt (copied) (copied from trunk/LayoutTests/platform/mac/webarchive/loading/mainresource-null-mimetype-crash-expected.txt ) (1 diff)
-
Source/WebKit/ChangeLog (modified) (1 diff)
-
Source/WebKit/UIProcess/WebPageProxy.cpp (modified) (10 diffs)
-
Source/WebKit/UIProcess/WebPageProxy.h (modified) (2 diffs)
-
Source/WebKit/UIProcess/WebPageProxy.messages.in (modified) (1 diff)
-
Source/WebKit/WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp (modified) (3 diffs)
-
Tools/TestWebKitAPI/Tests/WebKitCocoa/LoadAlternateHTMLString.mm (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r229830 r229831 1 2018-03-21 Chris Dumez <cdumez@apple.com> 2 3 Make policy decisions asynchronous 4 https://bugs.webkit.org/show_bug.cgi?id=180568 5 <rdar://problem/37131297> 6 7 Reviewed by Alex Christensen. 8 9 Rebaseline tests for WebKit2. The issue is that some tests dump policy delegate calls 10 and things now happen in a slightly different order now that those delegates are 11 asynchronous. 12 13 * TestExpectations: 14 * http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-css-in-main-frame-expected.txt: 15 * platform/ios/http/tests/loading/simple-subframe-expected.txt: 16 * platform/mac-wk2/http/tests/loading/simple-subframe-expected.txt: Copied from LayoutTests/platform/ios/http/tests/loading/simple-subframe-expected.txt. 17 * platform/wk2/fast/loader/fragment-navigation-base-blank-expected.txt: Copied from LayoutTests/platform/mac/webarchive/loading/mainresource-null-mimetype-crash-expected.txt. 18 * platform/wk2/fast/loader/iframe-meta-refresh-base-blank-expected.txt: Copied from LayoutTests/platform/wk2/http/tests/loading/authentication-after-redirect-stores-wrong-credentials/authentication-after-redirect-stores-wrong-credentials-expected.txt. 19 * platform/wk2/fast/loader/iframe-set-location-base-blank-expected.txt: Copied from LayoutTests/platform/wk2/http/tests/loading/authentication-after-redirect-stores-wrong-credentials/authentication-after-redirect-stores-wrong-credentials-expected.txt. 20 * platform/wk2/fast/loader/main-document-url-for-non-http-loads-expected.txt: Added. 21 * platform/wk2/fast/loader/refresh-iframe-base-blank-expected.txt: Copied from LayoutTests/platform/wk2/http/tests/loading/authentication-after-redirect-stores-wrong-credentials/authentication-after-redirect-stores-wrong-credentials-expected.txt. 22 * platform/wk2/fast/loader/subframe-removes-itself-expected.txt: Copied from LayoutTests/platform/mac/webarchive/loading/mainresource-null-mimetype-crash-expected.txt. 23 * platform/wk2/http/tests/contentdispositionattachmentsandbox/cross-origin-frames-disabled-expected.txt: Added. 24 * platform/wk2/http/tests/contentextensions/block-everything-unless-domain-expected.txt: Added. 25 * platform/wk2/http/tests/loading/authentication-after-redirect-stores-wrong-credentials/authentication-after-redirect-stores-wrong-credentials-expected.txt: 26 * platform/wk2/http/tests/loading/bad-server-subframe-expected.txt: Added. 27 * platform/wk2/http/tests/loading/basic-auth-load-URL-with-consecutive-slashes-expected.txt: 28 * platform/wk2/http/tests/loading/redirect-with-no-location-crash-expected.txt: Copied from LayoutTests/platform/mac/webarchive/loading/mainresource-null-mimetype-crash-expected.txt. 29 * platform/wk2/http/tests/loading/server-redirect-for-provisional-load-caching-expected.txt: Added. 30 * platform/wk2/http/tests/loading/slow-parsing-subframe-expected.txt: Added. 31 * platform/wk2/http/tests/misc/will-send-request-returns-null-on-redirect-expected.txt: Added. 32 * platform/wk2/http/tests/misc/window-dot-stop-expected.txt: Added. 33 * platform/wk2/http/tests/navigation/redirect-preserves-fragment-expected.txt: Added. 34 * platform/wk2/http/tests/navigation/redirect-to-fragment-expected.txt: Added. 35 * platform/wk2/http/tests/navigation/redirect-to-invalid-url-expected.txt: Added. 36 * platform/wk2/http/tests/security/XFrameOptions/x-frame-options-allowall-expected.txt: Added. 37 * platform/wk2/http/tests/security/XFrameOptions/x-frame-options-deny-expected.txt: Added. 38 * platform/wk2/http/tests/security/XFrameOptions/x-frame-options-ignore-deny-meta-tag-expected.txt: Added. 39 * platform/wk2/http/tests/security/XFrameOptions/x-frame-options-ignore-deny-meta-tag-in-body-expected.txt: Added. 40 * platform/wk2/http/tests/security/XFrameOptions/x-frame-options-ignore-deny-meta-tag-parent-same-origin-allow-expected.txt: Added. 41 * platform/wk2/http/tests/security/XFrameOptions/x-frame-options-ignore-deny-meta-tag-parent-same-origin-deny-expected.txt: Added. 42 * platform/wk2/http/tests/security/XFrameOptions/x-frame-options-invalid-expected.txt: Added. 43 * platform/wk2/http/tests/security/XFrameOptions/x-frame-options-multiple-headers-conflict-expected.txt: Added. 44 * platform/wk2/http/tests/security/XFrameOptions/x-frame-options-multiple-headers-sameorigin-allow-expected.txt: Added. 45 * platform/wk2/http/tests/security/XFrameOptions/x-frame-options-multiple-headers-sameorigin-deny-expected.txt: Added. 46 * platform/wk2/http/tests/security/XFrameOptions/x-frame-options-parent-same-origin-allow-expected.txt: Added. 47 * platform/wk2/http/tests/security/XFrameOptions/x-frame-options-parent-same-origin-deny-expected.txt: Added. 48 * platform/wk2/http/tests/security/blocked-on-redirect-expected.txt: Added. 49 * platform/wk2/http/tests/security/contentSecurityPolicy/block-all-mixed-content/data-url-iframe-in-main-frame-expected.txt: Copied from LayoutTests/platform/mac/webarchive/loading/mainresource-null-mimetype-crash-expected.txt. 50 * platform/wk2/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-css-in-iframe-expected.txt: Added. 51 * platform/wk2/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-css-in-iframe-report-only-expected.txt: Added. 52 * platform/wk2/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-css-in-main-frame-expected.txt: Copied from LayoutTests/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-css-in-main-frame-expected.txt. 53 * platform/wk2/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-iframe-in-iframe-expected.txt: Added. 54 * platform/wk2/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-iframe-in-main-frame-expected.txt: Added. 55 * platform/wk2/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-image-in-iframe-expected.txt: Added. 56 * platform/wk2/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-image-in-iframe-with-enforced-and-report-policies-expected.txt: Added. 57 * platform/wk2/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-image-in-iframe-with-inherited-policy-expected.txt: Added. 58 * platform/wk2/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-image-in-javascript-url-iframe-in-iframe-expected.txt: Added. 59 * platform/wk2/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-image-in-main-frame-expected.txt: Copied from LayoutTests/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-css-in-main-frame-expected.txt. 60 * platform/wk2/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-image-in-xslt-document-in-iframe-with-inherited-policy-expected.txt: Added. 61 * platform/wk2/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-plugin-in-iframe-expected.txt: Added. 62 * platform/wk2/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-plugin-in-main-frame-expected.txt: Copied from LayoutTests/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-css-in-main-frame-expected.txt. 63 * platform/wk2/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-script-in-iframe-expected.txt: Added. 64 * platform/wk2/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-script-in-iframe-with-inherited-policy-expected.txt: Added. 65 * platform/wk2/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-script-in-main-frame-expected.txt: Copied from LayoutTests/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-css-in-main-frame-expected.txt. 66 * platform/wk2/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-xhr-asynchronous-in-iframe-expected.txt: Added. 67 * platform/wk2/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-xhr-asynchronous-in-main-frame-expected.txt: Added. 68 * platform/wk2/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-xhr-synchronous-in-iframe-expected.txt: Added. 69 * platform/wk2/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-xhr-synchronous-in-main-frame-expected.txt: Added. 70 * platform/wk2/http/tests/security/contentSecurityPolicy/block-all-mixed-content/secure-image-after-upgrade-in-iframe-expected.txt: Copied from LayoutTests/platform/mac/webarchive/loading/mainresource-null-mimetype-crash-expected.txt. 71 * platform/wk2/http/tests/security/contentSecurityPolicy/block-all-mixed-content/secure-image-after-upgrade-redirect-in-iframe-expected.txt: Copied from LayoutTests/platform/mac/webarchive/loading/mainresource-null-mimetype-crash-expected.txt. 72 * platform/wk2/http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/iframe-upgrade.https-expected.txt: Added. 73 * platform/wk2/http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/proper-nested-upgrades-expected.txt: Added. 74 * platform/wk2/http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/upgrade-insecure-css-in-iframe-expected.txt: Copied from LayoutTests/platform/mac/webarchive/loading/mainresource-null-mimetype-crash-expected.txt. 75 * platform/wk2/http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/upgrade-redirect-http-to-https-script-in-iframe-expected.txt: Copied from LayoutTests/platform/mac/webarchive/loading/mainresource-null-mimetype-crash-expected.txt. 76 * platform/wk2/http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/upgrade-redirect-https-to-http-script-in-iframe-expected.txt: Copied from LayoutTests/platform/mac/webarchive/loading/mainresource-null-mimetype-crash-expected.txt. 77 * platform/wk2/http/tests/security/http-0.9/iframe-blocked-expected.txt: Added. 78 * platform/wk2/http/tests/security/mixedContent/about-blank-iframe-in-main-frame-expected.txt: Added. 79 * platform/wk2/http/tests/security/mixedContent/data-url-iframe-in-main-frame-expected.txt: Copied from LayoutTests/platform/mac/webarchive/loading/mainresource-null-mimetype-crash-expected.txt. 80 * platform/wk2/http/tests/security/mixedContent/data-url-script-in-iframe-expected.txt: Copied from LayoutTests/platform/mac/webarchive/loading/mainresource-null-mimetype-crash-expected.txt. 81 * platform/wk2/http/tests/security/mixedContent/empty-url-plugin-in-frame-expected.txt: Copied from LayoutTests/platform/mac/webarchive/loading/mainresource-null-mimetype-crash-expected.txt. 82 * platform/wk2/http/tests/security/mixedContent/insecure-css-in-iframe-expected.txt: Copied from LayoutTests/platform/mac/webarchive/loading/mainresource-null-mimetype-crash-expected.txt. 83 * platform/wk2/http/tests/security/mixedContent/insecure-css-in-main-frame-expected.txt: Added. 84 * platform/wk2/http/tests/security/mixedContent/insecure-css-with-secure-cookies-expected.txt: Added. 85 * platform/wk2/http/tests/security/mixedContent/insecure-executable-css-with-secure-cookies-expected.txt: Added. 86 * platform/wk2/http/tests/security/mixedContent/insecure-form-in-iframe-expected.txt: Copied from LayoutTests/platform/mac/webarchive/loading/mainresource-null-mimetype-crash-expected.txt. 87 * platform/wk2/http/tests/security/mixedContent/insecure-form-in-main-frame-expected.txt: Added. 88 * platform/wk2/http/tests/security/mixedContent/insecure-iframe-in-iframe-expected.txt: Added. 89 * platform/wk2/http/tests/security/mixedContent/insecure-iframe-in-main-frame-expected.txt: Added. 90 * platform/wk2/http/tests/security/mixedContent/insecure-image-in-iframe-expected.txt: Copied from LayoutTests/platform/mac/webarchive/loading/mainresource-null-mimetype-crash-expected.txt. 91 * platform/wk2/http/tests/security/mixedContent/javascript-url-form-in-main-frame-expected.txt: Added. 92 * platform/wk2/http/tests/security/mixedContent/redirect-http-to-https-iframe-in-main-frame-expected.txt: Added. 93 * platform/wk2/http/tests/security/mixedContent/redirect-http-to-https-script-in-iframe-expected.txt: Added. 94 * platform/wk2/http/tests/security/mixedContent/redirect-https-to-http-iframe-in-main-frame-expected.txt: Added. 95 * platform/wk2/http/tests/security/mixedContent/redirect-https-to-http-image-secure-cookies-block-expected.txt: Added. 96 * platform/wk2/http/tests/security/mixedContent/redirect-https-to-http-image-secure-cookies-expected.txt: Added. 97 * platform/wk2/http/tests/security/mixedContent/redirect-https-to-http-script-in-iframe-expected.txt: Copied from LayoutTests/platform/mac/webarchive/loading/mainresource-null-mimetype-crash-expected.txt. 98 * platform/wk2/http/tests/security/xssAuditor/script-tag-with-callbacks-expected.txt: Copied from LayoutTests/platform/mac/webarchive/loading/mainresource-null-mimetype-crash-expected.txt. 99 * platform/wk2/inspector/page/frameScheduledNavigation-expected.txt: Added. 100 * platform/wk2/loader/go-back-cached-main-resource-expected.txt: Added. 101 * platform/wk2/webarchive/loading/mainresource-null-mimetype-crash-expected.txt: Copied from LayoutTests/platform/mac/webarchive/loading/mainresource-null-mimetype-crash-expected.txt. 102 * platform/wk2/webarchive/loading/test-loading-archive-expected.txt: Copied from LayoutTests/platform/mac/webarchive/loading/mainresource-null-mimetype-crash-expected.txt. 103 * platform/wk2/webarchive/loading/video-in-webarchive-expected.txt: Renamed from LayoutTests/platform/mac/webarchive/loading/mainresource-null-mimetype-crash-expected.txt. 104 1 105 2018-03-21 Said Abou-Hallawa <sabouhallawa@apple.com> 2 106 -
trunk/LayoutTests/TestExpectations
r229809 r229831 1760 1760 webkit.org/b/183390 http/wpt/html/browsers/history/the-location-interface/location-protocol-setter-non-broken-async-delegate.html [ DumpJSConsoleLogInStdErr Pass Failure ] 1761 1761 1762 # We sometimes get 2 console log messages about CSP instead of 1 due to preloading. 1763 http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-css-in-main-frame.html [ DumpJSConsoleLogInStdErr ] 1764 1762 1765 media/event-queue-crash.html [ DumpJSConsoleLogInStdErr ] 1763 1766 -
trunk/LayoutTests/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-css-in-main-frame-expected.txt
r229764 r229831 4 4 main frame - didFinishLoadForFrame 5 5 main frame - didCommitLoadForFrame 6 CONSOLE MESSAGE: Blocked mixed content http://127.0.0.1:8000/security/mixedContent/resources/style.css because 'block-all-mixed-content' appears in the Content Security Policy.7 6 main frame - didFinishDocumentLoadForFrame 8 7 main frame - didHandleOnloadEventsForFrame -
trunk/LayoutTests/platform/ios/http/tests/loading/simple-subframe-expected.txt
r229764 r229831 1 1 main frame - didStartProvisionalLoadForFrame 2 2 main frame - didCommitLoadForFrame 3 main frame - didFinishDocumentLoadForFrame 3 4 frame "f1" - didStartProvisionalLoadForFrame 4 main frame - didFinishDocumentLoadForFrame5 5 frame "f1" - didCommitLoadForFrame 6 6 frame "f1" - didFinishDocumentLoadForFrame -
trunk/LayoutTests/platform/mac-wk2/http/tests/loading/simple-subframe-expected.txt
r229830 r229831 1 1 main frame - didStartProvisionalLoadForFrame 2 2 main frame - didCommitLoadForFrame 3 main frame - didFinishDocumentLoadForFrame 3 4 frame "f1" - didStartProvisionalLoadForFrame 4 main frame - didFinishDocumentLoadForFrame5 5 frame "f1" - didCommitLoadForFrame 6 6 frame "f1" - didFinishDocumentLoadForFrame … … 14 14 RenderBlock {HTML} at (0,0) size 800x600 15 15 RenderBody {BODY} at (8,8) size 784x584 16 RenderText {#text} at (0,0) size 496x1 916 RenderText {#text} at (0,0) size 496x18 17 17 text run at (0,0) width 496: "This is a test of load callbacks. It is only useful inside the regression test tool." 18 RenderBR {BR} at (495,1 5) size 1x019 Render PartObject {IFRAME} at (0,20) size 304x154 [border: (2px inset #000000)]18 RenderBR {BR} at (495,14) size 1x0 19 RenderIFrame {IFRAME} at (0,18) size 304x154 [border: (2px inset #000000)] 20 20 layer at (0,0) size 300x150 21 21 RenderView at (0,0) size 300x150 … … 23 23 RenderBlock {HTML} at (0,0) size 300x150 24 24 RenderBody {BODY} at (8,8) size 284x134 25 RenderInline {B} at (0,0) size 24x1 926 RenderText {#text} at (0,0) size 24x1 925 RenderInline {B} at (0,0) size 24x18 26 RenderText {#text} at (0,0) size 24x18 27 27 text run at (0,0) width 24: "test" 28 28 RenderText {#text} at (0,0) size 0x0 -
trunk/LayoutTests/platform/wk2/fast/loader/fragment-navigation-base-blank-expected.txt
r229830 r229831 1 main frame - didStartProvisionalLoadForFrame2 main frame - didCommitLoadForFrame3 1 main frame - didFinishDocumentLoadForFrame 4 2 frame "<!--framePath //<!--frame0-->-->" - didStartProvisionalLoadForFrame 5 main frame - didHandleOnloadEventsForFrame6 3 frame "<!--framePath //<!--frame0-->-->" - didCommitLoadForFrame 7 4 frame "<!--framePath //<!--frame0-->-->" - didFinishDocumentLoadForFrame 5 main frame - didHandleOnloadEventsForFrame 6 frame "<!--framePath //<!--frame0-->-->" - didChangeLocationWithinPageForFrame 8 7 frame "<!--framePath //<!--frame0-->-->" - didHandleOnloadEventsForFrame 9 8 frame "<!--framePath //<!--frame0-->-->" - didFinishLoadForFrame 10 9 main frame - didFinishLoadForFrame 10 ALERT: Test finished due to hash change with a window count of 1 11 11 -
trunk/LayoutTests/platform/wk2/fast/loader/iframe-meta-refresh-base-blank-expected.txt
r229830 r229831 1 main frame - didStartProvisionalLoadForFrame 2 main frame - didCommitLoadForFrame 1 main frame - didFinishDocumentLoadForFrame 3 2 frame "<!--framePath //<!--frame0-->-->" - didStartProvisionalLoadForFrame 4 main frame - didFinishDocumentLoadForFrame5 frame "<!--framePath //<!--frame0-->-->" - didReceiveServerRedirectForProvisionalLoadForFrame6 127.0.0.1:8000 - didReceiveAuthenticationChallenge - Responding with httpUsername:httpPassword7 3 frame "<!--framePath //<!--frame0-->-->" - didCommitLoadForFrame 8 4 frame "<!--framePath //<!--frame0-->-->" - didFinishDocumentLoadForFrame 9 5 frame "<!--framePath //<!--frame0-->-->" - didHandleOnloadEventsForFrame 10 6 main frame - didHandleOnloadEventsForFrame 7 frame "<!--framePath //<!--frame0-->-->" - willPerformClientRedirectToURL: resources/notify-done-with-window-count.html 11 8 frame "<!--framePath //<!--frame0-->-->" - didFinishLoadForFrame 12 9 main frame - didFinishLoadForFrame 13 frame "<!--framePath //<!--frame0-->-->" - willPerformClientRedirectToURL: http://localhost:8000/loading/authentication-after-redirect-stores-wrong-credentials/resources/wrong-credential-3-output-credentials-then-finish.php14 10 frame "<!--framePath //<!--frame0-->-->" - didStartProvisionalLoadForFrame 15 11 frame "<!--framePath //<!--frame0-->-->" - didCancelClientRedirectForFrame 16 12 frame "<!--framePath //<!--frame0-->-->" - didCommitLoadForFrame 13 ALERT: Finishing test with a window count of 1 17 14 frame "<!--framePath //<!--frame0-->-->" - didFinishDocumentLoadForFrame 18 15 frame "<!--framePath //<!--frame0-->-->" - didHandleOnloadEventsForFrame 19 16 frame "<!--framePath //<!--frame0-->-->" - didFinishLoadForFrame 20 This test causes an HTTP authentication challenge in the middle of a redirect chain.21 It then loads a new page after that challenge, and the new page should *not* get any credentials passed to it.22 See bug 78003 for more details.23 17 24 25 26 --------27 Frame: '<!--framePath //<!--frame0-->-->'28 --------29 No HTTP authentication credentials30 -
trunk/LayoutTests/platform/wk2/fast/loader/iframe-set-location-base-blank-expected.txt
r229830 r229831 1 main frame - didStartProvisionalLoadForFrame 2 main frame - didCommitLoadForFrame 1 main frame - didFinishDocumentLoadForFrame 3 2 frame "<!--framePath //<!--frame0-->-->" - didStartProvisionalLoadForFrame 4 main frame - didFinishDocumentLoadForFrame5 frame "<!--framePath //<!--frame0-->-->" - didReceiveServerRedirectForProvisionalLoadForFrame6 127.0.0.1:8000 - didReceiveAuthenticationChallenge - Responding with httpUsername:httpPassword7 3 frame "<!--framePath //<!--frame0-->-->" - didCommitLoadForFrame 8 4 frame "<!--framePath //<!--frame0-->-->" - didFinishDocumentLoadForFrame 5 frame "<!--framePath //<!--frame0-->-->" - willPerformClientRedirectToURL: resources/notify-done-with-window-count.html 9 6 frame "<!--framePath //<!--frame0-->-->" - didHandleOnloadEventsForFrame 10 7 main frame - didHandleOnloadEventsForFrame 11 8 frame "<!--framePath //<!--frame0-->-->" - didFinishLoadForFrame 12 9 main frame - didFinishLoadForFrame 13 frame "<!--framePath //<!--frame0-->-->" - willPerformClientRedirectToURL: http://localhost:8000/loading/authentication-after-redirect-stores-wrong-credentials/resources/wrong-credential-3-output-credentials-then-finish.php14 10 frame "<!--framePath //<!--frame0-->-->" - didStartProvisionalLoadForFrame 15 11 frame "<!--framePath //<!--frame0-->-->" - didCancelClientRedirectForFrame 16 12 frame "<!--framePath //<!--frame0-->-->" - didCommitLoadForFrame 13 ALERT: Finishing test with a window count of 1 17 14 frame "<!--framePath //<!--frame0-->-->" - didFinishDocumentLoadForFrame 18 15 frame "<!--framePath //<!--frame0-->-->" - didHandleOnloadEventsForFrame 19 16 frame "<!--framePath //<!--frame0-->-->" - didFinishLoadForFrame 20 This test causes an HTTP authentication challenge in the middle of a redirect chain.21 It then loads a new page after that challenge, and the new page should *not* get any credentials passed to it.22 See bug 78003 for more details.23 17 24 25 26 --------27 Frame: '<!--framePath //<!--frame0-->-->'28 --------29 No HTTP authentication credentials30 -
trunk/LayoutTests/platform/wk2/fast/loader/refresh-iframe-base-blank-expected.txt
r229830 r229831 1 main frame - didStartProvisionalLoadForFrame 2 main frame - didCommitLoadForFrame 1 main frame - didFinishDocumentLoadForFrame 3 2 frame "<!--framePath //<!--frame0-->-->" - didStartProvisionalLoadForFrame 4 main frame - didFinishDocumentLoadForFrame5 frame "<!--framePath //<!--frame0-->-->" - didReceiveServerRedirectForProvisionalLoadForFrame6 127.0.0.1:8000 - didReceiveAuthenticationChallenge - Responding with httpUsername:httpPassword7 3 frame "<!--framePath //<!--frame0-->-->" - didCommitLoadForFrame 8 4 frame "<!--framePath //<!--frame0-->-->" - didFinishDocumentLoadForFrame 5 frame "<!--framePath //<!--frame0-->-->" - willPerformClientRedirectToURL: resources/refresh-iframe-base-blank-frame.html 9 6 frame "<!--framePath //<!--frame0-->-->" - didHandleOnloadEventsForFrame 10 7 main frame - didHandleOnloadEventsForFrame 11 8 frame "<!--framePath //<!--frame0-->-->" - didFinishLoadForFrame 12 9 main frame - didFinishLoadForFrame 13 frame "<!--framePath //<!--frame0-->-->" - willPerformClientRedirectToURL: http://localhost:8000/loading/authentication-after-redirect-stores-wrong-credentials/resources/wrong-credential-3-output-credentials-then-finish.php14 10 frame "<!--framePath //<!--frame0-->-->" - didStartProvisionalLoadForFrame 15 11 frame "<!--framePath //<!--frame0-->-->" - didCancelClientRedirectForFrame 16 12 frame "<!--framePath //<!--frame0-->-->" - didCommitLoadForFrame 17 13 frame "<!--framePath //<!--frame0-->-->" - didFinishDocumentLoadForFrame 14 ALERT: Test finished with 1 windows 18 15 frame "<!--framePath //<!--frame0-->-->" - didHandleOnloadEventsForFrame 19 16 frame "<!--framePath //<!--frame0-->-->" - didFinishLoadForFrame 20 This test causes an HTTP authentication challenge in the middle of a redirect chain.21 It then loads a new page after that challenge, and the new page should *not* get any credentials passed to it.22 See bug 78003 for more details.23 17 24 25 26 --------27 Frame: '<!--framePath //<!--frame0-->-->'28 --------29 No HTTP authentication credentials30 -
trunk/LayoutTests/platform/wk2/fast/loader/subframe-removes-itself-expected.txt
r229830 r229831 1 main frame - didStartProvisionalLoadForFrame2 main frame - didCommitLoadForFrame3 1 main frame - didFinishDocumentLoadForFrame 4 2 frame "<!--framePath //<!--frame0-->-->" - didStartProvisionalLoadForFrame 5 main frame - didHandleOnloadEventsForFrame6 3 frame "<!--framePath //<!--frame0-->-->" - didCommitLoadForFrame 7 4 frame "<!--framePath //<!--frame0-->-->" - didFinishDocumentLoadForFrame 8 frame "<!--framePath //<!--frame0-->-->" - didHandleOnloadEventsForFrame 9 frame "<!--framePath //<!--frame0-->-->" - didFinishLoadForFrame 5 frame "<!--framePath //<!--frame0-->-->" - didFailLoadWithError 10 6 main frame - didFinishLoadForFrame 11 7 This tests a subframe that removes itself to make sure a delegate message to indicate the interrupted load fires. -
trunk/LayoutTests/platform/wk2/http/tests/loading/authentication-after-redirect-stores-wrong-credentials/authentication-after-redirect-stores-wrong-credentials-expected.txt
r229764 r229831 1 1 main frame - didStartProvisionalLoadForFrame 2 2 main frame - didCommitLoadForFrame 3 main frame - didFinishDocumentLoadForFrame 3 4 frame "<!--framePath //<!--frame0-->-->" - didStartProvisionalLoadForFrame 4 main frame - didFinishDocumentLoadForFrame5 5 frame "<!--framePath //<!--frame0-->-->" - didReceiveServerRedirectForProvisionalLoadForFrame 6 6 127.0.0.1:8000 - didReceiveAuthenticationChallenge - Responding with httpUsername:httpPassword -
trunk/LayoutTests/platform/wk2/http/tests/loading/basic-auth-load-URL-with-consecutive-slashes-expected.txt
r229764 r229831 1 1 main frame - didStartProvisionalLoadForFrame 2 2 main frame - didCommitLoadForFrame 3 main frame - didFinishDocumentLoadForFrame 3 4 frame "frame" - didStartProvisionalLoadForFrame 4 main frame - didFinishDocumentLoadForFrame5 5 127.0.0.1:8000 - didReceiveAuthenticationChallenge - Responding with webkit:rocks 6 6 frame "frame" - didCommitLoadForFrame -
trunk/LayoutTests/platform/wk2/http/tests/loading/redirect-with-no-location-crash-expected.txt
r229830 r229831 1 1 main frame - didStartProvisionalLoadForFrame 2 2 main frame - didCommitLoadForFrame 3 main frame - didReceiveTitle: Test for https://bugs.webkit.org/show_bug.cgi?id=29293 3 4 main frame - didFinishDocumentLoadForFrame 4 5 frame "<!--framePath //<!--frame0-->-->" - didStartProvisionalLoadForFrame 5 main frame - didHandleOnloadEventsForFrame6 6 frame "<!--framePath //<!--frame0-->-->" - didCommitLoadForFrame 7 7 frame "<!--framePath //<!--frame0-->-->" - didFinishDocumentLoadForFrame 8 8 frame "<!--framePath //<!--frame0-->-->" - didHandleOnloadEventsForFrame 9 main frame - didHandleOnloadEventsForFrame 9 10 frame "<!--framePath //<!--frame0-->-->" - didFinishLoadForFrame 10 11 main frame - didFinishLoadForFrame -
trunk/LayoutTests/platform/wk2/http/tests/security/contentSecurityPolicy/block-all-mixed-content/data-url-iframe-in-main-frame-expected.txt
r229830 r229831 1 main frame - didFinishDocumentLoadForFrame 2 main frame - didHandleOnloadEventsForFrame 3 main frame - didFinishLoadForFrame 1 4 main frame - didStartProvisionalLoadForFrame 2 5 main frame - didCommitLoadForFrame 3 6 main frame - didFinishDocumentLoadForFrame 4 7 frame "<!--framePath //<!--frame0-->-->" - didStartProvisionalLoadForFrame 5 main frame - didHandleOnloadEventsForFrame6 8 frame "<!--framePath //<!--frame0-->-->" - didCommitLoadForFrame 7 9 frame "<!--framePath //<!--frame0-->-->" - didFinishDocumentLoadForFrame 8 10 frame "<!--framePath //<!--frame0-->-->" - didHandleOnloadEventsForFrame 11 main frame - didHandleOnloadEventsForFrame 9 12 frame "<!--framePath //<!--frame0-->-->" - didFinishLoadForFrame 10 13 main frame - didFinishLoadForFrame 14 This test opens a window and loads an insecure iframe using a data URL. We should *not* trigger a mixed content block because the data URL cannot be corrupted by an active network attacker. 11 15 16 PASS did load data URL iframe. 17 -
trunk/LayoutTests/platform/wk2/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-css-in-main-frame-expected.txt
r229830 r229831 1 main frame - didStartProvisionalLoadForFrame2 1 main frame - didFinishDocumentLoadForFrame 3 2 main frame - didHandleOnloadEventsForFrame 4 3 main frame - didFinishLoadForFrame 4 main frame - didStartProvisionalLoadForFrame 5 5 main frame - didCommitLoadForFrame 6 CONSOLE MESSAGE: Blocked mixed content http://127.0.0.1:8000/security/mixedContent/resources/style.css because 'block-all-mixed-content' appears in the Content Security Policy.7 6 main frame - didFinishDocumentLoadForFrame 8 7 main frame - didHandleOnloadEventsForFrame -
trunk/LayoutTests/platform/wk2/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-image-in-main-frame-expected.txt
r229830 r229831 1 main frame - didStartProvisionalLoadForFrame2 1 main frame - didFinishDocumentLoadForFrame 3 2 main frame - didHandleOnloadEventsForFrame 4 3 main frame - didFinishLoadForFrame 4 main frame - didStartProvisionalLoadForFrame 5 5 main frame - didCommitLoadForFrame 6 CONSOLE MESSAGE: Blocked mixed content http://127.0.0.1:8000/security/ mixedContent/resources/style.cssbecause 'block-all-mixed-content' appears in the Content Security Policy.6 CONSOLE MESSAGE: Blocked mixed content http://127.0.0.1:8000/security/resources/compass.jpg because 'block-all-mixed-content' appears in the Content Security Policy. 7 7 main frame - didFinishDocumentLoadForFrame 8 8 main frame - didHandleOnloadEventsForFrame 9 9 main frame - didFinishLoadForFrame 10 This test opens a window and loads an insecure stylesheet. We should trigger a mixed content block because the main frame in the window has CSP directive block-all-mixed-content.10 This test opens a window and loads an insecure image. We should trigger a mixed content block because the main frame in the window has CSP directive block-all-mixed-content. 11 11 12 documentURI: https://127.0.0.1:8443/security/contentSecurityPolicy/block-all-mixed-content/resources/frame-with-insecure- css.html13 referrer: http://127.0.0.1:8000/security/contentSecurityPolicy/block-all-mixed-content/insecure- css-in-main-frame.html12 documentURI: https://127.0.0.1:8443/security/contentSecurityPolicy/block-all-mixed-content/resources/frame-with-insecure-image.html 13 referrer: http://127.0.0.1:8000/security/contentSecurityPolicy/block-all-mixed-content/insecure-image-in-main-frame.html 14 14 blockedURI: http://127.0.0.1:8000 15 15 violatedDirective: block-all-mixed-content -
trunk/LayoutTests/platform/wk2/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-plugin-in-main-frame-expected.txt
r229830 r229831 1 main frame - didStartProvisionalLoadForFrame2 1 main frame - didFinishDocumentLoadForFrame 3 2 main frame - didHandleOnloadEventsForFrame 4 3 main frame - didFinishLoadForFrame 4 main frame - didStartProvisionalLoadForFrame 5 5 main frame - didCommitLoadForFrame 6 CONSOLE MESSAGE: Blocked mixed content http://127.0.0.1:8000/security/mixedContent/resources/style.css because 'block-all-mixed-content' appears in the Content Security Policy.7 6 main frame - didFinishDocumentLoadForFrame 8 7 main frame - didHandleOnloadEventsForFrame 9 8 main frame - didFinishLoadForFrame 10 This test opens a window and loads an insecure stylesheet. We should trigger a mixed content block because the main frame in the window has CSP directive block-all-mixed-content. 9 CONSOLE MESSAGE: Blocked mixed content http://127.0.0.1:8000/security/mixedContent/resources/dummy.swf because 'block-all-mixed-content' appears in the Content Security Policy. 10 This test opens a window and loads an insecure plugin. We should trigger a mixed content block because the main frame in the window has CSP directive block-all-mixed-content. 11 11 12 documentURI: https://127.0.0.1:8443/security/contentSecurityPolicy/block-all-mixed-content/resources/frame-with-insecure- css.html13 referrer: http://127.0.0.1:8000/security/contentSecurityPolicy/block-all-mixed-content/insecure- css-in-main-frame.html12 documentURI: https://127.0.0.1:8443/security/contentSecurityPolicy/block-all-mixed-content/resources/frame-with-insecure-plugin.html 13 referrer: http://127.0.0.1:8000/security/contentSecurityPolicy/block-all-mixed-content/insecure-plugin-in-main-frame.html 14 14 blockedURI: http://127.0.0.1:8000 15 15 violatedDirective: block-all-mixed-content -
trunk/LayoutTests/platform/wk2/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-script-in-main-frame-expected.txt
r229830 r229831 1 main frame - didStartProvisionalLoadForFrame2 1 main frame - didFinishDocumentLoadForFrame 3 2 main frame - didHandleOnloadEventsForFrame 4 3 main frame - didFinishLoadForFrame 4 main frame - didStartProvisionalLoadForFrame 5 5 main frame - didCommitLoadForFrame 6 CONSOLE MESSAGE: Blocked mixed content http://127.0.0.1:8000/security/mixedContent/resources/s tyle.css because 'block-all-mixed-content' appears in the Content Security Policy.6 CONSOLE MESSAGE: Blocked mixed content http://127.0.0.1:8000/security/mixedContent/resources/script.js because 'block-all-mixed-content' appears in the Content Security Policy. 7 7 main frame - didFinishDocumentLoadForFrame 8 8 main frame - didHandleOnloadEventsForFrame 9 9 main frame - didFinishLoadForFrame 10 This test opens a window and loads an insecure stylesheet. We should trigger a mixed content block because the main frame in the window has CSP directive block-all-mixed-content.10 This test opens a window and loads an insecure external script. We should trigger a mixed content block because the main frame in the window has CSP directive block-all-mixed-content. 11 11 12 documentURI: https://127.0.0.1:8443/security/contentSecurityPolicy/block-all-mixed-content/resources/frame-with-insecure- css.html13 referrer: http://127.0.0.1:8000/security/contentSecurityPolicy/block-all-mixed-content/insecure- css-in-main-frame.html12 documentURI: https://127.0.0.1:8443/security/contentSecurityPolicy/block-all-mixed-content/resources/frame-with-insecure-script.html 13 referrer: http://127.0.0.1:8000/security/contentSecurityPolicy/block-all-mixed-content/insecure-script-in-main-frame.html 14 14 blockedURI: http://127.0.0.1:8000 15 15 violatedDirective: block-all-mixed-content -
trunk/LayoutTests/platform/wk2/http/tests/security/contentSecurityPolicy/block-all-mixed-content/secure-image-after-upgrade-in-iframe-expected.txt
r229830 r229831 1 main frame - didStartProvisionalLoadForFrame2 main frame - didCommitLoadForFrame3 1 main frame - didFinishDocumentLoadForFrame 4 2 frame "<!--framePath //<!--frame0-->-->" - didStartProvisionalLoadForFrame 5 main frame - didHandleOnloadEventsForFrame6 3 frame "<!--framePath //<!--frame0-->-->" - didCommitLoadForFrame 7 4 frame "<!--framePath //<!--frame0-->-->" - didFinishDocumentLoadForFrame 8 5 frame "<!--framePath //<!--frame0-->-->" - didHandleOnloadEventsForFrame 6 main frame - didHandleOnloadEventsForFrame 9 7 frame "<!--framePath //<!--frame0-->-->" - didFinishLoadForFrame 10 8 main frame - didFinishLoadForFrame 9 This test loads a secure iframe that loads an insecure image. We should *not* trigger a mixed content block even though the child frame has CSP directive block-all-mixed-content because the insecure image is upgraded to a secure image as the child frame has CSP directive upgrade-insecure-requests. 11 10 11 12 13 -------- 14 Frame: '<!--framePath //<!--frame0-->-->' 15 -------- 16 17 PASS did load image. -
trunk/LayoutTests/platform/wk2/http/tests/security/contentSecurityPolicy/block-all-mixed-content/secure-image-after-upgrade-redirect-in-iframe-expected.txt
r229830 r229831 1 main frame - didStartProvisionalLoadForFrame2 main frame - didCommitLoadForFrame3 1 main frame - didFinishDocumentLoadForFrame 4 2 frame "<!--framePath //<!--frame0-->-->" - didStartProvisionalLoadForFrame 5 main frame - didHandleOnloadEventsForFrame6 3 frame "<!--framePath //<!--frame0-->-->" - didCommitLoadForFrame 7 4 frame "<!--framePath //<!--frame0-->-->" - didFinishDocumentLoadForFrame 8 5 frame "<!--framePath //<!--frame0-->-->" - didHandleOnloadEventsForFrame 6 main frame - didHandleOnloadEventsForFrame 9 7 frame "<!--framePath //<!--frame0-->-->" - didFinishLoadForFrame 10 8 main frame - didFinishLoadForFrame 9 This test loads a secure iframe that loads an insecure image via a redirect. We should *not* trigger a mixed content block even though the child frame has CSP directive block-all-mixed-content because the redirected insecure image is upgraded to a secure image as the child frame has CSP directive upgrade-insecure-requests. 11 10 11 12 13 -------- 14 Frame: '<!--framePath //<!--frame0-->-->' 15 -------- 16 17 PASS did load image. -
trunk/LayoutTests/platform/wk2/http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/upgrade-insecure-css-in-iframe-expected.txt
r229830 r229831 1 main frame - didStartProvisionalLoadForFrame2 main frame - didCommitLoadForFrame3 1 main frame - didFinishDocumentLoadForFrame 4 2 frame "<!--framePath //<!--frame0-->-->" - didStartProvisionalLoadForFrame 5 main frame - didHandleOnloadEventsForFrame6 3 frame "<!--framePath //<!--frame0-->-->" - didCommitLoadForFrame 7 4 frame "<!--framePath //<!--frame0-->-->" - didFinishDocumentLoadForFrame 8 5 frame "<!--framePath //<!--frame0-->-->" - didHandleOnloadEventsForFrame 6 main frame - didHandleOnloadEventsForFrame 9 7 frame "<!--framePath //<!--frame0-->-->" - didFinishLoadForFrame 10 8 main frame - didFinishLoadForFrame 9 This test loads a secure iframe that loads an insecure style sheet. We should upgrade the CSS request to HTTPS, and thereby avoid triggering a mixed content callback. 11 10 11 -
trunk/LayoutTests/platform/wk2/http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/upgrade-redirect-http-to-https-script-in-iframe-expected.txt
r229830 r229831 1 main frame - didStartProvisionalLoadForFrame2 main frame - didCommitLoadForFrame3 1 main frame - didFinishDocumentLoadForFrame 4 2 frame "<!--framePath //<!--frame0-->-->" - didStartProvisionalLoadForFrame 5 main frame - didHandleOnloadEventsForFrame6 3 frame "<!--framePath //<!--frame0-->-->" - didCommitLoadForFrame 7 4 frame "<!--framePath //<!--frame0-->-->" - didFinishDocumentLoadForFrame 8 5 frame "<!--framePath //<!--frame0-->-->" - didHandleOnloadEventsForFrame 6 main frame - didHandleOnloadEventsForFrame 9 7 frame "<!--framePath //<!--frame0-->-->" - didFinishLoadForFrame 10 8 main frame - didFinishLoadForFrame 9 This test loads a secure iframe that loads an insecure script (but with a tricky redirect). We should upgrade the script request, and thereby avoid triggering a mixed content callback. 11 10 11 -
trunk/LayoutTests/platform/wk2/http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/upgrade-redirect-https-to-http-script-in-iframe-expected.txt
r229830 r229831 1 main frame - didStartProvisionalLoadForFrame2 main frame - didCommitLoadForFrame3 1 main frame - didFinishDocumentLoadForFrame 4 2 frame "<!--framePath //<!--frame0-->-->" - didStartProvisionalLoadForFrame 5 main frame - didHandleOnloadEventsForFrame6 3 frame "<!--framePath //<!--frame0-->-->" - didCommitLoadForFrame 7 4 frame "<!--framePath //<!--frame0-->-->" - didFinishDocumentLoadForFrame 8 5 frame "<!--framePath //<!--frame0-->-->" - didHandleOnloadEventsForFrame 6 main frame - didHandleOnloadEventsForFrame 9 7 frame "<!--framePath //<!--frame0-->-->" - didFinishLoadForFrame 10 8 main frame - didFinishLoadForFrame 9 This test loads a secure iframe that loads an insecure script (but with a tricky redirect). We should upgrade the relevant requests. 11 10 11 -
trunk/LayoutTests/platform/wk2/http/tests/security/mixedContent/data-url-iframe-in-main-frame-expected.txt
r229830 r229831 1 main frame - didFinishDocumentLoadForFrame 2 main frame - didHandleOnloadEventsForFrame 3 main frame - didFinishLoadForFrame 1 4 main frame - didStartProvisionalLoadForFrame 2 5 main frame - didCommitLoadForFrame 3 6 main frame - didFinishDocumentLoadForFrame 4 7 frame "<!--framePath //<!--frame0-->-->" - didStartProvisionalLoadForFrame 5 main frame - didHandleOnloadEventsForFrame6 8 frame "<!--framePath //<!--frame0-->-->" - didCommitLoadForFrame 7 9 frame "<!--framePath //<!--frame0-->-->" - didFinishDocumentLoadForFrame 8 10 frame "<!--framePath //<!--frame0-->-->" - didHandleOnloadEventsForFrame 11 main frame - didHandleOnloadEventsForFrame 9 12 frame "<!--framePath //<!--frame0-->-->" - didFinishLoadForFrame 10 13 main frame - didFinishLoadForFrame 11 14 This test opens a window iframe that loads a data URL iframe. We should *not* trigger a mixed content callback because the data URL cannot be corrupted by active network attackers. -
trunk/LayoutTests/platform/wk2/http/tests/security/mixedContent/data-url-script-in-iframe-expected.txt
r229830 r229831 1 main frame - didStartProvisionalLoadForFrame2 main frame - didCommitLoadForFrame3 1 main frame - didFinishDocumentLoadForFrame 4 2 frame "<!--framePath //<!--frame0-->-->" - didStartProvisionalLoadForFrame 5 main frame - didHandleOnloadEventsForFrame6 3 frame "<!--framePath //<!--frame0-->-->" - didCommitLoadForFrame 7 4 frame "<!--framePath //<!--frame0-->-->" - didFinishDocumentLoadForFrame 8 5 frame "<!--framePath //<!--frame0-->-->" - didHandleOnloadEventsForFrame 6 main frame - didHandleOnloadEventsForFrame 9 7 frame "<!--framePath //<!--frame0-->-->" - didFinishLoadForFrame 10 8 main frame - didFinishLoadForFrame 9 This test loads a secure iframe that loads a data URL script. We should *not* trigger a mixed content callback because the data URL cannot be corrupted by an active network attacker. 11 10 11 -
trunk/LayoutTests/platform/wk2/http/tests/security/mixedContent/empty-url-plugin-in-frame-expected.txt
r229830 r229831 1 main frame - didStartProvisionalLoadForFrame2 main frame - didCommitLoadForFrame3 1 main frame - didFinishDocumentLoadForFrame 4 2 frame "<!--framePath //<!--frame0-->-->" - didStartProvisionalLoadForFrame 5 main frame - didHandleOnloadEventsForFrame6 3 frame "<!--framePath //<!--frame0-->-->" - didCommitLoadForFrame 7 4 frame "<!--framePath //<!--frame0-->-->" - didFinishDocumentLoadForFrame 8 5 frame "<!--framePath //<!--frame0-->-->" - didHandleOnloadEventsForFrame 6 main frame - didHandleOnloadEventsForFrame 9 7 frame "<!--framePath //<!--frame0-->-->" - didFinishLoadForFrame 10 8 main frame - didFinishLoadForFrame 9 This test loads a secure iframe that loads a plugin without a URL. We should *not* get a mixed content callback because the plug-in cannot be controlled by an active network attacker. 11 10 11 -
trunk/LayoutTests/platform/wk2/http/tests/security/mixedContent/insecure-css-in-iframe-expected.txt
r229830 r229831 1 main frame - didStartProvisionalLoadForFrame2 main frame - didCommitLoadForFrame3 1 main frame - didFinishDocumentLoadForFrame 4 2 frame "<!--framePath //<!--frame0-->-->" - didStartProvisionalLoadForFrame 5 main frame - didHandleOnloadEventsForFrame6 3 frame "<!--framePath //<!--frame0-->-->" - didCommitLoadForFrame 4 CONSOLE MESSAGE: line 4: [blocked] The page at https://127.0.0.1:8443/security/mixedContent/resources/frame-with-insecure-css.html was not allowed to run insecure content from http://127.0.0.1:8080/security/mixedContent/resources/style.css. 5 7 6 frame "<!--framePath //<!--frame0-->-->" - didFinishDocumentLoadForFrame 8 7 frame "<!--framePath //<!--frame0-->-->" - didHandleOnloadEventsForFrame 8 main frame - didHandleOnloadEventsForFrame 9 9 frame "<!--framePath //<!--frame0-->-->" - didFinishLoadForFrame 10 10 main frame - didFinishLoadForFrame 11 This test loads a secure iframe that loads an insecure style sheet. We should trigger a mixed content callback because an active network attacker can use CSS3 to breach the confidentiality of the HTTPS security origin. 11 12 13 -
trunk/LayoutTests/platform/wk2/http/tests/security/mixedContent/insecure-form-in-iframe-expected.txt
r229830 r229831 1 main frame - didStartProvisionalLoadForFrame2 main frame - didCommitLoadForFrame3 1 main frame - didFinishDocumentLoadForFrame 4 2 frame "<!--framePath //<!--frame0-->-->" - didStartProvisionalLoadForFrame 5 main frame - didHandleOnloadEventsForFrame6 3 frame "<!--framePath //<!--frame0-->-->" - didCommitLoadForFrame 7 4 frame "<!--framePath //<!--frame0-->-->" - didFinishDocumentLoadForFrame 8 5 frame "<!--framePath //<!--frame0-->-->" - didHandleOnloadEventsForFrame 6 main frame - didHandleOnloadEventsForFrame 9 7 frame "<!--framePath //<!--frame0-->-->" - didFinishLoadForFrame 10 8 main frame - didFinishLoadForFrame 9 This test loads a secure iframe that has a form with an insecure action. We should *not* get a mixed content callback because the main frame is HTTP and the form doesn't contaminate the child iframe's security origin with mixed content. 11 10 11 -
trunk/LayoutTests/platform/wk2/http/tests/security/mixedContent/insecure-image-in-iframe-expected.txt
r229830 r229831 1 main frame - didStartProvisionalLoadForFrame2 main frame - didCommitLoadForFrame3 1 main frame - didFinishDocumentLoadForFrame 4 2 frame "<!--framePath //<!--frame0-->-->" - didStartProvisionalLoadForFrame 5 main frame - didHandleOnloadEventsForFrame6 3 frame "<!--framePath //<!--frame0-->-->" - didCommitLoadForFrame 7 4 frame "<!--framePath //<!--frame0-->-->" - didFinishDocumentLoadForFrame 8 5 frame "<!--framePath //<!--frame0-->-->" - didHandleOnloadEventsForFrame 6 main frame - didHandleOnloadEventsForFrame 9 7 frame "<!--framePath //<!--frame0-->-->" - didFinishLoadForFrame 10 8 main frame - didFinishLoadForFrame 9 This test loads a secure iframe that loads an insecure image. We should *not* get a mixed content callback becase the main frame is HTTP and the image doesn't contaminate the child iframe's security origin with mixed content. 11 10 11 -
trunk/LayoutTests/platform/wk2/http/tests/security/mixedContent/redirect-https-to-http-script-in-iframe-expected.txt
r229830 r229831 1 main frame - didStartProvisionalLoadForFrame2 main frame - didCommitLoadForFrame3 1 main frame - didFinishDocumentLoadForFrame 4 2 frame "<!--framePath //<!--frame0-->-->" - didStartProvisionalLoadForFrame 5 main frame - didHandleOnloadEventsForFrame6 3 frame "<!--framePath //<!--frame0-->-->" - didCommitLoadForFrame 4 CONSOLE MESSAGE: [blocked] The page at https://127.0.0.1:8443/security/mixedContent/resources/frame-with-redirect-https-to-http-script.html was not allowed to run insecure content from http://127.0.0.1:8080/security/mixedContent/resources/script.js. 5 7 6 frame "<!--framePath //<!--frame0-->-->" - didFinishDocumentLoadForFrame 8 7 frame "<!--framePath //<!--frame0-->-->" - didHandleOnloadEventsForFrame 8 main frame - didHandleOnloadEventsForFrame 9 9 frame "<!--framePath //<!--frame0-->-->" - didFinishLoadForFrame 10 10 main frame - didFinishLoadForFrame 11 This test loads a secure iframe that loads an insecure script (but with a tricky redirect). We should trigger a mixed content callback because an active network attacker can end up controling the script. 11 12 13 -
trunk/LayoutTests/platform/wk2/http/tests/security/xssAuditor/script-tag-with-callbacks-expected.txt
r229830 r229831 1 main frame - didStartProvisionalLoadForFrame2 main frame - didCommitLoadForFrame3 1 main frame - didFinishDocumentLoadForFrame 4 2 frame "<!--framePath //<!--frame0-->-->" - didStartProvisionalLoadForFrame 5 main frame - didHandleOnloadEventsForFrame6 3 frame "<!--framePath //<!--frame0-->-->" - didCommitLoadForFrame 4 CONSOLE MESSAGE: line 4: The XSS Auditor refused to execute a script in 'http://localhost:8000/security/xssAuditor/resources/echo-intertag.pl?test=/security/xssAuditor/script-tag-with-callbacks.html&q=%3Cscript%3Ealert(String.fromCharCode(0x58,0x53,0x53))%3C/script%3E' because its source code was found within the request. The auditor was enabled because the server did not send an 'X-XSS-Protection' header. 5 didDetectXSS 7 6 frame "<!--framePath //<!--frame0-->-->" - didFinishDocumentLoadForFrame 8 7 frame "<!--framePath //<!--frame0-->-->" - didHandleOnloadEventsForFrame 8 main frame - didHandleOnloadEventsForFrame 9 9 frame "<!--framePath //<!--frame0-->-->" - didFinishLoadForFrame 10 10 main frame - didFinishLoadForFrame -
trunk/LayoutTests/platform/wk2/webarchive/loading/mainresource-null-mimetype-crash-expected.txt
r229830 r229831 2 2 main frame - didCommitLoadForFrame 3 3 main frame - didFinishDocumentLoadForFrame 4 main frame - didHandleOnloadEventsForFrame 4 5 frame "<!--framePath //<!--frame0-->-->" - didStartProvisionalLoadForFrame 5 main frame - didHandleOnloadEventsForFrame6 6 frame "<!--framePath //<!--frame0-->-->" - didCommitLoadForFrame 7 7 frame "<!--framePath //<!--frame0-->-->" - didFinishDocumentLoadForFrame -
trunk/LayoutTests/platform/wk2/webarchive/loading/missing-data-expected.txt
r229830 r229831 2 2 main frame - didCommitLoadForFrame 3 3 main frame - didFinishDocumentLoadForFrame 4 main frame - didHandleOnloadEventsForFrame 4 5 frame "<!--framePath //<!--frame0-->-->" - didStartProvisionalLoadForFrame 5 main frame - didHandleOnloadEventsForFrame6 6 frame "<!--framePath //<!--frame0-->-->" - didCommitLoadForFrame 7 7 frame "<!--framePath //<!--frame0-->-->" - didFinishDocumentLoadForFrame -
trunk/LayoutTests/platform/wk2/webarchive/loading/object-expected.txt
r229830 r229831 1 1 main frame - didStartProvisionalLoadForFrame 2 main frame - didCommitLoadForFrame 3 main frame - willPerformClientRedirectToURL: resources/object.webarchive 4 main frame - didFinishDocumentLoadForFrame 5 main frame - didFinishLoadForFrame 6 main frame - didStartProvisionalLoadForFrame 7 main frame - didCancelClientRedirectForFrame 2 8 main frame - didCommitLoadForFrame 3 9 main frame - didFinishDocumentLoadForFrame 4 10 frame "<!--framePath //<!--frame0-->-->" - didStartProvisionalLoadForFrame 5 main frame - didHandleOnloadEventsForFrame6 11 frame "<!--framePath //<!--frame0-->-->" - didCommitLoadForFrame 7 12 frame "<!--framePath //<!--frame0-->-->" - didFinishDocumentLoadForFrame 8 13 frame "<!--framePath //<!--frame0-->-->" - didHandleOnloadEventsForFrame 14 main frame - didHandleOnloadEventsForFrame 9 15 frame "<!--framePath //<!--frame0-->-->" - didFinishLoadForFrame 10 16 main frame - didFinishLoadForFrame 17 Loading this webarchive with an object should not crash. 11 18 -
trunk/LayoutTests/platform/wk2/webarchive/loading/test-loading-archive-expected.txt
r229830 r229831 2 2 main frame - didCommitLoadForFrame 3 3 main frame - didFinishDocumentLoadForFrame 4 test-loading-archive.html - didFinishLoading 4 5 frame "<!--framePath //<!--frame0-->-->" - didStartProvisionalLoadForFrame 5 main frame - didHandleOnloadEventsForFrame 6 resources/helloworld.webarchive - willSendRequest <NSURLRequest URL resources/helloworld.webarchive, main document URL test-loading-archive.html, http method GET> redirectResponse (null) 7 resources/helloworld.webarchive - didReceiveResponse <NSURLResponse resources/helloworld.webarchive, http status code 0> 6 8 frame "<!--framePath //<!--frame0-->-->" - didCommitLoadForFrame 7 9 frame "<!--framePath //<!--frame0-->-->" - didFinishDocumentLoadForFrame 8 10 frame "<!--framePath //<!--frame0-->-->" - didHandleOnloadEventsForFrame 11 main frame - didHandleOnloadEventsForFrame 9 12 frame "<!--framePath //<!--frame0-->-->" - didFinishLoadForFrame 10 13 main frame - didFinishLoadForFrame 11 14 This tests that doing a "normal load" of a webarchive (not using loadArchive) does not cause a cancelled error to be called. -
trunk/LayoutTests/platform/wk2/webarchive/loading/video-in-webarchive-expected.txt
r229830 r229831 1 1 main frame - didStartProvisionalLoadForFrame 2 main frame - didCommitLoadForFrame 3 main frame - willPerformClientRedirectToURL: resources/video-in-webarchive.webarchive 4 main frame - didFinishDocumentLoadForFrame 5 main frame - didFinishLoadForFrame 6 main frame - didStartProvisionalLoadForFrame 7 main frame - didCancelClientRedirectForFrame 2 8 main frame - didCommitLoadForFrame 3 9 main frame - didFinishDocumentLoadForFrame 4 10 frame "<!--framePath //<!--frame0-->-->" - didStartProvisionalLoadForFrame 5 main frame - didHandleOnloadEventsForFrame6 11 frame "<!--framePath //<!--frame0-->-->" - didCommitLoadForFrame 7 12 frame "<!--framePath //<!--frame0-->-->" - didFinishDocumentLoadForFrame 8 13 frame "<!--framePath //<!--frame0-->-->" - didHandleOnloadEventsForFrame 9 frame "<!--framePath //<!--frame0-->-->" - didFinishLoadForFrame 14 main frame - didHandleOnloadEventsForFrame 15 frame "<!--framePath //<!--frame0-->-->" - didFailLoadWithError 10 16 main frame - didFinishLoadForFrame 11 17 -
trunk/Source/WebKit/ChangeLog
r229828 r229831 1 2018-03-21 Chris Dumez <cdumez@apple.com> 2 3 Make policy decisions asynchronous 4 https://bugs.webkit.org/show_bug.cgi?id=180568 5 <rdar://problem/37131297> 6 7 Reviewed by Alex Christensen. 8 9 Get rid of synchronous IPC and synchronous code paths for policy delegates. 10 Policy decisions are now all made asynchronously and rely on asynchronous 11 IPC. 12 13 This code change is based on work by Alex Christensen. 14 15 * UIProcess/WebPageProxy.cpp: 16 (WebKit::WebPageProxy::receivedPolicyDecision): 17 (WebKit::WebPageProxy::decidePolicyForNavigationAction): 18 (WebKit::WebPageProxy::decidePolicyForResponse): 19 * UIProcess/WebPageProxy.h: 20 * UIProcess/WebPageProxy.messages.in: 21 * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp: 22 (WebKit::WebFrameLoaderClient::dispatchDecidePolicyForResponse): 23 (WebKit::WebFrameLoaderClient::dispatchDecidePolicyForNavigationAction): 24 1 25 2018-03-21 Chris Dumez <cdumez@apple.com> 2 26 -
trunk/Source/WebKit/UIProcess/WebPageProxy.cpp
r229778 r229831 2358 2358 if (action == PolicyAction::Download) { 2359 2359 // Create a download proxy. 2360 const ResourceRequest& downloadRequest = m_decidePolicyForResponseRequest ? *m_decidePolicyForResponseRequest : ResourceRequest(); 2361 DownloadProxy* download = m_process->processPool().createDownloadProxy(downloadRequest, this); 2360 auto* download = m_process->processPool().createDownloadProxy(m_decidePolicyForResponseRequest, this); 2362 2361 if (navigation) { 2363 2362 download->setWasUserInitiated(navigation->wasUserInitiated()); … … 2367 2366 downloadID = download->downloadID(); 2368 2367 handleDownloadRequest(download); 2369 } 2370 2371 // If we received a policy decision while in decidePolicyForResponse the decision will 2372 // be sent back to the web process by decidePolicyForResponse. 2373 if (m_inDecidePolicyForResponseSync) { 2374 m_syncMimeTypePolicyActionIsValid = true; 2375 m_syncMimeTypePolicyAction = action; 2376 m_syncMimeTypePolicyDownloadID = downloadID; 2377 return; 2368 m_decidePolicyForResponseRequest = { }; 2378 2369 } 2379 2370 … … 2393 2384 } 2394 2385 2395 // If we received a policy decision while in decidePolicyForNavigationAction the decision will2396 // be sent back to the web process by decidePolicyForNavigationAction.2397 if (m_inDecidePolicyForNavigationAction) {2398 m_syncNavigationActionPolicyActionIsValid = true;2399 m_syncNavigationActionPolicyAction = action;2400 m_syncNavigationActionPolicyDownloadID = downloadID;2401 m_syncNavigationActionPolicyWebsitePolicies = WTFMove(websitePolicies);2402 return;2403 }2404 2405 2386 m_process->send(Messages::WebPage::DidReceivePolicyDecision(frame.frameID(), listenerID, action, navigation ? navigation->navigationID() : 0, downloadID, websitePolicies), m_pageID); 2406 2387 } … … 3814 3795 } 3815 3796 3816 void WebPageProxy::decidePolicyForNavigationAction(uint64_t frameID, const SecurityOriginData& frameSecurityOrigin, uint64_t navigationID, NavigationActionData&& navigationActionData, const FrameInfoData& originatingFrameInfoData, uint64_t originatingPageID, const WebCore::ResourceRequest& originalRequest, ResourceRequest&& request, uint64_t listenerID, const UserData& userData , bool& receivedPolicyAction, uint64_t& newNavigationID, WebCore::PolicyAction& policyAction, DownloadID& downloadID, std::optional<WebsitePoliciesData>& websitePolicies)3797 void WebPageProxy::decidePolicyForNavigationAction(uint64_t frameID, const SecurityOriginData& frameSecurityOrigin, uint64_t navigationID, NavigationActionData&& navigationActionData, const FrameInfoData& originatingFrameInfoData, uint64_t originatingPageID, const WebCore::ResourceRequest& originalRequest, ResourceRequest&& request, uint64_t listenerID, const UserData& userData) 3817 3798 { 3818 3799 LOG(Loading, "WebPageProxy::didStartProvisionalLoadForFrame - Target url %s", originalRequest.url().string().utf8().data()); … … 3831 3812 MESSAGE_CHECK_URL(originalRequest.url()); 3832 3813 3814 uint64_t newNavigationID { 0 }; 3833 3815 Ref<WebFramePolicyListenerProxy> listener = frame->setUpPolicyListenerProxy(listenerID, PolicyListenerType::NavigationAction); 3834 3816 if (!navigationID) { … … 3840 3822 } else { 3841 3823 auto& navigation = m_navigationState->navigation(navigationID); 3824 newNavigationID = navigationID; 3842 3825 navigation.setWasUserInitiated(!!navigationActionData.userGestureTokenIdentifier); 3843 3826 navigation.setShouldForceDownload(!navigationActionData.downloadAttribute.isNull()); … … 3846 3829 3847 3830 #if ENABLE(CONTENT_FILTERING) 3848 if (frame->didHandleContentFilterUnblockNavigation(request)) { 3849 receivedPolicyAction = true; 3850 policyAction = PolicyAction::Ignore; 3851 return; 3852 } 3853 #endif 3854 3855 ASSERT(!m_inDecidePolicyForNavigationAction); 3856 3857 m_inDecidePolicyForNavigationAction = true; 3858 m_syncNavigationActionPolicyActionIsValid = false; 3831 if (frame->didHandleContentFilterUnblockNavigation(request)) 3832 return receivedPolicyDecision(PolicyAction::Ignore, *frame, listenerID, &m_navigationState->navigation(newNavigationID), { }); 3833 #endif 3859 3834 3860 3835 WebFrameProxy* originatingFrame = m_process->webFrame(originatingFrameInfoData.frameID); … … 3878 3853 3879 3854 m_shouldSuppressAppLinksInNextNavigationPolicyDecision = false; 3880 m_inDecidePolicyForNavigationAction = false;3881 3882 // Check if we received a policy decision already. If we did, we can just pass it back.3883 receivedPolicyAction = m_syncNavigationActionPolicyActionIsValid;3884 if (m_syncNavigationActionPolicyActionIsValid) {3885 policyAction = m_syncNavigationActionPolicyAction;3886 downloadID = m_syncNavigationActionPolicyDownloadID;3887 websitePolicies = WTFMove(m_syncNavigationActionPolicyWebsitePolicies);3888 }3889 3855 } 3890 3856 … … 3917 3883 { 3918 3884 PageClientProtector protector(m_pageClient); 3885 3886 m_decidePolicyForResponseRequest = request; 3919 3887 3920 3888 WebFrameProxy* frame = m_process->webFrame(frameID); … … 3934 3902 } else 3935 3903 m_policyClient->decidePolicyForResponse(*this, *frame, response, request, canShowMIMEType, WTFMove(listener), m_process->transformHandlesToObjects(userData.object()).get()); 3936 }3937 3938 void WebPageProxy::decidePolicyForResponseSync(uint64_t frameID, const SecurityOriginData& frameSecurityOrigin, uint64_t navigationID, const ResourceResponse& response, const ResourceRequest& request, bool canShowMIMEType, uint64_t listenerID, const UserData& userData, bool& receivedPolicyAction, WebCore::PolicyAction& policyAction, DownloadID& downloadID)3939 {3940 PageClientProtector protector(m_pageClient);3941 3942 ASSERT(!m_inDecidePolicyForResponseSync);3943 3944 m_inDecidePolicyForResponseSync = true;3945 m_decidePolicyForResponseRequest = &request;3946 m_syncMimeTypePolicyActionIsValid = false;3947 3948 decidePolicyForResponse(frameID, frameSecurityOrigin, navigationID, response, request, canShowMIMEType, listenerID, userData);3949 3950 m_inDecidePolicyForResponseSync = false;3951 m_decidePolicyForResponseRequest = nullptr;3952 3953 // Check if we received a policy decision already. If we did, we can just pass it back.3954 receivedPolicyAction = m_syncMimeTypePolicyActionIsValid;3955 if (m_syncMimeTypePolicyActionIsValid) {3956 policyAction = m_syncMimeTypePolicyAction;3957 downloadID = m_syncMimeTypePolicyDownloadID;3958 }3959 3904 } 3960 3905 -
trunk/Source/WebKit/UIProcess/WebPageProxy.h
r229799 r229831 1365 1365 void didDestroyNavigation(uint64_t navigationID); 1366 1366 1367 void decidePolicyForNavigationAction(uint64_t frameID, const WebCore::SecurityOriginData& frameSecurityOrigin, uint64_t navigationID, NavigationActionData&&, const FrameInfoData&, uint64_t originatingPageID, const WebCore::ResourceRequest& originalRequest, WebCore::ResourceRequest&&, uint64_t listenerID, const UserData& , bool& receivedPolicyAction, uint64_t& newNavigationID, WebCore::PolicyAction&, DownloadID&, std::optional<WebsitePoliciesData>&);1367 void decidePolicyForNavigationAction(uint64_t frameID, const WebCore::SecurityOriginData& frameSecurityOrigin, uint64_t navigationID, NavigationActionData&&, const FrameInfoData&, uint64_t originatingPageID, const WebCore::ResourceRequest& originalRequest, WebCore::ResourceRequest&&, uint64_t listenerID, const UserData&); 1368 1368 void decidePolicyForNewWindowAction(uint64_t frameID, const WebCore::SecurityOriginData& frameSecurityOrigin, NavigationActionData&&, WebCore::ResourceRequest&&, const String& frameName, uint64_t listenerID, const UserData&); 1369 1369 void decidePolicyForResponse(uint64_t frameID, const WebCore::SecurityOriginData& frameSecurityOrigin, uint64_t navigationID, const WebCore::ResourceResponse&, const WebCore::ResourceRequest&, bool canShowMIMEType, uint64_t listenerID, const UserData&); 1370 void decidePolicyForResponseSync(uint64_t frameID, const WebCore::SecurityOriginData& frameSecurityOrigin, uint64_t navigationID, const WebCore::ResourceResponse&, const WebCore::ResourceRequest&, bool canShowMIMEType, uint64_t listenerID, const UserData&, bool& receivedPolicyAction, WebCore::PolicyAction&, DownloadID&);1371 1370 void unableToImplementPolicy(uint64_t frameID, const WebCore::ResourceError&, const UserData&); 1372 1371 … … 1926 1925 bool m_isPerformingDOMPrintOperation { false }; 1927 1926 1928 bool m_inDecidePolicyForResponseSync { false }; 1929 const WebCore::ResourceRequest* m_decidePolicyForResponseRequest { nullptr }; 1930 bool m_syncMimeTypePolicyActionIsValid { false }; 1931 WebCore::PolicyAction m_syncMimeTypePolicyAction { WebCore::PolicyAction::Use }; 1932 DownloadID m_syncMimeTypePolicyDownloadID { 0 }; 1933 bool m_inDecidePolicyForNavigationAction { false }; 1934 bool m_syncNavigationActionPolicyActionIsValid { false }; 1935 WebCore::PolicyAction m_syncNavigationActionPolicyAction { WebCore::PolicyAction::Use }; 1936 DownloadID m_syncNavigationActionPolicyDownloadID { 0 }; 1937 std::optional<WebsitePoliciesData> m_syncNavigationActionPolicyWebsitePolicies; 1938 1927 WebCore::ResourceRequest m_decidePolicyForResponseRequest; 1939 1928 bool m_shouldSuppressAppLinksInNextNavigationPolicyDecision { false }; 1940 1929 -
trunk/Source/WebKit/UIProcess/WebPageProxy.messages.in
r229764 r229831 99 99 100 100 # Policy messages 101 DecidePolicyForResponse Sync(uint64_t frameID, struct WebCore::SecurityOriginData frameSecurityOrigin, uint64_t navigationID, WebCore::ResourceResponse response, WebCore::ResourceRequest request, bool canShowMIMEType, uint64_t listenerID, WebKit::UserData userData) -> (bool receivedPolicyAction, enum WebCore::PolicyAction policyAction, WebKit::DownloadID downloadID)102 DecidePolicyForNavigationAction(uint64_t frameID, struct WebCore::SecurityOriginData frameSecurityOrigin, uint64_t navigationID, struct WebKit::NavigationActionData navigationActionData, struct WebKit::FrameInfoData originatingFrameInfoData, uint64_t originatingPageID, WebCore::ResourceRequest originalRequest, WebCore::ResourceRequest request, uint64_t listenerID, WebKit::UserData userData) -> (bool receivedPolicyAction, uint64_t newNavigationID, enum WebCore::PolicyAction policyAction, WebKit::DownloadID downloadID, std::optional<WebKit::WebsitePoliciesData> websitePolicies)101 DecidePolicyForResponse(uint64_t frameID, struct WebCore::SecurityOriginData frameSecurityOrigin, uint64_t navigationID, WebCore::ResourceResponse response, WebCore::ResourceRequest request, bool canShowMIMEType, uint64_t listenerID, WebKit::UserData userData) 102 DecidePolicyForNavigationAction(uint64_t frameID, struct WebCore::SecurityOriginData frameSecurityOrigin, uint64_t navigationID, struct WebKit::NavigationActionData navigationActionData, struct WebKit::FrameInfoData originatingFrameInfoData, uint64_t originatingPageID, WebCore::ResourceRequest originalRequest, WebCore::ResourceRequest request, uint64_t listenerID, WebKit::UserData userData) 103 103 DecidePolicyForNewWindowAction(uint64_t frameID, struct WebCore::SecurityOriginData frameSecurityOrigin, struct WebKit::NavigationActionData navigationActionData, WebCore::ResourceRequest request, String frameName, uint64_t listenerID, WebKit::UserData userData) 104 104 UnableToImplementPolicy(uint64_t frameID, WebCore::ResourceError error, WebKit::UserData userData) -
trunk/Source/WebKit/WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp
r229828 r229831 749 749 Ref<WebFrame> protector(*m_frame); 750 750 uint64_t listenerID = m_frame->setUpPolicyListener(WTFMove(function), WebFrame::ForNavigationAction::No); 751 bool receivedPolicyAction;752 PolicyAction policyAction;753 DownloadID downloadID;754 755 751 auto navigationID = static_cast<WebDocumentLoader&>(*policyDocumentLoader).navigationID(); 756 if (!webPage->send Sync(Messages::WebPageProxy::DecidePolicyForResponseSync(m_frame->frameID(), SecurityOriginData::fromFrame(coreFrame), navigationID, response, request, canShowMIMEType, listenerID, UserData(WebProcess::singleton().transformObjectsToHandles(userData.get()).get())), Messages::WebPageProxy::DecidePolicyForResponseSync::Reply(receivedPolicyAction, policyAction, downloadID), Seconds::infinity(), IPC::SendSyncOption::InformPlatformProcessWillSuspend)) {752 if (!webPage->send(Messages::WebPageProxy::DecidePolicyForResponse(m_frame->frameID(), SecurityOriginData::fromFrame(coreFrame), navigationID, response, request, canShowMIMEType, listenerID, UserData(WebProcess::singleton().transformObjectsToHandles(userData.get()).get())))) 757 753 m_frame->didReceivePolicyDecision(listenerID, PolicyAction::Ignore, 0, { }, { }); 758 return;759 }760 761 // We call this synchronously because CFNetwork can only convert a loading connection to a download from its didReceiveResponse callback.762 if (receivedPolicyAction)763 m_frame->didReceivePolicyDecision(listenerID, policyAction, 0, downloadID, { });764 754 } 765 755 … … 848 838 849 839 uint64_t listenerID = m_frame->setUpPolicyListener(WTFMove(function), WebFrame::ForNavigationAction::Yes); 850 bool receivedPolicyAction;851 uint64_t newNavigationID;852 PolicyAction policyAction;853 DownloadID downloadID;854 840 855 841 ASSERT(navigationAction.sourceDocument()); … … 890 876 // Notify the UIProcess. 891 877 Ref<WebFrame> protect(*m_frame); 892 std::optional<WebsitePoliciesData> websitePolicies; 893 if (!webPage->sendSync(Messages::WebPageProxy::DecidePolicyForNavigationAction(m_frame->frameID(), SecurityOriginData::fromFrame(coreFrame), documentLoader->navigationID(), navigationActionData, originatingFrameInfoData, originatingFrame && originatingFrame->page() ? originatingFrame->page()->pageID() : 0, navigationAction.resourceRequest(), request, listenerID, UserData(WebProcess::singleton().transformObjectsToHandles(userData.get()).get())), Messages::WebPageProxy::DecidePolicyForNavigationAction::Reply(receivedPolicyAction, newNavigationID, policyAction, downloadID, websitePolicies))) { 878 if (!webPage->send(Messages::WebPageProxy::DecidePolicyForNavigationAction(m_frame->frameID(), SecurityOriginData::fromFrame(coreFrame), documentLoader->navigationID(), navigationActionData, originatingFrameInfoData, originatingFrame && originatingFrame->page() ? originatingFrame->page()->pageID() : 0, navigationAction.resourceRequest(), request, listenerID, UserData(WebProcess::singleton().transformObjectsToHandles(userData.get()).get())))) 894 879 m_frame->didReceivePolicyDecision(listenerID, PolicyAction::Ignore, 0, { }, { }); 895 return;896 }897 898 // We call this synchronously because WebCore cannot gracefully handle a frame load without a synchronous navigation policy reply.899 if (receivedPolicyAction)900 m_frame->didReceivePolicyDecision(listenerID, policyAction, newNavigationID, downloadID, WTFMove(websitePolicies));901 880 } 902 881 -
trunk/Tools/TestWebKitAPI/Tests/WebKitCocoa/LoadAlternateHTMLString.mm
r229764 r229831 117 117 isDone = false; 118 118 TestWebKitAPI::Util::run(&isDone); 119 // In success, we should only start 3 provisional loads: 2 for the loadRequest, and *only 1* for the _loadAlternateHTMLString. 120 EXPECT_EQ(3, provisionalLoadCount); 119 // In success, we should only start 2 provisional loads: 1 for the second loadRequest, and 1 for the _loadAlternateHTMLString. 120 // The second loadRequest cancels the first one before its provisional load starts. 121 EXPECT_EQ(2, provisionalLoadCount); 121 122 } 122 123 }
Note:
See TracChangeset
for help on using the changeset viewer.