source-map logs coming from a worker

NEW
Unassigned

Status

()

Firefox
Developer Tools: Framework
P3
normal
8 months ago
5 months ago

People

(Reporter: tromey, Unassigned)

Tracking

(Blocks: 1 bug)

Trunk
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

8 months ago
Currently the location of a console.log in a worker won't be source-mapped.
I believe this holds for any event occurring in a worker, for example an
XHR in a worker won't have a source-mapped location in the network monitor.

The main problem here is that source-map-url-service relies on the actor
to pass along the source map URL.  However, workers don't cause these actors
to be created.

Test case here:
https://tromey.github.io/source-map-examples/worker/index.html
Source code here:
https://github.com/tromey/source-map-examples
(Reporter)

Comment 1

6 months ago
Also see bug 1385032, where source map errors in workers are probably not reported correctly.
You need to log in before you can comment on or make changes to this bug.