From 6d21701b44f9ac5252d816e4a00118cfd89d212b Mon Sep 17 00:00:00 2001
From: Anne van Kesteren If current is null, then return null. If current's disowned is true, then return null. If current's opener browsing context is null, then return
null. If the given value is null and this's browsing
context is non-null, then set this's browsing
- context's disowned to true.
's opener browsing context to null.
If the given value is non-null, then return ?
OrdinaryDefineOwnProperty(this, "opener
", {
@@ -84726,21 +84724,6 @@ dictionary WindowPostMessageOptions : StructuredSeri
}).
If a browsing context's disowned is true, its window.opener
attribute is null. That prevents scripts in the
- browsing context from changing any properties of its opener browsing
- context's Window
object (i.e., the Window
object from which the
- browsing context was created).
Otherwise, if a browsing context's disowned is false, then scripts
- in that browsing context can use window.opener
to
- change properties of its opener browsing context's Window
object. For
- example, a script running in the browsing context can change the value of window.opener.location
, causing the opener browsing context to
- navigate to a completely different document.
The parent
getter steps
are:
An opener origin at creation, an origin or null, initially null.
-A disowned boolean, initially false.
An is popup boolean, initially false.
@@ -89870,7 +89851,7 @@ location.href = '#foo';historyEntry's document's browsing context is not an auxiliary browsing - context whose disowned is false; and
historyEntry's document's origin is not navigable's
targetEntry's document's browsing context is not an auxiliary browsing
- context whose disowned is false; and
targetEntry's document's origin is not oldOrigin