From 16d799bfd2e06447b2d9760450d808728db2209e Mon Sep 17 00:00:00 2001 From: Hongchan Choi Date: Mon, 8 Oct 2018 09:37:17 -0700 Subject: [PATCH 1/6] initial commit --- source | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/source b/source index d5999bfe9a0..2788d27585f 100644 --- a/source +++ b/source @@ -88624,14 +88624,14 @@ import "https://example.com/foo/../module2.mjs"; set contains an item whose relevant Realm belongs to agent.

+

A similar-origin window agent can share memory with any worklet agent + whose single realm's + global object's owner document's + relevant Realm belongs to agent.

+

"Item" is used above as an owner set can contain Document objects.

-

A worklet agent … currently worklets have - no clearly defined owner, see: w3c/css-houdini-drafts issue - #224.

-

In addition, any agent A can share memory with:

The following pairs of global objects are not within the same agent From b9fe667578ae84ca2c623425243450c77c340c96 Mon Sep 17 00:00:00 2001 From: Hongchan Choi Date: Mon, 8 Oct 2018 12:26:48 -0700 Subject: [PATCH 2/6] change 'owner document' to 'owner set' --- source | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source b/source index 2788d27585f..9b16dd21e86 100644 --- a/source +++ b/source @@ -88626,7 +88626,7 @@ import "https://example.com/foo/../module2.mjs";

A similar-origin window agent can share memory with any worklet agent whose single realm's - global object's owner document's + global object's owner set's relevant Realm belongs to agent.

"Item" is used above as an owner set can contain From eab832d7c4d23be3495f0886e67d6656e76599ed Mon Sep 17 00:00:00 2001 From: Hongchan Choi Date: Mon, 8 Oct 2018 15:50:45 -0700 Subject: [PATCH 3/6] Addressing feedback from @domenic --- source | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/source b/source index 9b16dd21e86..69d488675a2 100644 --- a/source +++ b/source @@ -88624,9 +88624,10 @@ import "https://example.com/foo/../module2.mjs"; set contains an item whose relevant Realm belongs to agent.

-

A similar-origin window agent can share memory with any worklet agent - whose single realm's - global object's owner set's +

A similar-origin window agent can share memory with any + worklet agent whose single realm's + global object's + owner document's relevant Realm belongs to agent.

"Item" is used above as an owner set can contain From 7e84adab27a437244e71108267074374ee4df783 Mon Sep 17 00:00:00 2001 From: Domenic Denicola Date: Tue, 9 Oct 2018 17:11:52 -0400 Subject: [PATCH 4/6] Fix references --- source | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/source b/source index 69d488675a2..7c0f133a323 100644 --- a/source +++ b/source @@ -4173,6 +4173,7 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute

@@ -88624,11 +88625,11 @@ import "https://example.com/foo/../module2.mjs"; set contains an item whose relevant Realm belongs to agent.

-

A similar-origin window agent can share memory with any - worklet agent whose single realm's - global object's - owner document's - relevant Realm belongs to agent.

+

A similar-origin window agent can share memory with any worklet agent + whose single realm's global object's owner document's relevant Realm belongs to agent.

"Item" is used above as an owner set can contain Document objects.

From f1307733b2eb11612fda9e9f06ec32de2886de7b Mon Sep 17 00:00:00 2001 From: Hongchan Choi Date: Wed, 10 Oct 2018 08:54:29 -0700 Subject: [PATCH 5/6] Catching up master and address comments from @annevk --- source | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/source b/source index 1968708ab53..e13d806a500 100644 --- a/source +++ b/source @@ -88629,11 +88629,11 @@ import "https://example.com/foo/../module2.mjs"; set contains an item whose relevant Realm belongs to agent.

-

A similar-origin window agent can share memory with any worklet agent - whose single realm's global object's owner document's relevant Realm belongs to agent.

+

A similar-origin window agent can share memory with any + worklet agent whose single realm's + global object's + owner document's + relevant Realm belongs to agent.

"Item" is used above as an owner set can contain Document objects.

From eb2284aa86d9db3bcca0c5020621b2396b1bfba7 Mon Sep 17 00:00:00 2001 From: Hongchan Choi Date: Wed, 10 Oct 2018 13:11:34 -0700 Subject: [PATCH 6/6] Addresses a comment from @TimothyGu --- source | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source b/source index e13d806a500..fbebb681096 100644 --- a/source +++ b/source @@ -88629,15 +88629,15 @@ import "https://example.com/foo/../module2.mjs"; set contains an item whose relevant Realm belongs to agent.

+

"Item" is used above as an owner set can contain + Document objects.

+

A similar-origin window agent can share memory with any worklet agent whose single realm's global object's owner document's relevant Realm belongs to agent.

-

"Item" is used above as an owner set can contain - Document objects.

-

In addition, any agent A can share memory with: