Closed Bug 1713615 Opened 4 years ago Closed 4 years ago

Rename WorkerType to WorkerKind

Categories

(Core :: DOM: Workers, task)

task

Tracking

()

RESOLVED FIXED
91 Branch
Tracking Status
firefox91 --- fixed

People

(Reporter: yulia, Assigned: yulia)

References

Details

Attachments

(1 file)

We have a naming conflict with the WebIDL definition of "WorkerType" : https://searchfox.org/mozilla-central/source/dom/webidl/Worker.webidl#34 -- This is also an enum, but for checking whether the Worker is running a script or a module.

I asked in DOM, and folks said it would be a nice-to-have to have things align with WebIDL. This is a driveby refactor while I work on the module loader refactor.

Attachment #9224308 - Attachment description: WIP: Bug 1713615 - Rename WorkerType to WorkerKind; → Bug 1713615 - Rename WorkerType to WorkerKind;
Pushed by ystartsev@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/d2e43a7b0526 Rename WorkerType to WorkerKind; r=emilio
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 91 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: