Changeset 224250 in webkit
- Timestamp:
- Oct 31, 2017, 3:11:45 PM (8 years ago)
- Location:
- trunk
- Files:
-
- 1 added
- 1 deleted
- 76 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r224247 r224250 1 2017-10-31 Youenn Fablet <youenn@apple.com> 2 3 rwt should allow service worker to load localhost HTTPS resources with any certificate 4 https://bugs.webkit.org/show_bug.cgi?id=179018 5 6 Reviewed by Chris Dumez. 7 8 * TestExpectations: 9 * http/tests/workers/service/service-worker-fetch-expected.txt: Removed. 10 * http/tests/workers/service/service-worker-fetch.https-expected.txt: Added. 11 * http/tests/workers/service/service-worker-fetch.https.html: Renamed from LayoutTests/http/tests/workers/service/service-worker-fetch.html. 12 1 13 2017-10-31 Ryan Haddad <ryanhaddad@apple.com> 2 14 -
trunk/LayoutTests/TestExpectations
r224247 r224250 138 138 139 139 # Skip service worker tests that are timing out. 140 imported/w3c/web-platform-tests/service-workers/cache-storage/serviceworker/cache-add.https.html [ Skip ]141 imported/w3c/web-platform-tests/service-workers/cache-storage/serviceworker/cache-delete.https.html [ Skip ]142 imported/w3c/web-platform-tests/service-workers/cache-storage/serviceworker/cache-keys.https.html [ Skip ]143 imported/w3c/web-platform-tests/service-workers/cache-storage/serviceworker/cache-match.https.html [ Skip ]144 imported/w3c/web-platform-tests/service-workers/cache-storage/serviceworker/cache-matchAll.https.html [ Skip ]145 imported/w3c/web-platform-tests/service-workers/cache-storage/serviceworker/cache-put.https.html [ Skip ]146 imported/w3c/web-platform-tests/service-workers/cache-storage/serviceworker/cache-storage-keys.https.html [ Skip ]147 imported/w3c/web-platform-tests/service-workers/cache-storage/serviceworker/cache-storage-match.https.html [ Skip ]148 imported/w3c/web-platform-tests/service-workers/cache-storage/serviceworker/cache-storage.https.html [ Skip ]149 140 imported/w3c/web-platform-tests/service-workers/service-worker/ServiceWorkerGlobalScope/close.https.html [ Skip ] 150 141 imported/w3c/web-platform-tests/service-workers/service-worker/ServiceWorkerGlobalScope/extendable-message-event-constructor.https.html [ Skip ] … … 159 150 imported/w3c/web-platform-tests/service-workers/service-worker/fetch-event-network-error.https.html [ Skip ] 160 151 imported/w3c/web-platform-tests/service-workers/service-worker/fetch-event-respond-with-argument.https.html [ Skip ] 161 imported/w3c/web-platform-tests/service-workers/service-worker/fetch-mixed-content-to-inscope.https.html [ Skip ]162 imported/w3c/web-platform-tests/service-workers/service-worker/fetch-mixed-content-to-outscope.https.html [ Skip ]163 152 imported/w3c/web-platform-tests/service-workers/service-worker/fetch-response-taint.https.html [ Skip ] 164 153 imported/w3c/web-platform-tests/service-workers/service-worker/foreign-fetch-basics.https.html [ Skip ] … … 179 168 imported/w3c/web-platform-tests/service-workers/service-worker/navigation-preload/redirect.https.html [ Skip ] 180 169 imported/w3c/web-platform-tests/service-workers/service-worker/navigation-redirect-to-http.https.html [ Skip ] 181 imported/w3c/web-platform-tests/service-workers/service-worker/performance-timeline.https.html [ Skip ]182 170 imported/w3c/web-platform-tests/service-workers/service-worker/postmessage.https.html [ Skip ] 183 171 imported/w3c/web-platform-tests/service-workers/service-worker/register-foreign-fetch-errors.https.html [ Skip ] 184 172 imported/w3c/web-platform-tests/service-workers/service-worker/registration-service-worker-attributes.https.html [ Skip ] 185 imported/w3c/web-platform-tests/service-workers/service-worker/registration-updateviacache.https.html [ Skip ]186 imported/w3c/web-platform-tests/service-workers/service-worker/service-worker-csp-connect.https.html [ Skip ]187 imported/w3c/web-platform-tests/service-workers/service-worker/service-worker-csp-default.https.html [ Skip ]188 imported/w3c/web-platform-tests/service-workers/service-worker/service-worker-csp-script.https.html [ Skip ]189 173 imported/w3c/web-platform-tests/service-workers/service-worker/skip-waiting-without-client.https.html [ Skip ] 190 imported/w3c/web-platform-tests/service-workers/service-worker/uncontrolled-page.https.html [ Skip ]191 174 imported/w3c/web-platform-tests/service-workers/service-worker/unregister-then-register-new-script.https.html [ Skip ] 192 175 imported/w3c/web-platform-tests/service-workers/service-worker/update-after-navigation-fetch-event.https.html [ Skip ] 193 176 imported/w3c/web-platform-tests/service-workers/service-worker/update-after-oneday.https.html [ Skip ] 194 imported/w3c/web-platform-tests/service-workers/service-worker/update-bytecheck.https.html [ Skip ]195 196 177 imported/w3c/web-platform-tests/fetch/api/abort/general-serviceworker.https.html [ Skip ] 197 imported/w3c/web-platform-tests/fetch/api/policies/referrer-no-referrer-service-worker.https.html [ Skip ] 198 imported/w3c/web-platform-tests/fetch/api/policies/referrer-origin-service-worker.https.html [ Skip ] 199 imported/w3c/web-platform-tests/fetch/api/policies/referrer-origin-when-cross-origin-service-worker.https.html [ Skip ] 200 imported/w3c/web-platform-tests/fetch/api/policies/referrer-unsafe-url-service-worker.https.html [ Skip ] 201 imported/w3c/web-platform-tests/FileAPI/historical.https.html [ Skip ] 202 imported/w3c/web-platform-tests/html/webappapis/scripting/processing-model-2/integration-with-the-javascript-agent-formalism/canblock-serviceworker.https.html [ Skip ] 203 imported/w3c/web-platform-tests/streams/byte-length-queuing-strategy.serviceworker.https.html [ Skip ] 204 imported/w3c/web-platform-tests/streams/count-queuing-strategy.serviceworker.https.html [ Skip ] 205 imported/w3c/web-platform-tests/streams/piping/close-propagation-backward.serviceworker.https.html [ Skip ] 206 imported/w3c/web-platform-tests/streams/piping/close-propagation-forward.serviceworker.https.html [ Skip ] 207 imported/w3c/web-platform-tests/streams/piping/error-propagation-backward.serviceworker.https.html [ Skip ] 208 imported/w3c/web-platform-tests/streams/piping/error-propagation-forward.serviceworker.https.html [ Skip ] 209 imported/w3c/web-platform-tests/streams/piping/flow-control.serviceworker.https.html [ Skip ] 210 imported/w3c/web-platform-tests/streams/piping/general.serviceworker.https.html [ Skip ] 211 imported/w3c/web-platform-tests/streams/piping/multiple-propagation.serviceworker.https.html [ Skip ] 212 imported/w3c/web-platform-tests/streams/piping/pipe-through.serviceworker.https.html [ Skip ] 213 imported/w3c/web-platform-tests/streams/piping/transform-streams.serviceworker.https.html [ Skip ] 214 imported/w3c/web-platform-tests/streams/readable-byte-streams/brand-checks.serviceworker.https.html [ Skip ] 215 imported/w3c/web-platform-tests/streams/readable-byte-streams/detached-buffers.serviceworker.https.html [ Skip ] 216 imported/w3c/web-platform-tests/streams/readable-byte-streams/general.serviceworker.https.html [ Skip ] 217 imported/w3c/web-platform-tests/streams/readable-byte-streams/properties.serviceworker.https.html [ Skip ] 218 imported/w3c/web-platform-tests/streams/readable-streams/bad-strategies.serviceworker.https.html [ Skip ] 219 imported/w3c/web-platform-tests/streams/readable-streams/bad-underlying-sources.serviceworker.https.html [ Skip ] 220 imported/w3c/web-platform-tests/streams/readable-streams/brand-checks.serviceworker.https.html [ Skip ] 221 imported/w3c/web-platform-tests/streams/readable-streams/cancel.serviceworker.https.html [ Skip ] 222 imported/w3c/web-platform-tests/streams/readable-streams/count-queuing-strategy-integration.serviceworker.https.html [ Skip ] 223 imported/w3c/web-platform-tests/streams/readable-streams/default-reader.serviceworker.https.html [ Skip ] 224 imported/w3c/web-platform-tests/streams/readable-streams/floating-point-total-queue-size.serviceworker.https.html [ Skip ] 225 imported/w3c/web-platform-tests/streams/readable-streams/garbage-collection.serviceworker.https.html [ Skip ] 226 imported/w3c/web-platform-tests/streams/readable-streams/general.serviceworker.https.html [ Skip ] 227 imported/w3c/web-platform-tests/streams/readable-streams/readable-stream-reader.serviceworker.https.html [ Skip ] 228 imported/w3c/web-platform-tests/streams/readable-streams/tee.serviceworker.https.html [ Skip ] 229 imported/w3c/web-platform-tests/streams/readable-streams/templated.serviceworker.https.html [ Skip ] 230 178 179 imported/w3c/web-platform-tests/service-workers/service-worker/performance-timeline.https.html [ Pass Failure ] 231 180 imported/w3c/web-platform-tests/service-workers/service-worker/fetch-request-redirect.https.html [ Pass Failure ] 232 181 imported/w3c/web-platform-tests/service-workers/service-worker/websocket.https.html [ Pass Failure ] -
trunk/LayoutTests/imported/w3c/web-platform-tests/FileAPI/historical.https-expected.txt
r220924 r224250 7 7 PASS createFor method should not be supported 8 8 PASS Blob.close() should not be supported 9 FAIL Service worker test setup assert_unreached: unregister should not fail: serviceWorker.getRegistration() is not yet implemented Reached unreachable code 9 PASS Service worker test setup 10 FAIL "FileReaderSync" should not be supported in service workers assert_false: expected false got true 10 11 -
trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/policies/referrer-no-referrer-service-worker.https-expected.txt
r220924 r224250 1 1 2 FAIL Fetch in service worker: referrer with no-referrer policy assert_unreached: unregister should not fail: serviceWorker.getRegistration() is not yet implemented Reached unreachable code 2 PASS Fetch in service worker: referrer with no-referrer policy 3 PASS Request's referrer is empty 3 4 -
trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/policies/referrer-origin-service-worker.https-expected.txt
r220924 r224250 1 1 2 FAIL Fetch in service worker: referrer with no-referrer policy assert_unreached: unregister should not fail: serviceWorker.getRegistration() is not yet implemented Reached unreachable code 2 PASS Fetch in service worker: referrer with no-referrer policy 3 FAIL Request's referrer is origin assert_equals: request's referrer is https://localhost:9443/ expected "https://localhost:9443/" but got "https://localhost:9443/fetch/api/policies/referrer-origin.js?pipe=sub" 4 FAIL Cross-origin referrer is overridden by client origin promise_test: Unhandled rejection with value: object "TypeError: Referrer is not same-origin." 3 5 -
trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/policies/referrer-origin-when-cross-origin-service-worker.https-expected.txt
r220924 r224250 1 1 2 FAIL Fetch in service worker: referrer with origin-when-cross-origin policy assert_unreached: unregister should not fail: serviceWorker.getRegistration() is not yet implemented Reached unreachable code 2 PASS Fetch in service worker: referrer with origin-when-cross-origin policy 3 FAIL Request's referrer is origin promise_test: Unhandled rejection with value: object "TypeError: A server with the specified hostname could not be found." 3 4 -
trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/policies/referrer-unsafe-url-service-worker.https-expected.txt
r220924 r224250 1 1 2 FAIL Fetch in worker: referrer with unsafe-url policy assert_unreached: unregister should not fail: serviceWorker.getRegistration() is not yet implemented Reached unreachable code 2 PASS Fetch in worker: referrer with unsafe-url policy 3 PASS Request's referrer is the full url of current document/worker 3 4 -
trunk/LayoutTests/imported/w3c/web-platform-tests/html/webappapis/scripting/processing-model-2/integration-with-the-javascript-agent-formalism/canblock-serviceworker.https-expected.txt
r220924 r224250 1 1 2 FAIL Service worker test setup assert_unreached: unregister should not fail: serviceWorker.getRegistration() is not yet implemented Reached unreachable code 2 PASS Service worker test setup 3 FAIL [[CanBlock]] in a ServiceWorkerGlobalScope assert_throws: function "() => { 4 Atomics.wait(ta, 0, 0, 10); 5 }" did not throw 3 6 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/cache-storage/serviceworker/cache-add.https-expected.txt
r224218 r224250 1 1 2 Harness Error (TIMEOUT), message = null 2 PASS Cache.add and Cache.addAll 3 PASS Cache.add called with no arguments 4 PASS Cache.add called with relative URL specified as a string 5 PASS Cache.add called with non-HTTP/HTTPS URL 6 PASS Cache.add called with Request object 7 PASS Cache.add called with POST request 8 PASS Cache.add called twice with the same Request object 9 PASS Cache.add with request with null body (not consumed) 10 PASS Cache.add with 206 response 11 PASS Cache.addAll with 206 response 12 PASS Cache.add with request that results in a status of 404 13 PASS Cache.add with request that results in a status of 500 14 PASS Cache.addAll with no arguments 15 PASS Cache.addAll with a mix of valid and undefined arguments 16 PASS Cache.addAll with an empty array 17 PASS Cache.addAll with string URL arguments 18 PASS Cache.addAll with Request arguments 19 PASS Cache.addAll with a mix of succeeding and failing requests 20 PASS Cache.addAll called with the same Request object specified twice 3 21 4 TIMEOUT Cache.add and Cache.addAll Test timed out5 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/cache-storage/serviceworker/cache-delete.https-expected.txt
r224218 r224250 1 1 2 Harness Error (TIMEOUT), message = null 2 PASS Cache.delete 3 PASS Cache.delete with no arguments 4 PASS Cache.delete called with a string URL 5 PASS Cache.delete called with a Request object 6 PASS Cache.delete called with a HEAD request 7 PASS Cache.delete supports ignoreVary 8 PASS Cache.delete with a non-existent entry 9 PASS Cache.delete with ignoreSearch option (request with search parameters) 10 PASS Cache.delete with ignoreSearch option (when it is specified as false) 3 11 4 TIMEOUT Cache.delete Test timed out5 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/cache-storage/serviceworker/cache-keys.https-expected.txt
r224218 r224250 1 1 2 Harness Error (TIMEOUT), message = null 2 PASS Cache.keys 3 PASS Cache.keys() called on an empty cache 4 PASS Cache.keys with no matching entries 5 PASS Cache.keys with URL 6 PASS Cache.keys with Request 7 PASS Cache.keys with new Request 8 PASS Cache.keys with ignoreSearch option (request with no search parameters) 9 PASS Cache.keys with ignoreSearch option (request with search parameters) 10 PASS Cache.keys supports ignoreMethod 11 PASS Cache.keys supports ignoreVary 12 PASS Cache.keys with URL containing fragment 13 PASS Cache.keys with string fragment "http" as query 14 PASS Cache.keys without parameters 15 PASS Cache.keys with a HEAD Request 3 16 4 TIMEOUT Cache.keys Test timed out5 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/cache-storage/serviceworker/cache-match.https-expected.txt
r224218 r224250 1 1 2 Harness Error (TIMEOUT), message = null 2 PASS Cache.match 3 PASS Cache.match with no matching entries 4 PASS Cache.match with URL 5 PASS Cache.match with Request 6 PASS Cache.match with multiple cache hits 7 PASS Cache.match with new Request 8 PASS Cache.match with HEAD 9 PASS Cache.match with ignoreSearch option (request with no search parameters) 10 PASS Cache.match with ignoreSearch option (request with search parameter) 11 PASS Cache.match supports ignoreMethod 12 PASS Cache.match supports ignoreVary 13 PASS Cache.match with URL containing fragment 14 PASS Cache.match with string fragment "http" as query 15 PASS Cache.match with responses containing "Vary" header 16 PASS Cache.match with Request and Response objects with different URLs 17 PASS Cache.match invoked multiple times for the same Request/Response 18 PASS Cache.match blob should be sliceable 19 PASS Cache.match with POST Request 20 PASS Cache.match with a non-2xx Response 21 PASS Cache.match with a network error Response 22 PASS Cache produces large Responses that can be cloned and read correctly. 3 23 4 TIMEOUT Cache.match Test timed out5 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/cache-storage/serviceworker/cache-matchAll.https-expected.txt
r224218 r224250 1 1 2 Harness Error (TIMEOUT), message = null 2 PASS Cache.matchAll 3 PASS Cache.matchAll with no matching entries 4 PASS Cache.matchAll with URL 5 PASS Cache.matchAll with Request 6 PASS Cache.matchAll with new Request 7 PASS Cache.matchAll with HEAD 8 PASS Cache.matchAll with ignoreSearch option (request with no search parameters) 9 PASS Cache.matchAll with ignoreSearch option (request with search parameters) 10 PASS Cache.matchAll supports ignoreMethod 11 PASS Cache.matchAll supports ignoreVary 12 PASS Cache.matchAll with URL containing fragment 13 PASS Cache.matchAll with string fragment "http" as query 14 PASS Cache.matchAll without parameters 15 PASS Cache.matchAll with responses containing "Vary" header 16 PASS Cache.matchAll with multiple vary pairs 3 17 4 TIMEOUT Cache.matchAll Test timed out5 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/cache-storage/serviceworker/cache-put.https-expected.txt
r224218 r224250 1 1 2 Harness Error (TIMEOUT), message = null 2 PASS Cache.put 3 PASS Cache.put called with simple Request and Response 4 PASS Cache.put called with Request and Response from fetch() 5 PASS Cache.put with Request without a body 6 PASS Cache.put with Response without a body 7 PASS Cache.put with a Response containing an empty URL 8 PASS Cache.put with an empty response body 9 PASS Cache.put with synthetic 206 response 10 PASS Cache.put with HTTP 206 response 11 PASS Cache.put with HTTP 500 response 12 PASS Cache.put called twice with matching Requests and different Responses 13 PASS Cache.put called twice with request URLs that differ only by a fragment 14 PASS Cache.put with a string request 15 PASS Cache.put with an invalid response 16 PASS Cache.put with a non-HTTP/HTTPS request 17 PASS Cache.put with a relative URL 18 PASS Cache.put with a non-GET request 19 PASS Cache.put with a null response 20 PASS Cache.put with a POST request 21 PASS Cache.put with a used response body 22 PASS getReader() after Cache.put 23 PASS Cache.put with a VARY:* Response 24 PASS Cache.put with an embedded VARY:* Response 25 PASS Cache.put should store Response.redirect() correctly 3 26 4 TIMEOUT Cache.put Test timed out5 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/cache-storage/serviceworker/cache-storage-keys.https-expected.txt
r224218 r224250 1 1 2 Harness Error (TIMEOUT), message = null 2 PASS CacheStorage.keys 3 PASS CacheStorage keys 3 4 4 TIMEOUT CacheStorage.keys Test timed out5 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/cache-storage/serviceworker/cache-storage-match.https-expected.txt
r224218 r224250 1 1 2 Harness Error (TIMEOUT), message = null 2 PASS CacheStorage.match 3 PASS CacheStorageMatch with no cache name provided 4 PASS CacheStorageMatch from one of many caches 5 PASS CacheStorageMatch from one of many caches by name 6 PASS CacheStorageMatch a string request 7 PASS CacheStorageMatch a HEAD request 8 PASS CacheStorageMatch with no cached entry 9 PASS CacheStorageMatch with no caches available but name provided 10 PASS CacheStorageMatch with empty cache name provided 11 PASS CacheStorageMatch supports ignoreSearch 12 PASS Cache.match supports ignoreMethod 13 PASS CacheStorageMatch supports ignoreVary 3 14 4 TIMEOUT CacheStorage.match Test timed out5 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/cache-storage/serviceworker/cache-storage.https-expected.txt
r224218 r224250 1 1 2 Harness Error (TIMEOUT), message = null 2 PASS CacheStorage 3 PASS CacheStorage.open 4 PASS CacheStorage.delete dooms, but does not delete immediately 5 PASS CacheStorage.open with an empty name 6 PASS CacheStorage.open with no arguments 7 PASS CacheStorage.has with existing cache 8 PASS CacheStorage.has with nonexistent cache 9 PASS CacheStorage.open with existing cache 10 PASS CacheStorage.delete with existing cache 11 PASS CacheStorage.delete with nonexistent cache 12 PASS CacheStorage names are DOMStrings not USVStrings 3 13 4 TIMEOUT CacheStorage Test timed out5 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/ServiceWorkerGlobalScope/close.https-expected.txt
r224218 r224250 1 1 2 Harness Error (TIMEOUT), message = null 2 PASS ServiceWorkerGlobalScope: close operation 3 FAIL ServiceWorkerGlobalScope close operation assert_false: expected false got true 3 4 4 TIMEOUT ServiceWorkerGlobalScope: close operation Test timed out5 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/ServiceWorkerGlobalScope/extendable-message-event-constructor.https-expected.txt
r224218 r224250 1 1 2 Harness Error (TIMEOUT), message = null 2 PASS ServiceWorkerGlobalScope: ExtendableMessageEvent Constructor 3 PASS no initializer specified 4 PASS `bubbles` is specified 5 PASS `cancelable` is specified 6 FAIL `data` is specified assert_equals: expected object "[object Object]" but got object "[object Object]" 7 PASS `origin` is specified 8 PASS `lastEventId` is specified 9 FAIL `source` is specified assert_equals: expected object "[object MessagePort]" but got null 10 FAIL `ports` is specified assert_throws: function "function () { 11 createEvent({ get ports() { throw { name: 'Error' }; } }); }" threw object "TypeError: Value is not a sequence" ("TypeError") expected object "[object Object]" ("Error") 12 FAIL all initial values are specified assert_equals: expected object "[object Object]" but got object "[object Object]" 3 13 4 TIMEOUT ServiceWorkerGlobalScope: ExtendableMessageEvent Constructor Test timed out5 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/fetch-mixed-content-to-inscope.https-expected.txt
r224218 r224250 1 1 2 2 3 Harness Error (TIMEOUT), message = null 3 FAIL Verify Mixed content of fetch() in a Service Worker assert_equals: expected "finish" but got "FAIL(1)FAIL(2)finish" 4 4 5 TIMEOUT Verify Mixed content of fetch() in a Service Worker Test timed out6 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/fetch-mixed-content-to-outscope.https-expected.txt
r224218 r224250 1 CONSOLE MESSAGE: line 25: The page at https://localhost:9443/service-workers/service-worker/fetch-mixed-content-to-outscope.https.html was allowed to display insecure content from http://localhost:8800/service-workers/service-worker/resources/fetch-access-control.py?PNGIMAGE. 2 3 CONSOLE MESSAGE: line 39: The page at https://localhost:9443/service-workers/service-worker/fetch-mixed-content-to-outscope.https.html was allowed to display insecure content from http://127.0.0.1:8800/service-workers/service-worker/resources/fetch-access-control.py?PNGIMAGE. 1 4 2 5 3 Harness Error (TIMEOUT), message = null4 6 5 TIMEOUT Verify Mixed content of fetch() in a Service Worker Test timed out 7 FAIL Verify Mixed content of fetch() in a Service Worker assert_equals: expected "finish" but got "FAIL(3)FAIL(4)FAIL(5)finish" 6 8 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/fetch-request-redirect.https-expected.txt
r224218 r224250 3 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 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"5 FAIL Verify redirected of Response(Fetch API), Cache 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." 6 6 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/foreign-fetch-event.https-expected.txt
r224218 r224250 2 2 Harness Error (TIMEOUT), message = null 3 3 4 TIMEOUT ForeignFetchEvent constructor Test timed out 4 PASS ForeignFetchEvent constructor 5 5 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/interfaces-sw.https-expected.txt
r224218 r224250 2 2 Harness Error (TIMEOUT), message = null 3 3 4 TIMEOUT Interfaces and attributes in ServiceWorkerGlobalScope Test timed out 4 PASS Interfaces and attributes in ServiceWorkerGlobalScope 5 TIMEOUT test setup (cache creation) Test timed out 6 FAIL Event constructors assert_equals: Default FetchEvent.clientId should be null expected (object) null but got (string) "" 7 PASS ServiceWorkerGlobalScope interface: existence and properties of interface object 8 PASS ServiceWorkerGlobalScope interface object length 9 PASS ServiceWorkerGlobalScope interface object name 10 PASS ServiceWorkerGlobalScope interface: existence and properties of interface prototype object 11 TIMEOUT ServiceWorkerGlobalScope interface: internal [[SetPrototypeOf]] method of interface prototype object - setting to a new value via Object.setPrototypeOf should throw a TypeError Test timed out 5 12 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/navigation-redirect-to-http.https-expected.txt
r224218 r224250 1 CONSOLE MESSAGE: [blocked] The page at about:blank was not allowed to display insecure content from http://example.com/. 2 1 3 2 4 Harness Error (TIMEOUT), message = null -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/performance-timeline.https-expected.txt
r224218 r224250 1 1 2 Harness Error (TIMEOUT), message = null3 2 4 TIMEOUT Test Performance Timeline API in Service Worker Test timed out 5 NOTRUN empty service worker fetch event included in performance timings 3 PASS Test Performance Timeline API in Service Worker 4 FAIL empty service worker fetch event included in performance timings assert_greater_than: Slow service worker request should measure increased delay. expected a number greater than 1152.1 but got 151.59999999999997 5 FAIL User Timing promise_test: Unhandled rejection with value: object "TypeError: performance.mark is not a function. (In 'performance.mark('startMark')', 'performance.mark' is undefined)" 6 FAIL Resource Timing promise_test: Unhandled rejection with value: object "TypeError: performance.getEntriesByType is not a function. (In 'performance.getEntriesByType('resource')', 'performance.getEntriesByType' is undefined)" 6 7 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/register-foreign-fetch-errors.https-expected.txt
r224218 r224250 2 2 Harness Error (TIMEOUT), message = null 3 3 4 TIMEOUT foreign fetch registration Test timed out 4 PASS foreign fetch registration 5 5 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/registration-updateviacache.https-expected.txt
r224218 r224250 1 1 2 Harness Error (TIMEOUT), message = null 2 FAIL register-via-api-updateViaCache-undefined promise_test: Unhandled rejection with value: object "NotSupportedError: ServiceWorkerRegistration::update not yet implemented" 3 FAIL register-via-api-updateViaCache-imports promise_test: Unhandled rejection with value: object "NotSupportedError: ServiceWorkerRegistration::update not yet implemented" 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 PASS register-with-updateViaCache-undefined-then-undefined 15 PASS register-with-updateViaCache-undefined-then-imports 16 FAIL register-with-updateViaCache-undefined-then-all assert_equals: reg.updateViaCache updated expected "all" but got "imports" 17 FAIL register-with-updateViaCache-undefined-then-none assert_equals: reg.updateViaCache updated expected "none" but got "imports" 18 PASS register-with-updateViaCache-imports-then-undefined 19 PASS register-with-updateViaCache-imports-then-imports 20 FAIL register-with-updateViaCache-imports-then-all assert_equals: reg.updateViaCache updated expected "all" but got "imports" 21 FAIL register-with-updateViaCache-imports-then-none assert_equals: reg.updateViaCache updated expected "none" but got "imports" 22 FAIL register-with-updateViaCache-all-then-undefined assert_true: New worker installing expected true got false 23 FAIL register-with-updateViaCache-all-then-imports assert_true: New worker installing expected true got false 24 FAIL register-with-updateViaCache-all-then-all assert_equals: reg.updateViaCache updated expected "all" but got "imports" 25 FAIL register-with-updateViaCache-all-then-none assert_equals: reg.updateViaCache updated expected "none" but got "imports" 26 FAIL register-with-updateViaCache-none-then-undefined assert_true: New worker installing expected true got false 27 FAIL register-with-updateViaCache-none-then-imports assert_true: New worker installing expected true got false 28 FAIL register-with-updateViaCache-none-then-all assert_equals: reg.updateViaCache updated expected "all" but got "imports" 29 FAIL register-with-updateViaCache-none-then-none assert_equals: reg.updateViaCache updated expected "none" but got "imports" 3 30 4 TIMEOUT register-via-api-updateViaCache-undefined Test timed out5 NOTRUN register-via-api-updateViaCache-imports6 NOTRUN register-via-api-updateViaCache-all7 NOTRUN register-via-api-updateViaCache-none8 NOTRUN register-via-link-element-updateViaCache-undefined9 NOTRUN register-via-link-element-updateViaCache-imports10 NOTRUN register-via-link-element-updateViaCache-all11 NOTRUN register-via-link-element-updateViaCache-none12 NOTRUN register-via-link-header-updateViaCache-undefined13 NOTRUN register-via-link-header-updateViaCache-imports14 NOTRUN register-via-link-header-updateViaCache-all15 NOTRUN register-via-link-header-updateViaCache-none16 NOTRUN register-with-updateViaCache-undefined-then-undefined17 NOTRUN register-with-updateViaCache-undefined-then-imports18 NOTRUN register-with-updateViaCache-undefined-then-all19 NOTRUN register-with-updateViaCache-undefined-then-none20 NOTRUN register-with-updateViaCache-imports-then-undefined21 NOTRUN register-with-updateViaCache-imports-then-imports22 NOTRUN register-with-updateViaCache-imports-then-all23 NOTRUN register-with-updateViaCache-imports-then-none24 NOTRUN register-with-updateViaCache-all-then-undefined25 NOTRUN register-with-updateViaCache-all-then-imports26 NOTRUN register-with-updateViaCache-all-then-all27 NOTRUN register-with-updateViaCache-all-then-none28 NOTRUN register-with-updateViaCache-none-then-undefined29 NOTRUN register-with-updateViaCache-none-then-imports30 NOTRUN register-with-updateViaCache-none-then-all31 NOTRUN register-with-updateViaCache-none-then-none32 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/service-worker-csp-connect.https-expected.txt
r224218 r224250 1 1 2 Harness Error (TIMEOUT), message = null 2 PASS CSP test for connect-src in ServiceWorkerGlobalScope 3 FAIL importScripts test for connect-src assert_false: Importing the other origins script should not fail. expected false got true 4 FAIL Fetch test for connect-src assert_unreached: unexpected rejection: assert_unreached: fetch should fail. Reached unreachable code Reached unreachable code 5 FAIL Redirected fetch test for connect-src assert_unreached: unexpected rejection: assert_unreached: Redirected fetch should fail. Reached unreachable code Reached unreachable code 3 6 4 TIMEOUT CSP test for connect-src in ServiceWorkerGlobalScope Test timed out5 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/service-worker-csp-default.https-expected.txt
r224218 r224250 1 1 2 Harness Error (TIMEOUT), message = null 2 PASS CSP test for default-src in ServiceWorkerGlobalScope 3 PASS importScripts test for default-src 4 FAIL Fetch test for default-src assert_unreached: unexpected rejection: assert_unreached: fetch should fail. Reached unreachable code Reached unreachable code 5 FAIL Redirected fetch test for default-src assert_unreached: unexpected rejection: assert_unreached: Redirected fetch should fail. Reached unreachable code Reached unreachable code 3 6 4 TIMEOUT CSP test for default-src in ServiceWorkerGlobalScope Test timed out5 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/service-worker-csp-script.https-expected.txt
r224218 r224250 1 1 2 Harness Error (TIMEOUT), message = null 2 PASS CSP test for script-src in ServiceWorkerGlobalScope 3 PASS importScripts test for script-src 4 PASS Fetch test for script-src 5 PASS Redirected fetch test for script-src 3 6 4 TIMEOUT CSP test for script-src in ServiceWorkerGlobalScope Test timed out5 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/skip-waiting-without-client.https-expected.txt
r224218 r224250 2 2 Harness Error (TIMEOUT), message = null 3 3 4 TIMEOUT Test single skipWaiting() when no client attached Test timed out 4 PASS Test single skipWaiting() when no client attached 5 TIMEOUT skipWaiting Test timed out 5 6 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/uncontrolled-page.https-expected.txt
r224218 r224250 1 1 2 Harness Error (TIMEOUT), message = null 2 FAIL Fetch events should not go through uncontrolled page. assert_unreached: assert_equals: expected "a simple text file\n" but got "ERROR" Reached unreachable code 3 3 4 TIMEOUT Fetch events should not go through uncontrolled page. Test timed out5 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/unregister-controller.https-expected.txt
r224218 r224250 2 2 3 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 4 FAIL Unregister prevents control of subsequent navigations assert_unreached: unexpected rejection: assert_equals: requests should not be intercepted expected "a simple text file\n" but got "ERROR" Reached unreachable code 5 5 PASS Unregister prevents new controllee even if registration is still in use 6 6 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/unregister-then-register-new-script.https-expected.txt
r224218 r224250 1 1 2 2 3 Harness Error (TIMEOUT), message = null 3 4 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 5 FAIL Registering a new script URL while an unregistered registration is in use assert_unreached: unexpected rejection: null is not an object (evaluating 'registration.installing.scriptURL') Reached unreachable code 6 FAIL Registering a new script URL that 404s does not resurrect an unregistered registration assert_unreached: unexpected rejection: assert_unreached: register should reject the promise Reached unreachable code Reached unreachable code 6 7 TIMEOUT Registering a new script URL that fails to install does not resurrect an unregistered registration Test timed out 7 8 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/update-after-navigation-fetch-event.https-expected.txt
r224218 r224250 1 1 2 2 3 Harness Error (TIMEOUT), message = null -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/update-after-oneday.https-expected.txt
r224218 r224250 1 1 2 2 3 Harness Error (TIMEOUT), message = null -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/update-bytecheck.https-expected.txt
r224218 r224250 1 1 2 Harness Error (TIMEOUT), message = null 2 FAIL Test(cors: false, main: default, imported: default) promise_test: Unhandled rejection with value: object "NotSupportedError: ServiceWorkerRegistration::update not yet implemented" 3 FAIL Test(cors: false, main: default, imported: time) promise_test: Unhandled rejection with value: object "NotSupportedError: ServiceWorkerRegistration::update not yet implemented" 4 FAIL Test(cors: false, main: time, imported: default) promise_test: Unhandled rejection with value: object "NotSupportedError: ServiceWorkerRegistration::update not yet implemented" 5 FAIL Test(cors: false, main: time, imported: time) promise_test: Unhandled rejection with value: object "NotSupportedError: ServiceWorkerRegistration::update not yet implemented" 6 FAIL Test(cors: true, main: default, imported: default) promise_test: Unhandled rejection with value: object "NotSupportedError: ServiceWorkerRegistration::update not yet implemented" 7 FAIL Test(cors: true, main: default, imported: time) promise_test: Unhandled rejection with value: object "NotSupportedError: ServiceWorkerRegistration::update not yet implemented" 8 FAIL Test(cors: true, main: time, imported: default) promise_test: Unhandled rejection with value: object "NotSupportedError: ServiceWorkerRegistration::update not yet implemented" 9 FAIL Test(cors: true, main: time, imported: time) promise_test: Unhandled rejection with value: object "NotSupportedError: ServiceWorkerRegistration::update not yet implemented" 3 10 4 TIMEOUT Test(cors: false, main: default, imported: default) Test timed out5 NOTRUN Test(cors: false, main: default, imported: time)6 NOTRUN Test(cors: false, main: time, imported: default)7 NOTRUN Test(cors: false, main: time, imported: time)8 NOTRUN Test(cors: true, main: default, imported: default)9 NOTRUN Test(cors: true, main: default, imported: time)10 NOTRUN Test(cors: true, main: time, imported: default)11 NOTRUN Test(cors: true, main: time, imported: time)12 -
trunk/LayoutTests/imported/w3c/web-platform-tests/streams/byte-length-queuing-strategy.serviceworker.https-expected.txt
r220924 r224250 1 1 2 FAIL Service worker test setup assert_unreached: unregister should not fail: serviceWorker.getRegistration() is not yet implemented Reached unreachable code 2 PASS Service worker test setup 3 PASS Can construct a ByteLengthQueuingStrategy with a valid high water mark 4 PASS Can construct a ByteLengthQueuingStrategy with any value as its high water mark 5 PASS ByteLengthQueuingStrategy constructor behaves as expected with strange arguments 6 PASS ByteLengthQueuingStrategy size behaves as expected with strange arguments 7 PASS ByteLengthQueuingStrategy.prototype.size should work generically on its this and its arguments 8 PASS ByteLengthQueuingStrategy instances have the correct properties 9 PASS ByteLengthQueuingStrategy's highWaterMark property can be set to anything 10 PASS ByteLengthQueuingStrategy.name is correct 3 11 -
trunk/LayoutTests/imported/w3c/web-platform-tests/streams/count-queuing-strategy.serviceworker.https-expected.txt
r220924 r224250 1 1 2 FAIL Service worker test setup assert_unreached: unregister should not fail: serviceWorker.getRegistration() is not yet implemented Reached unreachable code 2 PASS Service worker test setup 3 PASS Can construct a CountQueuingStrategy with a valid high water mark 4 PASS Can construct a CountQueuingStrategy with any value as its high water mark 5 PASS CountQueuingStrategy constructor behaves as expected with strange arguments 6 PASS CountQueuingStrategy.prototype.size should work generically on its this and its arguments 7 PASS CountQueuingStrategy size behaves as expected with strange arguments 8 PASS CountQueuingStrategy instances have the correct properties 9 PASS CountQueuingStrategy's highWaterMark property can be set to anything 10 PASS CountQueuingStrategy.name is correct 3 11 -
trunk/LayoutTests/imported/w3c/web-platform-tests/streams/piping/close-propagation-backward.serviceworker.https-expected.txt
r220924 r224250 1 1 2 FAIL Service worker test setup assert_unreached: unregister should not fail: serviceWorker.getRegistration() is not yet implemented Reached unreachable code 2 PASS Service worker test setup 3 FAIL Closing must be propagated backward: starts closed; preventCancel omitted; fulfilled cancel promise Can't find variable: WritableStream 4 FAIL Closing must be propagated backward: starts closed; preventCancel omitted; rejected cancel promise Can't find variable: WritableStream 5 FAIL Closing must be propagated backward: starts closed; preventCancel = undefined (falsy); fulfilled cancel promise Can't find variable: WritableStream 6 FAIL Closing must be propagated backward: starts closed; preventCancel = null (falsy); fulfilled cancel promise Can't find variable: WritableStream 7 FAIL Closing must be propagated backward: starts closed; preventCancel = false (falsy); fulfilled cancel promise Can't find variable: WritableStream 8 FAIL Closing must be propagated backward: starts closed; preventCancel = 0 (falsy); fulfilled cancel promise Can't find variable: WritableStream 9 FAIL Closing must be propagated backward: starts closed; preventCancel = -0 (falsy); fulfilled cancel promise Can't find variable: WritableStream 10 FAIL Closing must be propagated backward: starts closed; preventCancel = NaN (falsy); fulfilled cancel promise Can't find variable: WritableStream 11 FAIL Closing must be propagated backward: starts closed; preventCancel = (falsy); fulfilled cancel promise Can't find variable: WritableStream 12 FAIL Closing must be propagated backward: starts closed; preventCancel = true (truthy) Can't find variable: WritableStream 13 FAIL Closing must be propagated backward: starts closed; preventCancel = a (truthy) Can't find variable: WritableStream 14 FAIL Closing must be propagated backward: starts closed; preventCancel = 1 (truthy) Can't find variable: WritableStream 15 FAIL Closing must be propagated backward: starts closed; preventCancel = Symbol() (truthy) Can't find variable: WritableStream 16 FAIL Closing must be propagated backward: starts closed; preventCancel = [object Object] (truthy) Can't find variable: WritableStream 17 FAIL Closing must be propagated backward: starts closed; preventCancel = true, preventAbort = true Can't find variable: WritableStream 18 FAIL Closing must be propagated backward: starts closed; preventCancel = true, preventAbort = true, preventClose = true Can't find variable: WritableStream 3 19 -
trunk/LayoutTests/imported/w3c/web-platform-tests/streams/piping/close-propagation-forward.serviceworker.https-expected.txt
r220924 r224250 1 1 2 FAIL Service worker test setup assert_unreached: unregister should not fail: serviceWorker.getRegistration() is not yet implemented Reached unreachable code 2 PASS Service worker test setup 3 FAIL Closing must be propagated forward: starts closed; preventClose omitted; fulfilled close promise Can't find variable: WritableStream 4 FAIL Closing must be propagated forward: starts closed; preventClose omitted; rejected close promise Can't find variable: WritableStream 5 FAIL Closing must be propagated forward: starts closed; preventClose = undefined (falsy); fulfilled close promise Can't find variable: WritableStream 6 FAIL Closing must be propagated forward: starts closed; preventClose = null (falsy); fulfilled close promise Can't find variable: WritableStream 7 FAIL Closing must be propagated forward: starts closed; preventClose = false (falsy); fulfilled close promise Can't find variable: WritableStream 8 FAIL Closing must be propagated forward: starts closed; preventClose = 0 (falsy); fulfilled close promise Can't find variable: WritableStream 9 FAIL Closing must be propagated forward: starts closed; preventClose = -0 (falsy); fulfilled close promise Can't find variable: WritableStream 10 FAIL Closing must be propagated forward: starts closed; preventClose = NaN (falsy); fulfilled close promise Can't find variable: WritableStream 11 FAIL Closing must be propagated forward: starts closed; preventClose = (falsy); fulfilled close promise Can't find variable: WritableStream 12 FAIL Closing must be propagated forward: starts closed; preventClose = true (truthy) Can't find variable: WritableStream 13 FAIL Closing must be propagated forward: starts closed; preventClose = a (truthy) Can't find variable: WritableStream 14 FAIL Closing must be propagated forward: starts closed; preventClose = 1 (truthy) Can't find variable: WritableStream 15 FAIL Closing must be propagated forward: starts closed; preventClose = Symbol() (truthy) Can't find variable: WritableStream 16 FAIL Closing must be propagated forward: starts closed; preventClose = [object Object] (truthy) Can't find variable: WritableStream 17 FAIL Closing must be propagated forward: starts closed; preventClose = true, preventAbort = true Can't find variable: WritableStream 18 FAIL Closing must be propagated forward: starts closed; preventClose = true, preventAbort = true, preventCancel = true Can't find variable: WritableStream 19 FAIL Closing must be propagated forward: becomes closed asynchronously; preventClose omitted; fulfilled close promise Can't find variable: WritableStream 20 FAIL Closing must be propagated forward: becomes closed asynchronously; preventClose omitted; rejected close promise Can't find variable: WritableStream 21 FAIL Closing must be propagated forward: becomes closed asynchronously; preventClose = true Can't find variable: WritableStream 22 FAIL Closing must be propagated forward: becomes closed asynchronously; dest never desires chunks; preventClose omitted; fulfilled close promise Can't find variable: WritableStream 23 FAIL Closing must be propagated forward: becomes closed asynchronously; dest never desires chunks; preventClose omitted; rejected close promise Can't find variable: WritableStream 24 FAIL Closing must be propagated forward: becomes closed asynchronously; dest never desires chunks; preventClose = true Can't find variable: WritableStream 25 FAIL Closing must be propagated forward: becomes closed after one chunk; preventClose omitted; fulfilled close promise Can't find variable: WritableStream 26 FAIL Closing must be propagated forward: becomes closed after one chunk; preventClose omitted; rejected close promise Can't find variable: WritableStream 27 FAIL Closing must be propagated forward: becomes closed after one chunk; preventClose = true Can't find variable: WritableStream 28 FAIL Closing must be propagated forward: shutdown must not occur until the final write completes Can't find variable: WritableStream 29 FAIL Closing must be propagated forward: shutdown must not occur until the final write completes; preventClose = true Can't find variable: WritableStream 3 30 -
trunk/LayoutTests/imported/w3c/web-platform-tests/streams/piping/error-propagation-backward.serviceworker.https-expected.txt
r220924 r224250 1 1 2 FAIL Service worker test setup assert_unreached: unregister should not fail: serviceWorker.getRegistration() is not yet implemented Reached unreachable code 2 PASS Service worker test setup 3 FAIL Errors must be propagated backward: starts errored; preventCancel omitted; fulfilled cancel promise Can't find variable: WritableStream 4 FAIL Errors must be propagated backward: becomes errored before piping due to write; preventCancel omitted; fulfilled cancel promise Can't find variable: WritableStream 5 FAIL Errors must be propagated backward: becomes errored before piping due to write; preventCancel omitted; rejected cancel promise Can't find variable: WritableStream 6 FAIL Errors must be propagated backward: becomes errored before piping due to write; preventCancel = undefined (falsy); fulfilled cancel promise Can't find variable: WritableStream 7 FAIL Errors must be propagated backward: becomes errored before piping due to write; preventCancel = null (falsy); fulfilled cancel promise Can't find variable: WritableStream 8 FAIL Errors must be propagated backward: becomes errored before piping due to write; preventCancel = false (falsy); fulfilled cancel promise Can't find variable: WritableStream 9 FAIL Errors must be propagated backward: becomes errored before piping due to write; preventCancel = 0 (falsy); fulfilled cancel promise Can't find variable: WritableStream 10 FAIL Errors must be propagated backward: becomes errored before piping due to write; preventCancel = -0 (falsy); fulfilled cancel promise Can't find variable: WritableStream 11 FAIL Errors must be propagated backward: becomes errored before piping due to write; preventCancel = NaN (falsy); fulfilled cancel promise Can't find variable: WritableStream 12 FAIL Errors must be propagated backward: becomes errored before piping due to write; preventCancel = (falsy); fulfilled cancel promise Can't find variable: WritableStream 13 FAIL Errors must be propagated backward: becomes errored before piping due to write; preventCancel = true (truthy) Can't find variable: WritableStream 14 FAIL Errors must be propagated backward: becomes errored before piping due to write; preventCancel = a (truthy) Can't find variable: WritableStream 15 FAIL Errors must be propagated backward: becomes errored before piping due to write; preventCancel = 1 (truthy) Can't find variable: WritableStream 16 FAIL Errors must be propagated backward: becomes errored before piping due to write; preventCancel = Symbol() (truthy) Can't find variable: WritableStream 17 FAIL Errors must be propagated backward: becomes errored before piping due to write; preventCancel = [object Object] (truthy) Can't find variable: WritableStream 18 FAIL Errors must be propagated backward: becomes errored before piping due to write, preventCancel = true; preventAbort = true Can't find variable: WritableStream 19 FAIL Errors must be propagated backward: becomes errored before piping due to write; preventCancel = true, preventAbort = true, preventClose = true Can't find variable: WritableStream 20 FAIL Errors must be propagated backward: becomes errored during piping due to write; preventCancel omitted; fulfilled cancel promise Can't find variable: WritableStream 21 FAIL Errors must be propagated backward: becomes errored during piping due to write; preventCancel omitted; rejected cancel promise Can't find variable: WritableStream 22 FAIL Errors must be propagated backward: becomes errored during piping due to write; preventCancel = true Can't find variable: WritableStream 23 FAIL Errors must be propagated backward: becomes errored during piping due to write, but async; preventCancel = false; fulfilled cancel promise Can't find variable: WritableStream 24 FAIL Errors must be propagated backward: becomes errored during piping due to write, but async; preventCancel = false; rejected cancel promise Can't find variable: WritableStream 25 FAIL Errors must be propagated backward: becomes errored during piping due to write, but async; preventCancel = true Can't find variable: WritableStream 26 FAIL Errors must be propagated backward: becomes errored after piping; preventCancel omitted; fulfilled cancel promise Can't find variable: WritableStream 27 FAIL Errors must be propagated backward: becomes errored after piping; preventCancel omitted; rejected cancel promise Can't find variable: WritableStream 28 FAIL Errors must be propagated backward: becomes errored after piping; preventCancel = true Can't find variable: WritableStream 29 FAIL Errors must be propagated backward: becomes errored after piping due to last write; source is closed; preventCancel omitted (but cancel is never called) Can't find variable: WritableStream 30 FAIL Errors must be propagated backward: becomes errored after piping due to last write; source is closed; preventCancel = true Can't find variable: WritableStream 31 FAIL Errors must be propagated backward: becomes errored after piping; dest never desires chunks; preventCancel = false; fulfilled cancel promise Can't find variable: WritableStream 32 FAIL Errors must be propagated backward: becomes errored after piping; dest never desires chunks; preventCancel = false; rejected cancel promise Can't find variable: WritableStream 33 FAIL Errors must be propagated backward: becomes errored after piping; dest never desires chunks; preventCancel = true Can't find variable: WritableStream 34 FAIL Errors must be propagated backward: becomes errored before piping via abort; preventCancel omitted; fulfilled cancel promise Can't find variable: WritableStream 35 FAIL Errors must be propagated backward: becomes errored before piping via abort; preventCancel omitted; rejected cancel promise Can't find variable: WritableStream 36 FAIL Errors must be propagated backward: becomes errored before piping via abort; preventCancel = true Can't find variable: WritableStream 37 FAIL Errors must be propagated backward: erroring via the controller errors once pending write completes Can't find variable: WritableStream 3 38 -
trunk/LayoutTests/imported/w3c/web-platform-tests/streams/piping/error-propagation-forward.serviceworker.https-expected.txt
r220924 r224250 1 1 2 FAIL Service worker test setup assert_unreached: unregister should not fail: serviceWorker.getRegistration() is not yet implemented Reached unreachable code 2 PASS Service worker test setup 3 FAIL Errors must be propagated forward: starts errored; preventAbort = false; fulfilled abort promise Can't find variable: WritableStream 4 FAIL Errors must be propagated forward: starts errored; preventAbort = false; rejected abort promise Can't find variable: WritableStream 5 FAIL Errors must be propagated forward: starts errored; preventAbort = undefined (falsy); fulfilled abort promise Can't find variable: WritableStream 6 FAIL Errors must be propagated forward: starts errored; preventAbort = null (falsy); fulfilled abort promise Can't find variable: WritableStream 7 FAIL Errors must be propagated forward: starts errored; preventAbort = false (falsy); fulfilled abort promise Can't find variable: WritableStream 8 FAIL Errors must be propagated forward: starts errored; preventAbort = 0 (falsy); fulfilled abort promise Can't find variable: WritableStream 9 FAIL Errors must be propagated forward: starts errored; preventAbort = -0 (falsy); fulfilled abort promise Can't find variable: WritableStream 10 FAIL Errors must be propagated forward: starts errored; preventAbort = NaN (falsy); fulfilled abort promise Can't find variable: WritableStream 11 FAIL Errors must be propagated forward: starts errored; preventAbort = (falsy); fulfilled abort promise Can't find variable: WritableStream 12 FAIL Errors must be propagated forward: starts errored; preventAbort = true (truthy) Can't find variable: WritableStream 13 FAIL Errors must be propagated forward: starts errored; preventAbort = a (truthy) Can't find variable: WritableStream 14 FAIL Errors must be propagated forward: starts errored; preventAbort = 1 (truthy) Can't find variable: WritableStream 15 FAIL Errors must be propagated forward: starts errored; preventAbort = Symbol() (truthy) Can't find variable: WritableStream 16 FAIL Errors must be propagated forward: starts errored; preventAbort = [object Object] (truthy) Can't find variable: WritableStream 17 FAIL Errors must be propagated forward: starts errored; preventAbort = true, preventCancel = true Can't find variable: WritableStream 18 FAIL Errors must be propagated forward: starts errored; preventAbort = true, preventCancel = true, preventClose = true Can't find variable: WritableStream 19 FAIL Errors must be propagated forward: becomes errored while empty; preventAbort = false; fulfilled abort promise Can't find variable: WritableStream 20 FAIL Errors must be propagated forward: becomes errored while empty; preventAbort = false; rejected abort promise Can't find variable: WritableStream 21 FAIL Errors must be propagated forward: becomes errored while empty; preventAbort = true Can't find variable: WritableStream 22 FAIL Errors must be propagated forward: becomes errored while empty; dest never desires chunks; preventAbort = false; fulfilled abort promise Can't find variable: WritableStream 23 FAIL Errors must be propagated forward: becomes errored while empty; dest never desires chunks; preventAbort = false; rejected abort promise Can't find variable: WritableStream 24 FAIL Errors must be propagated forward: becomes errored while empty; dest never desires chunks; preventAbort = true Can't find variable: WritableStream 25 FAIL Errors must be propagated forward: becomes errored after one chunk; preventAbort = false; fulfilled abort promise Can't find variable: WritableStream 26 FAIL Errors must be propagated forward: becomes errored after one chunk; preventAbort = false; rejected abort promise Can't find variable: WritableStream 27 FAIL Errors must be propagated forward: becomes errored after one chunk; preventAbort = true Can't find variable: WritableStream 28 FAIL Errors must be propagated forward: becomes errored after one chunk; dest never desires chunks; preventAbort = false; fulfilled abort promise Can't find variable: WritableStream 29 FAIL Errors must be propagated forward: becomes errored after one chunk; dest never desires chunks; preventAbort = false; rejected abort promise Can't find variable: WritableStream 30 FAIL Errors must be propagated forward: becomes errored after one chunk; dest never desires chunks; preventAbort = true Can't find variable: WritableStream 31 FAIL Errors must be propagated forward: shutdown must not occur until the final write completes Can't find variable: WritableStream 3 32 -
trunk/LayoutTests/imported/w3c/web-platform-tests/streams/piping/flow-control.serviceworker.https-expected.txt
r220924 r224250 1 1 2 FAIL Service worker test setup assert_unreached: unregister should not fail: serviceWorker.getRegistration() is not yet implemented Reached unreachable code 2 PASS Service worker test setup 3 FAIL Piping from a non-empty ReadableStream into a WritableStream that does not desire chunks Can't find variable: WritableStream 4 FAIL Piping from a non-empty ReadableStream into a WritableStream that does not desire chunks, but then does Can't find variable: WritableStream 5 FAIL Piping from an empty ReadableStream into a WritableStream that does not desire chunks, but then the readable stream becomes non-empty and the writable stream starts desiring chunks Can't find variable: WritableStream 6 FAIL Piping from a ReadableStream to a WritableStream that desires more chunks before finishing with previous ones Can't find variable: WritableStream 7 FAIL Piping to a WritableStream that does not consume the writes fast enough exerts backpressure on the ReadableStream Can't find variable: WritableStream 3 8 -
trunk/LayoutTests/imported/w3c/web-platform-tests/streams/piping/general.serviceworker.https-expected.txt
r220924 r224250 1 1 2 FAIL Service worker test setup assert_unreached: unregister should not fail: serviceWorker.getRegistration() is not yet implemented Reached unreachable code 2 PASS Service worker test setup 3 FAIL Piping must lock both the ReadableStream and WritableStream Can't find variable: WritableStream 4 FAIL Piping finishing must unlock both the ReadableStream and WritableStream Can't find variable: WritableStream 5 FAIL pipeTo must check the brand of its ReadableStream this value Can't find variable: WritableStream 6 FAIL pipeTo must check the brand of its WritableStream argument Can't find variable: WritableStream 7 FAIL pipeTo must fail if the ReadableStream is locked, and not lock the WritableStream Can't find variable: WritableStream 8 FAIL pipeTo must fail if the WritableStream is locked, and not lock the ReadableStream Can't find variable: WritableStream 9 FAIL Piping from a ReadableStream from which lots of chunks are synchronously readable Can't find variable: WritableStream 10 FAIL Piping from a ReadableStream for which a chunk becomes asynchronously readable after the pipeTo Can't find variable: WritableStream 11 FAIL an undefined rejection from pull should cause pipeTo() to reject when preventAbort is true Can't find variable: WritableStream 12 FAIL an undefined rejection from pull should cause pipeTo() to reject when preventAbort is false Can't find variable: WritableStream 13 FAIL an undefined rejection from write should cause pipeTo() to reject when preventCancel is true Can't find variable: WritableStream 14 FAIL an undefined rejection from write should cause pipeTo() to reject when preventCancel is false Can't find variable: WritableStream 3 15 -
trunk/LayoutTests/imported/w3c/web-platform-tests/streams/piping/multiple-propagation.serviceworker.https-expected.txt
r220924 r224250 1 1 2 FAIL Service worker test setup assert_unreached: unregister should not fail: serviceWorker.getRegistration() is not yet implemented Reached unreachable code 2 PASS Service worker test setup 3 FAIL Piping from an errored readable stream to an errored writable stream Can't find variable: WritableStream 4 FAIL Piping from an errored readable stream to an errored writable stream; preventAbort = true Can't find variable: WritableStream 5 FAIL Piping from an errored readable stream to a closing writable stream Can't find variable: WritableStream 6 FAIL Piping from an errored readable stream to a closed writable stream Can't find variable: WritableStream 7 FAIL Piping from a closed readable stream to an errored writable stream Can't find variable: WritableStream 8 FAIL Piping from a closed readable stream to a closed writable stream Can't find variable: WritableStream 3 9 -
trunk/LayoutTests/imported/w3c/web-platform-tests/streams/piping/pipe-through.serviceworker.https-expected.txt
r220924 r224250 1 1 2 FAIL Service worker test setup assert_unreached: unregister should not fail: serviceWorker.getRegistration() is not yet implemented Reached unreachable code 2 PASS Service worker test setup 3 FAIL Piping through a duck-typed pass-through transform stream should work Can't find variable: WritableStream 4 FAIL Piping through a transform errored on the writable end does not cause an unhandled promise rejection Can't find variable: WritableStream 5 PASS pipeThrough generically calls pipeTo with the appropriate args 6 FAIL pipeThrough can handle calling a pipeTo that returns a non-promise object Can't find variable: WritableStream 7 FAIL pipeThrough can handle calling a pipeTo that returns a non-promise thenable object Can't find variable: WritableStream 8 FAIL pipeThrough should mark a real promise from a fake readable as handled Can't find variable: WritableStream 9 FAIL pipeThrough should not be fooled by an object whose instanceof Promise returns true Can't find variable: WritableStream 10 PASS undefined readable or writable arguments should cause pipeThrough to throw 11 FAIL invalid but not undefined arguments should not cause pipeThrough to throw Can't find variable: WritableStream 12 PASS pipeThrough should throw when its first argument is not convertible to an object 13 PASS pipeThrough should throw when "this" has no pipeTo method 14 PASS pipeThrough should rethrow errors from accessing pipeTo, readable, or writable 15 PASS pipeThrough should work with no options argument 3 16 -
trunk/LayoutTests/imported/w3c/web-platform-tests/streams/piping/transform-streams.serviceworker.https-expected.txt
r220924 r224250 1 1 2 FAIL Service worker test setup assert_unreached: unregister should not fail: serviceWorker.getRegistration() is not yet implemented Reached unreachable code 2 PASS Service worker test setup 3 FAIL Piping through an identity transform stream should close the destination when the source closes Can't find variable: TransformStream 3 4 -
trunk/LayoutTests/imported/w3c/web-platform-tests/streams/readable-byte-streams/brand-checks.serviceworker.https-expected.txt
r222307 r224250 1 1 2 FAIL Service worker test setup assert_unreached: unregister should not fail: serviceWorker.getRegistration() is not yet implemented Reached unreachable code 2 PASS Service worker test setup 3 FAIL Can get the ReadableStreamBYOBReader constructor indirectly ReadableByteStreamController is not implemented 4 FAIL Can get the ReadableByteStreamController constructor indirectly ReadableByteStreamController is not implemented 5 PASS ReadableStreamBYOBReader enforces a brand check on its argument 6 FAIL ReadableStreamBYOBReader.prototype.closed enforces a brand check undefined is not an object (evaluating 'ReadableStreamBYOBReader.prototype') 7 FAIL ReadableStreamBYOBReader.prototype.cancel enforces a brand check undefined is not an object (evaluating 'ReadableStreamBYOBReader.prototype') 8 FAIL ReadableStreamBYOBReader.prototype.read enforces a brand check undefined is not an object (evaluating 'ReadableStreamBYOBReader.prototype') 9 FAIL ReadableStreamBYOBReader.prototype.releaseLock enforces a brand check undefined is not an object (evaluating 'ReadableStreamBYOBReader.prototype') 10 PASS ReadableByteStreamController enforces a brand check on its arguments 11 PASS ReadableByteStreamController can't be given a fully-constructed ReadableStream 12 FAIL ReadableByteStreamController.prototype.byobRequest enforces a brand check undefined is not an object (evaluating 'ReadableByteStreamController.prototype') 13 FAIL ReadableByteStreamController.prototype.close enforces a brand check undefined is not an object (evaluating 'ReadableByteStreamController.prototype') 14 FAIL ReadableByteStreamController.prototype.enqueue enforces a brand check undefined is not an object (evaluating 'ReadableByteStreamController.prototype') 15 FAIL ReadableByteStreamController.prototype.error enforces a brand check undefined is not an object (evaluating 'ReadableByteStreamController.prototype') 16 FAIL ReadableStreamBYOBRequest enforces brand checks ReadableByteStreamController is not implemented 3 17 -
trunk/LayoutTests/imported/w3c/web-platform-tests/streams/readable-byte-streams/detached-buffers.serviceworker.https-expected.txt
r224166 r224250 1 1 2 Harness Error (TIMEOUT), message = null 2 PASS Service worker test setup 3 FAIL ReadableStream with byte source: read()ing from a closed stream still transfers the buffer ReadableByteStreamController is not implemented 4 FAIL ReadableStream with byte source: read()ing from a stream with queued chunks still transfers the buffer ReadableByteStreamController is not implemented 5 FAIL ReadableStream with byte source: enqueuing an already-detached buffer throws ReadableByteStreamController is not implemented 6 FAIL ReadableStream with byte source: reading into an already-detached buffer rejects ReadableByteStreamController is not implemented 7 FAIL ReadableStream with byte source: respond() throws if the BYOB request's buffer has been detached (in the readable state) ReadableByteStreamController is not implemented 8 FAIL ReadableStream with byte source: respond() throws if the BYOB request's buffer has been detached (in the closed state) ReadableByteStreamController is not implemented 9 FAIL ReadableStream with byte source: respondWithNewView() throws if the supplied view's buffer has been detached (in the readable state) ReadableByteStreamController is not implemented 10 FAIL ReadableStream with byte source: respondWithNewView() throws if the supplied view's buffer has been detached (in the closed state) ReadableByteStreamController is not implemented 3 11 4 TIMEOUT Service worker test setup Test timed out5 -
trunk/LayoutTests/imported/w3c/web-platform-tests/streams/readable-byte-streams/general.serviceworker.https-expected.txt
r220924 r224250 1 1 2 FAIL Service worker test setup assert_unreached: unregister should not fail: serviceWorker.getRegistration() is not yet implemented Reached unreachable code 2 PASS Service worker test setup 3 PASS getReader({mode: "byob"}) throws on non-bytes streams 4 FAIL ReadableStream with byte source can be constructed with no errors ReadableByteStreamController is not implemented 5 FAIL getReader({mode}) must perform ToString() ReadableByteStreamController is not implemented 6 FAIL ReadableStream with byte source: Construct and expect start and pull being called ReadableByteStreamController is not implemented 7 FAIL ReadableStream with byte source: No automatic pull call if start doesn't finish ReadableByteStreamController is not implemented 8 FAIL ReadableStream with byte source: Construct with highWaterMark of 0 ReadableByteStreamController is not implemented 9 FAIL ReadableStream with byte source: desiredSize when closed ReadableByteStreamController is not implemented 10 FAIL ReadableStream with byte source: desiredSize when errored ReadableByteStreamController is not implemented 11 FAIL ReadableStream with byte source: getReader(), then releaseLock() ReadableByteStreamController is not implemented 12 FAIL ReadableStream with byte source: getReader() with mode set to byob, then releaseLock() ReadableByteStreamController is not implemented 13 FAIL ReadableStream with byte source: Test that closing a stream does not release a reader automatically ReadableByteStreamController is not implemented 14 FAIL ReadableStream with byte source: Test that closing a stream does not release a BYOB reader automatically ReadableByteStreamController is not implemented 15 FAIL ReadableStream with byte source: Test that erroring a stream does not release a reader automatically ReadableByteStreamController is not implemented 16 FAIL ReadableStream with byte source: Test that erroring a stream does not release a BYOB reader automatically ReadableByteStreamController is not implemented 17 FAIL ReadableStream with byte source: releaseLock() on ReadableStreamReader with pending read() must throw ReadableByteStreamController is not implemented 18 FAIL ReadableStream with byte source: Automatic pull() after start() ReadableByteStreamController is not implemented 19 FAIL ReadableStream with byte source: Automatic pull() after start() and read() ReadableByteStreamController is not implemented 20 FAIL ReadableStream with byte source: autoAllocateChunkSize ReadableByteStreamController is not implemented 21 FAIL ReadableStream with byte source: Mix of auto allocate and BYOB ReadableByteStreamController is not implemented 22 FAIL ReadableStream with byte source: Automatic pull() after start() and read(view) ReadableByteStreamController is not implemented 23 FAIL ReadableStream with byte source: enqueue(), getReader(), then read() ReadableByteStreamController is not implemented 24 FAIL ReadableStream with byte source: Push source that doesn't understand pull signal ReadableByteStreamController is not implemented 25 FAIL ReadableStream with byte source: read(), but pull() function is not callable ReadableByteStreamController is not implemented 26 FAIL ReadableStream with byte source: read(view), but pull() function is not callable ReadableByteStreamController is not implemented 27 FAIL ReadableStream with byte source: enqueue() with Uint16Array, getReader(), then read() ReadableByteStreamController is not implemented 28 FAIL ReadableStream with byte source: enqueue(), read(view) partially, then read() ReadableByteStreamController is not implemented 29 FAIL ReadableStream with byte source: getReader(), enqueue(), close(), then read() ReadableByteStreamController is not implemented 30 FAIL ReadableStream with byte source: enqueue(), close(), getReader(), then read() ReadableByteStreamController is not implemented 31 FAIL ReadableStream with byte source: Respond to pull() by enqueue() ReadableByteStreamController is not implemented 32 FAIL ReadableStream with byte source: Respond to pull() by enqueue() asynchronously ReadableByteStreamController is not implemented 33 FAIL ReadableStream with byte source: read(view), then respond() ReadableByteStreamController is not implemented 34 FAIL ReadableStream with byte source: read(view), then respond() with a transferred ArrayBuffer ReadableByteStreamController is not implemented 35 FAIL ReadableStream with byte source: read(view), then respond() with too big value ReadableByteStreamController is not implemented 36 FAIL ReadableStream with byte source: respond(3) to read(view) with 2 element Uint16Array enqueues the 1 byte remainder ReadableByteStreamController is not implemented 37 FAIL ReadableStream with byte source: enqueue(), getReader(), then read(view) ReadableByteStreamController is not implemented 38 FAIL ReadableStream with byte source: enqueue(), getReader(), then cancel() (mode = not BYOB) ReadableByteStreamController is not implemented 39 FAIL ReadableStream with byte source: enqueue(), getReader(), then cancel() (mode = BYOB) ReadableByteStreamController is not implemented 40 FAIL ReadableStream with byte source: getReader(), read(view), then cancel() ReadableByteStreamController is not implemented 41 FAIL ReadableStream with byte source: cancel() with partially filled pending pull() request ReadableByteStreamController is not implemented 42 FAIL ReadableStream with byte source: enqueue(), getReader(), then read(view) where view.buffer is not fully covered by view ReadableByteStreamController is not implemented 43 FAIL ReadableStream with byte source: Multiple enqueue(), getReader(), then read(view) ReadableByteStreamController is not implemented 44 FAIL ReadableStream with byte source: enqueue(), getReader(), then read(view) with a bigger view ReadableByteStreamController is not implemented 45 FAIL ReadableStream with byte source: enqueue(), getReader(), then read(view) with a smaller views ReadableByteStreamController is not implemented 46 FAIL ReadableStream with byte source: enqueue() 1 byte, getReader(), then read(view) with Uint16Array ReadableByteStreamController is not implemented 47 FAIL ReadableStream with byte source: enqueue() 3 byte, getReader(), then read(view) with 2-element Uint16Array ReadableByteStreamController is not implemented 48 FAIL ReadableStream with byte source: read(view) with Uint16Array on close()-d stream with 1 byte enqueue()-d must fail ReadableByteStreamController is not implemented 49 FAIL ReadableStream with byte source: A stream must be errored if close()-d before fulfilling read(view) with Uint16Array ReadableByteStreamController is not implemented 50 FAIL ReadableStream with byte source: Throw if close()-ed more than once ReadableByteStreamController is not implemented 51 FAIL ReadableStream with byte source: Throw on enqueue() after close() ReadableByteStreamController is not implemented 52 FAIL ReadableStream with byte source: read(view), then respond() and close() in pull() ReadableByteStreamController is not implemented 53 FAIL ReadableStream with byte source: read(view) with Uint32Array, then fill it by multiple respond() calls ReadableByteStreamController is not implemented 54 FAIL ReadableStream with byte source: read() twice, then enqueue() twice ReadableByteStreamController is not implemented 55 FAIL ReadableStream with byte source: Multiple read(view), close() and respond() ReadableByteStreamController is not implemented 56 FAIL ReadableStream with byte source: Multiple read(view), big enqueue() ReadableByteStreamController is not implemented 57 FAIL ReadableStream with byte source: Multiple read(view) and multiple enqueue() ReadableByteStreamController is not implemented 58 FAIL ReadableStream with byte source: read(view) with passing undefined as view must fail ReadableByteStreamController is not implemented 59 FAIL ReadableStream with byte source: read(view) with zero-length view must fail ReadableByteStreamController is not implemented 60 FAIL ReadableStream with byte source: read(view) with passing an empty object as view must fail ReadableByteStreamController is not implemented 61 FAIL ReadableStream with byte source: Even read(view) with passing ArrayBufferView like object as view must fail ReadableByteStreamController is not implemented 62 FAIL ReadableStream with byte source: read() on an errored stream ReadableByteStreamController is not implemented 63 FAIL ReadableStream with byte source: read(), then error() ReadableByteStreamController is not implemented 64 FAIL ReadableStream with byte source: read(view) on an errored stream ReadableByteStreamController is not implemented 65 FAIL ReadableStream with byte source: read(view), then error() ReadableByteStreamController is not implemented 66 FAIL ReadableStream with byte source: Throwing in pull function must error the stream ReadableByteStreamController is not implemented 67 FAIL ReadableStream with byte source: Throwing in pull in response to read() must be ignored if the stream is errored in it ReadableByteStreamController is not implemented 68 FAIL ReadableStream with byte source: Throwing in pull in response to read(view) function must error the stream ReadableByteStreamController is not implemented 69 FAIL ReadableStream with byte source: Throwing in pull in response to read(view) must be ignored if the stream is errored in it ReadableByteStreamController is not implemented 70 FAIL ReadableStream with byte source: default reader + autoAllocateChunkSize + byobRequest interaction ReadableByteStreamController is not implemented 71 FAIL ReadableStreamBYOBReader can be constructed directly ReadableByteStreamController is not implemented 72 FAIL ReadableStreamBYOBReader constructor requires a ReadableStream argument ReadableByteStreamController is not implemented 73 FAIL ReadableStreamBYOBReader constructor requires an unlocked ReadableStream ReadableByteStreamController is not implemented 74 FAIL ReadableStreamBYOBReader constructor requires a ReadableStream with type "bytes" ReadableByteStreamController is not implemented 3 75 -
trunk/LayoutTests/imported/w3c/web-platform-tests/streams/readable-byte-streams/properties.serviceworker.https-expected.txt
r222307 r224250 1 1 2 FAIL Service worker test setup assert_unreached: unregister should not fail: serviceWorker.getRegistration() is not yet implemented Reached unreachable code 2 PASS Service worker test setup 3 FAIL Can get the ReadableStreamBYOBReader constructor indirectly ReadableByteStreamController is not implemented 4 PASS ReadableStreamBYOBReader constructor should get a ReadableStream object as argument 5 FAIL ReadableStreamBYOBReader instances should have the correct list of properties ReadableByteStreamController is not implemented 6 FAIL ReadableStreamBYOBRequest instances should have the correct list of properties ReadableByteStreamController is not implemented 7 FAIL ReadableByteStreamController instances should have the correct list of properties ReadableByteStreamController is not implemented 3 8 -
trunk/LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/bad-strategies.serviceworker.https-expected.txt
r220924 r224250 1 1 2 FAIL Service worker test setup assert_unreached: unregister should not fail: serviceWorker.getRegistration() is not yet implemented Reached unreachable code 2 PASS Service worker test setup 3 PASS Readable stream: throwing strategy.size getter 4 PASS Readable stream: strategy.size errors the stream and then throws 5 PASS Readable stream: strategy.size errors the stream and then returns Infinity 6 PASS Readable stream: throwing strategy.size method 7 PASS Readable stream: throwing strategy.highWaterMark getter 8 PASS Readable stream: invalid strategy.highWaterMark 9 PASS Readable stream: invalid strategy.size return value 3 10 -
trunk/LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/bad-underlying-sources.serviceworker.https-expected.txt
r220924 r224250 1 1 2 FAIL Service worker test setup assert_unreached: unregister should not fail: serviceWorker.getRegistration() is not yet implemented Reached unreachable code 2 PASS Service worker test setup 3 PASS Underlying source start: throwing getter 4 PASS Underlying source start: throwing method 5 PASS Underlying source: throwing pull getter (initial pull) 6 PASS Underlying source: throwing pull method (initial pull) 7 PASS Underlying source pull: throwing getter (second pull) 8 PASS Underlying source pull: throwing method (second pull) 9 PASS Underlying source cancel: throwing getter 10 PASS Underlying source cancel: throwing method 11 PASS Underlying source: calling enqueue on an empty canceled stream should throw 12 PASS Underlying source: calling enqueue on a non-empty canceled stream should throw 13 PASS Underlying source: calling enqueue on a closed stream should throw 14 PASS Underlying source: calling enqueue on an errored stream should throw 15 PASS Underlying source: calling close twice on an empty stream should throw the second time 16 PASS Underlying source: calling close twice on a non-empty stream should throw the second time 17 PASS Underlying source: calling close on an empty canceled stream should throw 18 PASS Underlying source: calling close on a non-empty canceled stream should throw 19 PASS Underlying source: calling close after error should throw 20 PASS Underlying source: calling error twice should throw the second time 21 PASS Underlying source: calling error after close should throw 22 PASS Underlying source: calling error and returning a rejected promise from start should cause the stream to error with the first error 23 PASS Underlying source: calling error and returning a rejected promise from pull should cause the stream to error with the first error 24 PASS read should not error if it dequeues and pull() throws 3 25 -
trunk/LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/brand-checks.serviceworker.https-expected.txt
r220924 r224250 1 1 2 FAIL Service worker test setup assert_unreached: unregister should not fail: serviceWorker.getRegistration() is not yet implemented Reached unreachable code 2 PASS Service worker test setup 3 PASS Can get the ReadableStreamDefaultReader constructor indirectly 4 PASS Can get the ReadableStreamDefaultController constructor indirectly 5 PASS ReadableStream.prototype.cancel enforces a brand check 6 PASS ReadableStream.prototype.getReader enforces a brand check 7 PASS ReadableStream.prototype.tee enforces a brand check 8 PASS ReadableStreamDefaultReader enforces a brand check on its argument 9 PASS ReadableStreamDefaultReader.prototype.closed enforces a brand check 10 PASS ReadableStreamDefaultReader.prototype.cancel enforces a brand check 11 PASS ReadableStreamDefaultReader.prototype.read enforces a brand check 12 PASS ReadableStreamDefaultReader.prototype.releaseLock enforces a brand check 13 PASS ReadableStreamDefaultController enforces a brand check on its argument 14 PASS ReadableStreamDefaultController can't be given a fully-constructed ReadableStream 15 PASS ReadableStreamDefaultController.prototype.close enforces a brand check 16 PASS ReadableStreamDefaultController.prototype.enqueue enforces a brand check 17 PASS ReadableStreamDefaultController.prototype.error enforces a brand check 3 18 -
trunk/LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/cancel.serviceworker.https-expected.txt
r220924 r224250 1 1 2 FAIL Service worker test setup assert_unreached: unregister should not fail: serviceWorker.getRegistration() is not yet implemented Reached unreachable code 2 PASS Service worker test setup 3 PASS ReadableStream cancellation: integration test on an infinite stream derived from a random push source 4 PASS ReadableStream cancellation: cancel(reason) should pass through the given reason to the underlying source 5 PASS ReadableStream cancellation: cancel() on a locked stream should fail and not call the underlying source cancel 6 PASS ReadableStream cancellation: should fulfill promise when cancel callback went fine 7 PASS ReadableStream cancellation: returning a value from the underlying source's cancel should not affect the fulfillment value of the promise returned by the stream's cancel 8 PASS ReadableStream cancellation: should reject promise when cancel callback raises an exception 9 PASS ReadableStream cancellation: if the underlying source's cancel method returns a promise, the promise returned by the stream's cancel should fulfill when that one does (1) 10 PASS ReadableStream cancellation: if the underlying source's cancel method returns a promise, the promise returned by the stream's cancel should fulfill when that one does (2) 11 PASS ReadableStream cancellation: if the underlying source's cancel method returns a promise, the promise returned by the stream's cancel should reject when that one does 12 PASS ReadableStream cancellation: cancelling before start finishes should prevent pull() from being called 3 13 -
trunk/LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/count-queuing-strategy-integration.serviceworker.https-expected.txt
r220924 r224250 1 1 2 FAIL Service worker test setup assert_unreached: unregister should not fail: serviceWorker.getRegistration() is not yet implemented Reached unreachable code 2 PASS Service worker test setup 3 PASS Can construct a readable stream with a valid CountQueuingStrategy 4 PASS Correctly governs a ReadableStreamController's desiredSize property (HWM = 0) 5 PASS Correctly governs a ReadableStreamController's desiredSize property (HWM = 1) 6 PASS Correctly governs a ReadableStreamController's desiredSize property (HWM = 4) 3 7 -
trunk/LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/default-reader.serviceworker.https-expected.txt
r220924 r224250 1 1 2 FAIL Service worker test setup assert_unreached: unregister should not fail: serviceWorker.getRegistration() is not yet implemented Reached unreachable code 2 PASS Service worker test setup 3 PASS Can get the ReadableStreamDefaultReader constructor indirectly 4 PASS ReadableStreamDefaultReader constructor should get a ReadableStream object as argument 5 PASS ReadableStreamDefaultReader instances should have the correct list of properties 6 PASS ReadableStreamDefaultReader closed should always return the same promise object 7 PASS Constructing a ReadableStreamDefaultReader directly should fail if the stream is already locked (via direct construction) 8 PASS Getting a ReadableStreamDefaultReader via getReader should fail if the stream is already locked (via direct construction) 9 PASS Constructing a ReadableStreamDefaultReader directly should fail if the stream is already locked (via getReader) 10 PASS Getting a ReadableStreamDefaultReader via getReader should fail if the stream is already locked (via getReader) 11 PASS Constructing a ReadableStreamDefaultReader directly should be OK if the stream is closed 12 PASS Constructing a ReadableStreamDefaultReader directly should be OK if the stream is errored 13 PASS Reading from a reader for an empty stream will wait until a chunk is available 14 PASS cancel() on a reader does not release the reader 15 PASS closed should be fulfilled after stream is closed (.closed access before acquiring) 16 PASS closed should be rejected after reader releases its lock (multiple stream locks) 17 PASS Multiple readers can access the stream in sequence 18 PASS Cannot use an already-released reader to unlock a stream again 19 PASS cancel() on a released reader is a no-op and does not pass through 20 PASS Getting a second reader after erroring the stream and releasing the reader should succeed 21 PASS ReadableStreamDefaultReader closed promise should be rejected with undefined if that is the error 22 PASS ReadableStreamDefaultReader: if start rejects with no parameter, it should error the stream with an undefined error 23 PASS Erroring a ReadableStream after checking closed should reject ReadableStreamDefaultReader closed promise 24 PASS Erroring a ReadableStream before checking closed should reject ReadableStreamDefaultReader closed promise 25 PASS Reading twice on a stream that gets closed 26 PASS Reading twice on a closed stream 27 PASS Reading twice on an errored stream 28 PASS Reading twice on a stream that gets errored 3 29 -
trunk/LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/floating-point-total-queue-size.serviceworker.https-expected.txt
r220924 r224250 1 1 2 FAIL Service worker test setup assert_unreached: unregister should not fail: serviceWorker.getRegistration() is not yet implemented Reached unreachable code 2 PASS Service worker test setup 3 PASS Floating point arithmetic must manifest near NUMBER.MAX_SAFE_INTEGER (total ends up positive) 4 PASS Floating point arithmetic must manifest near 0 (total ends up positive, but clamped) 5 PASS Floating point arithmetic must manifest near 0 (total ends up positive, and not clamped) 6 PASS Floating point arithmetic must manifest near 0 (total ends up zero) 3 7 -
trunk/LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/garbage-collection.serviceworker.https-expected.txt
r220924 r224250 1 1 2 FAIL Service worker test setup assert_unreached: unregister should not fail: serviceWorker.getRegistration() is not yet implemented Reached unreachable code 2 PASS Service worker test setup 3 PASS ReadableStreamController methods should continue working properly when scripts lose their reference to the readable stream 4 PASS ReadableStream closed promise should fulfill even if the stream and reader JS references are lost 5 PASS ReadableStream closed promise should reject even if stream and reader JS references are lost 6 PASS Garbage-collecting a ReadableStreamDefaultReader should not unlock its stream 3 7 -
trunk/LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/general.serviceworker.https-expected.txt
r220924 r224250 1 1 2 FAIL Service worker test setup assert_unreached: unregister should not fail: serviceWorker.getRegistration() is not yet implemented Reached unreachable code 2 PASS Service worker test setup 3 PASS ReadableStream can be constructed with no errors 4 PASS ReadableStream can't be constructed with garbage 5 PASS ReadableStream can't be constructed with an invalid type 6 FAIL ReadableStream instances should have the correct list of properties assert_equals: getReader should have no parameters expected 0 but got 1 7 PASS ReadableStream constructor should throw for non-function start arguments 8 PASS ReadableStream constructor can get initial garbage as cancel argument 9 PASS ReadableStream constructor can get initial garbage as pull argument 10 PASS ReadableStream start should be called with the proper parameters 11 PASS ReadableStream start controller parameter should be extensible 12 PASS default ReadableStream getReader() should only accept mode:undefined 13 PASS ReadableStream should be able to call start method within prototype chain of its source 14 PASS ReadableStream start should be able to return a promise 15 PASS ReadableStream start should be able to return a promise and reject it 16 PASS ReadableStream should be able to enqueue different objects. 17 PASS ReadableStream: if pull rejects, it should error the stream 18 PASS ReadableStream: should only call pull once upon starting the stream 19 PASS ReadableStream: should call pull when trying to read from a started, empty stream 20 PASS ReadableStream: should only call pull once on a non-empty stream read from before start fulfills 21 PASS ReadableStream: should only call pull once on a non-empty stream read from after start fulfills 22 PASS ReadableStream: should call pull in reaction to read()ing the last chunk, if not draining 23 PASS ReadableStream: should not call pull() in reaction to read()ing the last chunk, if draining 24 PASS ReadableStream: should not call pull until the previous pull call's promise fulfills 25 PASS ReadableStream: should pull after start, and after every read 26 PASS ReadableStream: should not call pull after start if the stream is now closed 27 PASS ReadableStream: should call pull after enqueueing from inside pull (with no read requests), if strategy allows 28 PASS ReadableStream pull should be able to close a stream. 29 PASS ReadableStream pull should be able to error a stream. 30 PASS ReadableStream pull should be able to error a stream and throw. 31 PASS ReadableStream: enqueue should throw when the stream is readable but draining 32 PASS ReadableStream: enqueue should throw when the stream is closed 33 PASS ReadableStream: should call underlying source methods as methods 34 PASS ReadableStream: desiredSize when closed 35 PASS ReadableStream: desiredSize when errored 36 PASS ReadableStream strategies: the default strategy should give desiredSize of 1 to start, decreasing by 1 per enqueue 37 PASS ReadableStream strategies: the default strategy should continue giving desiredSize of 1 if the chunks are read immediately 38 PASS ReadableStream integration test: adapting a random push source 39 PASS ReadableStream integration test: adapting a sync pull source 40 PASS ReadableStream integration test: adapting an async pull source 3 41 -
trunk/LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/readable-stream-reader.serviceworker.https-expected.txt
r220924 r224250 1 1 2 FAIL Service worker test setup assert_unreached: unregister should not fail: serviceWorker.getRegistration() is not yet implemented Reached unreachable code 2 PASS Service worker test setup 3 PASS Can get the ReadableStreamReader constructor indirectly 4 PASS ReadableStreamReader constructor should get a ReadableStream object as argument 5 PASS ReadableStreamReader instances should have the correct list of properties 6 PASS ReadableStreamReader closed should always return the same promise object 7 PASS Constructing a ReadableStreamReader directly should fail if the stream is already locked (via direct construction) 8 PASS Getting a ReadableStreamReader via getReader should fail if the stream is already locked (via direct construction) 9 PASS Constructing a ReadableStreamReader directly should fail if the stream is already locked (via getReader) 10 PASS Getting a ReadableStreamReader via getReader should fail if the stream is already locked (via getReader) 11 PASS Constructing a ReadableStreamReader directly should be OK if the stream is closed 12 PASS Constructing a ReadableStreamReader directly should be OK if the stream is errored 13 PASS Reading from a reader for an empty stream will wait until a chunk is available 14 PASS cancel() on a reader does not release the reader 15 PASS closed should be fulfilled after stream is closed (.closed access before acquiring) 16 PASS closed should be rejected after reader releases its lock (multiple stream locks) 17 PASS Multiple readers can access the stream in sequence 18 PASS Cannot use an already-released reader to unlock a stream again 19 PASS cancel() on a released reader is a no-op and does not pass through 20 PASS Getting a second reader after erroring the stream and releasing the reader should succeed 21 PASS ReadableStreamReader closed promise should be rejected with undefined if that is the error 22 PASS ReadableStreamReader: if start rejects with no parameter, it should error the stream with an undefined error 23 PASS Erroring a ReadableStream after checking closed should reject ReadableStreamReader closed promise 24 PASS Erroring a ReadableStream before checking closed should reject ReadableStreamReader closed promise 25 PASS Reading twice on a stream that gets closed 26 PASS Reading twice on a closed stream 27 PASS Reading twice on an errored stream 28 PASS Reading twice on a stream that gets errored 3 29 -
trunk/LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/tee.serviceworker.https-expected.txt
r220924 r224250 1 1 2 FAIL Service worker test setup assert_unreached: unregister should not fail: serviceWorker.getRegistration() is not yet implemented Reached unreachable code 2 PASS Service worker test setup 3 PASS ReadableStream teeing: rs.tee() returns an array of two ReadableStreams 4 PASS ReadableStream teeing: should be able to read one branch to the end without affecting the other 5 PASS ReadableStream teeing: values should be equal across each branch 6 PASS ReadableStream teeing: errors in the source should propagate to both branches 7 PASS ReadableStream teeing: canceling branch1 should not impact branch2 8 PASS ReadableStream teeing: canceling branch2 should not impact branch2 9 PASS ReadableStream teeing: canceling both branches should aggregate the cancel reasons into an array 10 PASS ReadableStream teeing: failing to cancel the original stream should cause cancel() to reject on branches 11 PASS ReadableStream teeing: closing the original should immediately close the branches 12 PASS ReadableStream teeing: erroring the original should immediately error the branches 3 13 -
trunk/LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/templated.serviceworker.https-expected.txt
r220924 r224250 1 1 2 FAIL Service worker test setup assert_unreached: unregister should not fail: serviceWorker.getRegistration() is not yet implemented Reached unreachable code 2 PASS Service worker test setup 3 PASS Running templatedRSEmpty with ReadableStream (empty) 4 PASS ReadableStream (empty): instances have the correct methods and properties 5 PASS ReadableStream (empty): calling getReader with invalid arguments should throw appropriate errors 6 PASS Running templatedRSEmptyReader with ReadableStream (empty) reader 7 PASS ReadableStream (empty) reader: instances have the correct methods and properties 8 PASS ReadableStream (empty) reader: locked should be true 9 PASS ReadableStream (empty) reader: read() should never settle 10 PASS ReadableStream (empty) reader: two read()s should both never settle 11 PASS ReadableStream (empty) reader: read() should return distinct promises each time 12 PASS ReadableStream (empty) reader: getReader() again on the stream should fail 13 PASS ReadableStream (empty) reader: releasing the lock with pending read requests should throw but the read requests should stay pending 14 PASS ReadableStream (empty) reader: releasing the lock should cause further read() calls to reject with a TypeError 15 PASS ReadableStream (empty) reader: releasing the lock should cause closed calls to reject with a TypeError 16 PASS ReadableStream (empty) reader: releasing the lock should cause locked to become false 17 PASS ReadableStream (empty) reader: canceling via the reader should cause the reader to act closed 18 PASS ReadableStream (empty) reader: canceling via the stream should fail 19 PASS Running templatedRSClosed with ReadableStream (closed via call in start) 20 PASS ReadableStream (closed via call in start): cancel() should return a distinct fulfilled promise each time 21 PASS ReadableStream (closed via call in start): locked should be false 22 PASS ReadableStream (closed via call in start): getReader() should be OK 23 PASS ReadableStream (closed via call in start): should be able to acquire multiple readers if they are released in succession 24 PASS ReadableStream (closed via call in start): should not be able to acquire a second reader if we don't release the first one 25 PASS Running templatedRSClosedReader with ReadableStream reader (closed before getting reader) 26 PASS ReadableStream reader (closed before getting reader): read() should fulfill with { value: undefined, done: true } 27 PASS ReadableStream reader (closed before getting reader): read() multiple times should fulfill with { value: undefined, done: true } 28 PASS ReadableStream reader (closed before getting reader): read() should work when used within another read() fulfill callback 29 PASS ReadableStream reader (closed before getting reader): closed should fulfill with undefined 30 PASS ReadableStream reader (closed before getting reader): releasing the lock should cause closed to reject and change identity 31 PASS ReadableStream reader (closed before getting reader): cancel() should return a distinct fulfilled promise each time 32 PASS Running templatedRSClosedReader with ReadableStream reader (closed after getting reader) 33 PASS ReadableStream reader (closed after getting reader): read() should fulfill with { value: undefined, done: true } 34 PASS ReadableStream reader (closed after getting reader): read() multiple times should fulfill with { value: undefined, done: true } 35 PASS ReadableStream reader (closed after getting reader): read() should work when used within another read() fulfill callback 36 PASS ReadableStream reader (closed after getting reader): closed should fulfill with undefined 37 PASS ReadableStream reader (closed after getting reader): releasing the lock should cause closed to reject and change identity 38 PASS ReadableStream reader (closed after getting reader): cancel() should return a distinct fulfilled promise each time 39 PASS Running templatedRSClosed with ReadableStream (closed via cancel) 40 PASS ReadableStream (closed via cancel): cancel() should return a distinct fulfilled promise each time 41 PASS ReadableStream (closed via cancel): locked should be false 42 PASS ReadableStream (closed via cancel): getReader() should be OK 43 PASS ReadableStream (closed via cancel): should be able to acquire multiple readers if they are released in succession 44 PASS ReadableStream (closed via cancel): should not be able to acquire a second reader if we don't release the first one 45 PASS Running templatedRSClosedReader with ReadableStream reader (closed via cancel after getting reader) 46 PASS ReadableStream reader (closed via cancel after getting reader): read() should fulfill with { value: undefined, done: true } 47 PASS ReadableStream reader (closed via cancel after getting reader): read() multiple times should fulfill with { value: undefined, done: true } 48 PASS ReadableStream reader (closed via cancel after getting reader): read() should work when used within another read() fulfill callback 49 PASS ReadableStream reader (closed via cancel after getting reader): closed should fulfill with undefined 50 PASS ReadableStream reader (closed via cancel after getting reader): releasing the lock should cause closed to reject and change identity 51 PASS ReadableStream reader (closed via cancel after getting reader): cancel() should return a distinct fulfilled promise each time 52 PASS Running templatedRSErrored with ReadableStream (errored via call in start) 53 PASS ReadableStream (errored via call in start): getReader() should return a reader that acts errored 54 PASS ReadableStream (errored via call in start): read() twice should give the error each time 55 PASS ReadableStream (errored via call in start): locked should be false 56 PASS Running templatedRSErroredSyncOnly with ReadableStream (errored via call in start) 57 PASS ReadableStream (errored via call in start): should be able to obtain a second reader, with the correct closed promise 58 PASS ReadableStream (errored via call in start): should not be able to obtain additional readers if we don't release the first lock 59 PASS ReadableStream (errored via call in start): cancel() should return a distinct rejected promise each time 60 PASS ReadableStream (errored via call in start): reader cancel() should return a distinct rejected promise each time 61 PASS Running templatedRSErrored with ReadableStream (errored via returning a rejected promise in start) 62 PASS ReadableStream (errored via returning a rejected promise in start): getReader() should return a reader that acts errored 63 PASS ReadableStream (errored via returning a rejected promise in start): read() twice should give the error each time 64 PASS ReadableStream (errored via returning a rejected promise in start): locked should be false 65 PASS Running templatedRSErroredReader with ReadableStream (errored via returning a rejected promise in start) reader 66 PASS ReadableStream (errored via returning a rejected promise in start) reader: closed should reject with the error 67 PASS ReadableStream (errored via returning a rejected promise in start) reader: releasing the lock should cause closed to reject and change identity 68 PASS ReadableStream (errored via returning a rejected promise in start) reader: read() should reject with the error 69 PASS Running templatedRSErroredReader with ReadableStream reader (errored before getting reader) 70 PASS ReadableStream reader (errored before getting reader): closed should reject with the error 71 PASS ReadableStream reader (errored before getting reader): releasing the lock should cause closed to reject and change identity 72 PASS ReadableStream reader (errored before getting reader): read() should reject with the error 73 PASS Running templatedRSErroredReader with ReadableStream reader (errored after getting reader) 74 PASS ReadableStream reader (errored after getting reader): closed should reject with the error 75 PASS ReadableStream reader (errored after getting reader): releasing the lock should cause closed to reject and change identity 76 PASS ReadableStream reader (errored after getting reader): read() should reject with the error 77 PASS Running templatedRSTwoChunksOpenReader with ReadableStream (two chunks enqueued, still open) reader 78 PASS ReadableStream (two chunks enqueued, still open) reader: calling read() twice without waiting will eventually give both chunks (sequential) 79 PASS ReadableStream (two chunks enqueued, still open) reader: calling read() twice without waiting will eventually give both chunks (nested) 80 PASS ReadableStream (two chunks enqueued, still open) reader: read() should return distinct promises each time 81 PASS ReadableStream (two chunks enqueued, still open) reader: cancel() after a read() should still give that single read result 82 PASS Running templatedRSTwoChunksClosedReader with ReadableStream (two chunks enqueued, then closed) reader 83 PASS ReadableStream (two chunks enqueued, then closed) reader: third read(), without waiting, should give { value: undefined, done: true } (sequential) 84 PASS ReadableStream (two chunks enqueued, then closed) reader: third read(), without waiting, should give { value: undefined, done: true } (nested) 85 PASS ReadableStream (two chunks enqueued, then closed) reader: draining the stream via read() should cause the reader closed promise to fulfill, but locked stays true 86 PASS ReadableStream (two chunks enqueued, then closed) reader: releasing the lock after the stream is closed should cause locked to become false 87 PASS ReadableStream (two chunks enqueued, then closed) reader: releasing the lock should cause further read() calls to reject with a TypeError 88 PASS ReadableStream (two chunks enqueued, then closed) reader: reader's closed property always returns the same promise 3 89 -
trunk/Source/WebKit/ChangeLog
r224249 r224250 1 2017-10-31 Youenn Fablet <youenn@apple.com> 2 3 rwt should allow service worker to load localhost HTTPS resources with any certificate 4 https://bugs.webkit.org/show_bug.cgi?id=179018 5 6 Reviewed by Chris Dumez. 7 8 Allowing ServiceWorkerProcessProxy to handle authentication challenge. 9 Temporarily adding a boolean flag through WebProcessPool to lower the SSL certificate verifications for service workers. 10 This allows reducing flakiness in our layout tests for rwt. 11 Future work should be done to expose a correct API for the application level to handle authentication challenges properly. 12 13 * UIProcess/API/C/WKContext.cpp: 14 (WKContextSetAllowsAnySSLCertificateForServiceWorkerTesting): 15 * UIProcess/API/C/WKContextPrivate.h: 16 * UIProcess/API/Cocoa/WKProcessPool.mm: 17 (-[WKProcessPool _setAllowsAnySSLCertificateForServiceWorker:]): 18 * UIProcess/API/Cocoa/WKProcessPoolPrivate.h: 19 * UIProcess/Network/NetworkProcessProxy.cpp: 20 (WebKit::NetworkProcessProxy::didReceiveAuthenticationChallenge): 21 (WebKit::NetworkProcessProxy::canAuthenticateAgainstProtectionSpace): 22 * UIProcess/ServiceWorkerProcessProxy.cpp: 23 (WebKit::ServiceWorkerProcessProxy::didReceiveAuthenticationChallenge): 24 * UIProcess/ServiceWorkerProcessProxy.h: 25 * UIProcess/WebProcessPool.h: 26 1 27 2017-10-31 Joseph Pecoraro <pecoraro@apple.com> 2 28 -
trunk/Source/WebKit/UIProcess/API/C/WKContext.cpp
r223730 r224250 557 557 } 558 558 559 void WKContextSetAllowsAnySSLCertificateForServiceWorkerTesting(WKContextRef context, bool allows) 560 { 561 #if ENABLE(SERVICE_WORKER) 562 toImpl(context)->setAllowsAnySSLCertificateForServiceWorker(allows); 563 #endif 564 } 565 559 566 void WKContextClearCachedCredentials(WKContextRef context) 560 567 { -
trunk/Source/WebKit/UIProcess/API/C/WKContextPrivate.h
r222613 r224250 92 92 93 93 WK_EXPORT void WKContextSetAllowsAnySSLCertificateForWebSocketTesting(WKContextRef, bool); 94 94 WK_EXPORT void WKContextSetAllowsAnySSLCertificateForServiceWorkerTesting(WKContextRef, bool); 95 95 96 // Test only. Should be called before any secondary processes are started. 96 97 WK_EXPORT void WKContextUseTestingNetworkSession(WKContextRef context); -
trunk/Source/WebKit/UIProcess/API/Cocoa/WKProcessPool.mm
r224023 r224250 447 447 } 448 448 449 - (void)_setAllowsAnySSLCertificateForServiceWorker:(BOOL) allows 450 { 451 #if ENABLE(SERVICE_WORKER) 452 _processPool->setAllowsAnySSLCertificateForServiceWorker(allows); 453 #endif 454 } 455 449 456 #if PLATFORM(IOS) 450 457 - (id <_WKGeolocationCoreLocationProvider>)_coreLocationProvider -
trunk/Source/WebKit/UIProcess/API/Cocoa/WKProcessPoolPrivate.h
r222613 r224250 90 90 - (void)_preconnectToServer:(NSURL *)serverURL WK_API_AVAILABLE(macosx(WK_MAC_TBA), ios(WK_IOS_TBA)); 91 91 92 // Test only. 93 - (void)_setAllowsAnySSLCertificateForServiceWorker:(BOOL)allows WK_API_AVAILABLE(macosx(WK_MAC_TBA), ios(WK_IOS_TBA)); 94 92 95 @property (nonatomic, getter=_isCookieStoragePartitioningEnabled, setter=_setCookieStoragePartitioningEnabled:) BOOL _cookieStoragePartitioningEnabled WK_API_AVAILABLE(macosx(10.12.3), ios(10.3)); 93 96 -
trunk/Source/WebKit/UIProcess/Network/NetworkProcessProxy.cpp
r222183 r224250 265 265 void NetworkProcessProxy::didReceiveAuthenticationChallenge(uint64_t pageID, uint64_t frameID, const WebCore::AuthenticationChallenge& coreChallenge, uint64_t challengeID) 266 266 { 267 #if ENABLE(SERVICE_WORKER) 268 if (m_processPool.isServiceWorker(pageID)) { 269 auto authenticationChallenge = AuthenticationChallengeProxy::create(coreChallenge, challengeID, connection()); 270 m_processPool.serviceWorkerProxy()->didReceiveAuthenticationChallenge(pageID, frameID, WTFMove(authenticationChallenge)); 271 return; 272 } 273 #endif 274 267 275 WebPageProxy* page = WebProcessProxy::webPage(pageID); 268 276 MESSAGE_CHECK(page); … … 375 383 return; 376 384 } 377 } 378 385 #if ENABLE(SERVICE_WORKER) 386 } else if (m_processPool.isServiceWorker(pageID)) { 387 send(Messages::NetworkProcess::ContinueCanAuthenticateAgainstProtectionSpace(loaderID, true), 0); 388 return; 389 #endif 390 } 379 391 // In the case where we will not be able to reply to this message with a client reply, 380 392 // we should message back a default to the Networking process. -
trunk/Source/WebKit/UIProcess/ServiceWorkerProcessProxy.cpp
r223981 r224250 27 27 #include "ServiceWorkerProcessProxy.h" 28 28 29 #include "AuthenticationChallengeProxy.h" 30 #include "WebCredential.h" 29 31 #include "WebPreferencesStore.h" 30 32 #include "WebProcessMessages.h" 33 #include "WebProcessPool.h" 34 #include <WebCore/NotImplemented.h> 31 35 32 36 namespace WebKit { … … 47 51 } 48 52 53 void ServiceWorkerProcessProxy::didReceiveAuthenticationChallenge(uint64_t pageID, uint64_t frameID, Ref<AuthenticationChallengeProxy>&& challenge) 54 { 55 UNUSED_PARAM(pageID); 56 UNUSED_PARAM(frameID); 57 58 // FIXME: Expose an API to delegate the actual decision to the application layer. 59 auto& protectionSpace = challenge->core().protectionSpace(); 60 if (protectionSpace.authenticationScheme() == WebCore::ProtectionSpaceAuthenticationSchemeServerTrustEvaluationRequested && processPool().allowsAnySSLCertificateForServiceWorker()) { 61 auto credential = WebCore::Credential(ASCIILiteral("accept server trust"), emptyString(), WebCore::CredentialPersistenceNone); 62 challenge->useCredential(WebCredential::create(credential).ptr()); 63 return; 64 } 65 notImplemented(); 66 challenge->performDefaultHandling(); 67 } 68 49 69 } // namespace WebKit -
trunk/Source/WebKit/UIProcess/ServiceWorkerProcessProxy.h
r223981 r224250 29 29 30 30 namespace WebKit { 31 class AuthenticationChallengeProxy; 31 32 struct WebPreferencesStore; 32 33 … … 39 40 ~ServiceWorkerProcessProxy(); 40 41 42 void didReceiveAuthenticationChallenge(uint64_t pageID, uint64_t frameID, Ref<AuthenticationChallengeProxy>&&); 43 41 44 void start(const WebPreferencesStore&); 45 uint64_t pageID() const { return m_serviceWorkerPageID; } 42 46 43 47 private: -
trunk/Source/WebKit/UIProcess/WebProcessPool.h
r223981 r224250 39 39 #include "PluginInfoStore.h" 40 40 #include "ProcessThrottler.h" 41 #include "ServiceWorkerProcessProxy.h" 41 42 #include "StatisticsRequest.h" 42 43 #include "StorageProcessProxy.h" … … 323 324 #if ENABLE(SERVICE_WORKER) 324 325 void getWorkerContextProcessConnection(StorageProcessProxy&); 326 bool isServiceWorker(uint64_t pageID) const { return m_serviceWorkerProcess && m_serviceWorkerProcess->pageID() == pageID; } 327 ServiceWorkerProcessProxy* serviceWorkerProxy() const { return m_serviceWorkerProcess; } 328 void setAllowsAnySSLCertificateForServiceWorker(bool allows) { m_allowsAnySSLCertificateForServiceWorker = allows; } 329 bool allowsAnySSLCertificateForServiceWorker() const { return m_allowsAnySSLCertificateForServiceWorker; } 325 330 #endif 326 331 … … 489 494 ServiceWorkerProcessProxy* m_serviceWorkerProcess { nullptr }; 490 495 bool m_waitingForWorkerContextProcessConnection { false }; 496 bool m_allowsAnySSLCertificateForServiceWorker { false }; 491 497 #endif 492 498 -
trunk/Tools/ChangeLog
r224238 r224250 1 2017-10-31 Youenn Fablet <youenn@apple.com> 2 3 rwt should allow service worker to load localhost HTTPS resources with any certificate 4 https://bugs.webkit.org/show_bug.cgi?id=179018 5 6 Reviewed by Chris Dumez. 7 8 * WebKitTestRunner/TestController.cpp: 9 (WTR::TestController::resetStateToConsistentValues): allowing any SSL certificate for service workers. 10 1 11 2017-10-31 Wenson Hsieh <wenson_hsieh@apple.com> 2 12 -
trunk/Tools/WebKitTestRunner/TestController.cpp
r224198 r224250 783 783 clearDOMCaches(); 784 784 785 WKContextSetAllowsAnySSLCertificateForServiceWorkerTesting(platformContext(), true); 786 785 787 // FIXME: This function should also ensure that there is only one page open. 786 788
Note:
See TracChangeset
for help on using the changeset viewer.