Closed
Bug 1170550
Opened 9 years ago
Closed 9 years ago
Crash in ServiceWorkerRegisterJob::ContinueInstall when registering a service worker which has a syntax error caused by a strict mode violation
Categories
(Core :: DOM: Service Workers, defect)
Core
DOM: Service Workers
Tracking
()
RESOLVED
FIXED
mozilla41
Tracking | Status | |
---|---|---|
firefox41 | --- | fixed |
People
(Reporter: ehsan.akhgari, Assigned: ehsan.akhgari)
References
Details
Attachments
(1 file)
3.92 KB,
patch
|
baku
:
review+
|
Details | Diff | Splinter Review |
Such scripts will run into their error way later than normal syntax errors, under a stack like this: https://pastebin.mozilla.org/8835424 But also, scriptloader::LoadMainScript would return true, and we mark the worker private as successfully executed its script in CompileScriptRunnable::WorkerRun(), but later on, we crash like this https://pastebin.mozilla.org/8835425 because we fail to null check mRegistration before dereferencing it.
Assignee | ||
Comment 1•9 years ago
|
||
Attachment #8614043 -
Flags: review?(amarchesini)
Updated•9 years ago
|
Attachment #8614043 -
Flags: review?(amarchesini) → review+
Comment 3•9 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/959c2bd7e15e
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox41:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla41
You need to log in
before you can comment on or make changes to this bug.
Description
•