You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Origin objects have object identity, which can be observed in at least two ways: a) we create new opaque origins, then check their identity, and b) document.domain allows origin objects to be mutated.
This is fine for threads which share an address space, not so good for serializing origins from script to the constellation. In particular, we need to store origins in the session history, so that if an about:blank page is reloaded, it does so with the same origin as it had before.
Did we end up moving to process-global counters rather than uuids for opaque origins? We would probably need to revert that if we want to send origins across processes.
This is needed in a few places: anywhere we're sending origins to the contstellation, and anywhere where a helper thread needs to know the origin that its acting on behalf of, notably fetch.
Activity
Ms2ger commentedon Jan 9, 2017
Did we end up moving to process-global counters rather than uuids for opaque origins? We would probably need to revert that if we want to send origins across processes.
asajeffrey commentedon Jan 10, 2017
We did move away from uuids and we would have to move back if we wanted them to be global.
[-]Sending origins from script to the constellation[/-][+]Serializing origins[/+]asajeffrey commentedon Feb 7, 2017
This is needed in a few places: anywhere we're sending origins to the contstellation, and anywhere where a helper thread needs to know the origin that its acting on behalf of, notably fetch.
Auto merge of #15438 - asajeffrey:url-serializable-origin, r=jdm
Auto merge of #15438 - asajeffrey:url-serializable-origin, r=jdm
Auto merge of #15438 - asajeffrey:url-serializable-origin, r=jdm
Auto merge of #15438 - asajeffrey:url-serializable-origin, r=jdm