Diff
Modified: trunk/LayoutTests/ChangeLog (225977 => 225978)
--- trunk/LayoutTests/ChangeLog 2017-12-15 19:58:02 UTC (rev 225977)
+++ trunk/LayoutTests/ChangeLog 2017-12-15 20:12:36 UTC (rev 225978)
@@ -1,5 +1,11 @@
2017-12-15 Chris Dumez <cdu...@apple.com>
+ Unreviewed, rebaseline Service Workers flaky tests.
+
+ * TestExpectations:
+
+2017-12-15 Chris Dumez <cdu...@apple.com>
+
Service Worker Registration promise is sometimes not rejected when the script load fails
https://bugs.webkit.org/show_bug.cgi?id=180849
Modified: trunk/LayoutTests/TestExpectations (225977 => 225978)
--- trunk/LayoutTests/TestExpectations 2017-12-15 19:58:02 UTC (rev 225977)
+++ trunk/LayoutTests/TestExpectations 2017-12-15 20:12:36 UTC (rev 225978)
@@ -174,7 +174,6 @@
imported/w3c/web-platform-tests/service-workers/service-worker/multiple-update.https.html [ Pass Failure ]
imported/w3c/web-platform-tests/service-workers/service-worker/performance-timeline.https.html [ Pass Failure ]
imported/w3c/web-platform-tests/service-workers/service-worker/registration-service-worker-attributes.https.html [ Pass Failure ]
-webkit.org/b/179138 imported/w3c/web-platform-tests/service-workers/service-worker/registration-updateviacache.https.html [ Pass Failure ]
imported/w3c/web-platform-tests/service-workers/service-worker/service-worker-csp-connect.https.html [ Pass Failure ]
imported/w3c/web-platform-tests/service-workers/service-worker/uncontrolled-page.https.html [ Pass Failure ]
imported/w3c/web-platform-tests/service-workers/service-worker/update-bytecheck.https.html [ Pass Failure ]
Modified: trunk/LayoutTests/imported/w3c/ChangeLog (225977 => 225978)
--- trunk/LayoutTests/imported/w3c/ChangeLog 2017-12-15 19:58:02 UTC (rev 225977)
+++ trunk/LayoutTests/imported/w3c/ChangeLog 2017-12-15 20:12:36 UTC (rev 225978)
@@ -1,5 +1,17 @@
2017-12-15 Chris Dumez <cdu...@apple.com>
+ Unreviewed, rebaseline Service Workers flaky tests.
+
+ * web-platform-tests/service-workers/cache-storage/serviceworker/cache-match.https-expected.txt:
+ * web-platform-tests/service-workers/service-worker/about-blank-replacement.https-expected.txt:
+ * web-platform-tests/service-workers/service-worker/fetch-canvas-tainting.https-expected.txt:
+ * web-platform-tests/service-workers/service-worker/fetch-cors-xhr.https-expected.txt:
+ * web-platform-tests/service-workers/service-worker/fetch-request-xhr.https-expected.txt:
+ * web-platform-tests/service-workers/service-worker/registration-service-worker-attributes.https-expected.txt:
+ * web-platform-tests/service-workers/service-worker/registration-updateviacache.https-expected.txt:
+
+2017-12-15 Chris Dumez <cdu...@apple.com>
+
Service Worker Registration promise is sometimes not rejected when the script load fails
https://bugs.webkit.org/show_bug.cgi?id=180849
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/cache-storage/serviceworker/cache-match.https-expected.txt (225977 => 225978)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/cache-storage/serviceworker/cache-match.https-expected.txt 2017-12-15 19:58:02 UTC (rev 225977)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/cache-storage/serviceworker/cache-match.https-expected.txt 2017-12-15 20:12:36 UTC (rev 225978)
@@ -15,7 +15,7 @@
PASS Cache.match with responses containing "Vary" header
PASS Cache.match with Request and Response objects with different URLs
PASS Cache.match invoked multiple times for the same Request/Response
-FAIL Cache.match blob should be sliceable assert_equals: A Response blob returned by Cache.match should be sliceable. expected (string) "simple" but got (object) null
+PASS Cache.match blob should be sliceable
PASS Cache.match with POST Request
PASS Cache.match with a non-2xx Response
PASS Cache.match with a network error Response
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/about-blank-replacement.https-expected.txt (225977 => 225978)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/about-blank-replacement.https-expected.txt 2017-12-15 19:58:02 UTC (rev 225977)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/about-blank-replacement.https-expected.txt 2017-12-15 20:12:36 UTC (rev 225978)
@@ -2,6 +2,6 @@
FAIL Initial about:blank is controlled, exposed to clients.matchAll(), and matches final Client. assert_false: result: failure: could not find about:blank client expected false got true
FAIL Initial about:blank modified by parent is controlled, exposed to clients.matchAll(), and matches final Client. assert_false: result: failure: could not find about:blank client expected false got true
-FAIL Popup initial about:blank is controlled, exposed to clients.matchAll(), and matches final Client. promise_test: Unhandled rejection with value: object "TypeError: undefined is not an object (evaluating 'frame.contentWindow.nested().document.body')"
+FAIL Popup initial about:blank is controlled, exposed to clients.matchAll(), and matches final Client. assert_false: result: failure: could not find about:blank client expected false got true
PASS Initial about:blank is controlled, exposed to clients.matchAll(), and final Client is not controlled by a service worker.
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/fetch-canvas-tainting.https-expected.txt (225977 => 225978)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/fetch-canvas-tainting.https-expected.txt 2017-12-15 19:58:02 UTC (rev 225977)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/fetch-canvas-tainting.https-expected.txt 2017-12-15 20:12:36 UTC (rev 225978)
@@ -1,4 +1,4 @@
-FAIL Verify canvas tainting of fetched image in a Service Worker assert_equals: expected "finish" but got "failure:Result of url:https://localhost:9443/service-workers/service-worker/resources/fetch-access-control.py?PNGIMAGE&mode=no-cors&url="" cross_origin: use-credentials must be LOAD_ERROR but NOT_TAINTED"
+FAIL Verify canvas tainting of fetched image in a Service Worker assert_equals: expected "finish" but got "failure:Result of url:https://localhost:9443/service-workers/service-worker/resources/fetch-access-control.py?PNGIMAGE&mode=no-cors&url="" cross_origin: must be TAINTED but NOT_TAINTED"
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/fetch-cors-xhr.https-expected.txt (225977 => 225978)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/fetch-cors-xhr.https-expected.txt 2017-12-15 19:58:02 UTC (rev 225977)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/fetch-cors-xhr.https-expected.txt 2017-12-15 20:12:36 UTC (rev 225978)
@@ -1,4 +1,4 @@
-FAIL Verify CORS XHR of fetch() in a Service Worker assert_equals: expected "finish" but got "failure:Result of url:https://localhost:9443/service-workers/service-worker/resources/fetch-access-control.py?mode=no-cors&url="" with_credentials: false must be FAIL but STATUS0"
+FAIL Verify CORS XHR of fetch() in a Service Worker assert_equals: expected "finish" but got "failure:Result of url:https://localhost:9443/service-workers/service-worker/resources/fetch-access-control.py?mode=no-cors&url="" with_credentials: false must be FAIL but SUCCESS"
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/fetch-request-xhr.https-expected.txt (225977 => 225978)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/fetch-request-xhr.https-expected.txt 2017-12-15 19:58:02 UTC (rev 225977)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/fetch-request-xhr.https-expected.txt 2017-12-15 20:12:36 UTC (rev 225978)
@@ -1,14 +1,14 @@
PASS initialize global state
-FAIL event.request has the expected headers for same-origin GET. promise_test: Unhandled rejection with value: object "Error: assert_array_equals: event.request has the expected headers for same-origin GET. lengths differ, expected 1 got 3"
-FAIL event.request has the expected headers for same-origin POST. promise_test: Unhandled rejection with value: object "Error: assert_array_equals: event.request has the expected headers for same-origin POST. lengths differ, expected 2 got 5"
-FAIL event.request has the expected headers for cross-origin GET. promise_test: Unhandled rejection with value: object "Error: assert_array_equals: event.request has the expected headers for cross-origin GET. lengths differ, expected 1 got 4"
-FAIL event.request has the expected headers for cross-origin POST. promise_test: Unhandled rejection with value: object "Error: assert_array_equals: event.request has the expected headers for cross-origin POST. lengths differ, expected 2 got 5"
+PASS event.request has the expected headers for same-origin GET.
+FAIL event.request has the expected headers for same-origin POST. promise_test: Unhandled rejection with value: object "Error: assert_array_equals: event.request has the expected headers for same-origin POST. lengths differ, expected 2 got 1"
+PASS event.request has the expected headers for cross-origin GET.
+FAIL event.request has the expected headers for cross-origin POST. promise_test: Unhandled rejection with value: object "Error: assert_array_equals: event.request has the expected headers for cross-origin POST. lengths differ, expected 2 got 1"
PASS FetchEvent#request.body contains XHR request data (string)
FAIL FetchEvent#request.body contains XHR request data (blob) promise_test: Unhandled rejection with value: object "Error: assert_equals: expected "test blob" but got """
PASS FetchEvent#request.method is set to XHR method
PASS XHR using OPTIONS method
-FAIL XHR with form data promise_test: Unhandled rejection with value: object "Error: assert_equals: expected "------WebKitFormBoundaryvjEQu9gV1uP6AQOG\r\nContent-Disposition: form-data; name=\"sample string\"\r\n\r\n1234567890\r\n------WebKitFormBoundaryvjEQu9gV1uP6AQOG\r\nContent-Disposition: form-data; name=\"sample blob\"; filename=\"blob\"\r\nContent-Type: application/octet-stream\r\n\r\nblob content\r\n------WebKitFormBoundaryvjEQu9gV1uP6AQOG\r\nContent-Disposition: form-data; name=\"sample file\"; filename=\"file.dat\"\r\nContent-Type: application/octet-stream\r\n\r\nfile content\r\n------WebKitFormBoundaryvjEQu9gV1uP6AQOG--\r\n" but got """
+FAIL XHR with form data promise_test: Unhandled rejection with value: object "Error: assert_equals: expected "--\r\nContent-Disposition: form-data; name=\"sample string\"\r\n\r\n1234567890\r\n--\r\nContent-Disposition: form-data; name=\"sample blob\"; filename=\"blob\"\r\nContent-Type: application/octet-stream\r\n\r\nblob content\r\n--\r\nContent-Disposition: form-data; name=\"sample file\"; filename=\"file.dat\"\r\nContent-Type: application/octet-stream\r\n\r\nfile content\r\n----\r\n" but got """
FAIL XHR with mode/credentials set promise_test: Unhandled rejection with value: object "Error: assert_equals: expected "include" but got "same-origin""
PASS XHR to data URL
PASS restore global state
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/registration-service-worker-attributes.https-expected.txt (225977 => 225978)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/registration-service-worker-attributes.https-expected.txt 2017-12-15 19:58:02 UTC (rev 225977)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/registration-service-worker-attributes.https-expected.txt 2017-12-15 20:12:36 UTC (rev 225978)
@@ -1,3 +1,3 @@
-FAIL installing/waiting/active after registration assert_equals: active should be null after redundant expected null but got object "[object ServiceWorker]"
+PASS installing/waiting/active after registration
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/registration-updateviacache.https-expected.txt (225977 => 225978)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/registration-updateviacache.https-expected.txt 2017-12-15 19:58:02 UTC (rev 225977)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/registration-updateviacache.https-expected.txt 2017-12-15 20:12:36 UTC (rev 225978)
@@ -1,8 +1,8 @@
-FAIL register-with-updateViaCache-undefined assert_not_equals: Main script should have updated got disallowed value 1512338030.075291
-FAIL register-with-updateViaCache-imports assert_not_equals: Main script should have updated got disallowed value 1512338030.414841
+PASS register-with-updateViaCache-undefined
+PASS register-with-updateViaCache-imports
FAIL register-with-updateViaCache-all assert_equals: No new service worker expected null but got object "[object ServiceWorker]"
-FAIL register-with-updateViaCache-none assert_not_equals: Main script should have updated got disallowed value 1512338030.773353
+PASS register-with-updateViaCache-none
PASS register-with-updateViaCache-undefined-then-undefined
PASS register-with-updateViaCache-undefined-then-imports
FAIL register-with-updateViaCache-undefined-then-all assert_equals: reg.updateViaCache updated expected "all" but got "imports"