Closed Bug 1804093 Opened 3 years ago Closed 3 years ago

Eliminate WorkerPrincipal and WorkletPrincipals

Categories

(Core :: DOM: Workers, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
110 Branch
Tracking Status
firefox110 --- fixed

People

(Reporter: nika, Assigned: nika)

References

Details

Attachments

(5 files)

Since bug 1443925, nsIPrincipal is now threadsafe. We should be able to remove the worker-only JSPrincipals implementations, and replace them with nsIPrincipal now.

See Also: → 1578968
Pushed by nlayzell@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/1fd5a3b18fea Part 1: Stop asserting on main thread when reading WorkerPrivate::GetPrincipal, r=asuth https://hg.mozilla.org/integration/autoland/rev/2035baef2c6e Part 2: Remove some values cached from nsIPrincipal from WorkerLoadInfo, r=asuth https://hg.mozilla.org/integration/autoland/rev/7265b519d7a8 Part 3: Stop asserting main thread when reading WorkletImpl::Principal, r=asuth https://hg.mozilla.org/integration/autoland/rev/e8e2396ebe4c Part 4: Allow ReadKnownPrincipalType off-main-thread, r=asuth https://hg.mozilla.org/integration/autoland/rev/0766c4caf89e Part 5: Eliminate WorkerPrincipal and WorkletPrincipals, r=asuth
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: