Open Bug 1382302 Opened 5 years ago Updated 2 years ago

The WorkerTarget should attach to the console when it is created

Categories

(DevTools :: Debugger, task, P5)

task

Tracking

(firefox57 fix-optional)

Tracking Status
firefox57 --- fix-optional

People

(Reporter: jlast, Unassigned)

References

(Blocks 1 open bug)

Details

The workerTarget currently gets the activeConsole from the client, which attaches to the console when the console proxy is created.

We should attach to the console when the workerTarget is created. This is already done for TabTarget in makeRemote.

https://dxr.mozilla.org/mozilla-central/source/devtools/client/framework/target.js#449
Priority: -- → P3
Product: Firefox → DevTools
Blocks: dbg-server
Type: enhancement → task
Priority: P3 → P5
You need to log in before you can comment on or make changes to this bug.