From 91f1919249bc75e4a6491ee7ec650c9843f9da50 Mon Sep 17 00:00:00 2001 From: Mike West Date: Fri, 15 Jul 2016 21:27:52 +0200 Subject: [PATCH] Add 'creator context security' Secure Contexts relied on 'creator Document', which was removed in whatwg/html#987. This patch caches the security status of that Document for the new browsing context's security checks. w3c/webappsec-secure-contexts#37 --- source | 30 +++++++++++++++++++++++------- 1 file changed, 23 insertions(+), 7 deletions(-) diff --git a/source b/source index 03fd947e3b3..48357566547 100644 --- a/source +++ b/source @@ -77215,13 +77215,29 @@ dictionary DragEventInit : MouseEventInit { context, then that is its creator browsing context. Otherwise, the browsing context has no creator browsing context.

-

If a browsing context A has a creator browsing - context, then the creator origin, creator URL, creator base - URL, and creator referrer policy are the origin, URL, base URL, and - referrer policy, respectively, of the - Document that was the active document of that creator browsing - context at the time A was created.

+

If a browsing context context has a creator browsing + context creator, it also has the following properties. In what follows, let + creator document be creator's active document at the time + context is created:

+ +
+
creator origin
+
creator document's origin
+ +
creator URL
+
creator document's URL
+ +
creator base URL
+
creator document's base URL
+ +
creator referrer policy
+
creator document's referrer + policy
+ +
creator context security
+
The result of executing Is environment settings object a secure context? on + creator document's relevant settings object
+