Closed Bug 1778432 Opened 2 years ago Closed 2 years ago

Errors in worker targets "TypeError: Services.profiler is undefined "

Categories

(DevTools :: General, defect, P3)

defect

Tracking

(firefox103 fixed, firefox104 fixed)

RESOLVED FIXED
104 Branch
Tracking Status
firefox103 --- fixed
firefox104 --- fixed

People

(Reporter: jdescottes, Assigned: jdescottes)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

The guard added in Bug 1775071 assumes we have access to Services.profiler, however Services is mocked to an empty object in the worker loader.

The Services object is replaced by a mock in the worker loader so Services.profiler might be undefined.

Blocks: 1778494
Pushed by jdescottes@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/fdf9ac57f3c4
[devtools] Guard against missing Services.profiler in Actor:_sendEvent r=nchevobbe
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 104 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: