Bug 2003449 Comment 30 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

It's racy what partitioned principal `window.open("about:blank")` gets, this seems to relate to bug 1618557. If I open a popup right after load from `example.com`, the `about:blank` has no `LoadInfo::mTopLevelPrincipal` and `partitionKey=""`. If I wait a bit, `mToplevelPrincipal` is not null and `partitionKey="(https,example.com)"`.
~It's racy what partitioned principal `window.open("about:blank")` gets, this seems to relate to bug 1618557. If I open a popup right after load from `example.com`, the `about:blank` has no `LoadInfo::mTopLevelPrincipal` and `partitionKey=""`. If I wait a bit, `mToplevelPrincipal` is not null and `partitionKey="(https,example.com)"`.~ top level `about:blank` doesn't seem to work correctly with the `network.cookie.cookieBehavior` pref.
~It's racy what partitioned principal `window.open("about:blank")` gets, this seems to relate to bug 1618557. If I open a popup right after load from `example.com`, the `about:blank` has no `LoadInfo::mTopLevelPrincipal` and `partitionKey=""`. If I wait a bit, `mToplevelPrincipal` is not null and `partitionKey="(https,example.com)"`.~
Since bug 543435, top level `about:blank` doesn't seem to respect `BEHAVIOR_REJECT_TRACKER_AND_PARTITION_FOREIGN` for the `network.cookie.cookieBehavior` pref.

Back to Bug 2003449 Comment 30