From 00795d17a25774580090ba676798fcb90d2aa00b Mon Sep 17 00:00:00 2001
From: Anne van Kesteren Let browsingContext be the result of creating a new browsing
context with opener's active document. Assert: opener's top-level browsing context's group is non-null, as navigating invokes this
+ directly. Append browsingContext to opener's
top-level browsing context's group.
Assert: browsingContext's group is non-null, + because a browsing context only gets discarded once.
Let group be browsingContext's group.
If A's relevant settings object's responsible browsing - context's top-level browsing context's group - is not B's relevant settings object's responsible browsing - context's top-level browsing context's group, then return false.
If A's relevant settings object's responsible browsing + context's top-level browsing context's group is not B's relevant settings object's + responsible browsing context's top-level browsing context's group, then return false.
+ +Unfortunately this model falls apart the moment a + browsing context is discarded. Issue + #4361 sketches a setup that could improve this situation.
+Let originA be A's relevant settings object's origin and originB be B's