Closed Bug 1578968 Opened 5 years ago Closed 2 years ago

Consider storing PrincipalInfo for WorkerPrincipal::write()

Categories

(Core :: DOM: Workers, task, P3)

task

Tracking

()

RESOLVED FIXED

People

(Reporter: karlt, Unassigned)

References

Details

If WorkerPrincipal::write() has PrincipalInfo available to serialize, then nsJSPrincipals::AutoSetActiveWorkerPrincipal action at a distance and SerializeWorkerStack special cases will no longer be required.
https://searchfox.org/mozilla-central/rev/9bb55ae4d808fc48afcf93f99da6a685265b86c6/dom/base/SerializedStackHolder.cpp#78

See bug 1578623 for an example of this approach applied for Worklets.

Alternatively, fixing bug 1443925 would make this unnecessary.

Priority: -- → P3
Severity: normal → S3

This will be fixed by bug 1443925 and bug 1804093.

Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.