From a996f3b4982f20697f71a23c919567a638519959 Mon Sep 17 00:00:00 2001 From: Anne van Kesteren Date: Mon, 4 Apr 2016 10:48:36 +0200 Subject: [PATCH] Remove the concept of creator Document so we don't leak a document Fixes #792. --- source | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/source b/source index d26e7b8dba0..589796ed68d 100644 --- a/source +++ b/source @@ -6784,8 +6784,8 @@ a.setAttribute('href', 'http://example.com/'); // change the content attribute d

If the document's address is about:blank, and the Document's browsing context has a - creator browsing context, then return the document base URL of the - creator Document, and abort these steps.

+ creator browsing context, then return the creator base URL and abort + these steps.

@@ -76081,9 +76081,11 @@ dictionary DragEventInit : MouseEventInit { browsing context has no creator browsing context.

If a browsing context A has a creator browsing - context, then the Document that was the active document of that - creator browsing context at the time A was created is the - creator Document.

+ context, then the creator origin, creator URL, and creator base + URL are the origin, address, and + base URL, respectively, of the Document that + was the active document of that creator browsing context at the time + A was created.

@@ -76126,8 +76128,8 @@ dictionary DragEventInit : MouseEventInit { -
  • If the new browsing context has a creator - Document, then set document's referrer to the address of that - creator Document.

  • +
  • If the new browsing context has a creator browsing context, then + set document's referrer to the + creator URL.

  • Ensure that document has a single child html node, which itself has two empty child nodes: a head element, and a body