Closed Bug 1805676 Opened 2 years ago Closed 2 years ago

Implement shared module workers

Categories

(Core :: DOM: Workers, task)

task

Tracking

()

RESOLVED FIXED
112 Branch
Tracking Status
firefox112 --- fixed

People

(Reporter: yulia, Assigned: yulia)

References

(Blocks 1 open bug)

Details

Attachments

(4 files)

This is follow on work once module support lands for dedicated workers.

No longer blocks: 1247687
Depends on: 1247687
Attachment #9308316 - Attachment description: WIP: Bug 1805676 - Implement modules for shared workers → Bug 1805676 - Implement modules for shared workers; r=asuth
Attachment #9308317 - Attachment description: WIP: Bug 1805676 - Update WPT tests for shared module workers → Bug 1805676 - Update WPT tests for shared module workers; r=asuth

Much like dedicated workers: In this patch we copy over affected CSP tests to the mozilla tests
directory before modifying them so that they rely on the workers headers rather than the page.

Depends on D164573

This change updates remaining tests.

Depends on D167665

Pushed by ystartsev@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/212f36c3a9e0 Implement modules for shared workers; r=asuth https://hg.mozilla.org/integration/autoland/rev/1573d31341db Update WPT tests for shared module workers; r=asuth https://hg.mozilla.org/integration/autoland/rev/34da8cbd7db2 Copy csp tests for shared workers to mozilla dir; r=asuth https://hg.mozilla.org/integration/autoland/rev/3d943ee00682 Modify csp tests for shared workers; r=asuth
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/38462 for changes under testing/web-platform/tests

Backed out for causing wpt failures in /workers/modules/shared-worker-import-csp.html.

  • Backout link
  • Push with failures
  • Failure Log
  • Failure line: TEST-UNEXPECTED-FAIL | /workers/modules/shared-worker-import-csp.html | worker-src 'self' directive should override script-src * directive and disallow cross origin static import. - assert_array_equals: expected property 0 to be "ERROR" but got "export-on-load-script.js" (expected array ["ERROR"] got ["export-on-load-script.js"])
Flags: needinfo?(ystartsev)
Upstream PR was closed without merging
Flags: needinfo?(ystartsev)
Pushed by ystartsev@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/b173c8e2beba Implement modules for shared workers; r=asuth https://hg.mozilla.org/integration/autoland/rev/2d35363f5937 Update WPT tests for shared module workers; r=asuth https://hg.mozilla.org/integration/autoland/rev/79f32abb379d Copy csp tests for shared workers to mozilla dir; r=asuth https://hg.mozilla.org/integration/autoland/rev/95d1e02df42c Modify csp tests for shared workers; r=asuth

Backed out 4 changesets (Bug 1805676) for wpt failures on shared-worker-import-csp.html.
Backout link
Push with failures <-> wpt27
Failure Log

Flags: needinfo?(ystartsev)
Upstream PR was closed without merging
Pushed by ystartsev@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/a3ce9dcc3d0a Implement modules for shared workers; r=asuth https://hg.mozilla.org/integration/autoland/rev/473fb1d513a7 Update WPT tests for shared module workers; r=asuth https://hg.mozilla.org/integration/autoland/rev/98f13913cc7b Copy csp tests for shared workers to mozilla dir; r=asuth https://hg.mozilla.org/integration/autoland/rev/8aa75dc16105 Modify csp tests for shared workers; r=asuth
Flags: needinfo?(ystartsev)
Regressions: 1816739
Regressions: 1816653
Regressions: 1816652
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: