Closed
Bug 1227639
Opened 10 years ago
Closed 5 years ago
Worker debugger error reporting misses some cases
Categories
(DevTools :: Debugger, defect)
DevTools
Debugger
Tracking
(Not tracked)
RESOLVED
INACTIVE
People
(Reporter: bzbarsky, Unassigned)
References
(Blocks 1 open bug)
Details
We should probably do the ReportErrorToDebugger thing even if !aFireAtScope and !aTarget. Not sure what should happen if !aWorkerPrivate, but probably then too.
Otherwise seems like we'll fire onerror handlers on parents in some cases instead of ReportErrorToDebugger.
Probably enough to just get CurrentGlobalOrNull(aCx) and if not null and not a WorkerGlobalScope immediately take the debugger codepath, I think.
Updated•7 years ago
|
Product: Firefox → DevTools
Comment 2•6 years ago
|
||
I think so? This is referring to WorkerErrorReport::ReportError I think which only calls ReportErrorToDebugger under certain circumstances. I don't understand these tests or the variables they are operating on, though, so without STR I don't know what needs to change here.
Flags: needinfo?(bhackett1024)
Comment 3•5 years ago
|
||
There is no activity for a long time and there are also no STRs, closing.
Honza
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → INACTIVE
You need to log in
before you can comment on or make changes to this bug.
Description
•