Closed
Bug 1837090
Opened 11 months ago
Closed 11 months ago
Support [NeedsSubjectPrincipal] on Workers
Categories
(Core :: DOM: Bindings (WebIDL), enhancement)
Core
DOM: Bindings (WebIDL)
Tracking
()
RESOLVED
FIXED
116 Branch
Tracking | Status | |
---|---|---|
firefox116 | --- | fixed |
People
(Reporter: nika, Assigned: nika)
References
Details
Attachments
(1 file)
We support nsIPrincipal
off-main-thread nowadays, and use it as the JSPrincipals* on workers since bug 1804093, so we should be able to use NeedsSubjectPrincipal
off-main-thread as well.
This will change the signature of WebIDL functions accepting [NeedsSubjectPrincipal]
off-main-thread to be nsIPrincipal&
instead of Maybe<nsIPrincipal*>
as that complexity is no longer required.
Assignee | ||
Updated•11 months ago
|
Assignee | ||
Comment 1•11 months ago
|
||
We've supported nsIPrincipal off-main-thread since bug 1443925, and
nsIPrincipal has been used as the JSPrincipals on workers and worklets
since bug 1804093.
This change updates the signature of these methods to match the main
thread, and provides the subject principal off-main-thread as well as on
the main thread.
Pushed by ncsoregi@mozilla.com: https://hg.mozilla.org/mozilla-central/rev/ade82472143e Support [NeedsSubjectPrincipal] on workers, r=peterv
Comment 3•11 months ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 11 months ago
status-firefox116:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 116 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•