Closed
Bug 1411528
Opened 7 years ago
Closed 7 years ago
wpt redirected-response.https.htm service-worker test crashes in debug
Categories
(Core :: DOM: Service Workers, defect)
Core
DOM: Service Workers
Tracking
()
RESOLVED
FIXED
People
(Reporter: jgraham, Assigned: bkelly)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
On Windows it also causes OOM trying to call mozcrash, so disabling the test test for now. Example log: https://treeherder.mozilla.org/logviewer.html#?job_id=139311778&repo=try&lineNumber=39769
Pushed by james@hoppipolla.co.uk: https://hg.mozilla.org/integration/mozilla-inbound/rev/c80fbf59afde Disable service worker test for OOM during crash on Windows, a=testonly
Assignee | ||
Updated•7 years ago
|
Blocks: ServiceWorkers-tests
Assignee | ||
Updated•7 years ago
|
Flags: needinfo?(bkelly)
Comment 2•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/c80fbf59afde
Assignee | ||
Comment 3•7 years ago
|
||
Investigating.
Assignee | ||
Comment 4•7 years ago
|
||
I believe this is happening due to changes I made in bug 1390638. We didn't have this test coverage at the time, so I didn't catch it.
Blocks: 1390638
Assignee | ||
Comment 5•7 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=43d3866ab92e8cd59637a76048af50a24504400b
Assignee | ||
Comment 6•7 years ago
|
||
Comment on attachment 8922489 [details] [diff] [review] Clear the intercept listening when synthesizing a redirect in HttpChannelChild. r=asuth Andrew, the WPT test case that is crashing is doing : `respondWith(Response.redirect(url2))` For an outer `fetch(url1, { redirect: 'error' })`. This means we are trying to synthesize a redirect, but that the channel will end up being canceled because of the RequestRedirect being set to "error". When Cancel() is called during the "maybe synthesizing a redirect" step we end up calling AsyncAbort() because mInterceptListener is set. However, we also have a remote actor here that also is canceling. So we end up getting two sets of OnStartRequest/OnStopRequest. The fix in this patch is to simply clear the mInterceptListener when we synthesized the redirect. We know we're not actually synthesizing a body since we are following a redirect instead. And of course, it will be nice when we can get rid of the child side intercept code because this will get easier to understand.
Attachment #8922489 -
Flags: review?(bugmail)
Comment 7•7 years ago
|
||
Comment on attachment 8922489 [details] [diff] [review] Clear the intercept listening when synthesizing a redirect in HttpChannelChild. r=asuth Review of attachment 8922489 [details] [diff] [review]: ----------------------------------------------------------------- Thank you for the very detailed explanation.
Attachment #8922489 -
Flags: review?(bugmail) → review+
Pushed by bkelly@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/6f9a97d89dfd Clear the intercept listening when synthesizing a redirect in HttpChannelChild. r=asuth
Comment 9•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/6f9a97d89dfd
Assignee | ||
Updated•7 years ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•