diff --git a/source b/source index eb7730afdb1..96bdd896f83 100644 --- a/source +++ b/source @@ -82005,9 +82005,18 @@ popup4.close(); otherwise embedder's relevant settings object's top-level origin.
+Let crossSiteAncestorFlag be false if embedder is null; otherwise + embedder's cross-site ancestor + flag.
If crossSiteAncestorFlag is false, embedder is not null, and + origin is not same site with embedder's origin, then set crossSiteAncestorFlag + to true.
Set up a window environment settings object with about:blank
,
- realm execution context, null, topLevelCreationURL, and
- topLevelOrigin.
Let loadTimingInfo be a new document load timing info with its navigation start time set to the result of calling coarsen time @@ -84300,8 +84309,8 @@ interface BarProp {
To set up a window environment settings object, given a URL creationURL, a JavaScript execution context execution context, null or an environment reservedEnvironment, a URL - topLevelCreationURL, and an origin topLevelOrigin, run these - steps:
+ topLevelCreationURL, an origin topLevelOrigin, and a boolean + crossSiteAncestorFlag, run these steps:Let realm be the value of execution context's Realm @@ -84410,8 +84419,10 @@ interface BarProp {
Set settings object's creation URL to creationURL, settings object's top-level creation - URL to topLevelCreationURL, and settings object's top-level - origin to topLevelOrigin.
Set realm's [[HostDefined]] field to settings object.
Set topLevelCreationURL to parentEnvironment's top-level creation URL and topLevelOrigin to parentEnvironment's top-level origin.
+ +Set crossSiteAncestorFlag to parentEnvironment's cross-site ancestor flag.
If crossSiteAncestorFlag is false and parentEnvironment's + origin is not same site + with currentURL's origin, then set + crossSiteAncestorFlag to true.
The created environment's active service worker is set in @@ -90462,6 +90484,8 @@ interface Location { // but see also origin.
+Let crossSiteAncestorFlag be false.
If browsingContext is not a top-level browsing context, then:
@@ -90474,13 +90498,22 @@ interface Location { // but see also cross-site ancestor flag.If crossSiteAncestorFlag is false and navigationParams's origin is not same site with + parentEnvironment's origin, + then set crossSiteAncestorFlag to true.
Set up a window environment settings object with creationURL, realm execution context, navigationParams's reserved environment, - topLevelCreationURL, and topLevelOrigin.
This is the usual case, where the new Document
we're about to
@@ -92834,6 +92867,15 @@ interface BeforeUnloadEvent : Event {
involved.
A boolean. For window environment settings objects this will be set to true + if an ancestor frame has an origin that is + not same site with the current window's origin and otherwise false. For workers and + worklets it is set to the cross-site + ancestor flag of its creator.
Null or a target browsing context for a SharedWorkerGlobalScope : WorkerGlobalScope unique opaque string, creation URL to worker global scope's url, top-level creation URL to null, target browsing context to - null, and active service worker - to null.
+ null, active service worker + to null, and cross-site ancestor flag + to outside settings's + cross-site ancestor flag.If worker global scope is a DedicatedWorkerGlobalScope
object,
then set settings object's top-level origin to outside