Unable to use chrome components in DebuggerServer for Worker targets

NEW
Unassigned

Status

enhancement
P3
normal
7 months ago
7 months ago

People

(Reporter: jdescottes, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Reporter

Description

7 months ago
When debugging a worker (regular worker, service worker, shared worker), the DevTools server doesn't have access to chrome components such as Cc/Ci etc...

For instance if you add 
  Ci.whatever

at 

https://searchfox.org/mozilla-central/rev/c56977420df7a1b692ce0f7e499ddb364d9fd7b2/devtools/server/actors/webconsole.js#13

You will get a blank toolbox when trying to debug workers. Logs will show 

  TypeError: Ci is undefined; can't access...
You need to log in before you can comment on or make changes to this bug.