Closed Bug 1940044 Opened 1 year ago Closed 1 year ago

Implement Trusted Types support for ServiceWorkerContainer's register()

Categories

(Core :: DOM: Security, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
136 Branch
Tracking Status
firefox136 --- fixed

People

(Reporter: fwang, Assigned: fwang)

References

Details

(Whiteboard: [domsecurity-backlog])

Attachments

(1 file)

See https://w3c.github.io/ServiceWorker/#ref-for-dom-serviceworkercontainer-register

This method is used by the following tests:

worker-constructor.https.html
WorkerGlobalScope-importScripts.html

Summary: Implement Trusted Types support for ServiceWorkerContainer's register → Implement Trusted Types support for ServiceWorkerContainer's register()
Assignee: nobody → fwang
Status: NEW → ASSIGNED
Severity: -- → N/A
Whiteboard: [domsecurity-backlog]

Making this depend on bug 1901492 since ServiceWorkerContainer is also exposed to Worker too. I haven't checked whether we have tests for that case though.

Depends on: 1901492

(In reply to Frédéric Wang (:fredw) from comment #2)

Making this depend on bug 1901492 since ServiceWorkerContainer is also exposed to Worker too. I haven't checked whether we have tests for that case though.

Done in https://github.com/web-platform-tests/wpt/pull/50018 (also checking the sink name there). They all pass with the attached patch and dependencies.

Depends on: 1940934
Depends on: 1942306
No longer depends on: 1942306
Pushed by fwang@igalia.com: https://hg.mozilla.org/integration/autoland/rev/3029bd88b801 Implement Trusted Types support for ServiceWorkerContainer's register(). r=smaug
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 136 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: