From 4438b7eb6b3290fe3eb01cba1c6161053b692ff1 Mon Sep 17 00:00:00 2001
From: Anne van Kesteren If subject's link types include the noreferrer
or noopener
keyword,
- and replace is true, then disown
- target's opener.
Parse the URL given by subject's
href
attribute, relative to subject's
@@ -22141,7 +22141,9 @@ interface HTMLHyperlinkElementUtils {
Referer
` (sic) header if the user follows the hyperlink.Referer
` (sic) header if the user follows the hyperlink.An auxiliary browsing context can be disowned. + This means it is no longer directly + reachable.
The opener
IDL attribute on the Window
- object, on getting, must return the WindowProxy
object of the browsing
- context from which the current browsing context was created (its opener
- browsing context), if there is one, if it is still available, and if the current
- browsing context has not disowned its opener;
- otherwise, it must return null. On setting, if the new value is null then the current
- browsing context must disown its opener; if
- the new value is anything else then the user agent must
+ object, on getting, must return the WindowProxy
object of the current browsing
+ context's opener browsing context, if there is one and it is not
+ disowned; otherwise, it must return null. On setting, if the new value is null then
+ the current browsing context must be disowned; if the new value is
+ anything else then the user agent must
call the [[DefineOwnProperty]] internal method of the Window
object, passing the
@@ -78181,8 +78185,9 @@ dictionary DragEventInit : MouseEventInit {
A browsing context A is familiar - with a second browsing context B if one of the following - conditions is true:
+ with a second browsing context B if A can directly reach B and one of the + following conditions is true:If the given browsing context name is not _blank
and there exists a
browsing context whose name is the same as the given
browsing context name, and the current browsing context is familiar with that
- browsing context, and the user agent determines that the two browsing contexts are related
- enough that it is ok if they reach each other, then that browsing context must be the chosen
- one. If there are multiple matching browsing contexts, the user agent should select one in some
- arbitrary consistent manner, such as the most recently opened, most recently focused, or more
- closely related.
If the result of splitting features
- on commas contains the token "noopener
", disown target browsing context's opener, and return null
.
noopener
", disown target browsing context, and return null.
Otherwise, return the WindowProxy
object of target browsing
context.