Closed Bug 1227639 Opened 10 years ago Closed 5 years ago

Worker debugger error reporting misses some cases

Categories

(DevTools :: Debugger, defect)

defect
Not set
normal

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.
Product: Firefox → DevTools

Brian, is this still relevant?

Flags: needinfo?(bhackett1024)

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)

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.