Perma tier 2 Linux x64 debug /service-workers/service-worker/fetch-csp.https.html | Verify CSP control of fetch() in a Service Worker - promise_test: Unhandled rejection with value: object "Error: When the request was redirected via SW
Categories
(Core :: DOM: Service Workers, defect, P2)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox67 | --- | fixed |
People
(Reporter: intermittent-bug-filer, Assigned: edenchuang)
References
Details
(Keywords: intermittent-failure, Whiteboard: [Update fetch-csp WPT ini to fail with sw-e10s pref, too][stockwell unknown])
Attachments
(1 file)
|
Update the expected result of web-platform test /service-workers/service-worker/fetch-csp.https.html
47 bytes,
text/x-phabricator-request
|
Details | Review |
Filed by: shindli [at] mozilla.com
https://treeherder.mozilla.org/logviewer.html#?job_id=220859739&repo=mozilla-central
[task 2019-01-09T17:59:27.669Z] 17:59:27 INFO - PID 20709 | --DOMWINDOW == 5 (0x7feaa7aad800) [pid = 20804] [serial = 353] [outer = (nil)] [url = https://web-platform.test:8443/service-workers/service-worker/fetch-csp.https.html]
[task 2019-01-09T17:59:27.669Z] 17:59:27 INFO - PID 20709 | --DOMWINDOW == 4 (0x7feaadf04800) [pid = 20804] [serial = 1] [outer = (nil)] [url = https://web-platform.test:8443/testharness_runner.html]
[task 2019-01-09T17:59:27.670Z] 17:59:27 INFO - PID 20709 | [Child 20804, Main Thread] WARNING: '!mMainThread', file /builds/worker/workspace/build/src/xpcom/threads/nsThreadManager.cpp, line 457
[task 2019-01-09T17:59:27.670Z] 17:59:27 INFO - PID 20709 | [Child 20804, Main Thread] WARNING: '!mMainThread', file /builds/worker/workspace/build/src/xpcom/threads/nsThreadManager.cpp, line 457
[task 2019-01-09T17:59:27.671Z] 17:59:27 INFO - PID 20709 | [Child 20804, Main Thread] WARNING: '!mMainThread', file /builds/worker/workspace/build/src/xpcom/threads/nsThreadManager.cpp, line 457
[task 2019-01-09T17:59:27.671Z] 17:59:27 INFO - PID 20709 | [Child 20804, Main Thread] WARNING: '!mMainThread', file /builds/worker/workspace/build/src/xpcom/threads/nsThreadManager.cpp, line 457
[task 2019-01-09T17:59:27.672Z] 17:59:27 INFO - PID 20709 | [Child 20804, Main Thread] WARNING: '!mMainThread', file /builds/worker/workspace/build/src/xpcom/threads/nsThreadManager.cpp, line 457
[task 2019-01-09T17:59:27.672Z] 17:59:27 INFO - PID 20709 | [Child 20804, Main Thread] WARNING: '!mMainThread', file /builds/worker/workspace/build/src/xpcom/threads/nsThreadManager.cpp, line 457
[task 2019-01-09T17:59:27.673Z] 17:59:27 INFO - PID 20709 | [Child 20804, Main Thread] WARNING: '!mMainThread', file /builds/worker/workspace/build/src/xpcom/threads/nsThreadManager.cpp, line 457
[task 2019-01-09T17:59:27.673Z] 17:59:27 INFO - PID 20709 | [Child 20804, Main Thread] WARNING: '!mMainThread', file /builds/worker/workspace/build/src/xpcom/threads/nsThreadManager.cpp, line 457
[task 2019-01-09T17:59:27.673Z] 17:59:27 INFO - PID 20709 | [Child 20804, Main Thread] WARNING: '!mMainThread', file /builds/worker/workspace/build/src/xpcom/threads/nsThreadManager.cpp, line 457
[task 2019-01-09T17:59:27.674Z] 17:59:27 INFO - PID 20709 | --DOMWINDOW == 3 (0x7feaaa084400) [pid = 20804] [serial = 355] [outer = (nil)] [url = about:blank]
[task 2019-01-09T17:59:27.674Z] 17:59:27 INFO - PID 20709 | --DOMWINDOW == 2 (0x7feaaa081800) [pid = 20804] [serial = 357] [outer = (nil)] [url = https://web-platform.test:8443/service-workers/service-worker/resources/fetch-csp-iframe.html?img-src%20https%3A%2F%2Fweb-platform.test%3A8443%3B%20script-src%20%27unsafe-inline%27]
[task 2019-01-09T17:59:27.675Z] 17:59:27 INFO - PID 20709 | --DOMWINDOW == 1 (0x7feaa7aa9000) [pid = 20804] [serial = 359] [outer = (nil)] [url = https://web-platform.test:8443/service-workers/service-worker/resources/fetch-csp-iframe.html?img-src%20https%3A%2F%2Fweb-platform.test%3A8443%2Fservice-workers%2Fservice-worker%2Fresources%2Fredirect.py%3B%20script-src%20%27unsafe-inline%27]
[task 2019-01-09T17:59:27.676Z] 17:59:27 INFO - PID 20709 | --DOMWINDOW == 0 (0x7feaaa67d800) [pid = 20804] [serial = 306] [outer = (nil)] [url = https://web-platform.test:8443/service-workers/service-worker/resources/empty.html]
[task 2019-01-09T17:59:27.680Z] 17:59:27 INFO - PID 20709 | nsStringStats
[task 2019-01-09T17:59:27.681Z] 17:59:27 INFO - PID 20709 | => mAllocCount: 126933
[task 2019-01-09T17:59:27.681Z] 17:59:27 INFO - PID 20709 | => mReallocCount: 0
[task 2019-01-09T17:59:27.682Z] 17:59:27 INFO - PID 20709 | => mFreeCount: 126933
[task 2019-01-09T17:59:27.683Z] 17:59:27 INFO - PID 20709 | => mShareCount: 179687
[task 2019-01-09T17:59:27.683Z] 17:59:27 INFO - PID 20709 | => mAdoptCount: 6563
[task 2019-01-09T17:59:27.685Z] 17:59:27 INFO - PID 20709 | => mAdoptFreeCount: 7259
Comment 1•7 years ago
|
||
This is a perma failure that started on central on the merge push:
https://treeherder.mozilla.org/#/jobs?repo=mozilla-central&selectedJob=220848707&searchStr=linux%2Cx64%2Cdebug%2Cweb%2Cplatform%2Ctests%2Cwith%2Cserviceworker%2Credesign%2Cand%2Ce10s%2Ctest-linux64%2Fdebug-web-platform-tests-sw-e10s-14%2Cw-sw-e10s%28wpt14%29&revision=29b2c2f578797279a9d55764da73158136081d89
and it could be related to https://bugzilla.mozilla.org/show_bug.cgi?id=1515863
ckerschb: Hi, Can you please have a look at this? Thank you!
Updated•7 years ago
|
| Comment hidden (Intermittent Failures Robot) |
Comment 3•6 years ago
|
||
I am trying to look at this problem, but it will have to wait since I have so much stuff on my plate. Gijs, if by any chance you can take a look at this one sooner than me, please do. Otherwise I'll try to take a look early next week - keeping ni? until then.
Comment 4•6 years ago
|
||
Actually keeping ni for Christoph. :-)
Updated•6 years ago
|
Comment 5•6 years ago
|
||
The timing here coincides nicely with bug 1515863.
:asuth, this is currently expected to fail everywhere except when this magic pref is enabled ( https://searchfox.org/mozilla-central/source/testing/web-platform/meta/service-workers/service-worker/fetch-csp.https.html.ini ). Should we just update the test expectation to also expect it to fail with the pref on?
It seems to me that the reason this didn't fail before is likely that we didn't pass around csp between processes as much as we do now (ie it actually makes it across from parent to child and vice versa in all cases), and with the sw-e10s pref flipped that meant the CSP was getting lost somewhere, making the test pass. Now that the CSP is not getting lost, the test fails. (though I admit I haven't looked at the test in detail - that just seems like the most plausible explanation at the moment.
| Comment hidden (Intermittent Failures Robot) |
Comment 7•6 years ago
|
||
The priority flag is not set for this bug and there is no activity for 2 weeks.
:overholt, could you have a look please?
Comment 8•6 years ago
|
||
Andrew told me Gijs' comment 5 is likely correct so he's going to disable the test for now.
Comment 9•6 years ago
|
||
The priority flag is not set for this bug and there is no activity for 2 weeks.
:overholt, could you have a look please?
Updated•6 years ago
|
Updated•6 years ago
|
| Assignee | ||
Updated•6 years ago
|
| Assignee | ||
Comment 10•6 years ago
|
||
Update the expected result of web-platform test /service-workers/service-worker/fetch-csp.https.html to FAIL
| Assignee | ||
Comment 11•6 years ago
|
||
Comment 12•6 years ago
|
||
Comment 13•6 years ago
|
||
| bugherder | ||
| Comment hidden (Intermittent Failures Robot) |
Description
•