Creating new Response() in add-on crashes the tab
Categories
(Core :: DOM: Core & HTML, defect, P2)
Tracking
()
People
(Reporter: speed, Assigned: perry)
References
Details
(Keywords: crash, testcase)
Crash Data
Attachments
(2 files)
Comment 2•7 years ago
|
||
Updated•7 years ago
|
Comment 3•6 years ago
|
||
Updated•6 years ago
|
Comment 5•6 years ago
|
||
Based on the stack from https://crash-stats.mozilla.com/report/index/42565032-450b-4f76-ad82-cfd2b0190425 we're hitting this release assert: https://searchfox.org/mozilla-central/rev/d143f8ce30d1bcfee7a1227c27bf876a85f8cede/dom/fetch/ChannelInfo.cpp#50-51
Which seems to suggest this codepath should only be usable from browser/Firefox code, not from add-ons. See also https://searchfox.org/mozilla-central/rev/d143f8ce30d1bcfee7a1227c27bf876a85f8cede/dom/fetch/Response.cpp#200-214 and comment #2.
:hsinyi, based on the steps in the dupe (bug 1540109) this is blocking people from releasing Firefox add-on updates. Any chance it could be prioritized?
Workaround in the add-on might be invoking the Response constructor somewhere else and passing the response to where it's needed (e.g. as blob).
Comment 6•6 years ago
|
||
Hi Gijs, thanks for bringing this up. I think Service Worker team would have a better view on this, so NI Andrew. :)
Hi Andrew, please let me know if there's anything my team can help with.
Comment 7•6 years ago
|
||
Perry, let's try to get this fixed as soon as parent intercept lands (or before?).
Assignee | ||
Comment 8•6 years ago
|
||
Comment 10•6 years ago
|
||
bugherder |
Updated•5 years ago
|
Description
•