Open Bug 1578968 Opened 2 years ago Updated 2 years ago

Consider storing PrincipalInfo for WorkerPrincipal::write()

Categories

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

task

Tracking

()

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
You need to log in before you can comment on or make changes to this bug.