Closed Bug 1657389 Opened 4 years ago Closed 4 years ago

Rename `window` property in target actor mock in startup/worker.js

Categories

(DevTools :: Framework, task)

task

Tracking

(firefox81 fixed)

RESOLVED FIXED
81 Branch
Tracking Status
firefox81 --- fixed

People

(Reporter: nchevobbe, Assigned: nchevobbe)

Details

Attachments

(1 file)

In devtools/server/startup/worker.js#83,102 , we create a target actor mock that is used as a parent for the webconsole and thread actor that we instantiate in the worker thread.
It has a window property, which is weird as worker don't have a window reference (but a global one).
Let's try to rename this property to something more meaningful.

Pushed by nchevobbe@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/07cba00651f4
Rename target actor mock 'window' property to 'workerGlobal'. r=ochameau.
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 81 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: