Closed Bug 1613147 Opened 2 years ago Closed 2 years ago

On workers, Console API should not send the ConsoleData to the main-thread.

Categories

(Core :: DOM: Core & HTML, task)

task
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla74
Tracking Status
firefox74 --- fixed

People

(Reporter: baku, Assigned: baku)

References

Details

Attachments

(1 file)

Originally, the only way to obtain console logs from a worker thread was to structured-clone the data and store it into the console-storage-API service. A few years ago we have introduced devtools console actors and we are able to retrieve console log events directly from the worker thread.

We still broadcast the messages from worker to main-thread, but we would like to deprecate this operation. The goal of this bug is to move this broadcasting behind pref.

Assignee: nobody → amarchesini
Status: NEW → ASSIGNED
Pushed by amarchesini@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/7c790492b025
Console API on worker dispatches messages to the main-thread behind prefs, r=asuth
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla74
You need to log in before you can comment on or make changes to this bug.