Changeset 224218 in webkit
- Timestamp:
- Oct 30, 2017 8:13:03 PM (6 years ago)
- Location:
- trunk
- Files:
-
- 30 added
- 157 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r224214 r224218 1 2017-10-30 Chris Dumez <cdumez@apple.com> 2 3 Fire updatefound event after resolving the registration promise 4 https://bugs.webkit.org/show_bug.cgi?id=178985 5 6 Reviewed by Youenn Fablet. 7 8 Update tests that are skipped due to timing out. 9 10 * TestExpectations: 11 1 12 2017-10-30 Ryan Haddad <ryanhaddad@apple.com> 2 13 -
trunk/LayoutTests/TestExpectations
r224211 r224218 143 143 imported/w3c/web-platform-tests/service-workers/service-worker/ServiceWorkerGlobalScope/close.https.html [ Skip ] 144 144 imported/w3c/web-platform-tests/service-workers/service-worker/ServiceWorkerGlobalScope/extendable-message-event-constructor.https.html [ Skip ] 145 imported/w3c/web-platform-tests/service-workers/service-worker/ServiceWorkerGlobalScope/extendable-message-event.https.html [ Skip ] 146 imported/w3c/web-platform-tests/service-workers/service-worker/ServiceWorkerGlobalScope/unregister.https.html [ Skip ] 147 imported/w3c/web-platform-tests/service-workers/service-worker/ServiceWorkerGlobalScope/update.https.html [ Skip ] 145 148 imported/w3c/web-platform-tests/service-workers/service-worker/clients-matchall-on-evaluation.https.html [ Skip ] 149 imported/w3c/web-platform-tests/service-workers/service-worker/extendable-event-waituntil.https.html [ Skip ] 146 150 imported/w3c/web-platform-tests/service-workers/service-worker/fetch-canvas-tainting-cache.https.html [ Skip ] 147 151 imported/w3c/web-platform-tests/service-workers/service-worker/fetch-canvas-tainting.https.html [ Skip ] 148 152 imported/w3c/web-platform-tests/service-workers/service-worker/fetch-cors-xhr.https.html [ Skip ] 153 imported/w3c/web-platform-tests/service-workers/service-worker/fetch-event-network-error.https.html [ Skip ] 154 imported/w3c/web-platform-tests/service-workers/service-worker/fetch-event-respond-with-argument.https.html [ Skip ] 149 155 imported/w3c/web-platform-tests/service-workers/service-worker/fetch-mixed-content-to-inscope.https.html [ Skip ] 150 156 imported/w3c/web-platform-tests/service-workers/service-worker/fetch-mixed-content-to-outscope.https.html [ Skip ] … … 155 161 imported/w3c/web-platform-tests/service-workers/service-worker/http-to-https-redirect-and-register.https.html [ Skip ] 156 162 imported/w3c/web-platform-tests/service-workers/service-worker/iframe-sandbox-register-link-element.https.html [ Skip ] 163 imported/w3c/web-platform-tests/service-workers/service-worker/import-scripts-updated-flag.https.html [ Skip ] 157 164 imported/w3c/web-platform-tests/service-workers/service-worker/interfaces-sw.https.html [ Skip ] 158 165 imported/w3c/web-platform-tests/service-workers/service-worker/link-element-register-basic.https.html [ Skip ] … … 162 169 imported/w3c/web-platform-tests/service-workers/service-worker/link-element-register-script.https.html [ Skip ] 163 170 imported/w3c/web-platform-tests/service-workers/service-worker/link-element-register-security-error.https.html [ Skip ] 171 imported/w3c/web-platform-tests/service-workers/service-worker/navigation-preload/broken-chunked-encoding.https.html [ Skip ] 172 imported/w3c/web-platform-tests/service-workers/service-worker/navigation-preload/get-state.https.html [ Skip ] 173 imported/w3c/web-platform-tests/service-workers/service-worker/navigation-preload/redirect.https.html [ Skip ] 164 174 imported/w3c/web-platform-tests/service-workers/service-worker/navigation-redirect-to-http.https.html [ Skip ] 165 175 imported/w3c/web-platform-tests/service-workers/service-worker/performance-timeline.https.html [ Skip ] 176 imported/w3c/web-platform-tests/service-workers/service-worker/postmessage.https.html [ Skip ] 166 177 imported/w3c/web-platform-tests/service-workers/service-worker/register-foreign-fetch-errors.https.html [ Skip ] 178 imported/w3c/web-platform-tests/service-workers/service-worker/registration-service-worker-attributes.https.html [ Skip ] 179 imported/w3c/web-platform-tests/service-workers/service-worker/registration-updateviacache.https.html [ Skip ] 167 180 imported/w3c/web-platform-tests/service-workers/service-worker/service-worker-csp-connect.https.html [ Skip ] 168 181 imported/w3c/web-platform-tests/service-workers/service-worker/service-worker-csp-default.https.html [ Skip ] 169 182 imported/w3c/web-platform-tests/service-workers/service-worker/service-worker-csp-script.https.html [ Skip ] 170 183 imported/w3c/web-platform-tests/service-workers/service-worker/skip-waiting-without-client.https.html [ Skip ] 184 imported/w3c/web-platform-tests/service-workers/service-worker/uncontrolled-page.https.html [ Skip ] 185 imported/w3c/web-platform-tests/service-workers/service-worker/unregister-then-register-new-script.https.html [ Skip ] 186 imported/w3c/web-platform-tests/service-workers/service-worker/update-after-navigation-fetch-event.https.html [ Skip ] 187 imported/w3c/web-platform-tests/service-workers/service-worker/update-after-oneday.https.html [ Skip ] 171 188 imported/w3c/web-platform-tests/service-workers/service-worker/update-bytecheck.https.html [ Skip ] 172 imported/w3c/web-platform-tests/service-workers/service-worker/waiting.https.html [ Skip ] 189 190 imported/w3c/web-platform-tests/fetch/api/abort/general-serviceworker.https.html [ Skip ] 173 191 imported/w3c/web-platform-tests/fetch/api/policies/referrer-no-referrer-service-worker.https.html [ Skip ] 174 192 imported/w3c/web-platform-tests/fetch/api/policies/referrer-origin-service-worker.https.html [ Skip ] … … 205 223 imported/w3c/web-platform-tests/streams/readable-streams/templated.serviceworker.https.html [ Skip ] 206 224 225 imported/w3c/web-platform-tests/service-workers/service-worker/fetch-request-redirect.https.html [ Pass Failure ] 226 imported/w3c/web-platform-tests/service-workers/service-worker/websocket.https.html [ Pass Failure ] 207 227 http/tests/workers/service/service-worker-cache-api.https.html [ Pass Failure ] 208 imported/w3c/web-platform-tests/service-workers/service-worker/navigation-redirect.https.html [ Pass Failure ]209 228 210 229 # textarea.animate is not supported -
trunk/LayoutTests/imported/w3c/ChangeLog
r224195 r224218 1 2017-10-30 Chris Dumez <cdumez@apple.com> 2 3 Fire updatefound event after resolving the registration promise 4 https://bugs.webkit.org/show_bug.cgi?id=178985 5 6 Reviewed by Youenn Fablet. 7 8 Rebaseline tests and land expected results for tests that are timing out. 9 A lot of tests are now actualling testing something instead of failing right away. 10 11 * web-platform-tests/service-workers/cache-storage/serviceworker/cache-add.https-expected.txt: 12 * web-platform-tests/service-workers/cache-storage/serviceworker/cache-delete.https-expected.txt: 13 * web-platform-tests/service-workers/cache-storage/serviceworker/cache-keys.https-expected.txt: 14 * web-platform-tests/service-workers/cache-storage/serviceworker/cache-match.https-expected.txt: 15 * web-platform-tests/service-workers/cache-storage/serviceworker/cache-matchAll.https-expected.txt: 16 * web-platform-tests/service-workers/cache-storage/serviceworker/cache-put.https-expected.txt: 17 * web-platform-tests/service-workers/cache-storage/serviceworker/cache-storage-keys.https-expected.txt: 18 * web-platform-tests/service-workers/cache-storage/serviceworker/cache-storage-match.https-expected.txt: 19 * web-platform-tests/service-workers/cache-storage/serviceworker/cache-storage.https-expected.txt: 20 * web-platform-tests/service-workers/cache-storage/serviceworker/credentials.https-expected.txt: 21 * web-platform-tests/service-workers/service-worker/ServiceWorkerGlobalScope/close.https-expected.txt: Added. 22 * web-platform-tests/service-workers/service-worker/ServiceWorkerGlobalScope/extendable-message-event-constructor.https-expected.txt: Added. 23 * web-platform-tests/service-workers/service-worker/ServiceWorkerGlobalScope/extendable-message-event.https-expected.txt: 24 * web-platform-tests/service-workers/service-worker/ServiceWorkerGlobalScope/postmessage.https-expected.txt: 25 * web-platform-tests/service-workers/service-worker/ServiceWorkerGlobalScope/registration-attribute.https-expected.txt: 26 * web-platform-tests/service-workers/service-worker/ServiceWorkerGlobalScope/service-worker-error-event.https-expected.txt: 27 * web-platform-tests/service-workers/service-worker/ServiceWorkerGlobalScope/unregister.https-expected.txt: 28 * web-platform-tests/service-workers/service-worker/ServiceWorkerGlobalScope/update.https-expected.txt: 29 * web-platform-tests/service-workers/service-worker/activate-event-after-install-state-change.https-expected.txt: 30 * web-platform-tests/service-workers/service-worker/activation-after-registration.https-expected.txt: 31 * web-platform-tests/service-workers/service-worker/active.https-expected.txt: 32 * web-platform-tests/service-workers/service-worker/appcache-ordering-main.https-expected.txt: 33 * web-platform-tests/service-workers/service-worker/claim-affect-other-registration.https-expected.txt: 34 * web-platform-tests/service-workers/service-worker/claim-fetch.https-expected.txt: 35 * web-platform-tests/service-workers/service-worker/claim-not-using-registration.https-expected.txt: 36 * web-platform-tests/service-workers/service-worker/claim-using-registration.https-expected.txt: 37 * web-platform-tests/service-workers/service-worker/claim-worker-fetch.https-expected.txt: 38 * web-platform-tests/service-workers/service-worker/client-id.https-expected.txt: 39 * web-platform-tests/service-workers/service-worker/client-navigate.https-expected.txt: 40 * web-platform-tests/service-workers/service-worker/clients-get-client-types.https-expected.txt: 41 * web-platform-tests/service-workers/service-worker/clients-get-cross-origin.https-expected.txt: 42 * web-platform-tests/service-workers/service-worker/clients-get.https-expected.txt: 43 * web-platform-tests/service-workers/service-worker/clients-matchall-client-types.https-expected.txt: 44 * web-platform-tests/service-workers/service-worker/clients-matchall-exact-controller.https-expected.txt: 45 * web-platform-tests/service-workers/service-worker/clients-matchall-include-uncontrolled.https-expected.txt: 46 * web-platform-tests/service-workers/service-worker/clients-matchall-on-evaluation.https-expected.txt: Added. 47 * web-platform-tests/service-workers/service-worker/clients-matchall-order.https-expected.txt: 48 * web-platform-tests/service-workers/service-worker/clients-matchall.https-expected.txt: 49 * web-platform-tests/service-workers/service-worker/controller-on-disconnect.https-expected.txt: 50 * web-platform-tests/service-workers/service-worker/controller-on-load.https-expected.txt: 51 * web-platform-tests/service-workers/service-worker/controller-on-reload.https-expected.txt: 52 * web-platform-tests/service-workers/service-worker/extendable-event-async-waituntil.https-expected.txt: 53 * web-platform-tests/service-workers/service-worker/extendable-event-waituntil.https-expected.txt: 54 * web-platform-tests/service-workers/service-worker/fetch-canvas-tainting-cache.https-expected.txt: Added. 55 * web-platform-tests/service-workers/service-worker/fetch-canvas-tainting.https-expected.txt: Added. 56 * web-platform-tests/service-workers/service-worker/fetch-cors-xhr.https-expected.txt: Added. 57 * web-platform-tests/service-workers/service-worker/fetch-csp.https-expected.txt: 58 * web-platform-tests/service-workers/service-worker/fetch-event-after-navigation-within-page.https-expected.txt: 59 * web-platform-tests/service-workers/service-worker/fetch-event-async-respond-with.https-expected.txt: 60 * web-platform-tests/service-workers/service-worker/fetch-event-network-error.https-expected.txt: 61 * web-platform-tests/service-workers/service-worker/fetch-event-redirect.https-expected.txt: 62 * web-platform-tests/service-workers/service-worker/fetch-event-referrer-policy.https-expected.txt: 63 * web-platform-tests/service-workers/service-worker/fetch-event-respond-with-argument.https-expected.txt: 64 * web-platform-tests/service-workers/service-worker/fetch-event-respond-with-readable-stream.https-expected.txt: 65 * web-platform-tests/service-workers/service-worker/fetch-event-respond-with-response-body-with-invalid-chunk.https-expected.txt: 66 * web-platform-tests/service-workers/service-worker/fetch-event-respond-with-stops-propagation.https-expected.txt: 67 * web-platform-tests/service-workers/service-worker/fetch-event-throws-after-respond-with.https-expected.txt: 68 * web-platform-tests/service-workers/service-worker/fetch-event-within-sw.https-expected.txt: 69 * web-platform-tests/service-workers/service-worker/fetch-event.https-expected.txt: 70 * web-platform-tests/service-workers/service-worker/fetch-frame-resource.https-expected.txt: 71 * web-platform-tests/service-workers/service-worker/fetch-header-visibility.https-expected.txt: 72 * web-platform-tests/service-workers/service-worker/fetch-mixed-content-to-inscope.https-expected.txt: Added. 73 * web-platform-tests/service-workers/service-worker/fetch-mixed-content-to-outscope.https-expected.txt: Added. 74 * web-platform-tests/service-workers/service-worker/fetch-request-css-base-url.https-expected.txt: 75 * web-platform-tests/service-workers/service-worker/fetch-request-css-cross-origin-mime-check.https-expected.txt: 76 * web-platform-tests/service-workers/service-worker/fetch-request-css-images.https-expected.txt: 77 * web-platform-tests/service-workers/service-worker/fetch-request-fallback.https-expected.txt: 78 * web-platform-tests/service-workers/service-worker/fetch-request-html-imports.https-expected.txt: 79 * web-platform-tests/service-workers/service-worker/fetch-request-no-freshness-headers.https-expected.txt: 80 * web-platform-tests/service-workers/service-worker/fetch-request-redirect.https-expected.txt: 81 * web-platform-tests/service-workers/service-worker/fetch-request-resources.https-expected.txt: 82 * web-platform-tests/service-workers/service-worker/fetch-request-xhr-sync.https-expected.txt: 83 * web-platform-tests/service-workers/service-worker/fetch-request-xhr.https-expected.txt: 84 * web-platform-tests/service-workers/service-worker/fetch-response-taint.https-expected.txt: Added. 85 * web-platform-tests/service-workers/service-worker/fetch-response-xhr.https-expected.txt: 86 * web-platform-tests/service-workers/service-worker/fetch-waits-for-activate.https-expected.txt: 87 * web-platform-tests/service-workers/service-worker/foreign-fetch-basics.https-expected.txt: Added. 88 * web-platform-tests/service-workers/service-worker/foreign-fetch-cors.https-expected.txt: 89 * web-platform-tests/service-workers/service-worker/foreign-fetch-event.https-expected.txt: Added. 90 * web-platform-tests/service-workers/service-worker/foreign-fetch-workers.https-expected.txt: Added. 91 * web-platform-tests/service-workers/service-worker/getregistrations.https-expected.txt: 92 * web-platform-tests/service-workers/service-worker/http-to-https-redirect-and-register.https-expected.txt: Added. 93 * web-platform-tests/service-workers/service-worker/iframe-sandbox-register-link-element.https-expected.txt: Added. 94 * web-platform-tests/service-workers/service-worker/immutable-prototype-serviceworker.https-expected.txt: 95 * web-platform-tests/service-workers/service-worker/import-scripts-redirect.https-expected.txt: Added. 96 * web-platform-tests/service-workers/service-worker/import-scripts-updated-flag.https-expected.txt: 97 * web-platform-tests/service-workers/service-worker/indexeddb.https-expected.txt: 98 * web-platform-tests/service-workers/service-worker/install-event-type.https-expected.txt: 99 * web-platform-tests/service-workers/service-worker/installing.https-expected.txt: 100 * web-platform-tests/service-workers/service-worker/interfaces-sw.https-expected.txt: Added. 101 * web-platform-tests/service-workers/service-worker/interfaces-window.https-expected.txt: 102 * web-platform-tests/service-workers/service-worker/invalid-blobtype.https-expected.txt: 103 * web-platform-tests/service-workers/service-worker/invalid-header.https-expected.txt: 104 * web-platform-tests/service-workers/service-worker/iso-latin1-header.https-expected.txt: 105 * web-platform-tests/service-workers/service-worker/link-element-register-basic.https-expected.txt: Added. 106 * web-platform-tests/service-workers/service-worker/link-element-register-mime-types.https-expected.txt: Added. 107 * web-platform-tests/service-workers/service-worker/link-element-register-scope.https-expected.txt: Added. 108 * web-platform-tests/service-workers/service-worker/link-element-register-script-url.https-expected.txt: Added. 109 * web-platform-tests/service-workers/service-worker/link-element-register-script.https-expected.txt: Added. 110 * web-platform-tests/service-workers/service-worker/link-element-register-security-error.https-expected.txt: Added. 111 * web-platform-tests/service-workers/service-worker/mime-sniffing.https-expected.txt: Added. 112 * web-platform-tests/service-workers/service-worker/multi-globals/url-parsing.https-expected.txt: 113 * web-platform-tests/service-workers/service-worker/multiple-register.https-expected.txt: 114 * web-platform-tests/service-workers/service-worker/multiple-update.https-expected.txt: 115 * web-platform-tests/service-workers/service-worker/navigate-window.https-expected.txt: 116 * web-platform-tests/service-workers/service-worker/navigation-preload/broken-chunked-encoding.https-expected.txt: 117 * web-platform-tests/service-workers/service-worker/navigation-preload/chunked-encoding.https-expected.txt: 118 * web-platform-tests/service-workers/service-worker/navigation-preload/empty-preload-response-body.https-expected.txt: 119 * web-platform-tests/service-workers/service-worker/navigation-preload/get-state.https-expected.txt: 120 * web-platform-tests/service-workers/service-worker/navigation-preload/redirect.https-expected.txt: 121 * web-platform-tests/service-workers/service-worker/navigation-preload/request-headers.https-expected.txt: 122 * web-platform-tests/service-workers/service-worker/navigation-preload/resource-timing.https-expected.txt: 123 * web-platform-tests/service-workers/service-worker/navigation-redirect-body.https-expected.txt: 124 * web-platform-tests/service-workers/service-worker/navigation-redirect-to-http.https-expected.txt: Added. 125 * web-platform-tests/service-workers/service-worker/navigation-redirect.https-expected.txt: 126 * web-platform-tests/service-workers/service-worker/onactivate-script-error.https-expected.txt: 127 * web-platform-tests/service-workers/service-worker/oninstall-script-error.https-expected.txt: 128 * web-platform-tests/service-workers/service-worker/opaque-response-preloaded.https-expected.txt: 129 * web-platform-tests/service-workers/service-worker/performance-timeline.https-expected.txt: Added. 130 * web-platform-tests/service-workers/service-worker/postmessage-blob-url.https-expected.txt: 131 * web-platform-tests/service-workers/service-worker/postmessage-from-waiting-serviceworker.https-expected.txt: 132 * web-platform-tests/service-workers/service-worker/postmessage-msgport-to-client.https-expected.txt: 133 * web-platform-tests/service-workers/service-worker/postmessage-to-client.https-expected.txt: 134 * web-platform-tests/service-workers/service-worker/postmessage.https-expected.txt: 135 * web-platform-tests/service-workers/service-worker/ready.https-expected.txt: 136 * web-platform-tests/service-workers/service-worker/redirected-response.https-expected.txt: 137 * web-platform-tests/service-workers/service-worker/referer.https-expected.txt: 138 * web-platform-tests/service-workers/service-worker/referrer-policy-header.https-expected.txt: 139 * web-platform-tests/service-workers/service-worker/register-default-scope.https-expected.txt: 140 * web-platform-tests/service-workers/service-worker/register-foreign-fetch-errors.https-expected.txt: Added. 141 * web-platform-tests/service-workers/service-worker/register-same-scope-different-script-url.https-expected.txt: 142 * web-platform-tests/service-workers/service-worker/register-wait-forever-in-install-worker.https-expected.txt: 143 * web-platform-tests/service-workers/service-worker/registration-basic.https-expected.txt: 144 * web-platform-tests/service-workers/service-worker/registration-end-to-end.https-expected.txt: 145 * web-platform-tests/service-workers/service-worker/registration-events.https-expected.txt: 146 * web-platform-tests/service-workers/service-worker/registration-mime-types.https-expected.txt: 147 * web-platform-tests/service-workers/service-worker/registration-scope.https-expected.txt: 148 * web-platform-tests/service-workers/service-worker/registration-script-url.https-expected.txt: 149 * web-platform-tests/service-workers/service-worker/registration-script.https-expected.txt: 150 * web-platform-tests/service-workers/service-worker/registration-security-error.https-expected.txt: 151 * web-platform-tests/service-workers/service-worker/registration-service-worker-attributes.https-expected.txt: 152 * web-platform-tests/service-workers/service-worker/registration-updateviacache.https-expected.txt: 153 * web-platform-tests/service-workers/service-worker/request-body-blob.https-expected.txt: 154 * web-platform-tests/service-workers/service-worker/request-end-to-end.https-expected.txt: 155 * web-platform-tests/service-workers/service-worker/resource-timing.https-expected.txt: 156 * web-platform-tests/service-workers/service-worker/service-worker-csp-connect.https-expected.txt: Added. 157 * web-platform-tests/service-workers/service-worker/service-worker-csp-default.https-expected.txt: Added. 158 * web-platform-tests/service-workers/service-worker/service-worker-csp-script.https-expected.txt: Added. 159 * web-platform-tests/service-workers/service-worker/serviceworker-message-event-historical.https-expected.txt: 160 * web-platform-tests/service-workers/service-worker/serviceworkerobject-scripturl.https-expected.txt: 161 * web-platform-tests/service-workers/service-worker/shared-worker-controlled.https-expected.txt: 162 * web-platform-tests/service-workers/service-worker/skip-waiting-installed.https-expected.txt: 163 * web-platform-tests/service-workers/service-worker/skip-waiting-using-registration.https-expected.txt: 164 * web-platform-tests/service-workers/service-worker/skip-waiting-without-client.https-expected.txt: Added. 165 * web-platform-tests/service-workers/service-worker/skip-waiting.https-expected.txt: 166 * web-platform-tests/service-workers/service-worker/state.https-expected.txt: 167 * web-platform-tests/service-workers/service-worker/synced-state.https-expected.txt: 168 * web-platform-tests/service-workers/service-worker/uncontrolled-page.https-expected.txt: 169 * web-platform-tests/service-workers/service-worker/unregister-controller.https-expected.txt: 170 * web-platform-tests/service-workers/service-worker/unregister-then-register-new-script.https-expected.txt: 171 * web-platform-tests/service-workers/service-worker/unregister-then-register.https-expected.txt: 172 * web-platform-tests/service-workers/service-worker/unregister.https-expected.txt: 173 * web-platform-tests/service-workers/service-worker/update-after-navigation-fetch-event.https-expected.txt: 174 * web-platform-tests/service-workers/service-worker/update-after-oneday.https-expected.txt: 175 * web-platform-tests/service-workers/service-worker/update-bytecheck.https-expected.txt: Added. 176 * web-platform-tests/service-workers/service-worker/update-recovery.https-expected.txt: 177 * web-platform-tests/service-workers/service-worker/update.https-expected.txt: 178 * web-platform-tests/service-workers/service-worker/waiting.https-expected.txt: Added. 179 * web-platform-tests/service-workers/service-worker/websocket.https-expected.txt: 180 * web-platform-tests/service-workers/service-worker/windowclient-navigate.https-expected.txt: 181 * web-platform-tests/service-workers/service-worker/worker-interception.https-expected.txt: 182 * web-platform-tests/service-workers/service-worker/xhr.https-expected.txt: 183 1 184 2017-10-30 Dean Jackson <dino@apple.com> 2 185 -
trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/abort/general-serviceworker.https-expected.txt
r224132 r224218 1 CONSOLE MESSAGE: line 1714: Unhandled Promise Rejection: TypeError: null is not an object (evaluating 'remote.onerror = function(error) { this_obj.remote_error(error); }')2 1 3 FAIL General fetch abort tests in a service worker null is not an object (evaluating 'remote.onerror = function(error) { this_obj.remote_error(error); }') 2 Harness Error (TIMEOUT), message = null 4 3 4 FAIL Aborting rejects with AbortError assert_unreached: Should have rejected: undefined Reached unreachable code 5 FAIL Aborting rejects with AbortError - no-cors assert_throws: function "function () { throw e }" threw object "TypeError: A server with the specified hostname could not be found." that is not a DOMException AbortError: property "code" is equal to undefined, expected 20 6 PASS TypeError from request constructor takes priority - RequestInit's window is not null 7 PASS TypeError from request constructor takes priority - Input URL is not valid 8 PASS TypeError from request constructor takes priority - Input URL has credentials 9 PASS TypeError from request constructor takes priority - RequestInit's mode is navigate 10 PASS TypeError from request constructor takes priority - RequestInit's referrer is invalid 11 PASS TypeError from request constructor takes priority - RequestInit's method is invalid 12 PASS TypeError from request constructor takes priority - RequestInit's method is forbidden 13 PASS TypeError from request constructor takes priority - RequestInit's mode is no-cors and method is not simple 14 PASS TypeError from request constructor takes priority - RequestInit's cache mode is only-if-cached and mode is not same-origin 15 PASS TypeError from request constructor takes priority - Request with cache mode: only-if-cached and fetch mode cors 16 PASS TypeError from request constructor takes priority - Request with cache mode: only-if-cached and fetch mode no-cors 17 PASS TypeError from request constructor takes priority - Bad referrerPolicy init parameter value 18 PASS TypeError from request constructor takes priority - Bad mode init parameter value 19 PASS TypeError from request constructor takes priority - Bad credentials init parameter value 20 PASS TypeError from request constructor takes priority - Bad cache init parameter value 21 PASS TypeError from request constructor takes priority - Bad redirect init parameter value 22 FAIL Request objects have a signal property assert_true: Signal member is present & truthy expected true got false 23 FAIL Signal on request object assert_true: Signal member is present & truthy expected true got false 24 FAIL Signal on request object created from request object assert_unreached: Should have rejected: undefined Reached unreachable code 25 FAIL Signal on request object created from request object, with signal on second request assert_unreached: Should have rejected: undefined Reached unreachable code 26 FAIL Signal on request object created from request object, with signal on second request overriding another assert_unreached: Should have rejected: undefined Reached unreachable code 27 FAIL Signal retained after unrelated properties are overridden by fetch assert_unreached: Should have rejected: undefined Reached unreachable code 28 PASS Signal removed by setting to null 29 FAIL Already aborted signal rejects immediately assert_unreached: Fetch must not resolve Reached unreachable code 30 PASS Request is still 'used' if signal is aborted before fetching 31 FAIL response.arrayBuffer() rejects if already aborted assert_unreached: Should have rejected: undefined Reached unreachable code 32 FAIL response.blob() rejects if already aborted assert_unreached: Should have rejected: undefined Reached unreachable code 33 FAIL response.formData() rejects if already aborted assert_throws: function "function () { throw e }" threw object "NotSupportedError: The operation is not supported." that is not a DOMException AbortError: property "code" is equal to 9, expected 20 34 FAIL response.json() rejects if already aborted assert_unreached: Should have rejected: undefined Reached unreachable code 35 FAIL response.text() rejects if already aborted assert_unreached: Should have rejected: undefined Reached unreachable code 36 FAIL Already aborted signal does not make request assert_equals: Request hasn't been made to the server expected (object) null but got (string) "open" 37 FAIL Already aborted signal can be used for many fetches assert_unreached: Should have rejected: undefined Reached unreachable code 38 FAIL Signal can be used to abort other fetches, even if another fetch succeeded before aborting assert_unreached: Should have rejected: undefined Reached unreachable code 39 FAIL Underlying connection is closed when aborting after receiving response promise_test: Unhandled rejection with value: object "Error: Timed out" 40 FAIL Underlying connection is closed when aborting after receiving response - no-cors promise_test: Unhandled rejection with value: object "TypeError: A server with the specified hostname could not be found." 41 TIMEOUT Fetch aborted & connection closed when aborted after calling response.arrayBuffer() Test timed out 42 NOTRUN Fetch aborted & connection closed when aborted after calling response.blob() 43 NOTRUN Fetch aborted & connection closed when aborted after calling response.formData() 44 NOTRUN Fetch aborted & connection closed when aborted after calling response.json() 45 NOTRUN Fetch aborted & connection closed when aborted after calling response.text() 46 NOTRUN Stream errors once aborted. Underlying connection closed. 47 NOTRUN Stream errors once aborted, after reading. Underlying connection closed. 48 NOTRUN Stream will not error if body is empty. It's closed with an empty queue before it errors. 49 NOTRUN Readable stream synchronously cancels with AbortError if aborted before reading 50 FAIL Signal state is cloned undefined is not an object (evaluating 'request.signal.aborted') 51 FAIL Clone aborts with original controller undefined is not an object (evaluating 'request.signal.addEventListener') 52 -
trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/abort/serviceworker-intercepted.https-expected.txt
r224132 r224218 1 1 2 FAIL Already aborted request does not land in service worker promise_test: Unhandled rejection with value: object "Error: wait_for_state must be passed a ServiceWorker"3 FAIL response.arrayBuffer() rejects if already aborted promise_test: Unhandled rejection with value: object "Error: wait_for_state must be passed a ServiceWorker"4 FAIL response.blob() rejects if already aborted promise_test: Unhandled rejection with value: object "Error: wait_for_state must be passed a ServiceWorker"5 FAIL response.formData() rejects if already aborted promise_test: Unhandled rejection with value: object "Error: wait_for_state must be passed a ServiceWorker"6 FAIL response.json() rejects if already aborted promise_test: Unhandled rejection with value: object "Error: wait_for_state must be passed a ServiceWorker"7 FAIL response.text() rejects if already aborted promise_test: Unhandled rejection with value: object "Error: wait_for_state must be passed a ServiceWorker"8 FAIL Stream errors once aborted. promise_test: Unhandled rejection with value: object "Error: wait_for_state must be passed a ServiceWorker"9 2 3 FAIL Already aborted request does not land in service worker assert_unreached: Should have rejected: undefined Reached unreachable code 4 FAIL response.arrayBuffer() rejects if already aborted assert_unreached: Should have rejected: undefined Reached unreachable code 5 FAIL response.blob() rejects if already aborted assert_unreached: Should have rejected: undefined Reached unreachable code 6 FAIL response.formData() rejects if already aborted assert_throws: function "function () { throw e }" threw object "NotSupportedError: The operation is not supported." that is not a DOMException AbortError: property "code" is equal to 9, expected 20 7 FAIL response.json() rejects if already aborted assert_unreached: Should have rejected: undefined Reached unreachable code 8 FAIL response.text() rejects if already aborted assert_unreached: Should have rejected: undefined Reached unreachable code 9 FAIL Stream errors once aborted. assert_unreached: Should have rejected: undefined Reached unreachable code 10 -
trunk/LayoutTests/imported/w3c/web-platform-tests/html/webappapis/scripting/events/messageevent-constructor.https-expected.txt
r224132 r224218 7 7 PASS Passing null for ports parameter to initMessageEvent 8 8 PASS initMessageEvent operation default parameter values 9 FAIL Passing ServiceWorker for source member promise_test: Unhandled rejection with value: object "Error: wait_for_state must be passed a ServiceWorker" 9 PASS Passing ServiceWorker for source member 10 10 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/cache-storage/serviceworker/cache-add.https-expected.txt
r220924 r224218 1 1 2 FAIL Cache.add and Cache.addAll assert_unreached: unregister should not fail: serviceWorker.getRegistration() is not yet implemented Reached unreachable code 2 Harness Error (TIMEOUT), message = null 3 3 4 TIMEOUT Cache.add and Cache.addAll Test timed out 5 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/cache-storage/serviceworker/cache-delete.https-expected.txt
r220924 r224218 1 1 2 FAIL Cache.delete assert_unreached: unregister should not fail: serviceWorker.getRegistration() is not yet implemented Reached unreachable code 2 Harness Error (TIMEOUT), message = null 3 3 4 TIMEOUT Cache.delete Test timed out 5 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/cache-storage/serviceworker/cache-keys.https-expected.txt
r220924 r224218 1 1 2 FAIL Cache.keys assert_unreached: unregister should not fail: serviceWorker.getRegistration() is not yet implemented Reached unreachable code 2 Harness Error (TIMEOUT), message = null 3 3 4 TIMEOUT Cache.keys Test timed out 5 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/cache-storage/serviceworker/cache-match.https-expected.txt
r220924 r224218 1 1 2 FAIL Cache.match assert_unreached: unregister should not fail: serviceWorker.getRegistration() is not yet implemented Reached unreachable code 2 Harness Error (TIMEOUT), message = null 3 3 4 TIMEOUT Cache.match Test timed out 5 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/cache-storage/serviceworker/cache-matchAll.https-expected.txt
r220924 r224218 1 1 2 FAIL Cache.matchAll assert_unreached: unregister should not fail: serviceWorker.getRegistration() is not yet implemented Reached unreachable code 2 Harness Error (TIMEOUT), message = null 3 3 4 TIMEOUT Cache.matchAll Test timed out 5 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/cache-storage/serviceworker/cache-put.https-expected.txt
r220924 r224218 1 1 2 FAIL Cache.put assert_unreached: unregister should not fail: serviceWorker.getRegistration() is not yet implemented Reached unreachable code 2 Harness Error (TIMEOUT), message = null 3 3 4 TIMEOUT Cache.put Test timed out 5 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/cache-storage/serviceworker/cache-storage-keys.https-expected.txt
r220924 r224218 1 1 2 FAIL CacheStorage.keys assert_unreached: unregister should not fail: serviceWorker.getRegistration() is not yet implemented Reached unreachable code 2 Harness Error (TIMEOUT), message = null 3 3 4 TIMEOUT CacheStorage.keys Test timed out 5 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/cache-storage/serviceworker/cache-storage-match.https-expected.txt
r220924 r224218 1 1 2 FAIL CacheStorage.match assert_unreached: unregister should not fail: serviceWorker.getRegistration() is not yet implemented Reached unreachable code 2 Harness Error (TIMEOUT), message = null 3 3 4 TIMEOUT CacheStorage.match Test timed out 5 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/cache-storage/serviceworker/cache-storage.https-expected.txt
r220924 r224218 1 1 2 FAIL CacheStorage assert_unreached: unregister should not fail: serviceWorker.getRegistration() is not yet implemented Reached unreachable code 2 Harness Error (TIMEOUT), message = null 3 3 4 TIMEOUT CacheStorage Test timed out 5 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/cache-storage/serviceworker/credentials.https-expected.txt
r224132 r224218 1 CONSOLE MESSAGE: line 17: Unhandled Promise Rejection: Error: Not Found 1 2 2 FAIL Cache API matching includes credentials promise_test: Unhandled rejection with value: object "Error: wait_for_state must be passed a ServiceWorker" 3 Harness Error (TIMEOUT), message = null 3 4 5 TIMEOUT Cache API matching includes credentials Test timed out 6 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/ServiceWorkerGlobalScope/extendable-message-event.https-expected.txt
r224132 r224218 1 1 2 FAIL Post an extendable message from a top-level client promise_test: Unhandled rejection with value: object "Error: wait_for_state must be passed a ServiceWorker" 3 FAIL Post an extendable message from a nested client promise_test: Unhandled rejection with value: object "Error: wait_for_state must be passed a ServiceWorker" 4 FAIL Post loopback extendable messages promise_test: Unhandled rejection with value: object "Error: wait_for_state must be passed a ServiceWorker" 5 FAIL Post extendable messages among service workers promise_test: Unhandled rejection with value: object "Error: wait_for_state must be passed a ServiceWorker" 2 Harness Error (TIMEOUT), message = null 6 3 4 FAIL Post an extendable message from a top-level client promise_test: Unhandled rejection with value: object "NotSupportedError: Passing MessagePort objects to postMessage is not yet supported" 5 FAIL Post an extendable message from a nested client promise_test: Unhandled rejection with value: object "TypeError: null is not an object (evaluating 'f.contentWindow.navigator.serviceWorker.controller.postMessage')" 6 TIMEOUT Post loopback extendable messages Test timed out 7 NOTRUN Post extendable messages among service workers 8 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/ServiceWorkerGlobalScope/postmessage.https-expected.txt
r224132 r224218 1 1 2 FAIL Post loopback messages promise_test: Unhandled rejection with value: object "Error: wait_for_state must be passed a ServiceWorker"3 FAIL Post messages among service workers promise_test: Unhandled rejection with value: object "Error: wait_for_state must be passed a ServiceWorker"4 2 3 FAIL Post loopback messages promise_test: Unhandled rejection with value: object "NotSupportedError: Passing MessagePort objects to postMessage is not yet supported" 4 FAIL Post messages among service workers promise_test: Unhandled rejection with value: object "NotSupportedError: Passing MessagePort objects to postMessage is not yet supported" 5 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/ServiceWorkerGlobalScope/registration-attribute.https-expected.txt
r224132 r224218 1 1 2 FAIL Verify registration attribute on ServiceWorkerGlobalScope promise_test: Unhandled rejection with value: object "Error: wait_for_state must be passed a ServiceWorker"3 2 3 FAIL Verify registration attribute on ServiceWorkerGlobalScope assert_equals: Service Worker should respond to fetch expected "updatefound,install,statechange(installed),statechange(activating),activate,statechange(activated),fetch" but got "{\"error\": {\"message\": \"\", \"code\": 404}}" 4 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/ServiceWorkerGlobalScope/service-worker-error-event.https-expected.txt
r224132 r224218 1 1 2 FAIL Error handlers inside serviceworker should see the attributes of ErrorEvent promise_test: Unhandled rejection with value: object "TypeError: null is not an object (evaluating 'worker.postMessage')"2 FAIL Error handlers inside serviceworker should see the attributes of ErrorEvent assert_equals: error column number expected 3 but got 20 3 3 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/ServiceWorkerGlobalScope/unregister.https-expected.txt
r224132 r224218 1 1 2 FAIL Unregister on script evaluation promise_test: Unhandled rejection with value: object "Error: wait_for_state must be passed a ServiceWorker" 3 FAIL Unregister on installing event promise_test: Unhandled rejection with value: object "Error: wait_for_state must be passed a ServiceWorker" 4 FAIL Unregister on activate event promise_test: Unhandled rejection with value: object "Error: wait_for_state must be passed a ServiceWorker" 5 FAIL Unregister controlling service worker promise_test: Unhandled rejection with value: object "Error: wait_for_state must be passed a ServiceWorker" 2 Harness Error (TIMEOUT), message = null 6 3 4 TIMEOUT Unregister on script evaluation Test timed out 5 NOTRUN Unregister on installing event 6 NOTRUN Unregister on activate event 7 NOTRUN Unregister controlling service worker 8 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/ServiceWorkerGlobalScope/update.https-expected.txt
r224132 r224218 1 1 2 FAIL Update a registration on ServiceWorkerGlobalScope promise_test: Unhandled rejection with value: object "Error: wait_for_state must be passed a ServiceWorker"3 2 3 Harness Error (TIMEOUT), message = null 4 5 TIMEOUT Update a registration on ServiceWorkerGlobalScope Test timed out 6 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/activate-event-after-install-state-change.https-expected.txt
r224132 r224218 1 1 2 FAIL installed event should be fired before activating service worker null is not an object (evaluating 'sw') 2 PASS installed event should be fired before activating service worker 3 3 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/activation-after-registration.https-expected.txt
r224132 r224218 1 1 2 FAIL activation occurs after registration assert_unreached: unexpected rejection: null is not an object (evaluating 'r.installing.state') Reached unreachable code 2 PASS activation occurs after registration 3 3 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/active.https-expected.txt
r224132 r224218 1 1 2 PASS active is set 2 3 3 FAIL active is set assert_unreached: unexpected rejection: wait_for_state must be passed a ServiceWorker Reached unreachable code4 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/appcache-ordering-main.https-expected.txt
r224132 r224218 1 1 2 FAIL serviceworkers take priority over appcaches assert_unreached: unexpected rejection: wait_for_state must be passed a ServiceWorkerReached unreachable code2 FAIL serviceworkers take priority over appcaches assert_unreached: unexpected rejection: assert_false: but serviceworkers should take priority expected false got true Reached unreachable code 3 3 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/claim-affect-other-registration.https-expected.txt
r224132 r224218 1 1 2 FAIL claim() should affect the originally controlling registration. promise_test: Unhandled rejection with value: object "Error: wait_for_state must be passed a ServiceWorker"3 2 3 FAIL claim() should affect the originally controlling registration. promise_test: Unhandled rejection with value: object "TypeError: null is not an object (evaluating 'r.active')" 4 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/claim-fetch.https-expected.txt
r224132 r224218 1 1 2 2 3 FAIL fetch() should be intercepted after the client is claimed. promise_test: Unhandled rejection with value: object " Error: wait_for_state must be passed a ServiceWorker"3 FAIL fetch() should be intercepted after the client is claimed. promise_test: Unhandled rejection with value: object "NotSupportedError: Passing MessagePort objects to postMessage is not yet supported" 4 4 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/claim-not-using-registration.https-expected.txt
r224132 r224218 1 1 2 2 3 FAIL Test claim client which is not using registration promise_test: Unhandled rejection with value: object " Error: wait_for_state must be passed a ServiceWorker"4 FAIL Test claim client when there's a longer-matched registration not already used by the page promise_test: Unhandled rejection with value: object " Error: wait_for_state must be passed a ServiceWorker"3 FAIL Test claim client which is not using registration promise_test: Unhandled rejection with value: object "TypeError: null is not an object (evaluating 'frame1.contentWindow.navigator.serviceWorker.controller.scriptURL')" 4 FAIL Test claim client when there's a longer-matched registration not already used by the page promise_test: Unhandled rejection with value: object "NotSupportedError: Passing MessagePort objects to postMessage is not yet supported" 5 5 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/claim-using-registration.https-expected.txt
r224132 r224218 1 1 2 FAIL Test worker claims client which is using another registration promise_test: Unhandled rejection with value: object "Error: wait_for_state must be passed a ServiceWorker"3 FAIL Test for the waiting worker claims a client which is using the the same registration promise_test: Unhandled rejection with value: object "Error: wait_for_state must be passed a ServiceWorker"4 2 3 FAIL Test worker claims client which is using another registration promise_test: Unhandled rejection with value: object "NotSupportedError: Passing MessagePort objects to postMessage is not yet supported" 4 FAIL Test for the waiting worker claims a client which is using the the same registration promise_test: Unhandled rejection with value: object "NotSupportedError: Passing MessagePort objects to postMessage is not yet supported" 5 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/claim-worker-fetch.https-expected.txt
r224132 r224218 1 1 2 2 3 FAIL fetch() in Worker should be intercepted after the client is claimed. promise_test: Unhandled rejection with value: object " Error: wait_for_state must be passed a ServiceWorker"3 FAIL fetch() in Worker should be intercepted after the client is claimed. promise_test: Unhandled rejection with value: object "NotSupportedError: Passing MessagePort objects to postMessage is not yet supported" 4 4 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/client-id.https-expected.txt
r224132 r224218 1 1 2 FAIL Client.id returns the client's ID. assert_unreached: unexpected rejection: wait_for_state must be passed a ServiceWorker Reached unreachable code3 2 3 FAIL Client.id returns the client's ID. assert_unreached: unexpected rejection: null is not an object (evaluating 'f.contentWindow.navigator.serviceWorker.controller.postMessage') Reached unreachable code 4 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/client-navigate.https-expected.txt
r224132 r224218 1 1 2 FAIL Frame location should update on successful navigation assert_unreached: unexpected rejection: wait_for_state must be passed a ServiceWorker Reached unreachable code3 FAIL Frame location should not be accessible after redirect assert_unreached: unexpected rejection: wait_for_state must be passed a ServiceWorker Reached unreachable code4 FAIL Frame location should not be accessible after cross-origin navigation assert_unreached: unexpected rejection: wait_for_state must be passed a ServiceWorker Reached unreachable code5 FAIL Frame location should not update on failed about:blank navigation assert_unreached: unexpected rejection: wait_for_state must be passed a ServiceWorker Reached unreachable code6 FAIL Frame location should not update on failed mixed-content navigation assert_unreached: unexpected rejection: wait_for_state must be passed a ServiceWorker Reached unreachable code7 2 3 FAIL Frame location should update on successful navigation assert_unreached: unexpected rejection: null is not an object (evaluating 'remote.onerror = function(error) { this_obj.remote_error(error); }') Reached unreachable code 4 FAIL Frame location should not be accessible after redirect assert_unreached: unexpected rejection: null is not an object (evaluating 'remote.onerror = function(error) { this_obj.remote_error(error); }') Reached unreachable code 5 FAIL Frame location should not be accessible after cross-origin navigation assert_unreached: unexpected rejection: null is not an object (evaluating 'remote.onerror = function(error) { this_obj.remote_error(error); }') Reached unreachable code 6 FAIL Frame location should not update on failed about:blank navigation assert_unreached: unexpected rejection: null is not an object (evaluating 'remote.onerror = function(error) { this_obj.remote_error(error); }') Reached unreachable code 7 FAIL Frame location should not update on failed mixed-content navigation assert_unreached: unexpected rejection: null is not an object (evaluating 'remote.onerror = function(error) { this_obj.remote_error(error); }') Reached unreachable code 8 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/clients-get-client-types.https-expected.txt
r224132 r224218 1 1 2 FAIL Test Clients.get() with window and worker clients promise_test: Unhandled rejection with value: object " Error: wait_for_state must be passed a ServiceWorker"2 FAIL Test Clients.get() with window and worker clients promise_test: Unhandled rejection with value: object "ReferenceError: Can't find variable: SharedWorker" 3 3 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/clients-get-cross-origin.https-expected.txt
r224132 r224218 1 CONSOLE MESSAGE: line 48: Unhandled Promise Rejection: TypeError: null is not an object (evaluating 'iframe.contentWindow.navigator.serviceWorker.controller.postMessage') 1 2 2 FAIL Test Clients.get() cross origin promise_test: Unhandled rejection with value: object "Error: wait_for_state must be passed a ServiceWorker"3 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/clients-get.https-expected.txt
r224132 r224218 1 1 2 FAIL Test Clients.get() promise_test: Unhandled rejection with value: object " Error: wait_for_state must be passed a ServiceWorker"2 FAIL Test Clients.get() promise_test: Unhandled rejection with value: object "TypeError: null is not an object (evaluating 'frame.contentWindow.navigator.serviceWorker.controller.postMessage')" 3 3 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/clients-matchall-client-types.https-expected.txt
r224132 r224218 1 1 2 FAIL Verify matchAll() with window client type assert_unreached: unexpected rejection: wait_for_state must be passed a ServiceWorker Reached unreachable code3 FAIL Verify matchAll() with {window, sharedworker, worker} client types promise_test: Unhandled rejection with value: object "Error: wait_for_state must be passed a ServiceWorker"4 2 3 FAIL Verify matchAll() with window client type assert_unreached: unexpected rejection: null is not an object (evaluating 'frame.contentWindow.navigator.serviceWorker.controller.postMessage') Reached unreachable code 4 FAIL Verify matchAll() with {window, sharedworker, worker} client types promise_test: Unhandled rejection with value: object "ReferenceError: Can't find variable: SharedWorker" 5 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/clients-matchall-exact-controller.https-expected.txt
r224132 r224218 1 1 2 FAIL Test Clients.matchAll() with exact controller assert_unreached: unexpected rejection: wait_for_state must be passed a ServiceWorker Reached unreachable code3 2 3 FAIL Test Clients.matchAll() with exact controller assert_unreached: unexpected rejection: Passing MessagePort objects to postMessage is not yet supported Reached unreachable code 4 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/clients-matchall-include-uncontrolled.https-expected.txt
r224132 r224218 1 1 2 FAIL Verify matchAll() respect includeUncontrolled assert_unreached: unexpected rejection: wait_for_state must be passed a ServiceWorker Reached unreachable code3 2 3 FAIL Verify matchAll() respect includeUncontrolled assert_unreached: unexpected rejection: null is not an object (evaluating 'frame.contentWindow.navigator.serviceWorker.controller.postMessage') Reached unreachable code 4 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/clients-matchall-order.https-expected.txt
r224132 r224218 1 1 2 FAIL Clients.matchAll() returns non-focused controlled windows in creation order. promise_test: Unhandled rejection with value: object " Error: wait_for_state must be passed a ServiceWorker"3 FAIL Clients.matchAll() returns controlled windows in focus order. Case 1. promise_test: Unhandled rejection with value: object " Error: wait_for_state must be passed a ServiceWorker"4 FAIL Clients.matchAll() returns controlled windows in focus order. Case 2. promise_test: Unhandled rejection with value: object " Error: wait_for_state must be passed a ServiceWorker"5 FAIL Clients.matchAll() returns non-focused uncontrolled windows in creation order. promise_test: Unhandled rejection with value: object " Error: wait_for_state must be passed a ServiceWorker"6 FAIL Clients.matchAll() returns uncontrolled windows in focus order. Case 1. promise_test: Unhandled rejection with value: object " Error: wait_for_state must be passed a ServiceWorker"7 FAIL Clients.matchAll() returns uncontrolled windows in focus order. Case 2. promise_test: Unhandled rejection with value: object " Error: wait_for_state must be passed a ServiceWorker"8 FAIL Clients.matchAll() returns controlled windows and frames in focus order. promise_test: Unhandled rejection with value: object " Error: wait_for_state must be passed a ServiceWorker"2 FAIL Clients.matchAll() returns non-focused controlled windows in creation order. promise_test: Unhandled rejection with value: object "NotSupportedError: Passing MessagePort objects to postMessage is not yet supported" 3 FAIL Clients.matchAll() returns controlled windows in focus order. Case 1. promise_test: Unhandled rejection with value: object "NotSupportedError: Passing MessagePort objects to postMessage is not yet supported" 4 FAIL Clients.matchAll() returns controlled windows in focus order. Case 2. promise_test: Unhandled rejection with value: object "NotSupportedError: Passing MessagePort objects to postMessage is not yet supported" 5 FAIL Clients.matchAll() returns non-focused uncontrolled windows in creation order. promise_test: Unhandled rejection with value: object "NotSupportedError: Passing MessagePort objects to postMessage is not yet supported" 6 FAIL Clients.matchAll() returns uncontrolled windows in focus order. Case 1. promise_test: Unhandled rejection with value: object "NotSupportedError: Passing MessagePort objects to postMessage is not yet supported" 7 FAIL Clients.matchAll() returns uncontrolled windows in focus order. Case 2. promise_test: Unhandled rejection with value: object "NotSupportedError: Passing MessagePort objects to postMessage is not yet supported" 8 FAIL Clients.matchAll() returns controlled windows and frames in focus order. promise_test: Unhandled rejection with value: object "NotSupportedError: Passing MessagePort objects to postMessage is not yet supported" 9 9 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/clients-matchall.https-expected.txt
r224132 r224218 1 1 2 FAIL Test Clients.matchAll() assert_unreached: unexpected rejection: wait_for_state must be passed a ServiceWorker Reached unreachable code3 2 3 FAIL Test Clients.matchAll() assert_unreached: unexpected rejection: null is not an object (evaluating 'frame2.contentWindow.navigator.serviceWorker.controller.postMessage') Reached unreachable code 4 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/controller-on-disconnect.https-expected.txt
r224132 r224218 1 1 2 FAIL controller is cleared on disconnected window assert_unreached: unexpected rejection: wait_for_state must be passed a ServiceWorker Reached unreachable code3 2 3 FAIL controller is cleared on disconnected window assert_true: controller should be a ServiceWorker object expected true got false 4 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/controller-on-load.https-expected.txt
r224132 r224218 1 1 2 FAIL controller is set for a controlled document assert_unreached: unexpected rejection: wait_for_state must be passed a ServiceWorker Reached unreachable code3 2 3 FAIL controller is set for a controlled document assert_true: controller should be a ServiceWorker object expected true got false 4 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/controller-on-reload.https-expected.txt
r224132 r224218 1 1 2 2 3 FAIL controller is set upon reload after registration promise_test: Unhandled rejection with value: object "Error: wait_for_state must be passed a ServiceWorker"3 FAIL controller is set upon reload after registration assert_equals: controller should be null until the document is reloaded expected null but got object "[object ServiceWorker]" 4 4 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/extendable-event-async-waituntil.https-expected.txt
r224132 r224218 1 1 2 FAIL Test calling waitUntil in a different task without an existing extension throws assert_unreached: unexpected rejection: wait_for_state must be passed a ServiceWorkerReached unreachable code3 FAIL Test calling waitUntil in a different microtask without an existing extension throws assert_unreached: unexpected rejection: wait_for_state must be passed a ServiceWorkerReached unreachable code4 FAIL Test calling waitUntil in a different task with an existing extension succeeds assert_unreached: unexpected rejection: wait_for_state must be passed a ServiceWorkerReached unreachable code5 FAIL Test calling waitUntil with an existing extension promise handler succeeds assert_unreached: unexpected rejection: wait_for_state must be passed a ServiceWorkerReached unreachable code6 FAIL Test calling waitUntil at the end of the microtask turn throws assert_unreached: unexpected rejection: wait_for_state must be passed a ServiceWorkerReached unreachable code7 FAIL Test calling waitUntil after the current extension expired in a different task fails assert_unreached: unexpected rejection: wait_for_state must be passed a ServiceWorkerReached unreachable code8 FAIL Test calling waitUntil on a script constructed ExtendableEvent throws exception assert_unreached: unexpected rejection: wait_for_state must be passed a ServiceWorkerReached unreachable code9 FAIL Test calling waitUntil asynchronously with pending respondWith promise. assert_unreached: unexpected rejection: wait_for_state must be passed a ServiceWorkerReached unreachable code10 FAIL Test calling waitUntil synchronously inside microtask of respondWith promise. assert_unreached: unexpected rejection: wait_for_state must be passed a ServiceWorkerReached unreachable code11 FAIL Test calling waitUntil asynchronously inside microtask of respondWith promise. assert_unreached: unexpected rejection: wait_for_state must be passed a ServiceWorkerReached unreachable code2 FAIL Test calling waitUntil in a different task without an existing extension throws assert_unreached: unexpected rejection: Passing MessagePort objects to postMessage is not yet supported Reached unreachable code 3 FAIL Test calling waitUntil in a different microtask without an existing extension throws assert_unreached: unexpected rejection: Passing MessagePort objects to postMessage is not yet supported Reached unreachable code 4 FAIL Test calling waitUntil in a different task with an existing extension succeeds assert_unreached: unexpected rejection: Passing MessagePort objects to postMessage is not yet supported Reached unreachable code 5 FAIL Test calling waitUntil with an existing extension promise handler succeeds assert_unreached: unexpected rejection: Passing MessagePort objects to postMessage is not yet supported Reached unreachable code 6 FAIL Test calling waitUntil at the end of the microtask turn throws assert_unreached: unexpected rejection: Passing MessagePort objects to postMessage is not yet supported Reached unreachable code 7 FAIL Test calling waitUntil after the current extension expired in a different task fails assert_unreached: unexpected rejection: Passing MessagePort objects to postMessage is not yet supported Reached unreachable code 8 FAIL Test calling waitUntil on a script constructed ExtendableEvent throws exception assert_unreached: unexpected rejection: Passing MessagePort objects to postMessage is not yet supported Reached unreachable code 9 FAIL Test calling waitUntil asynchronously with pending respondWith promise. assert_unreached: unexpected rejection: Passing MessagePort objects to postMessage is not yet supported Reached unreachable code 10 FAIL Test calling waitUntil synchronously inside microtask of respondWith promise. assert_unreached: unexpected rejection: Passing MessagePort objects to postMessage is not yet supported Reached unreachable code 11 FAIL Test calling waitUntil asynchronously inside microtask of respondWith promise. assert_unreached: unexpected rejection: Passing MessagePort objects to postMessage is not yet supported Reached unreachable code 12 12 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/extendable-event-waituntil.https-expected.txt
r224132 r224218 1 CONSOLE MESSAGE: line 19: Unhandled Promise Rejection: TypeError: null is not an object (evaluating 'worker.postMessage')2 CONSOLE MESSAGE: line 19: Unhandled Promise Rejection: TypeError: null is not an object (evaluating 'worker.postMessage')3 CONSOLE MESSAGE: line 19: Unhandled Promise Rejection: TypeError: null is not an object (evaluating 'worker.postMessage')1 CONSOLE MESSAGE: line 19: Unhandled Promise Rejection: NotSupportedError: Passing MessagePort objects to postMessage is not yet supported 2 CONSOLE MESSAGE: line 19: Unhandled Promise Rejection: NotSupportedError: Passing MessagePort objects to postMessage is not yet supported 3 CONSOLE MESSAGE: line 19: Unhandled Promise Rejection: NotSupportedError: Passing MessagePort objects to postMessage is not yet supported 4 4 5 Harness Error (FAIL), message = null is not an object (evaluating 'worker.postMessage')5 Harness Error (FAIL), message = Passing MessagePort objects to postMessage is not yet supported 6 6 7 FAIL Test install event waitUntil fulfilled assert_unreached: unexpected rejection: wait_for_state must be passed a ServiceWorkerReached unreachable code8 FAIL Test ExtendableEvent multiple waitUntil fulfilled. assert_unreached: unexpected rejection: wait_for_state must be passed a ServiceWorkerReached unreachable code9 FAIL Test ExtendableEvent waitUntil reject precedence. assert_unreached: unexpected rejection: wait_for_state must be passed a ServiceWorker Reached unreachable code 10 FAIL Test activate event waitUntil fulfilled assert_unreached: unexpected rejection: wait_for_state must be passed a ServiceWorkerReached unreachable code11 FAIL Test install event waitUntil rejected assert_unreached: unexpected rejection: wait_for_state must be passed a ServiceWorker Reached unreachable code 12 FAIL Test activate event waitUntil rejected. assert_unreached: unexpected rejection: wait_for_state must be passed a ServiceWorker Reached unreachable code 7 FAIL Test install event waitUntil fulfilled assert_unreached: unexpected rejection: assert_true: state should be "installed" after the waitUntil promise for "oninstall" is fulfilled. expected true got undefined Reached unreachable code 8 FAIL Test ExtendableEvent multiple waitUntil fulfilled. assert_unreached: unexpected rejection: assert_true: state should be "installed" after all waitUntil promises for "oninstall" are fulfilled. expected true got undefined Reached unreachable code 9 TIMEOUT Test ExtendableEvent waitUntil reject precedence. Test timed out 10 FAIL Test activate event waitUntil fulfilled assert_unreached: unexpected rejection: Passing MessagePort objects to postMessage is not yet supported Reached unreachable code 11 TIMEOUT Test install event waitUntil rejected Test timed out 12 PASS Test activate event waitUntil rejected. 13 13 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/fetch-csp.https-expected.txt
r224132 r224218 1 CONSOLE MESSAGE: Refused to load https://127.0.0.1:9443/service-workers/service-worker/resources/fetch-access-control.py?PNGIMAGE because it does not appear in the img-src directive of the Content Security Policy. 2 CONSOLE MESSAGE: Refused to load https://127.0.0.1:9443/service-workers/service-worker/resources/fetch-access-control.py?PNGIMAGE because it does not appear in the img-src directive of the Content Security Policy. 1 3 2 FAIL Verify CSP control of fetch() in a Service Worker promise_test: Unhandled rejection with value: object "Error: wait_for_state must be passed a ServiceWorker"3 4 5 FAIL Verify CSP control of fetch() in a Service Worker promise_test: Unhandled rejection with value: object "Error: Allowed scope image resource which was fetched via SW should be loaded. - undefined" 6 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/fetch-event-after-navigation-within-page.https-expected.txt
r224132 r224218 1 1 2 FAIL Service Worker should respond to fetch event after the hash changes promise_test: Unhandled rejection with value: object "Error: wait_for_state must be passed a ServiceWorker"3 FAIL Service Worker should respond to fetch event after the pushState promise_test: Unhandled rejection with value: object "Error: wait_for_state must be passed a ServiceWorker"4 2 3 FAIL Service Worker should respond to fetch event after the hash changes assert_equals: expected "intercepted by service worker" but got "a simple text file\n" 4 FAIL Service Worker should respond to fetch event after the pushState assert_equals: expected "intercepted by service worker" but got "a simple text file\n" 5 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/fetch-event-async-respond-with.https-expected.txt
r224132 r224218 1 1 2 FAIL Calling respondWith asynchronously throws an exception promise_test: Unhandled rejection with value: object " Error: wait_for_state must be passed a ServiceWorker"2 FAIL Calling respondWith asynchronously throws an exception promise_test: Unhandled rejection with value: object "TypeError: null is not an object (evaluating 'worker.postMessage')" 3 3 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/fetch-event-network-error.https-expected.txt
r224132 r224218 1 CONSOLE MESSAGE: line 57: TypeError: window.parent.notify_done is not a function. (In 'window.parent.notify_done('FAIL: no controller')', 'window.parent.notify_done' is undefined) 1 2 2 FAIL Rejecting the fetch event or using preventDefault() causes a network error promise_test: Unhandled rejection with value: object "Error: wait_for_state must be passed a ServiceWorker"3 3 4 Harness Error (TIMEOUT), message = null 5 6 TIMEOUT Rejecting the fetch event or using preventDefault() causes a network error Test timed out 7 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/fetch-event-redirect.https-expected.txt
r224132 r224218 1 1 2 FAIL initialize global state promise_test: Unhandled rejection with value: object "Error: wait_for_state must be passed a ServiceWorker" 3 FAIL Non-navigation, manual redirect, cors mode Request redirected to same-origin without credentials should succeed opaqueredirect interception and response should not be redirected undefined is not an object (evaluating 'frame.contentWindow')4 FAIL Non-navigation, manual redirect, cors mode Request redirected to no-cors without credentials should succeed opaqueredirect interception and response should not be redirected undefined is not an object (evaluating 'frame.contentWindow')5 FAIL Non-navigation, manual redirect, cors mode Request redirected to cors without credentials should succeed opaqueredirect interception and response should not be redirected undefined is not an object (evaluating 'frame.contentWindow')6 FAIL Non-navigation, manual redirect, same-origin mode Request redirected to same-origin without credentials should succeed opaqueredirect interception and response should not be redirected undefined is not an object (evaluating 'frame.contentWindow')7 FAIL Non-navigation, manual redirect, same-origin mode Request redirected to no-cors without credentials should succeed opaqueredirect interception and response should not be redirected undefined is not an object (evaluating 'frame.contentWindow')8 FAIL Non-navigation, manual redirect, same-origin mode Request redirected to cors without credentials should succeed opaqueredirect interception and response should not be redirected undefined is not an object (evaluating 'frame.contentWindow')9 FAIL Non-navigation, manual redirect, no-cors mode Request redirected to same-origin without credentials should succeed opaqueredirect interception and response should not be redirected undefined is not an object (evaluating 'frame.contentWindow')10 FAIL Non-navigation, manual redirect, no-cors mode Request redirected to no-cors without credentials should succeed interception and response should not be redirected undefined is not an object (evaluating 'frame.contentWindow')11 FAIL Non-navigation, manual redirect, no-cors mode Request redirected to cors without credentials should succeed interception and response should not be redirected undefined is not an object (evaluating 'frame.contentWindow')12 FAIL Non-navigation, manual redirect, cors mode Request redirected to same-origin with credentials should succeed opaqueredirect interception and response should not be redirected undefined is not an object (evaluating 'frame.contentWindow')13 FAIL Non-navigation, manual redirect, cors mode Request redirected to no-cors with credentials should succeed opaqueredirect interception and response should not be redirected undefined is not an object (evaluating 'frame.contentWindow')14 FAIL Non-navigation, manual redirect, cors mode Request redirected to cors with credentials should succeed opaqueredirect interception and response should not be redirected undefined is not an object (evaluating 'frame.contentWindow')15 FAIL Non-navigation, manual redirect, same-origin mode Request redirected to same-origin with credentials should succeed opaqueredirect interception and response should not be redirected undefined is not an object (evaluating 'frame.contentWindow')16 FAIL Non-navigation, manual redirect, same-origin mode Request redirected to no-cors with credentials should succeed opaqueredirect interception and response should not be redirected undefined is not an object (evaluating 'frame.contentWindow')17 FAIL Non-navigation, manual redirect, same-origin mode Request redirected to cors with credentials should succeed opaqueredirect interception and response should not be redirected undefined is not an object (evaluating 'frame.contentWindow')18 FAIL Non-navigation, manual redirect, no-cors mode Request redirected to same-origin with credentials should succeed opaqueredirect interception and response should not be redirected undefined is not an object (evaluating 'frame.contentWindow')19 FAIL Non-navigation, manual redirect, no-cors mode Request redirected to no-cors with credentials should succeed interception and response should not be redirected undefined is not an object (evaluating 'frame.contentWindow')20 FAIL Non-navigation, manual redirect, no-cors mode Request redirected to cors with credentials should succeed interception and response should not be redirected undefined is not an object (evaluating 'frame.contentWindow')21 FAIL Non-navigation, follow redirect, cors mode Request redirected to same-origin without credentials should succeed interception and response should be redirected undefined is not an object (evaluating 'frame.contentWindow')22 FAIL Non-navigation, follow redirect, cors mode Request redirected to no-cors without credentials should fail interception and response should not be redirected undefined is not an object (evaluating 'frame.contentWindow')23 FAIL Non-navigation, follow redirect, cors mode Request redirected to cors without credentials should succeed interception and response should be redirected undefined is not an object (evaluating 'frame.contentWindow')24 FAIL Non-navigation, follow redirect, same-origin mode Request redirected to same-origin without credentials should succeed interception and response should be redirected undefined is not an object (evaluating 'frame.contentWindow')25 FAIL Non-navigation, follow redirect, same-origin mode Request redirected to no-cors without credentials should fail interception and response should not be redirected undefined is not an object (evaluating 'frame.contentWindow')26 FAIL Non-navigation, follow redirect, same-origin mode Request redirected to cors without credentials should fail interception and response should not be redirected undefined is not an object (evaluating 'frame.contentWindow')27 FAIL Non-navigation, follow redirect, no-cors mode Request redirected to same-origin without credentials should succeed interception and response should be redirected undefined is not an object (evaluating 'frame.contentWindow')28 FAIL Non-navigation, follow redirect, no-cors mode Request redirected to no-cors without credentials should succeed interception and response should not be redirected undefined is not an object (evaluating 'frame.contentWindow')29 FAIL Non-navigation, follow redirect, no-cors mode Request redirected to cors without credentials should succeed interception and response should not be redirected undefined is not an object (evaluating 'frame.contentWindow')30 FAIL Non-navigation, follow redirect, cors mode Request redirected to same-origin with credentials should succeed interception and response should be redirected undefined is not an object (evaluating 'frame.contentWindow')31 FAIL Non-navigation, follow redirect, cors mode Request redirected to no-cors with credentials should fail interception and response should not be redirected undefined is not an object (evaluating 'frame.contentWindow')32 FAIL Non-navigation, follow redirect, cors mode Request redirected to cors with credentials should fail interception and response should be redirected undefined is not an object (evaluating 'frame.contentWindow')33 FAIL Non-navigation, follow redirect, same-origin mode Request redirected to same-origin with credentials should succeed interception and response should be redirected undefined is not an object (evaluating 'frame.contentWindow')34 FAIL Non-navigation, follow redirect, same-origin mode Request redirected to no-cors with credentials should fail interception and response should not be redirected undefined is not an object (evaluating 'frame.contentWindow')35 FAIL Non-navigation, follow redirect, same-origin mode Request redirected to cors with credentials should fail interception and response should not be redirected undefined is not an object (evaluating 'frame.contentWindow')36 FAIL Non-navigation, follow redirect, no-cors mode Request redirected to same-origin with credentials should succeed interception and response should be redirected undefined is not an object (evaluating 'frame.contentWindow')37 FAIL Non-navigation, follow redirect, no-cors mode Request redirected to no-cors with credentials should succeed interception and response should not be redirected undefined is not an object (evaluating 'frame.contentWindow')38 FAIL Non-navigation, follow redirect, no-cors mode Request redirected to cors with credentials should succeed interception and response should not be redirected undefined is not an object (evaluating 'frame.contentWindow')39 FAIL Non-navigation, error redirect, cors mode Request redirected to same-origin without credentials should fail interception and response should not be redirected undefined is not an object (evaluating 'frame.contentWindow')40 FAIL Non-navigation, error redirect, cors mode Request redirected to no-cors without credentials should fail interception and response should not be redirected undefined is not an object (evaluating 'frame.contentWindow')41 FAIL Non-navigation, error redirect, cors mode Request redirected to cors without credentials should fail interception and response should not be redirected undefined is not an object (evaluating 'frame.contentWindow')42 FAIL Non-navigation, error redirect, same-origin mode Request redirected to same-origin without credentials should fail interception and response should not be redirected undefined is not an object (evaluating 'frame.contentWindow')43 FAIL Non-navigation, error redirect, same-origin mode Request redirected to no-cors without credentials should fail interception and response should not be redirected undefined is not an object (evaluating 'frame.contentWindow')44 FAIL Non-navigation, error redirect, same-origin mode Request redirected to cors without credentials should fail interception and response should not be redirected undefined is not an object (evaluating 'frame.contentWindow')45 FAIL Non-navigation, error redirect, no-cors mode Request redirected to same-origin without credentials should fail interception and response should not be redirected undefined is not an object (evaluating 'frame.contentWindow')46 FAIL Non-navigation, error redirect, no-cors mode Request redirected to no-cors without credentials should fail interception and response should not be redirected undefined is not an object (evaluating 'frame.contentWindow')47 FAIL Non-navigation, error redirect, no-cors mode Request redirected to cors without credentials should fail interception and response should not be redirected undefined is not an object (evaluating 'frame.contentWindow')48 FAIL Non-navigation, error redirect, cors mode Request redirected to same-origin with credentials should fail interception and response should not be redirected undefined is not an object (evaluating 'frame.contentWindow')49 FAIL Non-navigation, error redirect, cors mode Request redirected to no-cors with credentials should fail interception and response should not be redirected undefined is not an object (evaluating 'frame.contentWindow')50 FAIL Non-navigation, error redirect, cors mode Request redirected to cors with credentials should fail interception and response should not be redirected undefined is not an object (evaluating 'frame.contentWindow')51 FAIL Non-navigation, error redirect, same-origin mode Request redirected to same-origin with credentials should fail interception and response should not be redirected undefined is not an object (evaluating 'frame.contentWindow')52 FAIL Non-navigation, error redirect, same-origin mode Request redirected to no-cors with credentials should fail interception and response should not be redirected undefined is not an object (evaluating 'frame.contentWindow')53 FAIL Non-navigation, error redirect, same-origin mode Request redirected to cors with credentials should fail interception and response should not be redirected undefined is not an object (evaluating 'frame.contentWindow')54 FAIL Non-navigation, error redirect, no-cors mode Request redirected to same-origin with credentials should fail interception and response should not be redirected undefined is not an object (evaluating 'frame.contentWindow')55 FAIL Non-navigation, error redirect, no-cors mode Request redirected to no-cors with credentials should fail interception and response should not be redirected undefined is not an object (evaluating 'frame.contentWindow')56 FAIL Non-navigation, error redirect, no-cors mode Request redirected to cors with credentials should fail interception and response should not be redirected undefined is not an object (evaluating 'frame.contentWindow')2 PASS initialize global state 3 FAIL Non-navigation, manual redirect, cors mode Request redirected to same-origin without credentials should succeed opaqueredirect interception and response should not be redirected assert_equals: response.type expected "opaqueredirect" but got "basic" 4 FAIL Non-navigation, manual redirect, cors mode Request redirected to no-cors without credentials should succeed opaqueredirect interception and response should not be redirected assert_equals: response.type expected "opaqueredirect" but got "basic" 5 FAIL Non-navigation, manual redirect, cors mode Request redirected to cors without credentials should succeed opaqueredirect interception and response should not be redirected assert_equals: response.type expected "opaqueredirect" but got "basic" 6 FAIL Non-navigation, manual redirect, same-origin mode Request redirected to same-origin without credentials should succeed opaqueredirect interception and response should not be redirected assert_equals: response.type expected "opaqueredirect" but got "basic" 7 FAIL Non-navigation, manual redirect, same-origin mode Request redirected to no-cors without credentials should succeed opaqueredirect interception and response should not be redirected assert_equals: response.type expected "opaqueredirect" but got "basic" 8 FAIL Non-navigation, manual redirect, same-origin mode Request redirected to cors without credentials should succeed opaqueredirect interception and response should not be redirected assert_equals: response.type expected "opaqueredirect" but got "basic" 9 FAIL Non-navigation, manual redirect, no-cors mode Request redirected to same-origin without credentials should succeed opaqueredirect interception and response should not be redirected assert_equals: response.type expected "opaqueredirect" but got "basic" 10 FAIL Non-navigation, manual redirect, no-cors mode Request redirected to no-cors without credentials should succeed interception and response should not be redirected assert_equals: response.type expected "opaqueredirect" but got "basic" 11 FAIL Non-navigation, manual redirect, no-cors mode Request redirected to cors without credentials should succeed interception and response should not be redirected assert_equals: response.type expected "opaqueredirect" but got "basic" 12 FAIL Non-navigation, manual redirect, cors mode Request redirected to same-origin with credentials should succeed opaqueredirect interception and response should not be redirected assert_equals: response.type expected "opaqueredirect" but got "basic" 13 FAIL Non-navigation, manual redirect, cors mode Request redirected to no-cors with credentials should succeed opaqueredirect interception and response should not be redirected assert_equals: response.type expected "opaqueredirect" but got "basic" 14 FAIL Non-navigation, manual redirect, cors mode Request redirected to cors with credentials should succeed opaqueredirect interception and response should not be redirected assert_equals: response.type expected "opaqueredirect" but got "basic" 15 FAIL Non-navigation, manual redirect, same-origin mode Request redirected to same-origin with credentials should succeed opaqueredirect interception and response should not be redirected assert_equals: response.type expected "opaqueredirect" but got "basic" 16 FAIL Non-navigation, manual redirect, same-origin mode Request redirected to no-cors with credentials should succeed opaqueredirect interception and response should not be redirected assert_equals: response.type expected "opaqueredirect" but got "basic" 17 FAIL Non-navigation, manual redirect, same-origin mode Request redirected to cors with credentials should succeed opaqueredirect interception and response should not be redirected assert_equals: response.type expected "opaqueredirect" but got "basic" 18 FAIL Non-navigation, manual redirect, no-cors mode Request redirected to same-origin with credentials should succeed opaqueredirect interception and response should not be redirected assert_equals: response.type expected "opaqueredirect" but got "basic" 19 FAIL Non-navigation, manual redirect, no-cors mode Request redirected to no-cors with credentials should succeed interception and response should not be redirected assert_equals: response.type expected "opaqueredirect" but got "basic" 20 FAIL Non-navigation, manual redirect, no-cors mode Request redirected to cors with credentials should succeed interception and response should not be redirected assert_equals: response.type expected "opaqueredirect" but got "basic" 21 FAIL Non-navigation, follow redirect, cors mode Request redirected to same-origin without credentials should succeed interception and response should be redirected assert_equals: response.redirected expected true but got false 22 FAIL Non-navigation, follow redirect, cors mode Request redirected to no-cors without credentials should fail interception and response should not be redirected promise_test: Unhandled rejection with value: "assert_promise_rejects: Must fail to fetch: url=/nonav-follow-cors-redirects-to-nocors-nocreds?url=redirect.py%3FRedirect%3Dhttps%253A%252F%252F127.0.0.1%253A9443%252Fservice-workers%252Fservice-worker%252Fresources%252Fsuccess.py Promise did not reject." 23 FAIL Non-navigation, follow redirect, cors mode Request redirected to cors without credentials should succeed interception and response should be redirected assert_equals: response.type expected "cors" but got "basic" 24 FAIL Non-navigation, follow redirect, same-origin mode Request redirected to same-origin without credentials should succeed interception and response should be redirected assert_equals: response.redirected expected true but got false 25 FAIL Non-navigation, follow redirect, same-origin mode Request redirected to no-cors without credentials should fail interception and response should not be redirected promise_test: Unhandled rejection with value: "assert_promise_rejects: Must fail to fetch: url=/nonav-follow-sameorigin-redirects-to-nocors-nocreds?url=redirect.py%3FRedirect%3Dhttps%253A%252F%252F127.0.0.1%253A9443%252Fservice-workers%252Fservice-worker%252Fresources%252Fsuccess.py Promise did not reject." 26 FAIL Non-navigation, follow redirect, same-origin mode Request redirected to cors without credentials should fail interception and response should not be redirected promise_test: Unhandled rejection with value: "assert_promise_rejects: Must fail to fetch: url=/nonav-follow-sameorigin-redirects-to-cors-nocreds?url=redirect.py%3FRedirect%3Dhttps%253A%252F%252F127.0.0.1%253A9443%252Fservice-workers%252Fservice-worker%252Fresources%252Fsuccess.py%253FACAOrigin%253Dhttps%25253A%25252F%25252Flocalhost%25253A9443 Promise did not reject." 27 FAIL Non-navigation, follow redirect, no-cors mode Request redirected to same-origin without credentials should succeed interception and response should be redirected assert_equals: response.redirected expected true but got false 28 FAIL Non-navigation, follow redirect, no-cors mode Request redirected to no-cors without credentials should succeed interception and response should not be redirected assert_equals: response.type expected "opaque" but got "basic" 29 FAIL Non-navigation, follow redirect, no-cors mode Request redirected to cors without credentials should succeed interception and response should not be redirected assert_equals: response.type expected "opaque" but got "basic" 30 FAIL Non-navigation, follow redirect, cors mode Request redirected to same-origin with credentials should succeed interception and response should be redirected assert_equals: response.redirected expected true but got false 31 FAIL Non-navigation, follow redirect, cors mode Request redirected to no-cors with credentials should fail interception and response should not be redirected promise_test: Unhandled rejection with value: "assert_promise_rejects: Must fail to fetch: url=/nonav-follow-cors-redirects-to-nocors-creds?url=redirect.py%3FRedirect%3Dhttps%253A%252F%252Ffoo%253Abar%2540127.0.0.1%253A9443%252Fservice-workers%252Fservice-worker%252Fresources%252Fsuccess.py Promise did not reject." 32 FAIL Non-navigation, follow redirect, cors mode Request redirected to cors with credentials should fail interception and response should be redirected promise_test: Unhandled rejection with value: "assert_promise_rejects: Must fail to fetch: url=/nonav-follow-cors-redirects-to-cors-creds?url=redirect.py%3FRedirect%3Dhttps%253A%252F%252Ffoo%253Abar%2540127.0.0.1%253A9443%252Fservice-workers%252Fservice-worker%252Fresources%252Fsuccess.py%253FACAOrigin%253Dhttps%25253A%25252F%25252Flocalhost%25253A9443 Promise did not reject." 33 FAIL Non-navigation, follow redirect, same-origin mode Request redirected to same-origin with credentials should succeed interception and response should be redirected assert_equals: response.redirected expected true but got false 34 FAIL Non-navigation, follow redirect, same-origin mode Request redirected to no-cors with credentials should fail interception and response should not be redirected promise_test: Unhandled rejection with value: "assert_promise_rejects: Must fail to fetch: url=/nonav-follow-sameorigin-redirects-to-nocors-creds?url=redirect.py%3FRedirect%3Dhttps%253A%252F%252Ffoo%253Abar%2540127.0.0.1%253A9443%252Fservice-workers%252Fservice-worker%252Fresources%252Fsuccess.py Promise did not reject." 35 FAIL Non-navigation, follow redirect, same-origin mode Request redirected to cors with credentials should fail interception and response should not be redirected promise_test: Unhandled rejection with value: "assert_promise_rejects: Must fail to fetch: url=/nonav-follow-sameorigin-redirects-to-cors-creds?url=redirect.py%3FRedirect%3Dhttps%253A%252F%252Ffoo%253Abar%2540127.0.0.1%253A9443%252Fservice-workers%252Fservice-worker%252Fresources%252Fsuccess.py%253FACAOrigin%253Dhttps%25253A%25252F%25252Flocalhost%25253A9443 Promise did not reject." 36 FAIL Non-navigation, follow redirect, no-cors mode Request redirected to same-origin with credentials should succeed interception and response should be redirected assert_equals: response.redirected expected true but got false 37 FAIL Non-navigation, follow redirect, no-cors mode Request redirected to no-cors with credentials should succeed interception and response should not be redirected assert_equals: response.type expected "opaque" but got "basic" 38 FAIL Non-navigation, follow redirect, no-cors mode Request redirected to cors with credentials should succeed interception and response should not be redirected assert_equals: response.type expected "opaque" but got "basic" 39 FAIL Non-navigation, error redirect, cors mode Request redirected to same-origin without credentials should fail interception and response should not be redirected promise_test: Unhandled rejection with value: "assert_promise_rejects: Must fail to fetch: url=/nonav-error-cors-redirects-to-sameorigin-nocreds?url=redirect.py%3FRedirect%3Dhttps%253A%252F%252Flocalhost%253A9443%252Fservice-workers%252Fservice-worker%252Fresources%252Fsuccess.py Promise did not reject." 40 FAIL Non-navigation, error redirect, cors mode Request redirected to no-cors without credentials should fail interception and response should not be redirected promise_test: Unhandled rejection with value: "assert_promise_rejects: Must fail to fetch: url=/nonav-error-cors-redirects-to-nocors-nocreds?url=redirect.py%3FRedirect%3Dhttps%253A%252F%252F127.0.0.1%253A9443%252Fservice-workers%252Fservice-worker%252Fresources%252Fsuccess.py Promise did not reject." 41 FAIL Non-navigation, error redirect, cors mode Request redirected to cors without credentials should fail interception and response should not be redirected promise_test: Unhandled rejection with value: "assert_promise_rejects: Must fail to fetch: url=/nonav-error-cors-redirects-to-cors-nocreds?url=redirect.py%3FRedirect%3Dhttps%253A%252F%252F127.0.0.1%253A9443%252Fservice-workers%252Fservice-worker%252Fresources%252Fsuccess.py%253FACAOrigin%253Dhttps%25253A%25252F%25252Flocalhost%25253A9443 Promise did not reject." 42 FAIL Non-navigation, error redirect, same-origin mode Request redirected to same-origin without credentials should fail interception and response should not be redirected promise_test: Unhandled rejection with value: "assert_promise_rejects: Must fail to fetch: url=/nonav-error-sameorigin-redirects-to-sameorigin-nocreds?url=redirect.py%3FRedirect%3Dhttps%253A%252F%252Flocalhost%253A9443%252Fservice-workers%252Fservice-worker%252Fresources%252Fsuccess.py Promise did not reject." 43 FAIL Non-navigation, error redirect, same-origin mode Request redirected to no-cors without credentials should fail interception and response should not be redirected promise_test: Unhandled rejection with value: "assert_promise_rejects: Must fail to fetch: url=/nonav-error-sameorigin-redirects-to-nocors-nocreds?url=redirect.py%3FRedirect%3Dhttps%253A%252F%252F127.0.0.1%253A9443%252Fservice-workers%252Fservice-worker%252Fresources%252Fsuccess.py Promise did not reject." 44 FAIL Non-navigation, error redirect, same-origin mode Request redirected to cors without credentials should fail interception and response should not be redirected promise_test: Unhandled rejection with value: "assert_promise_rejects: Must fail to fetch: url=/nonav-error-sameorigin-redirects-to-cors-nocreds?url=redirect.py%3FRedirect%3Dhttps%253A%252F%252F127.0.0.1%253A9443%252Fservice-workers%252Fservice-worker%252Fresources%252Fsuccess.py%253FACAOrigin%253Dhttps%25253A%25252F%25252Flocalhost%25253A9443 Promise did not reject." 45 FAIL Non-navigation, error redirect, no-cors mode Request redirected to same-origin without credentials should fail interception and response should not be redirected promise_test: Unhandled rejection with value: "assert_promise_rejects: Must fail to fetch: url=/nonav-error-nocors-redirects-to-sameorigin-nocreds?url=redirect.py%3FRedirect%3Dhttps%253A%252F%252Flocalhost%253A9443%252Fservice-workers%252Fservice-worker%252Fresources%252Fsuccess.py Promise did not reject." 46 FAIL Non-navigation, error redirect, no-cors mode Request redirected to no-cors without credentials should fail interception and response should not be redirected promise_test: Unhandled rejection with value: "assert_promise_rejects: Must fail to fetch: url=/nonav-error-nocors-redirects-to-nocors-nocreds?url=redirect.py%3FRedirect%3Dhttps%253A%252F%252F127.0.0.1%253A9443%252Fservice-workers%252Fservice-worker%252Fresources%252Fsuccess.py Promise did not reject." 47 FAIL Non-navigation, error redirect, no-cors mode Request redirected to cors without credentials should fail interception and response should not be redirected promise_test: Unhandled rejection with value: "assert_promise_rejects: Must fail to fetch: url=/nonav-error-nocors-redirects-to-cors-nocreds?url=redirect.py%3FRedirect%3Dhttps%253A%252F%252F127.0.0.1%253A9443%252Fservice-workers%252Fservice-worker%252Fresources%252Fsuccess.py%253FACAOrigin%253Dhttps%25253A%25252F%25252Flocalhost%25253A9443 Promise did not reject." 48 FAIL Non-navigation, error redirect, cors mode Request redirected to same-origin with credentials should fail interception and response should not be redirected promise_test: Unhandled rejection with value: "assert_promise_rejects: Must fail to fetch: url=/nonav-error-cors-redirects-to-sameorigin-creds?url=redirect.py%3FRedirect%3Dhttps%253A%252F%252Ffoo%253Abar%2540localhost%253A9443%252Fservice-workers%252Fservice-worker%252Fresources%252Fsuccess.py Promise did not reject." 49 FAIL Non-navigation, error redirect, cors mode Request redirected to no-cors with credentials should fail interception and response should not be redirected promise_test: Unhandled rejection with value: "assert_promise_rejects: Must fail to fetch: url=/nonav-error-cors-redirects-to-nocors-creds?url=redirect.py%3FRedirect%3Dhttps%253A%252F%252Ffoo%253Abar%2540127.0.0.1%253A9443%252Fservice-workers%252Fservice-worker%252Fresources%252Fsuccess.py Promise did not reject." 50 FAIL Non-navigation, error redirect, cors mode Request redirected to cors with credentials should fail interception and response should not be redirected promise_test: Unhandled rejection with value: "assert_promise_rejects: Must fail to fetch: url=/nonav-error-cors-redirects-to-cors-creds?url=redirect.py%3FRedirect%3Dhttps%253A%252F%252Ffoo%253Abar%2540127.0.0.1%253A9443%252Fservice-workers%252Fservice-worker%252Fresources%252Fsuccess.py%253FACAOrigin%253Dhttps%25253A%25252F%25252Flocalhost%25253A9443 Promise did not reject." 51 FAIL Non-navigation, error redirect, same-origin mode Request redirected to same-origin with credentials should fail interception and response should not be redirected promise_test: Unhandled rejection with value: "assert_promise_rejects: Must fail to fetch: url=/nonav-error-sameorigin-redirects-to-sameorigin-creds?url=redirect.py%3FRedirect%3Dhttps%253A%252F%252Ffoo%253Abar%2540localhost%253A9443%252Fservice-workers%252Fservice-worker%252Fresources%252Fsuccess.py Promise did not reject." 52 FAIL Non-navigation, error redirect, same-origin mode Request redirected to no-cors with credentials should fail interception and response should not be redirected promise_test: Unhandled rejection with value: "assert_promise_rejects: Must fail to fetch: url=/nonav-error-sameorigin-redirects-to-nocors-creds?url=redirect.py%3FRedirect%3Dhttps%253A%252F%252Ffoo%253Abar%2540127.0.0.1%253A9443%252Fservice-workers%252Fservice-worker%252Fresources%252Fsuccess.py Promise did not reject." 53 FAIL Non-navigation, error redirect, same-origin mode Request redirected to cors with credentials should fail interception and response should not be redirected promise_test: Unhandled rejection with value: "assert_promise_rejects: Must fail to fetch: url=/nonav-error-sameorigin-redirects-to-cors-creds?url=redirect.py%3FRedirect%3Dhttps%253A%252F%252Ffoo%253Abar%2540127.0.0.1%253A9443%252Fservice-workers%252Fservice-worker%252Fresources%252Fsuccess.py%253FACAOrigin%253Dhttps%25253A%25252F%25252Flocalhost%25253A9443 Promise did not reject." 54 FAIL Non-navigation, error redirect, no-cors mode Request redirected to same-origin with credentials should fail interception and response should not be redirected promise_test: Unhandled rejection with value: "assert_promise_rejects: Must fail to fetch: url=/nonav-error-nocors-redirects-to-sameorigin-creds?url=redirect.py%3FRedirect%3Dhttps%253A%252F%252Ffoo%253Abar%2540localhost%253A9443%252Fservice-workers%252Fservice-worker%252Fresources%252Fsuccess.py Promise did not reject." 55 FAIL Non-navigation, error redirect, no-cors mode Request redirected to no-cors with credentials should fail interception and response should not be redirected promise_test: Unhandled rejection with value: "assert_promise_rejects: Must fail to fetch: url=/nonav-error-nocors-redirects-to-nocors-creds?url=redirect.py%3FRedirect%3Dhttps%253A%252F%252Ffoo%253Abar%2540127.0.0.1%253A9443%252Fservice-workers%252Fservice-worker%252Fresources%252Fsuccess.py Promise did not reject." 56 FAIL Non-navigation, error redirect, no-cors mode Request redirected to cors with credentials should fail interception and response should not be redirected promise_test: Unhandled rejection with value: "assert_promise_rejects: Must fail to fetch: url=/nonav-error-nocors-redirects-to-cors-creds?url=redirect.py%3FRedirect%3Dhttps%253A%252F%252Ffoo%253Abar%2540127.0.0.1%253A9443%252Fservice-workers%252Fservice-worker%252Fresources%252Fsuccess.py%253FACAOrigin%253Dhttps%25253A%25252F%25252Flocalhost%25253A9443 Promise did not reject." 57 57 PASS restore global state 58 58 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/fetch-event-referrer-policy.https-expected.txt
r224132 r224218 1 1 2 FAIL Service Worker responds to fetch event with the referrer policy assert_unreached: unexpected rejection: wait_for_state must be passed a ServiceWorker Reached unreachable code3 2 3 FAIL Service Worker responds to fetch event with the referrer policy assert_unreached: unexpected rejection: assert_equals: Service Worker should respond to fetch with the default referrer policy expected "ReferrerPolicy: no-referrer-when-downgrade" but got "Here's a simple html file.\n" Reached unreachable code 4 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/fetch-event-respond-with-argument.https-expected.txt
r224132 r224218 1 CONSOLE MESSAGE: line 52: TypeError: window.parent.notify_done is not a function. (In 'window.parent.notify_done('FAIL: no controller')', 'window.parent.notify_done' is undefined) 1 2 2 FAIL respondWith() takes either a Response or a promise that resolves with a Response. Other values should raise a network error. promise_test: Unhandled rejection with value: object "Error: wait_for_state must be passed a ServiceWorker"3 3 4 Harness Error (TIMEOUT), message = null 5 6 TIMEOUT respondWith() takes either a Response or a promise that resolves with a Response. Other values should raise a network error. Test timed out 7 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/fetch-event-respond-with-readable-stream.https-expected.txt
r224132 r224218 1 1 2 FAIL Respond with a Response built from a ReadableStream promise_test: Unhandled rejection with value: object "Error: wait_for_state must be passed a ServiceWorker"2 FAIL Respond with a Response built from a ReadableStream assert_equals: expected "PASS" but got "{\"error\": {\"message\": \"\", \"code\": 404}}" 3 3 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/fetch-event-respond-with-response-body-with-invalid-chunk.https-expected.txt
r224132 r224218 1 1 2 FAIL Response with a ReadableStream having non-Uint8Array chunks should be transferred as errored promise_test: Unhandled rejection with value: object "Error: wait_for_state must be passed a ServiceWorker"2 FAIL Response with a ReadableStream having non-Uint8Array chunks should be transferred as errored assert_equals: expected "PASS" but got "FAIL: read() should be rejected" 3 3 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/fetch-event-respond-with-stops-propagation.https-expected.txt
r224132 r224218 1 1 2 FAIL respondWith() invokes stopImmediatePropagation() promise_test: Unhandled rejection with value: object " Error: wait_for_state must be passed a ServiceWorker"2 FAIL respondWith() invokes stopImmediatePropagation() promise_test: Unhandled rejection with value: object "TypeError: null is not an object (evaluating 'worker.postMessage')" 3 3 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/fetch-event-throws-after-respond-with.https-expected.txt
r224132 r224218 1 1 2 FAIL Fetch event handler throws after a successful respondWith() promise_test: Unhandled rejection with value: object " Error: wait_for_state must be passed a ServiceWorker"2 FAIL Fetch event handler throws after a successful respondWith() promise_test: Unhandled rejection with value: object "NotSupportedError: Passing MessagePort objects to postMessage is not yet supported" 3 3 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/fetch-event-within-sw.https-expected.txt
r224132 r224218 1 1 2 FAIL Service worker intercepts requests from window promise_test: Unhandled rejection with value: object "TypeError: null is not an object (evaluating 'nextWorker.addEventListener')"3 FAIL Service worker does not intercept fetch/cache requests within service worker promise_test: Unhandled rejection with value: object "TypeError: null is not an object (evaluating 'nextWorker.addEventListener')"2 FAIL Service worker intercepts requests from window assert_equals: fetch intercepted expected "intercepted" but got "Hello world\n" 3 FAIL Service worker does not intercept fetch/cache requests within service worker assert_equals: fetch within SW not intercepted expected "Hello world\n" but got "{\"error\": {\"message\": \"\", \"code\": 404}}" 4 4 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/fetch-event.https-expected.txt
r224132 r224218 1 1 2 FAIL Service Worker headers in the request of a fetch event assert_unreached: unexpected rejection: wait_for_state must be passed a ServiceWorker Reached unreachable code3 FAIL Service Worker responds to fetch event with string assert_unreached: unexpected rejection: wait_for_state must be passed a ServiceWorker Reached unreachable code4 FAIL Service Worker responds to fetch event with blob body assert_unreached: unexpected rejection: wait_for_state must be passed a ServiceWorker Reached unreachable code5 FAIL Service Worker responds to fetch event with the referrer URL assert_unreached: unexpected rejection: wait_for_state must be passed a ServiceWorker Reached unreachable code6 FAIL Service Worker responds to fetch event with an existing client id assert_unreached: unexpected rejection: wait_for_state must be passed a ServiceWorker Reached unreachable code7 FAIL Service Worker does not respond to fetch event assert_unreached: unexpected rejection: wait_for_state must be passed a ServiceWorker Reached unreachable code8 FAIL Service Worker responds to fetch event with null response body assert_unreached: unexpected rejection: wait_for_state must be passed a ServiceWorker Reached unreachable code9 FAIL Service Worker fetches other file in fetch event assert_unreached: unexpected rejection: wait_for_state must be passed a ServiceWorker Reached unreachable code10 FAIL Service Worker responds to fetch event with POST form assert_unreached: unexpected rejection: wait_for_state must be passed a ServiceWorker Reached unreachable code11 FAIL Multiple calls of respondWith must throw InvalidStateErrors assert_unreached: unexpected rejection: wait_for_state must be passed a ServiceWorker Reached unreachable code12 FAIL Service Worker event.respondWith must set the used flag assert_unreached: unexpected rejection: wait_for_state must be passed a ServiceWorker Reached unreachable code13 FAIL Service Worker should expose FetchEvent URL fragments. assert_unreached: unexpected rejection: wait_for_state must be passed a ServiceWorker Reached unreachable code14 FAIL Service Worker responds to fetch event with the correct cache types assert_unreached: unexpected rejection: wait_for_state must be passed a ServiceWorker Reached unreachable code15 FAIL Service Worker should intercept EventSource assert_unreached: unexpected rejection: wait_for_state must be passed a ServiceWorker Reached unreachable code16 FAIL Service Worker responds to fetch event with the correct integrity_metadata assert_unreached: unexpected rejection: wait_for_state must be passed a ServiceWorker Reached unreachable code17 2 3 FAIL Service Worker headers in the request of a fetch event assert_unreached: unexpected rejection: JSON Parse error: Unexpected identifier "Here" Reached unreachable code 4 FAIL Service Worker responds to fetch event with string assert_unreached: unexpected rejection: assert_equals: Service Worker should respond to fetch with a test string expected "Test string" but got "Here's a simple html file.\n" Reached unreachable code 5 FAIL Service Worker responds to fetch event with blob body assert_unreached: unexpected rejection: assert_equals: Service Worker should respond to fetch with a test string expected "Test blob" but got "Here's a simple html file.\n" Reached unreachable code 6 FAIL Service Worker responds to fetch event with the referrer URL assert_unreached: unexpected rejection: assert_equals: Service Worker should respond to fetch with the referrer URL expected "Referrer: https://localhost:9443/service-workers/service-worker/fetch-event.https.html" but got "Here's a simple html file.\n" Reached unreachable code 7 FAIL Service Worker responds to fetch event with an existing client id assert_unreached: unexpected rejection: assert_equals: Service Worker should respond to fetch with a client id expected "Client ID Not Found" but got "Here's a simple html file.\n" Reached unreachable code 8 PASS Service Worker does not respond to fetch event 9 FAIL Service Worker responds to fetch event with null response body assert_unreached: unexpected rejection: assert_equals: Response should be the empty string expected "" but got "Here's a simple html file.\n" Reached unreachable code 10 FAIL Service Worker fetches other file in fetch event assert_unreached: unexpected rejection: assert_equals: Response should come from fetched other file expected "Here's an other html file.\n" but got "Here's a simple html file.\n" Reached unreachable code 11 FAIL Service Worker responds to fetch event with POST form assert_unreached: unexpected rejection: assert_equals: expected "POST:application/x-www-form-urlencoded:testName1=testValue1&testName2=testValue2" but got "{\"error\": {\"message\": \"\", \"code\": 404}}" Reached unreachable code 12 FAIL Multiple calls of respondWith must throw InvalidStateErrors assert_unreached: unexpected rejection: assert_equals: Multiple calls of respondWith must throw InvalidStateErrors. expected "(0)(1)[InvalidStateError](2)[InvalidStateError]" but got "Here's a simple html file.\n" Reached unreachable code 13 FAIL Service Worker event.respondWith must set the used flag assert_unreached: unexpected rejection: assert_equals: Response should come from fetched other file expected "Here's an other html file.\n" but got "Here's a simple html file.\n" Reached unreachable code 14 FAIL Service Worker should expose FetchEvent URL fragments. assert_unreached: unexpected rejection: assert_equals: Service worker should expose URL fragments in request. expected "Fragment Found :#/some/fragment" but got "Here's a simple html file.\n" Reached unreachable code 15 FAIL Service Worker responds to fetch event with the correct cache types assert_unreached: unexpected rejection: assert_equals: expected "default" but got "Here's a simple html file.\n" Reached unreachable code 16 FAIL Service Worker should intercept EventSource assert_unreached: unexpected rejection: The EventSource fired an error event. Reached unreachable code 17 FAIL Service Worker responds to fetch event with the correct integrity_metadata assert_unreached: unexpected rejection: assert_equals: expected "" but got "Here's a simple html file.\n" Reached unreachable code 18 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/fetch-frame-resource.https-expected.txt
r224132 r224218 1 1 2 FAIL Basic type response could be loaded in the iframe. assert_unreached: unexpected rejection: wait_for_state must be passed a ServiceWorkerReached unreachable code3 FAIL CORS type response could be loaded in the iframe. assert_unreached: unexpected rejection: wait_for_state must be passed a ServiceWorkerReached unreachable code4 FAIL Opaque type response could not be loaded in the iframe. assert_unreached: unexpected rejection: wait_for_state must be passed a ServiceWorker Reached unreachable code 5 FAIL Basic type response could be loaded in the new window. assert_unreached: unexpected rejection: wait_for_state must be passed a ServiceWorkerReached unreachable code6 FAIL CORS type response could be loaded in the new window. assert_unreached: unexpected rejection: wait_for_state must be passed a ServiceWorkerReached unreachable code7 FAIL Opaque type response could not be loaded in the new window. assert_unreached: unexpected rejection: wait_for_state must be passed a ServiceWorker Reached unreachable code 2 FAIL Basic type response could be loaded in the iframe. assert_unreached: unexpected rejection: null is not an object (evaluating 'result.jsonpResult') Reached unreachable code 3 FAIL CORS type response could be loaded in the iframe. assert_unreached: unexpected rejection: null is not an object (evaluating 'result.jsonpResult') Reached unreachable code 4 PASS Opaque type response could not be loaded in the iframe. 5 FAIL Basic type response could be loaded in the new window. assert_unreached: unexpected rejection: null is not an object (evaluating 'result.jsonpResult') Reached unreachable code 6 FAIL CORS type response could be loaded in the new window. assert_unreached: unexpected rejection: null is not an object (evaluating 'result.jsonpResult') Reached unreachable code 7 PASS Opaque type response could not be loaded in the new window. 8 8 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/fetch-header-visibility.https-expected.txt
r224132 r224218 1 1 2 FAIL Visibility of defaulted headers during interception assert_unreached: unexpected rejection: wait_for_state must be passed a ServiceWorker Reached unreachable code3 2 3 FAIL Visibility of defaulted headers during interception assert_unreached: unexpected rejection: withUA FAIL - expected "custom_ua", got "<script src="/common/get-host-info.sub.js"></script> 4 <script src="test-helpers.sub.js?pipe=sub"></script> 5 <script> 6 var host_info = get_host_info(); 7 var uri = document.location + '?check-ua-header'; 8 9 var headers = new Headers(); 10 headers.set('User-Agent', 'custom_ua'); 11 12 // Check the custom UA case 13 fetch(uri, { headers: headers }).then(function(response) { 14 return response.text(); 15 }).then(function(text) { 16 if (text == 'custom_ua') { 17 parent.postMessage('PASS', '*'); 18 } else { 19 parent.postMessage('withUA FAIL - expected "custom_ua", got "' + text + '"', '*'); 20 } 21 }).catch(function(err) { 22 parent.postMessage('withUA FAIL - unexpected error: ' + err, '*'); 23 }); 24 25 // Check the default UA case 26 fetch(uri, {}).then(function(response) { 27 return response.text(); 28 }).then(function(text) { 29 if (text == 'NO_UA') { 30 parent.postMessage('PASS', '*'); 31 } else { 32 parent.postMessage('noUA FAIL - expected "NO_UA", got "' + text + '"', '*'); 33 } 34 }).catch(function(err) { 35 parent.postMessage('noUA FAIL - unexpected error: ' + err, '*'); 36 }); 37 38 var uri = document.location + '?check-accept-header'; 39 var headers = new Headers(); 40 headers.set('Accept', 'hmm'); 41 42 // Check for custom accept header 43 fetch(uri, { headers: headers }).then(function(response) { 44 return response.text(); 45 }).then(function(text) { 46 if (text === headers.get('Accept')) { 47 parent.postMessage('PASS', '*'); 48 } else { 49 parent.postMessage('custom accept FAIL - expected ' + headers.get('Accept') + 50 ' got "' + text + '"', '*'); 51 } 52 }).catch(function(err) { 53 parent.postMessage('custom accept FAIL - unexpected error: ' + err, '*'); 54 }); 55 56 // Check for default accept header 57 fetch(uri).then(function(response) { 58 return response.text(); 59 }).then(function(text) { 60 if (text === '*/*') { 61 parent.postMessage('PASS', '*'); 62 } else { 63 parent.postMessage('accept FAIL - expected */* got "' + text + '"', '*'); 64 } 65 }).catch(function(err) { 66 parent.postMessage('accept FAIL - unexpected error: ' + err, '*'); 67 }); 68 </script> 69 " Reached unreachable code 70 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/fetch-request-css-base-url.https-expected.txt
r224132 r224218 1 1 2 FAIL CSS's base URL must be the request URL even when fetched from other URL. assert_unreached: unexpected rejection: wait_for_state must be passed a ServiceWorkerReached unreachable code2 FAIL CSS's base URL must be the request URL even when fetched from other URL. assert_unreached: unexpected rejection: Passing MessagePort objects to postMessage is not yet supported Reached unreachable code 3 3 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/fetch-request-css-cross-origin-mime-check.https-expected.txt
r224132 r224218 1 1 2 FAIL Mime type checking of CSS files fetched via SW. promise_test: Unhandled rejection with value: object "Error: wait_for_state must be passed a ServiceWorker"3 2 3 FAIL Mime type checking of CSS files fetched via SW. assert_equals: The color must be overridden by cross origin CSS. expected "rgb(0, 0, 255)" but got "rgb(255, 0, 0)" 4 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/fetch-request-css-images.https-expected.txt
r224132 r224218 1 1 2 FAIL Verify FetchEvent for css image (backgroundImage). assert_unreached: unexpected rejection: wait_for_state must be passed a ServiceWorker Reached unreachable code3 FAIL Verify FetchEvent for css image (shapeOutside). assert_unreached: unexpected rejection: wait_for_state must be passed a ServiceWorker Reached unreachable code4 FAIL Verify FetchEvent for css image-set (backgroundImage). assert_unreached: unexpected rejection: wait_for_state must be passed a ServiceWorker Reached unreachable code5 FAIL Verify FetchEvent for css image-set (shapeOutside). assert_unreached: unexpected rejection: wait_for_state must be passed a ServiceWorker Reached unreachable code6 2 3 FAIL Verify FetchEvent for css image (backgroundImage). assert_unreached: unexpected rejection: Passing MessagePort objects to postMessage is not yet supported Reached unreachable code 4 FAIL Verify FetchEvent for css image (shapeOutside). assert_unreached: unexpected rejection: Passing MessagePort objects to postMessage is not yet supported Reached unreachable code 5 FAIL Verify FetchEvent for css image-set (backgroundImage). assert_unreached: unexpected rejection: Passing MessagePort objects to postMessage is not yet supported Reached unreachable code 6 FAIL Verify FetchEvent for css image-set (shapeOutside). assert_unreached: unexpected rejection: Passing MessagePort objects to postMessage is not yet supported Reached unreachable code 7 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/fetch-request-fallback.https-expected.txt
r224132 r224218 1 CONSOLE MESSAGE: Origin https://localhost:9443 is not allowed by Access-Control-Allow-Origin. 2 CONSOLE MESSAGE: XMLHttpRequest cannot load https://127.0.0.1:9443/service-workers/service-worker/resources/fetch-access-control.py? due to access control checks. 3 CONSOLE MESSAGE: Origin https://localhost:9443 is not allowed by Access-Control-Allow-Origin. 4 CONSOLE MESSAGE: XMLHttpRequest cannot load https://127.0.0.1:9443/service-workers/service-worker/resources/fetch-access-control.py? due to access control checks. 5 CONSOLE MESSAGE: Origin https://localhost:9443 is not allowed by Access-Control-Allow-Origin. 6 CONSOLE MESSAGE: Cross-origin image load denied by Cross-Origin Resource Sharing policy. 7 CONSOLE MESSAGE: Origin https://localhost:9443 is not allowed by Access-Control-Allow-Origin. 8 CONSOLE MESSAGE: Cross-origin image load denied by Cross-Origin Resource Sharing policy. 1 9 2 FAIL initialize global state promise_test: Unhandled rejection with value: object "Error: wait_for_state must be passed a ServiceWorker" 3 FAIL The SW must intercept the request for a main resource. promise_test: Unhandled rejection with value: object "Error: wait_for_state must be passed a ServiceWorker" 4 FAIL The SW must intercept the request of same origin XHR. promise_test: Unhandled rejection with value: object "Error: wait_for_state must be passed a ServiceWorker" 5 FAIL The SW must intercept the request of CORS-unsupported other origin XHR. promise_test: Unhandled rejection with value: object "Error: wait_for_state must be passed a ServiceWorker" 6 FAIL The SW must intercept the request of CORS-supported other origin XHR. promise_test: Unhandled rejection with value: object "Error: wait_for_state must be passed a ServiceWorker" 7 FAIL The SW must intercept only the first request of redirected XHR. promise_test: Unhandled rejection with value: object "Error: wait_for_state must be passed a ServiceWorker" 8 FAIL The SW must intercept only the first request for XHR which is redirected to CORS-unsupported other origin. promise_test: Unhandled rejection with value: object "Error: wait_for_state must be passed a ServiceWorker" 9 FAIL The SW must intercept only the first request for XHR which is redirected to CORS-supported other origin. promise_test: Unhandled rejection with value: object "Error: wait_for_state must be passed a ServiceWorker" 10 FAIL The SW must intercept the request for image. promise_test: Unhandled rejection with value: object "Error: wait_for_state must be passed a ServiceWorker" 11 FAIL The SW must intercept the request for other origin image. promise_test: Unhandled rejection with value: object "Error: wait_for_state must be passed a ServiceWorker" 12 FAIL The SW must intercept the request for CORS-unsupported other origin image. promise_test: Unhandled rejection with value: object "Error: wait_for_state must be passed a ServiceWorker" 13 FAIL The SW must intercept the request for CORS-supported other origin image. promise_test: Unhandled rejection with value: object "Error: wait_for_state must be passed a ServiceWorker" 14 FAIL The SW must intercept only the first request for redirected image resource. promise_test: Unhandled rejection with value: object "Error: wait_for_state must be passed a ServiceWorker" 15 FAIL The SW must intercept only the first request for image resource which is redirected to other origin. promise_test: Unhandled rejection with value: object "Error: wait_for_state must be passed a ServiceWorker" 16 FAIL The SW must intercept only the first request for image resource which is redirected to CORS-unsupported other origin. promise_test: Unhandled rejection with value: object "Error: wait_for_state must be passed a ServiceWorker" 17 FAIL The SW must intercept only the first request for image resource which is redirected to CORS-supported other origin. promise_test: Unhandled rejection with value: object "Error: wait_for_state must be passed a ServiceWorker" 10 PASS initialize global state 11 FAIL The SW must intercept the request for a main resource. promise_test: Unhandled rejection with value: object "NotSupportedError: Passing MessagePort objects to postMessage is not yet supported" 12 FAIL The SW must intercept the request of same origin XHR. promise_test: Unhandled rejection with value: object "NotSupportedError: Passing MessagePort objects to postMessage is not yet supported" 13 FAIL The SW must intercept the request of CORS-unsupported other origin XHR. promise_test: Unhandled rejection with value: object "NotSupportedError: Passing MessagePort objects to postMessage is not yet supported" 14 FAIL The SW must intercept the request of CORS-supported other origin XHR. promise_test: Unhandled rejection with value: object "NotSupportedError: Passing MessagePort objects to postMessage is not yet supported" 15 FAIL The SW must intercept only the first request of redirected XHR. promise_test: Unhandled rejection with value: object "NotSupportedError: Passing MessagePort objects to postMessage is not yet supported" 16 FAIL The SW must intercept only the first request for XHR which is redirected to CORS-unsupported other origin. promise_test: Unhandled rejection with value: object "NotSupportedError: Passing MessagePort objects to postMessage is not yet supported" 17 FAIL The SW must intercept only the first request for XHR which is redirected to CORS-supported other origin. promise_test: Unhandled rejection with value: object "NotSupportedError: Passing MessagePort objects to postMessage is not yet supported" 18 FAIL The SW must intercept the request for image. promise_test: Unhandled rejection with value: object "NotSupportedError: Passing MessagePort objects to postMessage is not yet supported" 19 FAIL The SW must intercept the request for other origin image. promise_test: Unhandled rejection with value: object "NotSupportedError: Passing MessagePort objects to postMessage is not yet supported" 20 FAIL The SW must intercept the request for CORS-unsupported other origin image. promise_test: Unhandled rejection with value: object "NotSupportedError: Passing MessagePort objects to postMessage is not yet supported" 21 FAIL The SW must intercept the request for CORS-supported other origin image. promise_test: Unhandled rejection with value: object "NotSupportedError: Passing MessagePort objects to postMessage is not yet supported" 22 FAIL The SW must intercept only the first request for redirected image resource. promise_test: Unhandled rejection with value: object "NotSupportedError: Passing MessagePort objects to postMessage is not yet supported" 23 FAIL The SW must intercept only the first request for image resource which is redirected to other origin. promise_test: Unhandled rejection with value: object "NotSupportedError: Passing MessagePort objects to postMessage is not yet supported" 24 FAIL The SW must intercept only the first request for image resource which is redirected to CORS-unsupported other origin. promise_test: Unhandled rejection with value: object "NotSupportedError: Passing MessagePort objects to postMessage is not yet supported" 25 FAIL The SW must intercept only the first request for image resource which is redirected to CORS-supported other origin. promise_test: Unhandled rejection with value: object "NotSupportedError: Passing MessagePort objects to postMessage is not yet supported" 26 PASS restore global state 18 27 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/fetch-request-html-imports.https-expected.txt
r224132 r224218 1 1 2 FAIL Verify the FetchEvent for HTMLImports assert_unreached: unexpected rejection: wait_for_state must be passed a ServiceWorkerReached unreachable code2 FAIL Verify the FetchEvent for HTMLImports assert_unreached: unexpected rejection: undefined is not an object (evaluating 'same.getElementById') Reached unreachable code 3 3 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/fetch-request-no-freshness-headers.https-expected.txt
r224132 r224218 1 1 2 FAIL The headers of FetchEvent shouldn't contain freshness headers. assert_unreached: unexpected rejection: wait_for_state must be passed a ServiceWorker Reached unreachable code3 2 3 FAIL The headers of FetchEvent shouldn't contain freshness headers. assert_unreached: unexpected rejection: Passing MessagePort objects to postMessage is not yet supported Reached unreachable code 4 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/fetch-request-redirect.https-expected.txt
r224132 r224218 1 1 2 FAIL Verify redirect mode of Fetch API and ServiceWorker FetchEvent. promise_test: Unhandled rejection with value: object "Error: wait_for_state must be passed a ServiceWorker"3 FAIL Verify redirected of Response(Fetch API) and ServiceWorker FetchEvent. promise_test: Unhandled rejection with value: object "Error: wait_for_state must be passed a ServiceWorker"4 FAIL Verify redirected of Response(Fetch API), Cache API and ServiceWorker FetchEvent. promise_test: Unhandled rejection with value: object "Error: wait_for_state must be passed a ServiceWorker"5 2 3 FAIL Verify redirect mode of Fetch API and ServiceWorker FetchEvent. promise_test: Unhandled rejection with value: object "Error: Loading redirected image with Request.redirect=follow should succeed. - undefined" 4 FAIL Verify redirected of Response(Fetch API) and ServiceWorker FetchEvent. promise_test: Unhandled rejection with value: object "Error: Redirected XHR should be reject and response should be redirected with NO-CORS mode and redirect-mode=manual." 5 FAIL Verify redirected of Response(Fetch API), Cache API and ServiceWorker FetchEvent. promise_test: Unhandled rejection with value: object "Error: Redirected COS image should be reject and response should not be redirected with NO-CORS mode. - undefined" 6 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/fetch-request-resources.https-expected.txt
r224132 r224218 1 1 2 FAIL Verify FetchEvent for resources. assert_unreached: unexpected rejection: wait_for_state must be passed a ServiceWorkerReached unreachable code2 FAIL Verify FetchEvent for resources. assert_unreached: unexpected rejection: Passing MessagePort objects to postMessage is not yet supported Reached unreachable code 3 3 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/fetch-request-xhr-sync.https-expected.txt
r224132 r224218 1 1 2 FAIL Verify SyncXHR is intercepted promise_test: Unhandled rejection with value: object "Error: wait_for_state must be passed a ServiceWorker"2 FAIL Verify SyncXHR is intercepted assert_equals: HTTP response status code for intercepted request expected 200 but got 404 3 3 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/fetch-request-xhr.https-expected.txt
r224132 r224218 1 CONSOLE MESSAGE: Origin https://localhost:9443 is not allowed by Access-Control-Allow-Origin. 2 CONSOLE MESSAGE: XMLHttpRequest cannot load https://127.0.0.1:9443/dummy?test due to access control checks. 3 CONSOLE MESSAGE: Origin https://localhost:9443 is not allowed by Access-Control-Allow-Origin. 4 CONSOLE MESSAGE: XMLHttpRequest cannot load https://127.0.0.1:9443/dummy?test due to access control checks. 1 5 2 FAIL initialize global state promise_test: Unhandled rejection with value: object "Error: wait_for_state must be passed a ServiceWorker" 3 FAIL event.request has the expected headers for same-origin GET. undefined is not an object (evaluating 'frame.contentWindow')4 FAIL event.request has the expected headers for same-origin POST. undefined is not an object (evaluating 'frame.contentWindow')5 FAIL event.request has the expected headers for cross-origin GET. undefined is not an object (evaluating 'frame.contentWindow')6 FAIL event.request has the expected headers for cross-origin POST. undefined is not an object (evaluating 'frame.contentWindow')7 FAIL FetchEvent#request.body contains XHR request data (string) undefined is not an object (evaluating 'frame.contentWindow')8 FAIL FetchEvent#request.body contains XHR request data (blob) undefined is not an object (evaluating 'frame.contentWindow')9 FAIL FetchEvent#request.method is set to XHR method undefined is not an object (evaluating 'frame.contentWindow')10 FAIL XHR using OPTIONS method undefined is not an object (evaluating 'frame.contentWindow')11 FAIL XHR with form data undefined is not an object (evaluating 'frame.contentWindow')12 FAIL XHR with mode/credentials set undefined is not an object (evaluating 'frame.contentWindow')13 FAIL XHR to data URL undefined is not an object (evaluating 'frame.contentWindow') 6 PASS initialize global state 7 FAIL event.request has the expected headers for same-origin GET. promise_test: Unhandled rejection with value: object "TypeError: undefined is not an object (evaluating 'headers.length')" 8 FAIL event.request has the expected headers for same-origin POST. promise_test: Unhandled rejection with value: object "TypeError: undefined is not an object (evaluating 'headers.length')" 9 FAIL event.request has the expected headers for cross-origin GET. promise_test: Unhandled rejection with value: "XHR should succeed." 10 FAIL event.request has the expected headers for cross-origin POST. promise_test: Unhandled rejection with value: "XHR should succeed." 11 FAIL FetchEvent#request.body contains XHR request data (string) promise_test: Unhandled rejection with value: object "Error: assert_equals: expected (string) "POST" but got (undefined) undefined" 12 FAIL FetchEvent#request.body contains XHR request data (blob) promise_test: Unhandled rejection with value: object "Error: assert_equals: expected (string) "POST" but got (undefined) undefined" 13 FAIL FetchEvent#request.method is set to XHR method promise_test: Unhandled rejection with value: object "Error: assert_equals: expected (string) "XXX" but got (undefined) undefined" 14 FAIL XHR using OPTIONS method promise_test: Unhandled rejection with value: object "Error: assert_equals: expected (string) "OPTIONS" but got (undefined) undefined" 15 FAIL XHR with form data promise_test: Unhandled rejection with value: object "Error: assert_equals: expected (string) "POST" but got (undefined) undefined" 16 FAIL XHR with mode/credentials set promise_test: Unhandled rejection with value: object "Error: assert_equals: expected (string) "cors" but got (undefined) undefined" 17 PASS XHR to data URL 14 18 PASS restore global state 15 19 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/fetch-response-xhr.https-expected.txt
r224132 r224218 1 1 2 FAIL Verify the response of FetchEvent using XMLHttpRequest assert_ unreached: unexpected rejection: wait_for_state must be passed a ServiceWorker Reached unreachable code2 FAIL Verify the response of FetchEvent using XMLHttpRequest assert_equals: expected (string) "foo, bar" but got (object) null 3 3 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/fetch-waits-for-activate.https-expected.txt
r224132 r224218 1 1 2 FAIL Fetch events should wait for the activate event to complete. assert_unreached: unexpected rejection: wait_for_state must be passed a ServiceWorker Reached unreachable code3 2 3 FAIL Fetch events should wait for the activate event to complete. assert_unreached: unexpected rejection: assert_equals: frame should not be loaded expected (undefined) undefined but got (object) Element node <iframe class="test-iframe" src="resources/fetch-waits-fo... Reached unreachable code 4 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/foreign-fetch-cors.https-expected.txt
r224132 r224218 1 CONSOLE MESSAGE: Origin https://localhost:9443 is not allowed by Access-Control-Allow-Origin. 2 CONSOLE MESSAGE: Fetch API cannot load https://127.0.0.1:9443/service-workers/service-worker/resources/simple.txt?%7B%22cross_origin%22%3Afalse%2C%22with_aceheaders%22%3Afalse%2C%22with_acaorigin%22%3Afalse%7D. Origin https://localhost:9443 is not allowed by Access-Control-Allow-Origin. 3 CONSOLE MESSAGE: Origin https://localhost:9443 is not allowed by Access-Control-Allow-Origin. 4 CONSOLE MESSAGE: XMLHttpRequest cannot load https://127.0.0.1:9443/service-workers/service-worker/resources/simple.txt?%7B%22cross_origin%22%3Afalse%2C%22with_aceheaders%22%3Afalse%2C%22with_acaorigin%22%3Afalse%7D due to access control checks. 5 CONSOLE MESSAGE: Origin https://localhost:9443 is not allowed by Access-Control-Allow-Origin. 6 CONSOLE MESSAGE: Fetch API cannot load https://127.0.0.1:9443/service-workers/service-worker/resources/simple.txt?%7B%22cross_origin%22%3Afalse%2C%22with_aceheaders%22%3Afalse%2C%22with_acaorigin%22%3Afalse%7D. Origin https://localhost:9443 is not allowed by Access-Control-Allow-Origin. 7 CONSOLE MESSAGE: Origin https://localhost:9443 is not allowed by Access-Control-Allow-Origin. 8 CONSOLE MESSAGE: Fetch API cannot load https://127.0.0.1:9443/service-workers/service-worker/resources/simple.txt?%7B%22cross_origin%22%3Afalse%2C%22with_aceheaders%22%3Afalse%2C%22with_acaorigin%22%3Afalse%7D. Origin https://localhost:9443 is not allowed by Access-Control-Allow-Origin. 9 CONSOLE MESSAGE: Origin https://localhost:9443 is not allowed by Access-Control-Allow-Origin. 10 CONSOLE MESSAGE: Fetch API cannot load https://127.0.0.1:9443/service-workers/service-worker/resources/simple.txt?%7B%22cross_origin%22%3Afalse%2C%22with_aceheaders%22%3Afalse%2C%22with_acaorigin%22%3Afalse%7D. Origin https://localhost:9443 is not allowed by Access-Control-Allow-Origin. 11 CONSOLE MESSAGE: Origin https://localhost:9443 is not allowed by Access-Control-Allow-Origin. 12 CONSOLE MESSAGE: XMLHttpRequest cannot load https://127.0.0.1:9443/service-workers/service-worker/resources/simple.txt?%7B%22cross_origin%22%3Afalse%2C%22with_aceheaders%22%3Afalse%2C%22with_acaorigin%22%3Afalse%7D due to access control checks. 13 CONSOLE MESSAGE: Origin https://localhost:9443 is not allowed by Access-Control-Allow-Origin. 14 CONSOLE MESSAGE: Fetch API cannot load https://127.0.0.1:9443/service-workers/service-worker/resources/simple.txt?%7B%22cross_origin%22%3Afalse%2C%22with_aceheaders%22%3Atrue%2C%22with_acaorigin%22%3Atrue%7D. Origin https://localhost:9443 is not allowed by Access-Control-Allow-Origin. 15 CONSOLE MESSAGE: Origin https://localhost:9443 is not allowed by Access-Control-Allow-Origin. 16 CONSOLE MESSAGE: XMLHttpRequest cannot load https://127.0.0.1:9443/service-workers/service-worker/resources/simple.txt?%7B%22cross_origin%22%3Afalse%2C%22with_aceheaders%22%3Atrue%2C%22with_acaorigin%22%3Atrue%7D due to access control checks. 17 CONSOLE MESSAGE: Origin https://localhost:9443 is not allowed by Access-Control-Allow-Origin. 18 CONSOLE MESSAGE: Fetch API cannot load https://127.0.0.1:9443/service-workers/service-worker/resources/simple.txt?%7B%22cross_origin%22%3Afalse%2C%22with_aceheaders%22%3Atrue%2C%22with_acaorigin%22%3Atrue%7D. Origin https://localhost:9443 is not allowed by Access-Control-Allow-Origin. 19 CONSOLE MESSAGE: Origin https://localhost:9443 is not allowed by Access-Control-Allow-Origin. 20 CONSOLE MESSAGE: Fetch API cannot load https://127.0.0.1:9443/service-workers/service-worker/resources/simple.txt?%7B%22cross_origin%22%3Afalse%2C%22with_aceheaders%22%3Atrue%2C%22with_acaorigin%22%3Atrue%7D. Origin https://localhost:9443 is not allowed by Access-Control-Allow-Origin. 21 CONSOLE MESSAGE: Origin https://localhost:9443 is not allowed by Access-Control-Allow-Origin. 22 CONSOLE MESSAGE: Fetch API cannot load https://127.0.0.1:9443/service-workers/service-worker/resources/simple.txt?%7B%22cross_origin%22%3Afalse%2C%22with_aceheaders%22%3Atrue%2C%22with_acaorigin%22%3Atrue%7D. Origin https://localhost:9443 is not allowed by Access-Control-Allow-Origin. 23 CONSOLE MESSAGE: Origin https://localhost:9443 is not allowed by Access-Control-Allow-Origin. 24 CONSOLE MESSAGE: XMLHttpRequest cannot load https://127.0.0.1:9443/service-workers/service-worker/resources/simple.txt?%7B%22cross_origin%22%3Afalse%2C%22with_aceheaders%22%3Atrue%2C%22with_acaorigin%22%3Atrue%7D due to access control checks. 25 CONSOLE MESSAGE: Origin https://localhost:9443 is not allowed by Access-Control-Allow-Origin. 26 CONSOLE MESSAGE: Fetch API cannot load https://127.0.0.1:9443/service-workers/service-worker/resources/simple.txt?%7B%22cross_origin%22%3Atrue%2C%22with_aceheaders%22%3Afalse%2C%22with_acaorigin%22%3Afalse%7D. Origin https://localhost:9443 is not allowed by Access-Control-Allow-Origin. 27 CONSOLE MESSAGE: Origin https://localhost:9443 is not allowed by Access-Control-Allow-Origin. 28 CONSOLE MESSAGE: XMLHttpRequest cannot load https://127.0.0.1:9443/service-workers/service-worker/resources/simple.txt?%7B%22cross_origin%22%3Atrue%2C%22with_aceheaders%22%3Afalse%2C%22with_acaorigin%22%3Afalse%7D due to access control checks. 29 CONSOLE MESSAGE: Origin https://localhost:9443 is not allowed by Access-Control-Allow-Origin. 30 CONSOLE MESSAGE: Fetch API cannot load https://127.0.0.1:9443/service-workers/service-worker/resources/simple.txt?%7B%22cross_origin%22%3Atrue%2C%22with_aceheaders%22%3Atrue%2C%22with_acaorigin%22%3Atrue%7D. Origin https://localhost:9443 is not allowed by Access-Control-Allow-Origin. 31 CONSOLE MESSAGE: Origin https://localhost:9443 is not allowed by Access-Control-Allow-Origin. 32 CONSOLE MESSAGE: XMLHttpRequest cannot load https://127.0.0.1:9443/service-workers/service-worker/resources/simple.txt?%7B%22cross_origin%22%3Atrue%2C%22with_aceheaders%22%3Atrue%2C%22with_acaorigin%22%3Atrue%7D due to access control checks. 33 CONSOLE MESSAGE: Origin https://localhost:9443 is not allowed by Access-Control-Allow-Origin. 34 CONSOLE MESSAGE: Fetch API cannot load https://127.0.0.1:9443/service-workers/service-worker/resources/simple.txt?%7B%22cross_origin%22%3Atrue%2C%22with_aceheaders%22%3Atrue%2C%22with_acaorigin%22%3Atrue%7D. Origin https://localhost:9443 is not allowed by Access-Control-Allow-Origin. 35 CONSOLE MESSAGE: Origin https://localhost:9443 is not allowed by Access-Control-Allow-Origin. 36 CONSOLE MESSAGE: Fetch API cannot load https://127.0.0.1:9443/service-workers/service-worker/resources/simple.txt?%7B%22cross_origin%22%3Atrue%2C%22with_aceheaders%22%3Atrue%2C%22with_acaorigin%22%3Atrue%7D. Origin https://localhost:9443 is not allowed by Access-Control-Allow-Origin. 37 CONSOLE MESSAGE: Origin https://localhost:9443 is not allowed by Access-Control-Allow-Origin. 38 CONSOLE MESSAGE: Fetch API cannot load https://127.0.0.1:9443/service-workers/service-worker/resources/simple.txt?%7B%22cross_origin%22%3Atrue%2C%22with_aceheaders%22%3Atrue%2C%22with_acaorigin%22%3Atrue%7D. Origin https://localhost:9443 is not allowed by Access-Control-Allow-Origin. 39 CONSOLE MESSAGE: Origin https://localhost:9443 is not allowed by Access-Control-Allow-Origin. 40 CONSOLE MESSAGE: XMLHttpRequest cannot load https://127.0.0.1:9443/service-workers/service-worker/resources/simple.txt?%7B%22cross_origin%22%3Atrue%2C%22with_aceheaders%22%3Atrue%2C%22with_acaorigin%22%3Atrue%7D due to access control checks. 41 CONSOLE MESSAGE: Origin https://localhost:9443 is not allowed by Access-Control-Allow-Origin. 42 CONSOLE MESSAGE: Fetch API cannot load https://127.0.0.1:9443/service-workers/service-worker/resources/simple.txt?%7B%22cross_origin%22%3Atrue%2C%22with_aceheaders%22%3Afalse%2C%22with_acaorigin%22%3Atrue%7D. Origin https://localhost:9443 is not allowed by Access-Control-Allow-Origin. 43 CONSOLE MESSAGE: Origin https://localhost:9443 is not allowed by Access-Control-Allow-Origin. 44 CONSOLE MESSAGE: XMLHttpRequest cannot load https://127.0.0.1:9443/service-workers/service-worker/resources/simple.txt?%7B%22cross_origin%22%3Atrue%2C%22with_aceheaders%22%3Afalse%2C%22with_acaorigin%22%3Atrue%7D due to access control checks. 45 CONSOLE MESSAGE: Origin https://localhost:9443 is not allowed by Access-Control-Allow-Origin. 46 CONSOLE MESSAGE: Fetch API cannot load https://127.0.0.1:9443/service-workers/service-worker/resources/simple.txt?%7B%22cross_origin%22%3Atrue%2C%22with_aceheaders%22%3Afalse%2C%22with_acaorigin%22%3Atrue%7D. Origin https://localhost:9443 is not allowed by Access-Control-Allow-Origin. 47 CONSOLE MESSAGE: Origin https://localhost:9443 is not allowed by Access-Control-Allow-Origin. 48 CONSOLE MESSAGE: Fetch API cannot load https://127.0.0.1:9443/service-workers/service-worker/resources/simple.txt?%7B%22cross_origin%22%3Atrue%2C%22with_aceheaders%22%3Afalse%2C%22with_acaorigin%22%3Atrue%7D. Origin https://localhost:9443 is not allowed by Access-Control-Allow-Origin. 1 49 2 50 3 FAIL Same origin fetch without CORS headers, not exposed promise_test: Unhandled rejection with value: "failure:TypeError: null is not an object (evaluating 'worker.addEventListener')" 4 FAIL Same origin fetch without CORS headers, only origin exposed promise_test: Unhandled rejection with value: "failure:TypeError: null is not an object (evaluating 'worker.addEventListener')"5 FAIL Same origin fetch without CORS headers, headers and origin exposed promise_test: Unhandled rejection with value: "failure:TypeError: null is not an object (evaluating 'worker.addEventListener')"6 FAIL Same origin fetch without CORS headers, exposed to wrong origin promise_test: Unhandled rejection with value: "failure:TypeError: null is not an object (evaluating 'worker.addEventListener')"7 FAIL Same origin fetch with CORS headers, not exposed promise_test: Unhandled rejection with value: "failure:TypeError: null is not an object (evaluating 'worker.addEventListener')" 8 FAIL Same origin fetch with CORS headers, only origin exposed promise_test: Unhandled rejection with value: "failure:TypeError: null is not an object (evaluating 'worker.addEventListener')"9 FAIL Same origin fetch with CORS headers, headers and origin exposed promise_test: Unhandled rejection with value: "failure:TypeError: null is not an object (evaluating 'worker.addEventListener')"10 FAIL Same origin fetch with CORS headers, exposed to wrong origin promise_test: Unhandled rejection with value: "failure:TypeError: null is not an object (evaluating 'worker.addEventListener')"11 FAIL Cross origin fetch without CORS headers, not exposed promise_test: Unhandled rejection with value: "failure:TypeError: null is not an object (evaluating 'worker.addEventListener')" 12 FAIL Cross origin fetch with ACEHeaders header, not exposed promise_test: Unhandled rejection with value: "failure:TypeError: null is not an object (evaluating 'worker.addEventListener')" 13 FAIL Cross origin fetch with ACEHeaders header, only origin exposed promise_test: Unhandled rejection with value: "failure:TypeError: null is not an object (evaluating 'worker.addEventListener')"14 FAIL Cross origin fetch with ACEHeaders header, headers and origin exposed promise_test: Unhandled rejection with value: "failure:TypeError: null is not an object (evaluating 'worker.addEventListener')"15 FAIL Cross origin fetch with ACEHeaders header, exposed to wrong origin promise_test: Unhandled rejection with value: "failure:TypeError: null is not an object (evaluating 'worker.addEventListener')"16 FAIL Cross origin fetch without ACEHeaders header, not exposed promise_test: Unhandled rejection with value: "failure:TypeError: null is not an object (evaluating 'worker.addEventListener')" 17 FAIL Cross origin fetch without ACEHeaders header, only origin exposed promise_test: Unhandled rejection with value: "failure:TypeError: null is not an object (evaluating 'worker.addEventListener')"18 FAIL Cross origin fetch without ACEHeaders header, headers and origin exposed promise_test: Unhandled rejection with value: "failure:TypeError: null is not an object (evaluating 'worker.addEventListener')"51 PASS Same origin fetch without CORS headers, not exposed 52 FAIL Same origin fetch without CORS headers, only origin exposed promise_test: Unhandled rejection with value: object "TypeError: Origin https://localhost:9443 is not allowed by Access-Control-Allow-Origin." 53 FAIL Same origin fetch without CORS headers, headers and origin exposed promise_test: Unhandled rejection with value: object "TypeError: Origin https://localhost:9443 is not allowed by Access-Control-Allow-Origin." 54 FAIL Same origin fetch without CORS headers, exposed to wrong origin assert_unreached: Should have rejected: undefined Reached unreachable code 55 PASS Same origin fetch with CORS headers, not exposed 56 FAIL Same origin fetch with CORS headers, only origin exposed promise_test: Unhandled rejection with value: object "TypeError: Origin https://localhost:9443 is not allowed by Access-Control-Allow-Origin." 57 FAIL Same origin fetch with CORS headers, headers and origin exposed promise_test: Unhandled rejection with value: object "TypeError: Origin https://localhost:9443 is not allowed by Access-Control-Allow-Origin." 58 FAIL Same origin fetch with CORS headers, exposed to wrong origin assert_unreached: Should have rejected: undefined Reached unreachable code 59 PASS Cross origin fetch without CORS headers, not exposed 60 PASS Cross origin fetch with ACEHeaders header, not exposed 61 FAIL Cross origin fetch with ACEHeaders header, only origin exposed promise_test: Unhandled rejection with value: object "TypeError: Origin https://localhost:9443 is not allowed by Access-Control-Allow-Origin." 62 FAIL Cross origin fetch with ACEHeaders header, headers and origin exposed promise_test: Unhandled rejection with value: object "TypeError: Origin https://localhost:9443 is not allowed by Access-Control-Allow-Origin." 63 FAIL Cross origin fetch with ACEHeaders header, exposed to wrong origin assert_unreached: Should have rejected: undefined Reached unreachable code 64 PASS Cross origin fetch without ACEHeaders header, not exposed 65 FAIL Cross origin fetch without ACEHeaders header, only origin exposed promise_test: Unhandled rejection with value: object "TypeError: Origin https://localhost:9443 is not allowed by Access-Control-Allow-Origin." 66 FAIL Cross origin fetch without ACEHeaders header, headers and origin exposed promise_test: Unhandled rejection with value: object "TypeError: Origin https://localhost:9443 is not allowed by Access-Control-Allow-Origin." 19 67 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/getregistrations.https-expected.txt
r224132 r224218 4 4 FAIL Register multiple times then getRegistrations assert_array_equals: getRegistrations should resolve with array of registrations. lengths differ, expected 2 got 0 5 5 PASS Register then Unregister then getRegistrations 6 FAIL Register then Unregister with controlled frame then getRegistrations promise_test: Unhandled rejection with value: object "Error: wait_for_state must be passed a ServiceWorker" 6 PASS Register then Unregister with controlled frame then getRegistrations 7 7 FAIL getRegistrations promise resolves only with same origin registrations. assert_array_equals: getRegistrations should only return same origin registrations. lengths differ, expected 1 got 0 8 8 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/immutable-prototype-serviceworker.https-expected.txt
r224132 r224218 1 1 2 FAIL worker prototype chain should be immutable promise_test: Unhandled rejection with value: object " TypeError: null is not an object (evaluating 'worker.postMessage')"2 FAIL worker prototype chain should be immutable promise_test: Unhandled rejection with value: object "NotSupportedError: Passing MessagePort objects to postMessage is not yet supported" 3 3 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/import-scripts-redirect.https-expected.txt
r224166 r224218 1 1 2 FAIL importScripts() supports redirects assert_not_equals: worker is installing got disallowed value null 3 FAIL importScripts() supports redirects and can be updated assert_not_equals: worker is installing got disallowed value null2 PASS importScripts() supports redirects 3 FAIL importScripts() supports redirects and can be updated promise_test: Unhandled rejection with value: object "NotSupportedError: ServiceWorkerRegistration::update not yet implemented" 4 4 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/import-scripts-updated-flag.https-expected.txt
r224132 r224218 1 1 2 FAIL initialize global state promise_test: Unhandled rejection with value: object "Error: wait_for_state must be passed a ServiceWorker" 3 FAIL import script previously imported at worker evaluation time promise_test: Unhandled rejection with value: object "Error: wait_for_state must be passed a ServiceWorker" 4 FAIL import script previously imported at worker install time promise_test: Unhandled rejection with value: object "Error: wait_for_state must be passed a ServiceWorker" 5 FAIL import script not previously imported promise_test: Unhandled rejection with value: object "Error: wait_for_state must be passed a ServiceWorker" 2 Harness Error (TIMEOUT), message = null 6 3 4 PASS initialize global state 5 TIMEOUT import script previously imported at worker evaluation time Test timed out 6 NOTRUN import script previously imported at worker install time 7 NOTRUN import script not previously imported 8 NOTRUN Tests for importScripts: import scripts updated flag 9 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/indexeddb.https-expected.txt
r224132 r224218 1 1 2 FAIL Verify Indexed DB operation in a Service Worker promise_test: Unhandled rejection with value: object " TypeError: null is not an object (evaluating 'worker.postMessage')"2 FAIL Verify Indexed DB operation in a Service Worker promise_test: Unhandled rejection with value: object "NotSupportedError: Passing MessagePort objects to postMessage is not yet supported" 3 3 PASS clean up: registration 4 4 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/install-event-type.https-expected.txt
r224132 r224218 1 1 2 FAIL install event type promise_test: Unhandled rejection with value: object "TypeError: null is not an object (evaluating 'worker.addEventListener')" 2 PASS install event type 3 3 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/installing.https-expected.txt
r224132 r224218 1 1 2 PASS installing is set 2 3 3 FAIL installing is set null is not an object (evaluating 'registration.installing.scriptURL')4 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/interfaces-window.https-expected.txt
r224132 r224218 16 16 PASS ServiceWorker interface: operation postMessage(any, [object Object]) 17 17 PASS ServiceWorker interface: attribute onstatechange 18 FAIL Stringification of window.registrationInstance.installing assert_equals: class string of window.registrationInstance.installing expected "[object ServiceWorker]" but got "[object Null]" 19 FAIL ServiceWorker interface: window.registrationInstance.installing must inherit property "scriptURL" with the proper type object is not an Object. (evaluating '"hasOwnProperty" in object') 20 FAIL ServiceWorker interface: window.registrationInstance.installing must inherit property "state" with the proper type object is not an Object. (evaluating '"hasOwnProperty" in object') 21 FAIL ServiceWorker interface: window.registrationInstance.installing must inherit property "postMessage(any, [object Object])" with the proper type object is not an Object. (evaluating '"hasOwnProperty" in object') 22 FAIL ServiceWorker interface: calling postMessage(any, [object Object]) on window.registrationInstance.installing with too few arguments must throw TypeError object is not an Object. (evaluating '"hasOwnProperty" in object') 23 FAIL ServiceWorker interface: window.registrationInstance.installing must inherit property "onstatechange" with the proper type object is not an Object. (evaluating '"hasOwnProperty" in object') 24 FAIL EventTarget interface: window.registrationInstance.installing must inherit property "addEventListener(DOMString, EventListener, [object Object],[object Object])" with the proper type object is not an Object. (evaluating '"hasOwnProperty" in object') 25 FAIL EventTarget interface: calling addEventListener(DOMString, EventListener, [object Object],[object Object]) on window.registrationInstance.installing with too few arguments must throw TypeError object is not an Object. (evaluating '"hasOwnProperty" in object') 26 FAIL EventTarget interface: window.registrationInstance.installing must inherit property "removeEventListener(DOMString, EventListener, [object Object],[object Object])" with the proper type object is not an Object. (evaluating '"hasOwnProperty" in object') 27 FAIL EventTarget interface: calling removeEventListener(DOMString, EventListener, [object Object],[object Object]) on window.registrationInstance.installing with too few arguments must throw TypeError object is not an Object. (evaluating '"hasOwnProperty" in object') 28 FAIL EventTarget interface: window.registrationInstance.installing must inherit property "dispatchEvent(Event)" with the proper type object is not an Object. (evaluating '"hasOwnProperty" in object') 29 FAIL EventTarget interface: calling dispatchEvent(Event) on window.registrationInstance.installing with too few arguments must throw TypeError object is not an Object. (evaluating '"hasOwnProperty" in object') 18 PASS ServiceWorker must be primary interface of window.registrationInstance.installing 19 PASS Stringification of window.registrationInstance.installing 20 PASS ServiceWorker interface: window.registrationInstance.installing must inherit property "scriptURL" with the proper type 21 PASS ServiceWorker interface: window.registrationInstance.installing must inherit property "state" with the proper type 22 PASS ServiceWorker interface: window.registrationInstance.installing must inherit property "postMessage(any, [object Object])" with the proper type 23 PASS ServiceWorker interface: calling postMessage(any, [object Object]) on window.registrationInstance.installing with too few arguments must throw TypeError 24 PASS ServiceWorker interface: window.registrationInstance.installing must inherit property "onstatechange" with the proper type 25 PASS EventTarget interface: window.registrationInstance.installing must inherit property "addEventListener(DOMString, EventListener, [object Object],[object Object])" with the proper type 26 PASS EventTarget interface: calling addEventListener(DOMString, EventListener, [object Object],[object Object]) on window.registrationInstance.installing with too few arguments must throw TypeError 27 PASS EventTarget interface: window.registrationInstance.installing must inherit property "removeEventListener(DOMString, EventListener, [object Object],[object Object])" with the proper type 28 PASS EventTarget interface: calling removeEventListener(DOMString, EventListener, [object Object],[object Object]) on window.registrationInstance.installing with too few arguments must throw TypeError 29 PASS EventTarget interface: window.registrationInstance.installing must inherit property "dispatchEvent(Event)" with the proper type 30 PASS EventTarget interface: calling dispatchEvent(Event) on window.registrationInstance.installing with too few arguments must throw TypeError 30 31 PASS ServiceWorkerRegistration interface: existence and properties of interface object 31 32 PASS ServiceWorkerRegistration interface object length -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/invalid-blobtype.https-expected.txt
r224132 r224218 1 1 2 FAIL Verify the response of FetchEvent using XMLHttpRequest assert_unreached: unexpected rejection: wait_for_state must be passed a ServiceWorker Reached unreachable code3 2 3 FAIL Verify the response of FetchEvent using XMLHttpRequest assert_equals: expected "finish" but got "failure:Content-Type must be null." 4 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/invalid-header.https-expected.txt
r224132 r224218 1 1 2 FAIL Verify the response of FetchEvent using XMLHttpRequest assert_unreached: unexpected rejection: wait_for_state must be passed a ServiceWorker Reached unreachable code3 2 3 FAIL Verify the response of FetchEvent using XMLHttpRequest assert_equals: expected "finish" but got "failure:XHR must fail." 4 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/iso-latin1-header.https-expected.txt
r224132 r224218 1 1 2 FAIL Verify the response of FetchEvent using XMLHttpRequest assert_unreached: unexpected rejection: wait_for_state must be passed a ServiceWorker Reached unreachable code 2 PASS Verify the response of FetchEvent using XMLHttpRequest 3 3 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/mime-sniffing.https-expected.txt
r224166 r224218 1 1 2 FAIL The response from service worker should be correctly MIME siniffed. promise_test: Unhandled rejection with value: object "Error: wait_for_state must be passed a ServiceWorker"2 FAIL The response from service worker should be correctly MIME siniffed. assert_equals: expected "test" but got "" 3 3 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/multi-globals/url-parsing.https-expected.txt
r224132 r224218 1 1 2 2 3 FAIL register should use the relevant global of the object it was called on to resolve the script URL and the default scope URL promise_test: Unhandled rejection with value: object "Error: wait_for_state must be passed a ServiceWorker" 4 FAIL register should use the relevant global of the object it was called on to resolve the script URL and the given scope URL promise_test: Unhandled rejection with value: object "Error: wait_for_state must be passed a ServiceWorker"3 PASS register should use the relevant global of the object it was called on to resolve the script URL and the default scope URL 4 FAIL register should use the relevant global of the object it was called on to resolve the script URL and the given scope URL assert_equals: the given scope URL should be parsed against the relevant global expected "https://localhost:9443/service-workers/service-worker/multi-globals/relevant/scope" but got "https://localhost:9443/service-workers/service-worker/multi-globals/relevant/" 5 5 FAIL getRegistration should use the relevant global of the object it was called on to resolve the script URL assert_not_equals: the registration from the other frame should not be null got disallowed value null 6 6 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/multiple-register.https-expected.txt
r224132 r224218 1 1 2 FAIL Subsequent registrations resolve to the same registration object assert_unreached: unexpected rejection: wait_for_state must be passed a ServiceWorker Reached unreachable code 3 FAIL Subsequent registrations from a different iframe resolve to the different registration object but they refer to the same registration and workers assert_unreached: unexpected rejection: wait_for_state must be passed a ServiceWorker Reached unreachable code 2 3 FAIL Subsequent registrations resolve to the same registration object assert_unreached: unexpected rejection: assert_equals: register should resolve to the same registration expected object "[object ServiceWorkerRegistration]" but got object "[object ServiceWorkerRegistration]" Reached unreachable code 4 FAIL Subsequent registrations from a different iframe resolve to the different registration object but they refer to the same registration and workers assert_unreached: unexpected rejection: assert_equals: registrations should have the same scope expected "https://localhost:9443/service-workers/service-worker/resources/scope/subsequent-register-from-different-iframe" but got "https://localhost:9443/service-workers/service-worker/resources/scope/subsequent-register-from-same-window" Reached unreachable code 4 5 FAIL Concurrent registrations resolve to the same registration object assert_unreached: unexpected rejection: assert_equals: register should resolve to the same registration expected object "[object ServiceWorkerRegistration]" but got object "[object ServiceWorkerRegistration]" Reached unreachable code 5 6 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/multiple-update.https-expected.txt
r224132 r224218 1 1 2 FAIL Trigger multiple updates. promise_test: Unhandled rejection with value: object " Error: wait_for_state must be passed a ServiceWorker"2 FAIL Trigger multiple updates. promise_test: Unhandled rejection with value: object "NotSupportedError: ServiceWorkerRegistration::update not yet implemented" 3 3 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/navigate-window.https-expected.txt
r224132 r224218 1 1 2 FAIL Clients.matchAll() should not show an old window as controlled after it navigates. assert_unreached: unexpected rejection: wait_for_state must be passed a ServiceWorkerReached unreachable code3 FAIL Clients.matchAll() should not show an old window after it navigates. assert_unreached: unexpected rejection: wait_for_state must be passed a ServiceWorkerReached unreachable code2 FAIL Clients.matchAll() should not show an old window as controlled after it navigates. assert_unreached: unexpected rejection: null is not an object (evaluating 'reg.active') Reached unreachable code 3 FAIL Clients.matchAll() should not show an old window after it navigates. assert_unreached: unexpected rejection: null is not an object (evaluating 'reg.active') Reached unreachable code 4 4 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/navigation-preload/broken-chunked-encoding.https-expected.txt
r224132 r224218 1 1 2 FAIL Navigation Preload with broken chunked encoding must fail. promise_test: Unhandled rejection with value: object "Error: wait_for_state must be passed a ServiceWorker"3 2 3 Harness Error (TIMEOUT), message = null 4 5 TIMEOUT Navigation Preload with broken chunked encoding must fail. Test timed out 6 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/navigation-preload/chunked-encoding.https-expected.txt
r224132 r224218 1 1 2 FAIL Navigation Preload must work with chunked encoding. promise_test: Unhandled rejection with value: object "Error: wait_for_state must be passed a ServiceWorker"3 2 3 PASS Navigation Preload must work with chunked encoding. 4 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/navigation-preload/empty-preload-response-body.https-expected.txt
r224132 r224218 1 1 2 FAIL Navigation Preload empty response body. promise_test: Unhandled rejection with value: object "Error: wait_for_state must be passed a ServiceWorker"3 2 3 FAIL Navigation Preload empty response body. assert_equals: expected "[]" but got "{\"error\": {\"message\": \"\", \"code\": 404}}" 4 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/navigation-preload/get-state.https-expected.txt
r224132 r224218 1 1 2 FAIL getState promise_test: Unhandled rejection with value: object "Error: wait_for_state must be passed a ServiceWorker" 3 FAIL getState from a worker promise_test: Unhandled rejection with value: object "Error: wait_for_state must be passed a ServiceWorker" 4 FAIL no active worker promise_test: Unhandled rejection with value: object "TypeError: undefined is not an object (evaluating 'np.enable')" 2 Harness Error (TIMEOUT), message = null 5 3 4 FAIL getState promise_test: Unhandled rejection with value: object "TypeError: undefined is not an object (evaluating 'np.getState')" 5 TIMEOUT getState from a worker Test timed out 6 NOTRUN no active worker 7 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/navigation-preload/redirect.https-expected.txt
r224132 r224218 1 1 2 FAIL Navigation Preload redirect response. promise_test: Unhandled rejection with value: object "Error: wait_for_state must be passed a ServiceWorker"3 FAIL Navigation Preload no-location redirect response. promise_test: Unhandled rejection with value: object "Error: wait_for_state must be passed a ServiceWorker"4 FAIL Navigation Preload no-location redirect response with body. promise_test: Unhandled rejection with value: object "Error: wait_for_state must be passed a ServiceWorker"5 FAIL Navigation Preload redirect to the same scope. promise_test: Unhandled rejection with value: object "Error: wait_for_state must be passed a ServiceWorker"6 2 3 Harness Error (TIMEOUT), message = null 4 5 TIMEOUT Navigation Preload redirect response. Test timed out 6 NOTRUN Navigation Preload no-location redirect response. 7 NOTRUN Navigation Preload no-location redirect response with body. 8 NOTRUN Navigation Preload redirect to the same scope. 9 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/navigation-preload/request-headers.https-expected.txt
r224132 r224218 1 1 2 FAIL Navigation Preload request headers. promise_test: Unhandled rejection with value: object "Error: wait_for_state must be passed a ServiceWorker"3 2 3 FAIL Navigation Preload request headers. assert_true: The Navigation Preload request must specify a "Service-Worker-Navigation-Preload" header. expected true got false 4 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/navigation-preload/resource-timing.https-expected.txt
r224132 r224218 1 1 2 FAIL Navigation Preload Resource Timing. promise_test: Unhandled rejection with value: object "Error: wait_for_state must be passed a ServiceWorker"3 2 3 FAIL Navigation Preload Resource Timing. promise_test: Unhandled rejection with value: object "SyntaxError: JSON Parse error: Unexpected identifier "This"" 4 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/navigation-redirect-body.https-expected.txt
r224132 r224218 1 1 2 FAIL Navigation redirection must clear body promise_test: Unhandled rejection with value: object "Error: wait_for_state must be passed a ServiceWorker" 2 PASS Navigation redirection must clear body 3 3 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/navigation-redirect.https-expected.txt
r224132 r224218 1 CONSOLE MESSAGE: Unhandled Promise Rejection: TypeError: null is not an object (evaluating 'worker.addEventListener')1 CONSOLE MESSAGE: line 126: TypeError: resolve is not a function. (In 'resolve(e.data.result)', 'resolve' is undefined) 2 2 3 3 4 FAIL Normal redirect to same-origin scope. promise_test: Unhandled rejection with value: object " Error: wait_for_state must be passed a ServiceWorker"5 FAIL Normal redirect to other-origin scope. promise_test: Unhandled rejection with value: object " Error: wait_for_state must be passed a ServiceWorker"6 FAIL SW-fallbacked redirect to same-origin out-scope. promise_test: Unhandled rejection with value: object " Error: wait_for_state must be passed a ServiceWorker"7 FAIL SW-fallbacked redirect to same-origin same-scope. promise_test: Unhandled rejection with value: object " Error: wait_for_state must be passed a ServiceWorker"8 FAIL SW-fallbacked redirect to same-origin other-scope. promise_test: Unhandled rejection with value: object " Error: wait_for_state must be passed a ServiceWorker"9 FAIL SW-fallbacked redirect to other-origin out-scope. promise_test: Unhandled rejection with value: object " Error: wait_for_state must be passed a ServiceWorker"10 FAIL SW-fallbacked redirect to other-origin in-scope. promise_test: Unhandled rejection with value: object " Error: wait_for_state must be passed a ServiceWorker"11 FAIL SW-generated redirect to same-origin out-scope. promise_test: Unhandled rejection with value: object " Error: wait_for_state must be passed a ServiceWorker"12 FAIL SW-generated redirect to same-origin same-scope. promise_test: Unhandled rejection with value: object " Error: wait_for_state must be passed a ServiceWorker"13 FAIL SW-generated redirect to same-origin other-scope. promise_test: Unhandled rejection with value: object " Error: wait_for_state must be passed a ServiceWorker"14 FAIL SW-generated redirect to other-origin out-scope. promise_test: Unhandled rejection with value: object " Error: wait_for_state must be passed a ServiceWorker"15 FAIL SW-generated redirect to other-origin in-scope. promise_test: Unhandled rejection with value: object " Error: wait_for_state must be passed a ServiceWorker"16 FAIL SW-fetched redirect to same-origin out-scope. promise_test: Unhandled rejection with value: object " Error: wait_for_state must be passed a ServiceWorker"17 FAIL SW-fetched redirect to same-origin same-scope. promise_test: Unhandled rejection with value: object " Error: wait_for_state must be passed a ServiceWorker"18 FAIL SW-fetched redirect to same-origin other-scope. promise_test: Unhandled rejection with value: object " Error: wait_for_state must be passed a ServiceWorker"19 FAIL SW-fetched redirect to other-origin out-scope. promise_test: Unhandled rejection with value: object " Error: wait_for_state must be passed a ServiceWorker"20 FAIL SW-fetched redirect to other-origin in-scope. promise_test: Unhandled rejection with value: object " Error: wait_for_state must be passed a ServiceWorker"21 FAIL Redirect to same-origin out-scope with opaque redirect response. promise_test: Unhandled rejection with value: object " Error: wait_for_state must be passed a ServiceWorker"22 FAIL Redirect to same-origin same-scope with opaque redirect response. promise_test: Unhandled rejection with value: object " Error: wait_for_state must be passed a ServiceWorker"23 FAIL Redirect to same-origin other-scope with opaque redirect response. promise_test: Unhandled rejection with value: object " Error: wait_for_state must be passed a ServiceWorker"24 FAIL Redirect to other-origin out-scope with opaque redirect response. promise_test: Unhandled rejection with value: object " Error: wait_for_state must be passed a ServiceWorker"25 FAIL Redirect to other-origin in-scope with opaque redirect response. promise_test: Unhandled rejection with value: object " Error: wait_for_state must be passed a ServiceWorker"26 FAIL No location redirect response. promise_test: Unhandled rejection with value: object " Error: wait_for_state must be passed a ServiceWorker"27 FAIL Redirect to same-origin out-scope with opaque redirect response which is passed through Cache. promise_test: Unhandled rejection with value: object " Error: wait_for_state must be passed a ServiceWorker"28 FAIL Redirect to same-origin same-scope with opaque redirect response which is passed through Cache. promise_test: Unhandled rejection with value: object " Error: wait_for_state must be passed a ServiceWorker"29 FAIL Redirect to same-origin other-scope with opaque redirect response which is passed through Cache. promise_test: Unhandled rejection with value: object " Error: wait_for_state must be passed a ServiceWorker"30 FAIL Redirect to other-origin out-scope with opaque redirect response which is passed through Cache. promise_test: Unhandled rejection with value: object " Error: wait_for_state must be passed a ServiceWorker"31 FAIL Redirect to other-origin in-scope with opaque redirect response which is passed through Cache. promise_test: Unhandled rejection with value: object " Error: wait_for_state must be passed a ServiceWorker"32 FAIL No location redirect response via Cache. promise_test: Unhandled rejection with value: object " Error: wait_for_state must be passed a ServiceWorker"4 FAIL Normal redirect to same-origin scope. promise_test: Unhandled rejection with value: object "NotSupportedError: Passing MessagePort objects to postMessage is not yet supported" 5 FAIL Normal redirect to other-origin scope. promise_test: Unhandled rejection with value: object "NotSupportedError: Passing MessagePort objects to postMessage is not yet supported" 6 FAIL SW-fallbacked redirect to same-origin out-scope. promise_test: Unhandled rejection with value: object "NotSupportedError: Passing MessagePort objects to postMessage is not yet supported" 7 FAIL SW-fallbacked redirect to same-origin same-scope. promise_test: Unhandled rejection with value: object "NotSupportedError: Passing MessagePort objects to postMessage is not yet supported" 8 FAIL SW-fallbacked redirect to same-origin other-scope. promise_test: Unhandled rejection with value: object "NotSupportedError: Passing MessagePort objects to postMessage is not yet supported" 9 FAIL SW-fallbacked redirect to other-origin out-scope. promise_test: Unhandled rejection with value: object "NotSupportedError: Passing MessagePort objects to postMessage is not yet supported" 10 FAIL SW-fallbacked redirect to other-origin in-scope. promise_test: Unhandled rejection with value: object "NotSupportedError: Passing MessagePort objects to postMessage is not yet supported" 11 FAIL SW-generated redirect to same-origin out-scope. promise_test: Unhandled rejection with value: object "NotSupportedError: Passing MessagePort objects to postMessage is not yet supported" 12 FAIL SW-generated redirect to same-origin same-scope. promise_test: Unhandled rejection with value: object "NotSupportedError: Passing MessagePort objects to postMessage is not yet supported" 13 FAIL SW-generated redirect to same-origin other-scope. promise_test: Unhandled rejection with value: object "NotSupportedError: Passing MessagePort objects to postMessage is not yet supported" 14 FAIL SW-generated redirect to other-origin out-scope. promise_test: Unhandled rejection with value: object "NotSupportedError: Passing MessagePort objects to postMessage is not yet supported" 15 FAIL SW-generated redirect to other-origin in-scope. promise_test: Unhandled rejection with value: object "NotSupportedError: Passing MessagePort objects to postMessage is not yet supported" 16 FAIL SW-fetched redirect to same-origin out-scope. promise_test: Unhandled rejection with value: object "NotSupportedError: Passing MessagePort objects to postMessage is not yet supported" 17 FAIL SW-fetched redirect to same-origin same-scope. promise_test: Unhandled rejection with value: object "NotSupportedError: Passing MessagePort objects to postMessage is not yet supported" 18 FAIL SW-fetched redirect to same-origin other-scope. promise_test: Unhandled rejection with value: object "NotSupportedError: Passing MessagePort objects to postMessage is not yet supported" 19 FAIL SW-fetched redirect to other-origin out-scope. promise_test: Unhandled rejection with value: object "NotSupportedError: Passing MessagePort objects to postMessage is not yet supported" 20 FAIL SW-fetched redirect to other-origin in-scope. promise_test: Unhandled rejection with value: object "NotSupportedError: Passing MessagePort objects to postMessage is not yet supported" 21 FAIL Redirect to same-origin out-scope with opaque redirect response. promise_test: Unhandled rejection with value: object "NotSupportedError: Passing MessagePort objects to postMessage is not yet supported" 22 FAIL Redirect to same-origin same-scope with opaque redirect response. promise_test: Unhandled rejection with value: object "NotSupportedError: Passing MessagePort objects to postMessage is not yet supported" 23 FAIL Redirect to same-origin other-scope with opaque redirect response. promise_test: Unhandled rejection with value: object "NotSupportedError: Passing MessagePort objects to postMessage is not yet supported" 24 FAIL Redirect to other-origin out-scope with opaque redirect response. promise_test: Unhandled rejection with value: object "NotSupportedError: Passing MessagePort objects to postMessage is not yet supported" 25 FAIL Redirect to other-origin in-scope with opaque redirect response. promise_test: Unhandled rejection with value: object "NotSupportedError: Passing MessagePort objects to postMessage is not yet supported" 26 FAIL No location redirect response. promise_test: Unhandled rejection with value: object "NotSupportedError: Passing MessagePort objects to postMessage is not yet supported" 27 FAIL Redirect to same-origin out-scope with opaque redirect response which is passed through Cache. promise_test: Unhandled rejection with value: object "NotSupportedError: Passing MessagePort objects to postMessage is not yet supported" 28 FAIL Redirect to same-origin same-scope with opaque redirect response which is passed through Cache. promise_test: Unhandled rejection with value: object "NotSupportedError: Passing MessagePort objects to postMessage is not yet supported" 29 FAIL Redirect to same-origin other-scope with opaque redirect response which is passed through Cache. promise_test: Unhandled rejection with value: object "NotSupportedError: Passing MessagePort objects to postMessage is not yet supported" 30 FAIL Redirect to other-origin out-scope with opaque redirect response which is passed through Cache. promise_test: Unhandled rejection with value: object "NotSupportedError: Passing MessagePort objects to postMessage is not yet supported" 31 FAIL Redirect to other-origin in-scope with opaque redirect response which is passed through Cache. promise_test: Unhandled rejection with value: object "NotSupportedError: Passing MessagePort objects to postMessage is not yet supported" 32 FAIL No location redirect response via Cache. promise_test: Unhandled rejection with value: object "NotSupportedError: Passing MessagePort objects to postMessage is not yet supported" 33 33 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/onactivate-script-error.https-expected.txt
r224132 r224218 1 1 2 FAIL activate handler throws an error promise_test: Unhandled rejection with value: object "TypeError: null is not an object (evaluating 'worker.addEventListener')" 3 FAIL activate handler throws an error, error handler does not cancel promise_test: Unhandled rejection with value: object "TypeError: null is not an object (evaluating 'worker.addEventListener')" 4 FAIL activate handler dispatches an event that throws an error promise_test: Unhandled rejection with value: object "TypeError: null is not an object (evaluating 'worker.addEventListener')" 5 FAIL activate handler throws an error that is cancelled promise_test: Unhandled rejection with value: object "TypeError: null is not an object (evaluating 'worker.addEventListener')" 6 FAIL activate handler throws an error and prevents default promise_test: Unhandled rejection with value: object "TypeError: null is not an object (evaluating 'worker.addEventListener')" 2 PASS activate handler throws an error 3 PASS activate handler throws an error, error handler does not cancel 4 PASS activate handler dispatches an event that throws an error 5 PASS activate handler throws an error that is cancelled 6 PASS activate handler throws an error and prevents default 7 7 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/oninstall-script-error.https-expected.txt
r224132 r224218 1 1 2 FAIL install handler throws an error promise_test: Unhandled rejection with value: object "TypeError: null is not an object (evaluating 'worker.addEventListener')" 3 FAIL install handler throws an error, error handler does not cancel promise_test: Unhandled rejection with value: object "TypeError: null is not an object (evaluating 'worker.addEventListener')" 4 FAIL install handler dispatches an event that throws an error promise_test: Unhandled rejection with value: object "TypeError: null is not an object (evaluating 'worker.addEventListener')" 5 FAIL install handler throws an error in the waitUntil promise_test: Unhandled rejection with value: object "TypeError: null is not an object (evaluating 'worker.addEventListener')"6 FAIL install handler throws an error that is cancelled promise_test: Unhandled rejection with value: object "TypeError: null is not an object (evaluating 'worker.addEventListener')" 7 FAIL install handler throws an error and prevents default promise_test: Unhandled rejection with value: object "TypeError: null is not an object (evaluating 'worker.addEventListener')" 2 PASS install handler throws an error 3 PASS install handler throws an error, error handler does not cancel 4 PASS install handler dispatches an event that throws an error 5 FAIL install handler throws an error in the waitUntil assert_equals: The worker was installed expected false but got true 6 PASS install handler throws an error that is cancelled 7 PASS install handler throws an error and prevents default 8 8 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/opaque-response-preloaded.https-expected.txt
r224132 r224218 1 1 2 FAIL Opaque responses should not be reused for XHRs, loading case promise_test: Unhandled rejection with value: object "Error: wait_for_state must be passed a ServiceWorker"3 FAIL Opaque responses should not be reused for XHRs, done case promise_test: Unhandled rejection with value: object "Error: wait_for_state must be passed a ServiceWorker"2 FAIL Opaque responses should not be reused for XHRs, loading case assert_equals: expected "PASS" but got "FAIL: {\"error\": {\"message\": \"\", \"code\": 404}}" 3 FAIL Opaque responses should not be reused for XHRs, done case assert_equals: expected "PASS" but got "FAIL: {\"error\": {\"message\": \"\", \"code\": 404}}" 4 4 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/postmessage-blob-url.https-expected.txt
r224132 r224218 1 1 2 FAIL postMessage Blob URL to a ServiceWorker promise_test: Unhandled rejection with value: object "TypeError: null is not an object (evaluating 'worker.postMessage')" 2 PASS postMessage Blob URL to a ServiceWorker 3 3 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/postmessage-from-waiting-serviceworker.https-expected.txt
r224132 r224218 1 1 2 FAIL Client.postMessage() from waiting serviceworker. assert_unreached: unexpected rejection: wait_for_state must be passed a ServiceWorker Reached unreachable code3 2 3 FAIL Client.postMessage() from waiting serviceworker. assert_unreached: unexpected rejection: assert_equals: should be same registration expected object "[object ServiceWorkerRegistration]" but got object "[object ServiceWorkerRegistration]" Reached unreachable code 4 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/postmessage-msgport-to-client.https-expected.txt
r224132 r224218 1 1 2 FAIL postMessage MessagePorts from ServiceWorker to Client promise_test: Unhandled rejection with value: object " Error: wait_for_state must be passed a ServiceWorker"2 FAIL postMessage MessagePorts from ServiceWorker to Client promise_test: Unhandled rejection with value: object "TypeError: null is not an object (evaluating 'w.navigator.serviceWorker.controller.postMessage')" 3 3 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/postmessage-to-client.https-expected.txt
r224132 r224218 1 1 2 FAIL postMessage from ServiceWorker to Client. promise_test: Unhandled rejection with value: object " Error: wait_for_state must be passed a ServiceWorker"2 FAIL postMessage from ServiceWorker to Client. promise_test: Unhandled rejection with value: object "TypeError: null is not an object (evaluating 'w.navigator.serviceWorker.controller.postMessage')" 3 3 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/postmessage.https-expected.txt
r224132 r224218 1 1 2 FAIL postMessage to a ServiceWorker (and back via MessagePort) promise_test: Unhandled rejection with value: object "TypeError: null is not an object (evaluating 'worker.postMessage')" 3 FAIL postMessage a transferable ArrayBuffer between ServiceWorker and Client promise_test: Unhandled rejection with value: object "TypeError: null is not an object (evaluating 'r.installing.postMessage')" 4 FAIL postMessage a transferable ArrayBuffer between ServiceWorker and Client over MessagePort promise_test: Unhandled rejection with value: object "TypeError: null is not an object (evaluating 'r.installing.postMessage')" 2 Harness Error (TIMEOUT), message = null 5 3 4 FAIL postMessage to a ServiceWorker (and back via MessagePort) promise_test: Unhandled rejection with value: object "NotSupportedError: Passing MessagePort objects to postMessage is not yet supported" 5 TIMEOUT postMessage a transferable ArrayBuffer between ServiceWorker and Client Test timed out 6 NOTRUN postMessage a transferable ArrayBuffer between ServiceWorker and Client over MessagePort 7 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/ready.https-expected.txt
r224166 r224218 5 5 PASS ready returns the same Promise object 6 6 PASS ready returns a Promise object in the context of the related document 7 FAIL ready on a controlled document promise_test: Unhandled rejection with value: object " Error: wait_for_state must be passed a ServiceWorker"7 FAIL ready on a controlled document promise_test: Unhandled rejection with value: object "UnknownError: serviceWorker.ready() is not yet implemented" 8 8 FAIL ready on a potential controlled document promise_test: Unhandled rejection with value: object "UnknownError: serviceWorker.ready() is not yet implemented" 9 9 FAIL ready on an iframe whose parent registers a new service worker promise_test: Unhandled rejection with value: object "UnknownError: serviceWorker.ready() is not yet implemented" 10 10 FAIL ready on an iframe that installs a new service worker promise_test: Unhandled rejection with value: object "UnknownError: serviceWorker.ready() is not yet implemented" 11 FAIL ready after a longer matched registration registered promise_test: Unhandled rejection with value: object " Error: wait_for_state must be passed a ServiceWorker"12 FAIL access ready after it has been resolved promise_test: Unhandled rejection with value: object " Error: wait_for_state must be passed a ServiceWorker"13 FAIL access ready on uninstalling registration that is resurrected promise_test: Unhandled rejection with value: object "Error: wait_for_state must be passed a ServiceWorker"11 FAIL ready after a longer matched registration registered promise_test: Unhandled rejection with value: object "UnknownError: serviceWorker.ready() is not yet implemented" 12 FAIL access ready after it has been resolved promise_test: Unhandled rejection with value: object "UnknownError: serviceWorker.ready() is not yet implemented" 13 FAIL access ready on uninstalling registration that is resurrected assert_equals: existing registration should be resurrected expected object "[object ServiceWorkerRegistration]" but got object "[object ServiceWorkerRegistration]" 14 14 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/redirected-response.https-expected.txt
r224166 r224218 1 1 2 FAIL initialize global state (service worker registration and caches) promise_test: Unhandled rejection with value: object " Error: wait_for_state must be passed a ServiceWorker"3 FAIL mode: "follow", non-intercepted request, no server redirect promise_test: Unhandled rejection with value: object " Error: wait_for_state must be passed a ServiceWorker"4 FAIL mode: "follow", non-intercepted request promise_test: Unhandled rejection with value: object " Error: wait_for_state must be passed a ServiceWorker"5 FAIL mode: "manual", non-intercepted request promise_test: Unhandled rejection with value: object " Error: wait_for_state must be passed a ServiceWorker"6 FAIL mode: "error", non-intercepted request promise_test: Unhandled rejection with value: object " Error: wait_for_state must be passed a ServiceWorker"7 FAIL mode: "follow", no mode change, no server redirect promise_test: Unhandled rejection with value: object " Error: wait_for_state must be passed a ServiceWorker"8 FAIL mode: "follow", no mode change promise_test: Unhandled rejection with value: object " Error: wait_for_state must be passed a ServiceWorker"9 FAIL mode: "error", mode change: "follow" promise_test: Unhandled rejection with value: object " Error: wait_for_state must be passed a ServiceWorker"10 FAIL mode: "manual", mode change: "follow" promise_test: Unhandled rejection with value: object " Error: wait_for_state must be passed a ServiceWorker"11 FAIL mode: "follow", mode change: "manual" promise_test: Unhandled rejection with value: object " Error: wait_for_state must be passed a ServiceWorker"12 FAIL mode: "error", mode change: "manual" promise_test: Unhandled rejection with value: object " Error: wait_for_state must be passed a ServiceWorker"13 FAIL mode: "manual", no mode change promise_test: Unhandled rejection with value: object " Error: wait_for_state must be passed a ServiceWorker"14 FAIL mode: "follow", generated redirect response promise_test: Unhandled rejection with value: object " Error: wait_for_state must be passed a ServiceWorker"15 FAIL mode: "error", generated redirect response promise_test: Unhandled rejection with value: object " Error: wait_for_state must be passed a ServiceWorker"16 FAIL mode: "manual", generated redirect response promise_test: Unhandled rejection with value: object " Error: wait_for_state must be passed a ServiceWorker"17 FAIL Fetch should follow the redirect response 20 times promise_test: Unhandled rejection with value: object " Error: wait_for_state must be passed a ServiceWorker"18 FAIL Fetch should not follow the redirect response 21 times. promise_test: Unhandled rejection with value: object " Error: wait_for_state must be passed a ServiceWorker"2 FAIL initialize global state (service worker registration and caches) promise_test: Unhandled rejection with value: object "NotSupportedError: Passing MessagePort objects to postMessage is not yet supported" 3 FAIL mode: "follow", non-intercepted request, no server redirect promise_test: Unhandled rejection with value: object "NotSupportedError: Passing MessagePort objects to postMessage is not yet supported" 4 FAIL mode: "follow", non-intercepted request promise_test: Unhandled rejection with value: object "NotSupportedError: Passing MessagePort objects to postMessage is not yet supported" 5 FAIL mode: "manual", non-intercepted request promise_test: Unhandled rejection with value: object "NotSupportedError: Passing MessagePort objects to postMessage is not yet supported" 6 FAIL mode: "error", non-intercepted request promise_test: Unhandled rejection with value: object "NotSupportedError: Passing MessagePort objects to postMessage is not yet supported" 7 FAIL mode: "follow", no mode change, no server redirect promise_test: Unhandled rejection with value: object "NotSupportedError: Passing MessagePort objects to postMessage is not yet supported" 8 FAIL mode: "follow", no mode change promise_test: Unhandled rejection with value: object "NotSupportedError: Passing MessagePort objects to postMessage is not yet supported" 9 FAIL mode: "error", mode change: "follow" promise_test: Unhandled rejection with value: object "NotSupportedError: Passing MessagePort objects to postMessage is not yet supported" 10 FAIL mode: "manual", mode change: "follow" promise_test: Unhandled rejection with value: object "NotSupportedError: Passing MessagePort objects to postMessage is not yet supported" 11 FAIL mode: "follow", mode change: "manual" promise_test: Unhandled rejection with value: object "NotSupportedError: Passing MessagePort objects to postMessage is not yet supported" 12 FAIL mode: "error", mode change: "manual" promise_test: Unhandled rejection with value: object "NotSupportedError: Passing MessagePort objects to postMessage is not yet supported" 13 FAIL mode: "manual", no mode change promise_test: Unhandled rejection with value: object "NotSupportedError: Passing MessagePort objects to postMessage is not yet supported" 14 FAIL mode: "follow", generated redirect response promise_test: Unhandled rejection with value: object "NotSupportedError: Passing MessagePort objects to postMessage is not yet supported" 15 FAIL mode: "error", generated redirect response promise_test: Unhandled rejection with value: object "NotSupportedError: Passing MessagePort objects to postMessage is not yet supported" 16 FAIL mode: "manual", generated redirect response promise_test: Unhandled rejection with value: object "NotSupportedError: Passing MessagePort objects to postMessage is not yet supported" 17 FAIL Fetch should follow the redirect response 20 times promise_test: Unhandled rejection with value: object "NotSupportedError: Passing MessagePort objects to postMessage is not yet supported" 18 FAIL Fetch should not follow the redirect response 21 times. promise_test: Unhandled rejection with value: object "NotSupportedError: Passing MessagePort objects to postMessage is not yet supported" 19 19 PASS restore global state (service worker registration) 20 PASS restore global state (caches) 20 21 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/referer.https-expected.txt
r224132 r224218 1 1 2 FAIL Verify the referer assert_unreached: unexpected rejection: wait_for_state must be passed a ServiceWorker Reached unreachable code3 2 3 FAIL Verify the referer assert_equals: expected "finish" but got "failure:Referer for request-headers.py?url=request-headers.py must be https://localhost:9443/service-workers/service-worker/resources/fetch-rewrite-worker.js but got https://localhost:9443/service-workers/service-worker/resources/referer-iframe.html" 4 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/referrer-policy-header.https-expected.txt
r224132 r224218 1 1 2 FAIL Verify the referer with a Referrer Policy promise_test: Unhandled rejection with value: object "Error: wait_for_state must be passed a ServiceWorker"2 FAIL Verify the referer with a Referrer Policy assert_equals: expected "finish" but got "failure:Referer for request-headers.py?url=request-headers.py must be https://localhost:9443/ but got https://localhost:9443/service-workers/service-worker/resources/referrer-policy-iframe.html" 3 3 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/register-same-scope-different-script-url.https-expected.txt
r224132 r224218 1 1 2 FAIL Register different scripts concurrently assert_unreached: unexpected rejection: null is not an object (evaluating 'registration.installing.scriptURL') Reached unreachable code3 FAIL Register then register new script URL assert_unreached: unexpected rejection: wait_for_state must be passed a ServiceWorker Reached unreachable code4 FAIL Register then register new script URL that 404s assert_unreached: unexpected rejection: null is not an object (evaluating 'registration.active.scriptURL') Reached unreachable code5 FAIL Register then register new script that does not install assert_unreached: unexpected rejection: wait_for_state must be passed a ServiceWorker Reached unreachable code6 FAIL Register same-scope new script url effect on controller assert_unreached: unexpected rejection: wait_for_state must be passed a ServiceWorker Reached unreachable code7 2 3 FAIL Register different scripts concurrently assert_unreached: unexpected rejection: assert_equals: on second register, second script should be installing expected "https://localhost:9443/service-workers/service-worker/resources/empty-worker.js?new" but got "https://localhost:9443/service-workers/service-worker/resources/empty-worker.js" Reached unreachable code 4 FAIL Register then register new script URL assert_unreached: unexpected rejection: assert_equals: on second register, the second script should be installing expected "https://localhost:9443/service-workers/service-worker/resources/empty-worker.js?new" but got "https://localhost:9443/service-workers/service-worker/resources/empty-worker.js" Reached unreachable code 5 FAIL Register then register new script URL that 404s assert_unreached: unexpected rejection: assert_unreached: register should reject Reached unreachable code Reached unreachable code 6 FAIL Register then register new script that does not install assert_unreached: unexpected rejection: assert_equals: on update, the second script should be installing expected "https://localhost:9443/service-workers/service-worker/resources/reject-install-worker.js" but got "https://localhost:9443/service-workers/service-worker/resources/empty-worker.js" Reached unreachable code 7 FAIL Register same-scope new script url effect on controller assert_unreached: unexpected rejection: null is not an object (evaluating 'sw_container.controller.scriptURL') Reached unreachable code 8 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/registration-end-to-end.https-expected.txt
r224132 r224218 1 1 2 FAIL Registration: end-to-end assert_unreached: unexpected rejection: null is not an object (evaluating 'sw.state') Reached unreachable code2 FAIL Registration: end-to-end Passing MessagePort objects to postMessage is not yet supported 3 3 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/registration-events.https-expected.txt
r224132 r224218 1 1 2 FAIL Registration: events null is not an object (evaluating 'sw')2 FAIL Registration: events Passing MessagePort objects to postMessage is not yet supported 3 3 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/registration-script-url.https-expected.txt
r224132 r224218 4 4 PASS Script URL including URL-encoded backslash 5 5 PASS Script URL including uppercase URL-encoded backslash 6 FAIL Script URL including self-reference promise_test: Unhandled rejection with value: object "TypeError: undefined is not an object (evaluating 'get_newest_worker(registration).scriptURL')" 7 FAIL Script URL including parent-reference promise_test: Unhandled rejection with value: object "TypeError: undefined is not an object (evaluating 'get_newest_worker(registration).scriptURL')" 6 PASS Script URL including self-reference 7 PASS Script URL including parent-reference 8 8 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/registration-service-worker-attributes.https-expected.txt
r224132 r224218 1 1 2 FAIL installing/waiting/active after registration promise_test: Unhandled rejection with value: object "TypeError: null is not an object (evaluating 'registration.installing.scriptURL')" 2 Harness Error (TIMEOUT), message = null 3 3 4 TIMEOUT installing/waiting/active after registration Test timed out 5 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/registration-updateviacache.https-expected.txt
r224132 r224218 1 1 2 FAIL register-via-api-updateViaCache-undefined promise_test: Unhandled rejection with value: object "Error: wait_for_state must be passed a ServiceWorker" 3 FAIL register-via-api-updateViaCache-imports promise_test: Unhandled rejection with value: object "Error: wait_for_state must be passed a ServiceWorker" 4 FAIL register-via-api-updateViaCache-all assert_equals: reg.updateViaCache expected "all" but got "imports" 5 FAIL register-via-api-updateViaCache-none assert_equals: reg.updateViaCache expected "none" but got "imports" 6 FAIL register-via-link-element-updateViaCache-undefined promise_test: Unhandled rejection with value: object "Error: link rel=serviceworker not supported" 7 FAIL register-via-link-element-updateViaCache-imports promise_test: Unhandled rejection with value: object "Error: link rel=serviceworker not supported" 8 FAIL register-via-link-element-updateViaCache-all promise_test: Unhandled rejection with value: object "Error: link rel=serviceworker not supported" 9 FAIL register-via-link-element-updateViaCache-none promise_test: Unhandled rejection with value: object "Error: link rel=serviceworker not supported" 10 FAIL register-via-link-header-updateViaCache-undefined promise_test: Unhandled rejection with value: object "Error: link rel=serviceworker not supported" 11 FAIL register-via-link-header-updateViaCache-imports promise_test: Unhandled rejection with value: object "Error: link rel=serviceworker not supported" 12 FAIL register-via-link-header-updateViaCache-all promise_test: Unhandled rejection with value: object "Error: link rel=serviceworker not supported" 13 FAIL register-via-link-header-updateViaCache-none promise_test: Unhandled rejection with value: object "Error: link rel=serviceworker not supported" 14 FAIL register-with-updateViaCache-undefined-then-undefined promise_test: Unhandled rejection with value: object "Error: wait_for_state must be passed a ServiceWorker" 15 FAIL register-with-updateViaCache-undefined-then-imports promise_test: Unhandled rejection with value: object "Error: wait_for_state must be passed a ServiceWorker" 16 FAIL register-with-updateViaCache-undefined-then-all promise_test: Unhandled rejection with value: object "Error: wait_for_state must be passed a ServiceWorker" 17 FAIL register-with-updateViaCache-undefined-then-none promise_test: Unhandled rejection with value: object "Error: wait_for_state must be passed a ServiceWorker" 18 FAIL register-with-updateViaCache-imports-then-undefined promise_test: Unhandled rejection with value: object "Error: wait_for_state must be passed a ServiceWorker" 19 FAIL register-with-updateViaCache-imports-then-imports promise_test: Unhandled rejection with value: object "Error: wait_for_state must be passed a ServiceWorker" 20 FAIL register-with-updateViaCache-imports-then-all promise_test: Unhandled rejection with value: object "Error: wait_for_state must be passed a ServiceWorker" 21 FAIL register-with-updateViaCache-imports-then-none promise_test: Unhandled rejection with value: object "Error: wait_for_state must be passed a ServiceWorker" 22 FAIL register-with-updateViaCache-all-then-undefined promise_test: Unhandled rejection with value: object "Error: wait_for_state must be passed a ServiceWorker" 23 FAIL register-with-updateViaCache-all-then-imports promise_test: Unhandled rejection with value: object "Error: wait_for_state must be passed a ServiceWorker" 24 FAIL register-with-updateViaCache-all-then-all promise_test: Unhandled rejection with value: object "Error: wait_for_state must be passed a ServiceWorker" 25 FAIL register-with-updateViaCache-all-then-none promise_test: Unhandled rejection with value: object "Error: wait_for_state must be passed a ServiceWorker" 26 FAIL register-with-updateViaCache-none-then-undefined promise_test: Unhandled rejection with value: object "Error: wait_for_state must be passed a ServiceWorker" 27 FAIL register-with-updateViaCache-none-then-imports promise_test: Unhandled rejection with value: object "Error: wait_for_state must be passed a ServiceWorker" 28 FAIL register-with-updateViaCache-none-then-all promise_test: Unhandled rejection with value: object "Error: wait_for_state must be passed a ServiceWorker" 29 FAIL register-with-updateViaCache-none-then-none promise_test: Unhandled rejection with value: object "Error: wait_for_state must be passed a ServiceWorker" 2 Harness Error (TIMEOUT), message = null 30 3 4 TIMEOUT register-via-api-updateViaCache-undefined Test timed out 5 NOTRUN register-via-api-updateViaCache-imports 6 NOTRUN register-via-api-updateViaCache-all 7 NOTRUN register-via-api-updateViaCache-none 8 NOTRUN register-via-link-element-updateViaCache-undefined 9 NOTRUN register-via-link-element-updateViaCache-imports 10 NOTRUN register-via-link-element-updateViaCache-all 11 NOTRUN register-via-link-element-updateViaCache-none 12 NOTRUN register-via-link-header-updateViaCache-undefined 13 NOTRUN register-via-link-header-updateViaCache-imports 14 NOTRUN register-via-link-header-updateViaCache-all 15 NOTRUN register-via-link-header-updateViaCache-none 16 NOTRUN register-with-updateViaCache-undefined-then-undefined 17 NOTRUN register-with-updateViaCache-undefined-then-imports 18 NOTRUN register-with-updateViaCache-undefined-then-all 19 NOTRUN register-with-updateViaCache-undefined-then-none 20 NOTRUN register-with-updateViaCache-imports-then-undefined 21 NOTRUN register-with-updateViaCache-imports-then-imports 22 NOTRUN register-with-updateViaCache-imports-then-all 23 NOTRUN register-with-updateViaCache-imports-then-none 24 NOTRUN register-with-updateViaCache-all-then-undefined 25 NOTRUN register-with-updateViaCache-all-then-imports 26 NOTRUN register-with-updateViaCache-all-then-all 27 NOTRUN register-with-updateViaCache-all-then-none 28 NOTRUN register-with-updateViaCache-none-then-undefined 29 NOTRUN register-with-updateViaCache-none-then-imports 30 NOTRUN register-with-updateViaCache-none-then-all 31 NOTRUN register-with-updateViaCache-none-then-none 32 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/request-body-blob.https-expected.txt
r224132 r224218 1 1 2 FAIL Service worker can read the request body blob promise_test: Unhandled rejection with value: object "Error: wait_for_state must be passed a ServiceWorker"2 FAIL Service worker can read the request body blob assert_equals: expected "Pass" but got "error: bad response: 404" 3 3 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/request-end-to-end.https-expected.txt
r224132 r224218 1 1 2 FAIL Test FetchEvent.request passed to onfetch promise_test: Unhandled rejection with value: object " Error: wait_for_state must be passed a ServiceWorker"2 FAIL Test FetchEvent.request passed to onfetch promise_test: Unhandled rejection with value: object "SyntaxError: JSON Parse error: Unexpected EOF" 3 3 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/resource-timing.https-expected.txt
r224132 r224218 1 1 2 FAIL Controlled resource loads assert_unreached: unexpected rejection: wait_for_state must be passed a ServiceWorker Reached unreachable code 2 3 FAIL Controlled resource loads assert_unreached: unexpected rejection: undefined is not an object (evaluating 'entry.workerStart') Reached unreachable code 3 4 PASS Non-controlled resource loads 4 5 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/serviceworker-message-event-historical.https-expected.txt
r224132 r224218 1 1 2 FAIL Test MessageEvent supplants ServiceWorkerMessageEvent. promise_test: Unhandled rejection with value: object "Error: wait_for_state must be passed a ServiceWorker"3 2 3 FAIL Test MessageEvent supplants ServiceWorkerMessageEvent. promise_test: Unhandled rejection with value: object "TypeError: null is not an object (evaluating 'worker.postMessage')" 4 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/serviceworkerobject-scripturl.https-expected.txt
r224132 r224218 1 1 2 FAIL Verify the scriptURL property: relative promise_test: Unhandled rejection with value: object "TypeError: null is not an object (evaluating 'worker.scriptURL')" 3 FAIL Verify the scriptURL property: with-fragment promise_test: Unhandled rejection with value: object "TypeError: null is not an object (evaluating 'worker.scriptURL')" 4 FAIL Verify the scriptURL property: absolute promise_test: Unhandled rejection with value: object "TypeError: null is not an object (evaluating 'worker.scriptURL')" 2 PASS Verify the scriptURL property: relative 3 PASS Verify the scriptURL property: with-fragment 4 PASS Verify the scriptURL property: absolute 5 5 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/shared-worker-controlled.https-expected.txt
r224132 r224218 1 1 2 FAIL Verify subresource loads in SharedWorker are controlled by a Service Worker promise_test: Unhandled rejection with value: object " Error: wait_for_state must be passed a ServiceWorker"3 FAIL Verify SharedWorker construction is controlled by a Service Worker promise_test: Unhandled rejection with value: object " Error: wait_for_state must be passed a ServiceWorker"4 FAIL Verify importScripts from SharedWorker is controlled by a Service Worker promise_test: Unhandled rejection with value: object " Error: wait_for_state must be passed a ServiceWorker"2 FAIL Verify subresource loads in SharedWorker are controlled by a Service Worker promise_test: Unhandled rejection with value: object "ReferenceError: Can't find variable: SharedWorker" 3 FAIL Verify SharedWorker construction is controlled by a Service Worker promise_test: Unhandled rejection with value: object "ReferenceError: Can't find variable: SharedWorker" 4 FAIL Verify importScripts from SharedWorker is controlled by a Service Worker promise_test: Unhandled rejection with value: object "ReferenceError: Can't find variable: SharedWorker" 5 5 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/skip-waiting-installed.https-expected.txt
r224132 r224218 1 1 2 FAIL Test skipWaiting when a installed worker is waiting promise_test: Unhandled rejection with value: object "Error: wait_for_state must be passed a ServiceWorker"3 2 3 FAIL Test skipWaiting when a installed worker is waiting promise_test: Unhandled rejection with value: object "TypeError: null is not an object (evaluating 'frame_sw.controller.scriptURL')" 4 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/skip-waiting-using-registration.https-expected.txt
r224132 r224218 1 1 2 FAIL Test skipWaiting while a client is using the registration promise_test: Unhandled rejection with value: object " Error: wait_for_state must be passed a ServiceWorker"2 FAIL Test skipWaiting while a client is using the registration promise_test: Unhandled rejection with value: object "TypeError: null is not an object (evaluating 'frame_sw.controller.scriptURL')" 3 3 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/skip-waiting.https-expected.txt
r224132 r224218 1 1 2 FAIL Test skipWaiting with both active and waiting workers promise_test: Unhandled rejection with value: object " Error: wait_for_state must be passed a ServiceWorker"2 FAIL Test skipWaiting with both active and waiting workers promise_test: Unhandled rejection with value: object "TypeError: null is not an object (evaluating 'waiting_worker.scriptURL')" 3 3 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/state.https-expected.txt
r224132 r224218 1 1 2 FAIL Service Worker state property and "statechange" event null is not an object (evaluating 'sw.addEventListener') 2 PASS Service Worker state property and "statechange" event 3 3 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/synced-state.https-expected.txt
r224132 r224218 1 1 2 FAIL worker objects for the same entity have the same state promise_test: Unhandled rejection with value: object "TypeError: null is not an object (evaluating 'worker.addEventListener')"2 FAIL worker objects for the same entity have the same state assert_equals: getRegistration should return the same object expected object "[object ServiceWorkerRegistration]" but got null 3 3 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/uncontrolled-page.https-expected.txt
r224132 r224218 1 1 2 FAIL Fetch events should not go through uncontrolled page. assert_unreached: wait_for_state must be passed a ServiceWorker Reached unreachable code 2 Harness Error (TIMEOUT), message = null 3 3 4 TIMEOUT Fetch events should not go through uncontrolled page. Test timed out 5 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/unregister-controller.https-expected.txt
r224132 r224218 1 1 2 FAIL Unregister does not affect existing controller assert_unreached: unexpected rejection: wait_for_state must be passed a ServiceWorker Reached unreachable code3 FAIL Unregister prevents control of subsequent navigations assert_unreached: unexpected rejection: wait_for_state must be passed a ServiceWorker Reached unreachable code4 FAIL Unregister prevents new controllee even if registration is still in use assert_unreached: unexpected rejection: wait_for_state must be passed a ServiceWorker Reached unreachable code5 2 3 FAIL Unregister does not affect existing controller assert_unreached: unexpected rejection: assert_true: document should load with a controller expected true got false Reached unreachable code 4 PASS Unregister prevents control of subsequent navigations 5 PASS Unregister prevents new controllee even if registration is still in use 6 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/unregister-then-register-new-script.https-expected.txt
r224132 r224218 1 1 2 FAIL Registering a new script URL while an unregistered registration is in use assert_unreached: unexpected rejection: wait_for_state must be passed a ServiceWorker Reached unreachable code 3 PASS Registering a new script URL that 404s does not resurrect an unregistered registration 4 FAIL Registering a new script URL that fails to install does not resurrect an unregistered registration assert_unreached: unexpected rejection: wait_for_state must be passed a ServiceWorker Reached unreachable code 2 Harness Error (TIMEOUT), message = null 5 3 4 TIMEOUT Registering a new script URL while an unregistered registration is in use Test timed out 5 TIMEOUT Registering a new script URL that 404s does not resurrect an unregistered registration Test timed out 6 TIMEOUT Registering a new script URL that fails to install does not resurrect an unregistered registration Test timed out 7 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/unregister-then-register.https-expected.txt
r224132 r224218 1 1 2 FAIL Unregister then register resolves to a new value assert_unreached: unexpected rejection: wait_for_state must be passed a ServiceWorker Reached unreachable code3 FAIL Unregister then register resolves to the original value if the registration is in use. assert_unreached: unexpected rejection: wait_for_state must be passed a ServiceWorker Reached unreachable code4 FAIL Reloading the last controlled iframe after unregistration should ensure the deletion of the registration assert_unreached: unexpected rejection: wait_for_state must be passed a ServiceWorker Reached unreachable code5 FAIL Unregister then register does not affect existing controllee assert_unreached: unexpected rejection: wait_for_state must be passed a ServiceWorker Reached unreachable code6 FAIL Unregister then register resurrects the registration assert_unreached: unexpected rejection: wait_for_state must be passed a ServiceWorker Reached unreachable code7 2 3 PASS Unregister then register resolves to a new value 4 FAIL Unregister then register resolves to the original value if the registration is in use. assert_unreached: unexpected rejection: assert_equals: new registration should resolve to the same registration expected object "[object ServiceWorkerRegistration]" but got object "[object ServiceWorkerRegistration]" Reached unreachable code 5 FAIL Reloading the last controlled iframe after unregistration should ensure the deletion of the registration assert_unreached: unexpected rejection: assert_equals: getRegistration should return undefined after unregistration expected (undefined) undefined but got (object) null Reached unreachable code 6 FAIL Unregister then register does not affect existing controllee assert_unreached: unexpected rejection: assert_equals: installing version is null expected null but got object "[object ServiceWorker]" Reached unreachable code 7 FAIL Unregister then register resurrects the registration assert_unreached: unexpected rejection: assert_not_equals: document should have a controller got disallowed value null Reached unreachable code 8 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/update-after-navigation-fetch-event.https-expected.txt
r224132 r224218 1 1 2 FAIL Update should be triggered after a navigation fetch event. promise_test: Unhandled rejection with value: object "Error: wait_for_state must be passed a ServiceWorker" 2 Harness Error (TIMEOUT), message = null 3 3 4 TIMEOUT Update should be triggered after a navigation fetch event. Test timed out 5 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/update-after-oneday.https-expected.txt
r224132 r224218 1 1 2 FAIL Update should be triggered after a functional event when last update time is over 24 hours promise_test: Unhandled rejection with value: object "Error: wait_for_state must be passed a ServiceWorker" 2 Harness Error (TIMEOUT), message = null 3 3 4 TIMEOUT Update should be triggered after a functional event when last update time is over 24 hours Test timed out 5 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/update-recovery.https-expected.txt
r224132 r224218 1 1 2 FAIL Recover from a bad service worker by updating after a failed navigation. assert_unreached: unexpected rejection: wait_for_state must be passed a ServiceWorkerReached unreachable code2 FAIL Recover from a bad service worker by updating after a failed navigation. assert_unreached: unexpected rejection: expected bad iframe should not fire a load event! Reached unreachable code 3 3 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/update.https-expected.txt
r224132 r224218 1 1 2 FAIL Update a registration. assert_throws: Using a disallowed mimetype should make update() promise reject with a SecurityError. function "function () { throw e; }" threw object " Error: wait_for_state must be passed a ServiceWorker" that is not a DOMException SecurityError: property "code" is equal to undefined, expected 182 FAIL Update a registration. assert_throws: Using a disallowed mimetype should make update() promise reject with a SecurityError. function "function () { throw e; }" threw object "NotSupportedError: ServiceWorkerRegistration::update not yet implemented" that is not a DOMException SecurityError: property "code" is equal to 9, expected 18 3 3 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/websocket.https-expected.txt
r224132 r224218 1 CONSOLE MESSAGE: WebSocket network error: OSStatus Error -9807: Invalid certificate chain 2 CONSOLE MESSAGE: WebSocket network error: OSStatus Error -9807: Invalid certificate chain 1 3 2 FAIL Verify WebSocket handshake channel does not get intercepted assert_unreached: unexpected rejection: wait_for_state must be passed a ServiceWorker Reached unreachable code3 4 5 FAIL Verify WebSocket handshake channel does not get intercepted assert_unreached: unexpected rejection: [object Event] Reached unreachable code 6 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/windowclient-navigate.https-expected.txt
r224132 r224218 1 1 2 FAIL normal promise_test: Unhandled rejection with value: object " Error: wait_for_state must be passed a ServiceWorker"3 FAIL blank url promise_test: Unhandled rejection with value: object " Error: wait_for_state must be passed a ServiceWorker"4 FAIL in scope but not controlled test on installing worker promise_test: Unhandled rejection with value: object " Error: wait_for_state must be passed a ServiceWorker"5 FAIL in scope but not controlled test on active worker promise_test: Unhandled rejection with value: object " Error: wait_for_state must be passed a ServiceWorker"6 FAIL out of scope promise_test: Unhandled rejection with value: object " Error: wait_for_state must be passed a ServiceWorker"7 FAIL cross orgin url promise_test: Unhandled rejection with value: object " Error: wait_for_state must be passed a ServiceWorker"8 FAIL invalid url (http://[example.com]) promise_test: Unhandled rejection with value: object " Error: wait_for_state must be passed a ServiceWorker"9 FAIL invalid url (view-source://example.com) promise_test: Unhandled rejection with value: object " Error: wait_for_state must be passed a ServiceWorker"10 FAIL invalid url (file:///) promise_test: Unhandled rejection with value: object " Error: wait_for_state must be passed a ServiceWorker"11 FAIL invalid url (about:blank) promise_test: Unhandled rejection with value: object " Error: wait_for_state must be passed a ServiceWorker"2 FAIL normal promise_test: Unhandled rejection with value: object "NotSupportedError: Passing MessagePort objects to postMessage is not yet supported" 3 FAIL blank url promise_test: Unhandled rejection with value: object "NotSupportedError: Passing MessagePort objects to postMessage is not yet supported" 4 FAIL in scope but not controlled test on installing worker promise_test: Unhandled rejection with value: object "NotSupportedError: Passing MessagePort objects to postMessage is not yet supported" 5 FAIL in scope but not controlled test on active worker promise_test: Unhandled rejection with value: object "NotSupportedError: Passing MessagePort objects to postMessage is not yet supported" 6 FAIL out of scope promise_test: Unhandled rejection with value: object "NotSupportedError: Passing MessagePort objects to postMessage is not yet supported" 7 FAIL cross orgin url promise_test: Unhandled rejection with value: object "NotSupportedError: Passing MessagePort objects to postMessage is not yet supported" 8 FAIL invalid url (http://[example.com]) promise_test: Unhandled rejection with value: object "NotSupportedError: Passing MessagePort objects to postMessage is not yet supported" 9 FAIL invalid url (view-source://example.com) promise_test: Unhandled rejection with value: object "NotSupportedError: Passing MessagePort objects to postMessage is not yet supported" 10 FAIL invalid url (file:///) promise_test: Unhandled rejection with value: object "NotSupportedError: Passing MessagePort objects to postMessage is not yet supported" 11 FAIL invalid url (about:blank) promise_test: Unhandled rejection with value: object "NotSupportedError: Passing MessagePort objects to postMessage is not yet supported" 12 12 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/worker-interception.https-expected.txt
r224132 r224218 1 1 2 FAIL Verify worker script from uncontrolled document is intercepted by Service Worker promise_test: Unhandled rejection with value: object "Error: wait_for_state must be passed a ServiceWorker" 3 FAIL Verify worker script intercepted by same-origin response succeeds promise_test: Unhandled rejection with value: object "Error: wait_for_state must be passed a ServiceWorker" 4 FAIL Verify worker script intercepted by cors response succeeds promise_test: Unhandled rejection with value: object "Error: wait_for_state must be passed a ServiceWorker" 2 3 PASS Verify worker script from uncontrolled document is intercepted by Service Worker 4 PASS Verify worker script intercepted by same-origin response succeeds 5 PASS Verify worker script intercepted by cors response succeeds 5 6 PASS Verify worker script intercepted by no-cors cross-origin response fails 6 FAIL Verify worker loads from controlled document are intercepted by Service Worker promise_test: Unhandled rejection with value: object "Error: wait_for_state must be passed a ServiceWorker"7 FAIL Verify worker loads from controlled document are intercepted by Service Worker assert_equals: expected "This load was successfully intercepted." but got "{\"error\": {\"message\": \"\", \"code\": 404}}" 7 8 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/xhr.https-expected.txt
r224132 r224218 1 1 2 FAIL Verify XHR does not exist assert_unreached: unexpected rejection: wait_for_state must be passed a ServiceWorker Reached unreachable code3 2 3 FAIL Verify XHR does not exist assert_unreached: unexpected rejection: null is not an object (evaluating 'frame.contentWindow.navigator.serviceWorker.controller.postMessage') Reached unreachable code 4 -
trunk/Source/WebCore/ChangeLog
r224213 r224218 1 2017-10-30 Chris Dumez <cdumez@apple.com> 2 3 Fire updatefound event after resolving the registration promise 4 https://bugs.webkit.org/show_bug.cgi?id=178985 5 6 Reviewed by Youenn Fablet. 7 8 Fake series of events that are supposed to happen after registering a service worker 9 that notify the page of the service worker's installation and activation. 10 11 Also make sure that registration.installing / waiting / active return proper values. 12 Make sure that serviceWorker.scriptURL returns a proper value. 13 14 This unblocks a lot of web-platform-tests since they were blocked shortly after 15 registration due to missing events or registration.installing being null. 16 17 * dom/ScriptExecutionContext.cpp: 18 (WebCore::ScriptExecutionContext::activeServiceWorker const): 19 (WebCore::ScriptExecutionContext::setActiveServiceWorker): 20 * dom/ScriptExecutionContext.h: 21 * loader/WorkerThreadableLoader.cpp: 22 (WebCore::WorkerThreadableLoader::MainThreadBridge::MainThreadBridge): 23 * loader/cache/CachedResourceLoader.cpp: 24 (WebCore::CachedResourceLoader::prepareFetch): 25 * workers/WorkerScriptLoader.cpp: 26 (WebCore::WorkerScriptLoader::loadSynchronously): 27 (WebCore::WorkerScriptLoader::loadAsynchronously): 28 * workers/service/ServiceWorker.cpp: 29 (WebCore::ServiceWorker::ServiceWorker): 30 (WebCore::ServiceWorker::setState): 31 * workers/service/ServiceWorker.h: 32 * workers/service/ServiceWorkerContainer.cpp: 33 (WebCore::ServiceWorkerContainer::controller const): 34 (WebCore::ServiceWorkerContainer::jobResolvedWithRegistration): 35 (WebCore::ServiceWorkerContainer::jobResolvedWithUnregistrationResult): 36 * workers/service/ServiceWorkerContainer.h: 37 * workers/service/ServiceWorkerRegistration.cpp: 38 (WebCore::ServiceWorkerRegistration::ServiceWorkerRegistration): 39 (WebCore::ServiceWorkerRegistration::~ServiceWorkerRegistration): 40 (WebCore::ServiceWorkerRegistration::installing): 41 (WebCore::ServiceWorkerRegistration::waiting): 42 (WebCore::ServiceWorkerRegistration::active): 43 * workers/service/ServiceWorkerRegistration.h: 44 * workers/service/ServiceWorkerRegistrationData.cpp: 45 (WebCore::ServiceWorkerRegistrationData::isolatedCopy const): 46 * workers/service/ServiceWorkerRegistrationData.h: 47 (WebCore::ServiceWorkerRegistrationData::encode const): 48 (WebCore::ServiceWorkerRegistrationData::decode): 49 * workers/service/server/SWClientConnection.cpp: 50 (WebCore::SWClientConnection::postMessageToServiceWorkerClient): 51 * workers/service/server/SWServerRegistration.cpp: 52 (WebCore::SWServerRegistration::scriptContextStarted): 53 (WebCore::SWServerRegistration::runRegisterJob): 54 (WebCore::SWServerRegistration::data const): 55 * workers/service/server/SWServerRegistration.h: 56 1 57 2017-10-30 Fujii Hironori <Hironori.Fujii@sony.com> 2 58 -
trunk/Source/WebCore/dom/ScriptExecutionContext.cpp
r224113 r224218 45 45 #include "ResourceRequest.h" 46 46 #include "ScriptState.h" 47 #include "ServiceWorker.h" 47 48 #include "Settings.h" 48 49 #include "WorkerGlobalScope.h" … … 529 530 530 531 #if ENABLE(SERVICE_WORKER) 532 533 ServiceWorker* ScriptExecutionContext::activeServiceWorker() const 534 { 535 return m_activeServiceWorker.get(); 536 } 537 538 void ScriptExecutionContext::setActiveServiceWorker(RefPtr<ServiceWorker>&& serviceWorker) 539 { 540 m_activeServiceWorker = WTFMove(serviceWorker); 541 } 542 531 543 ServiceWorkerContainer* ScriptExecutionContext::serviceWorkerContainer() 532 544 { -
trunk/Source/WebCore/dom/ScriptExecutionContext.h
r224113 r224218 70 70 71 71 #if ENABLE(SERVICE_WORKER) 72 class ServiceWorker; 72 73 class ServiceWorkerContainer; 73 74 #endif … … 237 238 238 239 #if ENABLE(SERVICE_WORKER) 239 uint64_t selectedServiceWorkerIdentifier() const { return m_serviceWorkerIdentifier; }240 void set SelectedServiceWorkerIdentifier(uint64_t identifier) { m_serviceWorkerIdentifier = identifier; }240 ServiceWorker* activeServiceWorker() const; 241 void setActiveServiceWorker(RefPtr<ServiceWorker>&&); 241 242 242 243 ServiceWorkerContainer* serviceWorkerContainer(); … … 312 313 313 314 #if ENABLE(SERVICE_WORKER) 314 uint64_t m_serviceWorkerIdentifier { 0 };315 RefPtr<ServiceWorker> m_activeServiceWorker; 315 316 #endif 316 317 }; -
trunk/Source/WebCore/loader/WorkerThreadableLoader.cpp
r223718 r224218 42 42 #include "ResourceTiming.h" 43 43 #include "SecurityOrigin.h" 44 #include "ServiceWorker.h" 44 45 #include "ThreadableLoader.h" 45 46 #include "WorkerGlobalScope.h" … … 127 128 #if ENABLE(SERVICE_WORKER) 128 129 optionsCopy->options.serviceWorkersMode = globalScope.isServiceWorkerGlobalScope() ? ServiceWorkersMode::None : ServiceWorkersMode::All; 129 optionsCopy->options.serviceWorkerIdentifier = globalScope.selectedServiceWorkerIdentifier(); 130 if (auto* activeServiceWorker = globalScope.activeServiceWorker()) 131 optionsCopy->options.serviceWorkerIdentifier = activeServiceWorker->identifier(); 130 132 #endif 131 133 -
trunk/Source/WebCore/loader/cache/CachedResourceLoader.cpp
r224059 r224218 68 68 #include "SecurityOrigin.h" 69 69 #include "SecurityPolicy.h" 70 #include "ServiceWorker.h" 70 71 #include "Settings.h" 71 72 #include "StyleSheetContents.h" … … 693 694 request.setOrigin(document->securityOrigin()); 694 695 #if ENABLE(SERVICE_WORKER) 695 request.setSelectedServiceWorkerIdentifierIfNeeded(document->selectedServiceWorkerIdentifier()); 696 if (auto* activeServiceWorker = document->activeServiceWorker()) 697 request.setSelectedServiceWorkerIdentifierIfNeeded(activeServiceWorker->identifier()); 696 698 #endif 697 699 } -
trunk/Source/WebCore/workers/WorkerScriptLoader.cpp
r224070 r224218 31 31 #include "ResourceResponse.h" 32 32 #include "ScriptExecutionContext.h" 33 #include "ServiceWorker.h" 33 34 #include "TextResourceDecoder.h" 34 35 #include "WorkerGlobalScope.h" … … 66 67 #if ENABLE(SERVICE_WORKER) 67 68 options.serviceWorkersMode = workerGlobalScope.isServiceWorkerGlobalScope() ? ServiceWorkersMode::None : ServiceWorkersMode::All; 68 options.serviceWorkerIdentifier = workerGlobalScope.selectedServiceWorkerIdentifier(); 69 if (auto* activeServiceWorker = workerGlobalScope.activeServiceWorker()) 70 options.serviceWorkerIdentifier = activeServiceWorker->identifier(); 69 71 #endif 70 72 WorkerThreadableLoader::loadResourceSynchronously(workerGlobalScope, WTFMove(*request), *this, options); … … 94 96 #if ENABLE(SERVICE_WORKER) 95 97 options.serviceWorkersMode = m_client->isServiceWorkerClient() ? ServiceWorkersMode::None : ServiceWorkersMode::All; 96 options.serviceWorkerIdentifier = scriptExecutionContext->selectedServiceWorkerIdentifier(); 98 if (auto* activeServiceWorker = scriptExecutionContext->activeServiceWorker()) 99 options.serviceWorkerIdentifier = activeServiceWorker->identifier(); 97 100 #endif 98 101 // During create, callbacks may happen which remove the last reference to this object. -
trunk/Source/WebCore/workers/service/ServiceWorker.cpp
r224113 r224218 29 29 #if ENABLE(SERVICE_WORKER) 30 30 31 #include "EventNames.h" 31 32 #include "MessagePort.h" 32 33 #include "SWClientConnection.h" … … 38 39 namespace WebCore { 39 40 40 ServiceWorker::ServiceWorker(ScriptExecutionContext& context, uint64_t serviceWorkerIdentifier )41 ServiceWorker::ServiceWorker(ScriptExecutionContext& context, uint64_t serviceWorkerIdentifier, const URL& scriptURL) 41 42 : ContextDestructionObserver(&context) 42 43 , m_identifier(serviceWorkerIdentifier) 44 , m_scriptURL(scriptURL) 43 45 { 46 } 47 48 void ServiceWorker::setState(State state) 49 { 50 m_state = state; 51 dispatchEvent(Event::create(eventNames().statechangeEvent, false, false)); 44 52 } 45 53 … … 75 83 } 76 84 77 const String& ServiceWorker::scriptURL() const78 {79 return emptyString();80 }81 82 ServiceWorker::State ServiceWorker::state() const83 {84 return State::Activated;85 }86 87 85 EventTargetInterface ServiceWorker::eventTargetInterface() const 88 86 { -
trunk/Source/WebCore/workers/service/ServiceWorker.h
r223922 r224218 30 30 #include "ContextDestructionObserver.h" 31 31 #include "EventTarget.h" 32 #include "URL.h" 32 33 #include <heap/Strong.h> 33 34 #include <wtf/RefCounted.h> … … 43 44 class ServiceWorker final : public RefCounted<ServiceWorker>, public EventTargetWithInlineData, public ContextDestructionObserver { 44 45 public: 45 static Ref<ServiceWorker> create(ScriptExecutionContext& context, uint64_t serviceWorkerIdentifier )46 static Ref<ServiceWorker> create(ScriptExecutionContext& context, uint64_t serviceWorkerIdentifier, const URL& scriptURL) 46 47 { 47 return adoptRef(*new ServiceWorker(context, serviceWorkerIdentifier ));48 return adoptRef(*new ServiceWorker(context, serviceWorkerIdentifier, scriptURL)); 48 49 } 49 50 … … 58 59 }; 59 60 60 const String& scriptURL() const; 61 State state() const; 61 const String& scriptURL() const { return m_scriptURL.string(); } 62 63 State state() const { return m_state; } 64 void setState(State); 62 65 63 66 ExceptionOr<void> postMessage(ScriptExecutionContext&, JSC::JSValue message, Vector<JSC::Strong<JSC::JSObject>>&&); … … 69 72 70 73 private: 71 ServiceWorker(ScriptExecutionContext&, uint64_t serviceWorkerIdentifier );74 ServiceWorker(ScriptExecutionContext&, uint64_t serviceWorkerIdentifier, const URL& scriptURL); 72 75 73 76 virtual EventTargetInterface eventTargetInterface() const; … … 77 80 78 81 uint64_t m_identifier; 82 URL m_scriptURL; 83 State m_state { State::Installing }; 79 84 }; 80 85 -
trunk/Source/WebCore/workers/service/ServiceWorkerContainer.cpp
r224132 r224218 29 29 #if ENABLE(SERVICE_WORKER) 30 30 31 #include "EventNames.h" 31 32 #include "Exception.h" 32 33 #include "IDLTypes.h" … … 34 35 #include "JSServiceWorkerRegistration.h" 35 36 #include "Logging.h" 37 #include "Microtasks.h" 36 38 #include "NavigatorBase.h" 37 39 #include "ResourceError.h" … … 77 79 { 78 80 auto* context = scriptExecutionContext(); 79 if (!context || !context->selectedServiceWorkerIdentifier()) { 80 m_controller = nullptr; 81 return nullptr; 82 } 83 if (!m_controller || m_controller->identifier() != context->selectedServiceWorkerIdentifier()) 84 m_controller = ServiceWorker::create(*context, context->selectedServiceWorkerIdentifier()); 85 return m_controller.get(); 81 return context ? context->activeServiceWorker() : nullptr; 86 82 } 87 83 … … 204 200 } 205 201 202 class FakeServiceWorkerInstallMicrotask final : public Microtask { 203 WTF_MAKE_FAST_ALLOCATED; 204 public: 205 explicit FakeServiceWorkerInstallMicrotask(Ref<ServiceWorkerRegistration>&& registration) 206 : m_registration(WTFMove(registration)) 207 { 208 } 209 210 private: 211 Result run() final 212 { 213 // FIXME: We currently resolve the promise at the end of the install instead of the beginning so we need to fake 214 // a few events to make it look like we are installing and activing the service worker. 215 callOnMainThread([registration = WTFMove(m_registration)] () mutable { 216 registration->dispatchEvent(Event::create(eventNames().updatefoundEvent, false, false)); 217 callOnMainThread([registration = WTFMove(registration)] () mutable { 218 registration->installing()->setState(ServiceWorker::State::Installed); 219 callOnMainThread([registration = WTFMove(registration)] () mutable { 220 registration->waiting()->setState(ServiceWorker::State::Activating); 221 callOnMainThread([registration = WTFMove(registration)] () mutable { 222 registration->active()->setState(ServiceWorker::State::Activated); 223 }); 224 }); 225 }); 226 }); 227 return Result::Done; 228 } 229 230 Ref<ServiceWorkerRegistration> m_registration; 231 }; 232 206 233 void ServiceWorkerContainer::jobResolvedWithRegistration(ServiceWorkerJob& job, ServiceWorkerRegistrationData&& data) 207 234 { … … 217 244 218 245 // FIXME: Implement proper selection of service workers. 219 context->setSelectedServiceWorkerIdentifier(data.identifier); 220 221 auto registration = ServiceWorkerRegistration::create(*context, WTFMove(data)); 246 auto* activeServiceWorker = context->activeServiceWorker(); 247 if (!activeServiceWorker || activeServiceWorker->identifier() != data.identifier) { 248 context->setActiveServiceWorker(ServiceWorker::create(*context, data.identifier, data.scriptURL)); 249 activeServiceWorker = context->activeServiceWorker(); 250 } 251 252 activeServiceWorker->setState(ServiceWorker::State::Installing); 253 auto registration = ServiceWorkerRegistration::create(*context, WTFMove(data), *activeServiceWorker); 222 254 job.promise().resolve<IDLInterface<ServiceWorkerRegistration>>(registration.get()); 255 256 // Use a microtask because we need to make sure this is executed after the promise above is resolved. 257 MicrotaskQueue::mainThreadQueue().append(std::make_unique<FakeServiceWorkerInstallMicrotask>(WTFMove(registration))); 223 258 } 224 259 … … 237 272 // FIXME: Implement proper selection of service workers. 238 273 if (unregistrationResult) 239 context->set SelectedServiceWorkerIdentifier(0);274 context->setActiveServiceWorker(nullptr); 240 275 241 276 job.promise().resolve<IDLBoolean>(unregistrationResult); -
trunk/Source/WebCore/workers/service/ServiceWorkerContainer.h
r224132 r224218 101 101 RefPtr<SWClientConnection> m_swConnection; 102 102 HashMap<uint64_t, RefPtr<ServiceWorkerJob>> m_jobMap; 103 mutable RefPtr<ServiceWorker> m_controller;104 103 105 104 #ifndef NDEBUG -
trunk/Source/WebCore/workers/service/ServiceWorkerRegistration.cpp
r224113 r224218 30 30 #include "DOMWindow.h" 31 31 #include "Document.h" 32 #include "ServiceWorker.h" 32 33 #include "ServiceWorkerContainer.h" 33 34 #include "WorkerGlobalScope.h" … … 35 36 namespace WebCore { 36 37 37 ServiceWorkerRegistration::ServiceWorkerRegistration(ScriptExecutionContext& context, ServiceWorkerRegistrationData&& registrationData )38 ServiceWorkerRegistration::ServiceWorkerRegistration(ScriptExecutionContext& context, ServiceWorkerRegistrationData&& registrationData, Ref<ServiceWorker>&& serviceWorker) 38 39 : ActiveDOMObject(&context) 39 40 , m_registrationData(WTFMove(registrationData)) 41 , m_serviceWorker(WTFMove(serviceWorker)) 40 42 { 41 43 suspendIfNeeded(); 42 44 } 43 45 46 ServiceWorkerRegistration::~ServiceWorkerRegistration() 47 { 48 } 49 44 50 ServiceWorker* ServiceWorkerRegistration::installing() 45 51 { 46 return nullptr; 52 if (m_serviceWorker->state() != ServiceWorker::State::Installing) 53 return nullptr; 54 return m_serviceWorker.ptr(); 47 55 } 48 56 49 57 ServiceWorker* ServiceWorkerRegistration::waiting() 50 58 { 51 return nullptr; 59 if (m_serviceWorker->state() != ServiceWorker::State::Installed) 60 return nullptr; 61 return m_serviceWorker.ptr(); 52 62 } 53 63 54 64 ServiceWorker* ServiceWorkerRegistration::active() 55 65 { 56 return nullptr; 66 if (m_serviceWorker->state() != ServiceWorker::State::Activating && m_serviceWorker->state() != ServiceWorker::State::Activated) 67 return nullptr; 68 return m_serviceWorker.ptr(); 57 69 } 58 70 -
trunk/Source/WebCore/workers/service/ServiceWorkerRegistration.h
r223652 r224218 40 40 class ServiceWorkerRegistration final : public RefCounted<ServiceWorkerRegistration>, public EventTargetWithInlineData, public ActiveDOMObject { 41 41 public: 42 static Ref<ServiceWorkerRegistration> create(ScriptExecutionContext& context, ServiceWorkerRegistrationData&& data )42 static Ref<ServiceWorkerRegistration> create(ScriptExecutionContext& context, ServiceWorkerRegistrationData&& data, Ref<ServiceWorker>&& serviceWorker) 43 43 { 44 return adoptRef(*new ServiceWorkerRegistration(context, WTFMove(data) ));44 return adoptRef(*new ServiceWorkerRegistration(context, WTFMove(data), WTFMove(serviceWorker))); 45 45 } 46 46 47 virtual ~ServiceWorkerRegistration() = default;47 ~ServiceWorkerRegistration(); 48 48 49 49 ServiceWorker* installing(); … … 61 61 62 62 private: 63 ServiceWorkerRegistration(ScriptExecutionContext&, ServiceWorkerRegistrationData&& );63 ServiceWorkerRegistration(ScriptExecutionContext&, ServiceWorkerRegistrationData&&, Ref<ServiceWorker>&&); 64 64 65 65 EventTargetInterface eventTargetInterface() const final; … … 72 72 73 73 ServiceWorkerRegistrationData m_registrationData; 74 Ref<ServiceWorker> m_serviceWorker; 74 75 }; 75 76 -
trunk/Source/WebCore/workers/service/ServiceWorkerRegistrationData.cpp
r223652 r224218 37 37 identifier, 38 38 scopeURL.isolatedCopy(), 39 scriptURL.isolatedCopy(), 39 40 updateViaCache 40 41 }; -
trunk/Source/WebCore/workers/service/ServiceWorkerRegistrationData.h
r223652 r224218 38 38 uint64_t identifier; 39 39 URL scopeURL; 40 URL scriptURL; 40 41 ServiceWorkerUpdateViaCache updateViaCache; 41 42 … … 50 51 void ServiceWorkerRegistrationData::encode(Encoder& encoder) const 51 52 { 52 encoder << key << identifier << scopeURL << updateViaCache;53 encoder << key << identifier << scopeURL << scriptURL << updateViaCache; 53 54 } 54 55 … … 71 72 return std::nullopt; 72 73 74 std::optional<URL> scriptURL; 75 decoder >> scriptURL; 76 if (!scriptURL) 77 return std::nullopt; 78 73 79 std::optional<ServiceWorkerUpdateViaCache> updateViaCache; 74 80 decoder >> updateViaCache; … … 76 82 return std::nullopt; 77 83 78 return { { WTFMove(*key), WTFMove(*identifier), WTFMove(*scopeURL), WTFMove(* updateViaCache) } };84 return { { WTFMove(*key), WTFMove(*identifier), WTFMove(*scopeURL), WTFMove(*scriptURL), WTFMove(*updateViaCache) } }; 79 85 } 80 86 -
trunk/Source/WebCore/workers/service/server/SWClientConnection.cpp
r224113 r224218 125 125 126 126 std::optional<MessageEventSource> source; 127 if (destinationDocument->selectedServiceWorkerIdentifier() == sourceServiceWorkerIdentifier) { 128 ASSERT(container->controller()->identifier() == sourceServiceWorkerIdentifier); 129 source = MessageEventSource { RefPtr<ServiceWorker> { container->controller() } }; 130 } else 131 source = MessageEventSource { RefPtr<ServiceWorker> { ServiceWorker::create(*destinationDocument, sourceServiceWorkerIdentifier) } }; 127 auto* activeServiceWorker = destinationDocument->activeServiceWorker(); 128 if (activeServiceWorker && activeServiceWorker->identifier() == sourceServiceWorkerIdentifier) 129 source = MessageEventSource { RefPtr<ServiceWorker> { activeServiceWorker } }; 130 else { 131 // FIXME: Pass in valid scriptURL. 132 source = MessageEventSource { RefPtr<ServiceWorker> { ServiceWorker::create(*destinationDocument, sourceServiceWorkerIdentifier, URL()) } }; 133 } 132 134 133 135 // FIXME: We should pass in ports. -
trunk/Source/WebCore/workers/service/server/SWServerRegistration.cpp
r223964 r224218 98 98 { 99 99 UNUSED_PARAM(workerID); 100 resolveCurrentRegistrationJob(ServiceWorkerRegistrationData { m_registrationKey, identifier, m_scopeURL, m_ updateViaCache.value_or(ServiceWorkerUpdateViaCache::Imports) });100 resolveCurrentRegistrationJob(ServiceWorkerRegistrationData { m_registrationKey, identifier, m_scopeURL, m_scriptURL, m_updateViaCache.value_or(ServiceWorkerUpdateViaCache::Imports) }); 101 101 } 102 102 … … 171 171 m_scopeURL = job.scopeURL.isolatedCopy(); 172 172 m_scopeURL.removeFragmentIdentifier(); 173 m_scriptURL = job.scriptURL.isolatedCopy(); 173 174 m_updateViaCache = job.registrationOptions.updateViaCache; 174 175 } … … 294 295 ServiceWorkerRegistrationData SWServerRegistration::data() const 295 296 { 296 return { m_registrationKey, identifier(), m_scopeURL, m_ updateViaCache.value_or(ServiceWorkerUpdateViaCache::Imports) };297 return { m_registrationKey, identifier(), m_scopeURL, m_scriptURL, m_updateViaCache.value_or(ServiceWorkerUpdateViaCache::Imports) }; 297 298 } 298 299 -
trunk/Source/WebCore/workers/service/server/SWServerRegistration.h
r223964 r224218 83 83 std::unique_ptr<SWServerWorker> m_activeWorker; 84 84 URL m_scopeURL; 85 URL m_scriptURL; 85 86 std::optional<ServiceWorkerUpdateViaCache> m_updateViaCache; 86 87
Note: See TracChangeset
for help on using the changeset viewer.