Closed Bug 1812628 Opened 2 years ago Closed 2 years ago

Introduce flag for worker modules

Categories

(Core :: DOM: Workers, task)

task

Tracking

()

RESOLVED FIXED
111 Branch
Tracking Status
firefox111 --- fixed

People

(Reporter: yulia, Assigned: yulia)

References

Details

Attachments

(2 files)

Add a flag for module workers

Assignee: nobody → ystartsev
Status: NEW → ASSIGNED

Depends on D168129

Pushed by ystartsev@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/cc6317f62e54 put worker modules behind a flag; r=jonco https://hg.mozilla.org/integration/autoland/rev/da2c075d4524 add new tests for beta/release; r=jonco

Backed out for causing wpt failures on pointerevent_pointerrawupdate_in_pointerlock.html

Backout link

Push with failures

Failure log

Flags: needinfo?(ystartsev)
Pushed by ystartsev@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/1f5f65f28752 put worker modules behind a flag; r=jonco https://hg.mozilla.org/integration/autoland/rev/b8b31239ec9f add new tests for beta/release; r=jonco
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 111 Branch
Regressions: 1814619
Flags: needinfo?(ystartsev)

Just a note that there is potentially a Web compat issue here since it will cause content that specifies { type: 'module' } to fail.

I have received multiple reports of an extension I maintain breaking in beta because of this. It works fine in Nightly where { type: 'module' } is enabled, and in Release where { type: 'module' } is ignored but breaks in Beta. I can easily fix the add-on but there may be other sites affected by this.

Thanks for the report. I'll change this to ignore rather than throw.

Thank you!

Blocks: 1818447
Blocks: 1818732
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: