From 00795d17a25774580090ba676798fcb90d2aa00b Mon Sep 17 00:00:00 2001 From: Anne van Kesteren Date: Mon, 18 Feb 2019 15:34:31 +0100 Subject: [PATCH] add asserts/issue --- source | 25 ++++++++++++++++++++----- 1 file changed, 20 insertions(+), 5 deletions(-) diff --git a/source b/source index 46d975d5838..9f5e1b057bc 100644 --- a/source +++ b/source @@ -77158,6 +77158,10 @@ dictionary DragEventInit : MouseEventInit {
  • 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.

  • @@ -77695,6 +77699,10 @@ console.assert(iframeWindow.frameElement === null); browsingContext, run these steps:

      +
    1. Assert: browsingContext's group is non-null, + because a browsing context only gets discarded once.

    2. +
    3. Let group be browsingContext's group.

    4. @@ -89005,11 +89013,18 @@ import "https://example.com/foo/../module2.mjs"; these steps:

        -
      1. 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.

      2. +
      3. +

        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.

        +
      4. Let originA be A's relevant settings object's origin and originB be B's