Closed Bug 1426562 Opened 2 years ago Closed 7 months ago
Creating new Response() in add-on crashes the tab
Looks like this is also crashing on android with a nullptr global. Probably what we want to do is: 1. Make Response::Constructor throw InvalidStateError if the global is nullptr. 2. Only call InitFromChromeGlobal if we don't have a window, but we do have a system principal 3. Otherwise, let the response get created but without any channel security info
This still crashes periodically in Fennec, but usually it is a single installation crash.
Flags: needinfo?(htsai) → needinfo?(overholt)
Assignee: nobody → perry
Pushed by firstname.lastname@example.org: https://hg.mozilla.org/integration/autoland/rev/dac784d695b3 Don't crash on `Response` constructor in WebExtensions. r=baku
You need to log in before you can comment on or make changes to this bug.