RESOLVED FIXED226884
REGRESSION: service-workers/service-worker/credentials.https.html and content-security-policy/reporting/report-only-in-meta.sub.html failing together constantly.
https://bugs.webkit.org/show_bug.cgi?id=226884
Summary REGRESSION: service-workers/service-worker/credentials.https.html and content...
Truitt Savell
Reported 2021-06-10 10:56:04 PDT
imported/w3c/web-platform-tests/service-workers/service-worker/credentials.https.html imported/w3c/web-platform-tests/content-security-policy/reporting/report-only-in-meta.sub.html these two tests began failing at the same time according to history. I am able to reproduce them with command: run-webkit-tests imported/w3c/web-platform-tests/content-security-policy/reporting/report-only-in-meta.sub.html imported/w3c/web-platform-tests/service-workers/service-worker/credentials.https.html --iterations 50 -f but they fail on every revision I test them on, so I can't find a solid bisection point History: https://results.webkit.org/?suite=layout-tests&suite=layout-tests&test=imported%2Fw3c%2Fweb-platform-tests%2Fservice-workers%2Fservice-worker%2Fcredentials.https.html&test=imported%2Fw3c%2Fweb-platform-tests%2Fcontent-security-policy%2Freporting%2Freport-only-in-meta.sub.html Diffs: --- /Volumes/Data/worker/ios-simulator-14-release-tests-wk2/build/layout-test-results/imported/w3c/web-platform-tests/service-workers/service-worker/credentials.https-expected.txt +++ /Volumes/Data/worker/ios-simulator-14-release-tests-wk2/build/layout-test-results/imported/w3c/web-platform-tests/service-workers/service-worker/credentials.https-actual.txt @@ -1,5 +1,5 @@ PASS Set cookies as initialization -PASS Main script should have credentials -FAIL Imported script should have credentials promise_test: Unhandled rejection with value: object "TypeError: null is not an object (evaluating 'worker.postMessage')" +FAIL Main script should have credentials assert_equals: new worker has credentials expected (string) "1" but got (undefined) undefined +FAIL Imported script should have credentials assert_equals: new worker has credentials expected (string) "1" but got (undefined) undefined --- /Volumes/Data/worker/ios-simulator-14-release-tests-wk2/build/layout-test-results/imported/w3c/web-platform-tests/content-security-policy/reporting/report-only-in-meta.sub-expected.txt +++ /Volumes/Data/worker/ios-simulator-14-release-tests-wk2/build/layout-test-results/imported/w3c/web-platform-tests/content-security-policy/reporting/report-only-in-meta.sub-actual.txt @@ -1,6 +1,7 @@ + +Harness Error (FAIL), message = TypeError: undefined is not an object (evaluating 'cookies[i].split('=')[1].trim') PASS Image should load PASS checkReport tests loaded -PASS Violation report status OK.
Attachments
Patch (3.93 KB, patch)
2021-06-10 12:46 PDT, Chris Dumez
no flags
Patch (5.63 KB, patch)
2021-06-10 16:07 PDT, Chris Dumez
no flags
Radar WebKit Bug Importer
Comment 1 2021-06-10 10:56:31 PDT
Truitt Savell
Comment 2 2021-06-10 11:26:43 PDT
marked these tests as failing while investigating to help EWS https://trac.webkit.org/changeset/278713/webkit
Chris Dumez
Comment 3 2021-06-10 12:41:44 PDT
The issue is with LayoutTests/imported/w3c/web-platform-tests/cookies/resources/set-cookie.py: ("Set-Cookie", "{name[0]}=1; Path={path[0]}; Expires=Wed, 09 Jun 2021 10:18:14 GMT".format(**params)) The cookie has an explicit expiration date that has just passed.
Chris Dumez
Comment 4 2021-06-10 12:46:40 PDT
EWS Watchlist
Comment 5 2021-06-10 12:47:25 PDT
This patch modifies the imported WPT tests. Please ensure that any changes on the tests (not coming from a WPT import) are exported to WPT. Please see https://trac.webkit.org/wiki/WPTExportProcess
Geoffrey Garen
Comment 6 2021-06-10 13:52:09 PDT
Comment on attachment 431111 [details] Patch r=me
EWS
Comment 7 2021-06-10 16:02:41 PDT
Found 1 new test failure: imported/w3c/web-platform-tests/content-security-policy/reporting/report-only-in-meta.sub.html
Chris Dumez
Comment 8 2021-06-10 16:07:45 PDT
Chris Dumez
Comment 9 2021-06-10 16:58:52 PDT
Note You need to log in before you can comment on or make changes to this bug.