Permalink
Browse files

[] (0) Extend rel=noreferrer to also blow away the 'opener' when used…

… with target=_blank.

git-svn-id: http://svn.whatwg.org/webapps@1950 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information...
1 parent cb93d4d commit 8a04b9d0c608163b93ac70e6b0d7d67218fe93d6 @Hixie Hixie committed Jul 29, 2008
Showing with 48 additions and 3 deletions.
  1. +25 −2 index
  2. +23 −1 source
View
@@ -24,7 +24,7 @@
<h1 id=html-5>HTML 5</h1>
- <h2 class="no-num no-toc" id=draft>Draft Recommendation &mdash; 28 July
+ <h2 class="no-num no-toc" id=draft>Draft Recommendation &mdash; 29 July
2008</h2>
<p>You can take part in this work. <a
@@ -30994,8 +30994,27 @@ never reset. This is nice and consistent.)
the user, or if the user declines to allow a browsing context to be
used) there must not be a chosen browsing context.
+ <dt id=noopener>If the user agent has been configured such that in this
+ instance it will create a new browsing context, and the browsing
+ context is being requested as part of <a href="#following0"
+ title="following hyperlinks">following a hyperlink</a> whose <a
+ href="#linkTypes">link types</a> include the <code
+ title=rel-noreferrer><a href="#noreferrer">noreferrer</a></code>
+ keyword
+
+ <dd>A new <a href="#top-level">top-level browsing context</a> must be
+ created. If the given browsing context name is not <code
+ title="">_blank</code>, then the new top-level browsing context's name
+ must be the given browsing context name (otherwise, it has no name).
+ The chosen browsing context must be this new browsing context. If it is
+ immediately <a href="#navigate" title=navigate>navigated</a>, then the
+ navigation will be done with <a href="#replacement">replacement
+ enabled</a>.
+
<dt>If the user agent has been configured such that in this instance it
- will create a new browsing context
+ will create a new browsing context, and the <code
+ title=rel-noreferrer><a href="#noreferrer">noreferrer</a></code>
+ keyword doesn't apply
<dd>A new <a href="#auxiliary0">auxiliary browsing context</a> must be
created, with the <a href="#opener">opener browsing context</a> being
@@ -38166,6 +38185,10 @@ at the first element with the given ID must be treated as if it was cloned and r
include a <code title="">Referer</code> HTTP header (or equivalent for
other protocols) in the request.
+ <p>This keyword also <a href="#noopener">causes the <code
+ title=dom-opener>opener</code> attribute to remain null</a> if the
+ hyperlink creates a new <a href="#browsing1">browsing context</a>.
+
<h5 id=link-type9><span class=secno>5.11.3.12. </span>Link type "<dfn
id=pingback title=rel-pingback><code>pingback</code></dfn>"</h5>
View
@@ -28273,8 +28273,26 @@ never reset. This is nice and consistent.)
the user, or if the user declines to allow a browsing context to
be used) there must not be a chosen browsing context.</dd>
+ <dt id="noopener">If the user agent has been configured such that
+ in this instance it will create a new browsing context, and the
+ browsing context is being requested as part of <span
+ title="following hyperlinks">following a hyperlink</span> whose
+ <a href="#linkTypes">link types</a> include the <code
+ title="rel-noreferrer">noreferrer</code> keyword</dt>
+
+ <dd>A new <span>top-level browsing context</span> must be
+ created. If the given browsing context name is not <code
+ title="">_blank</code>, then the new top-level browsing context's
+ name must be the given browsing context name (otherwise, it has
+ no name). The chosen browsing context must be this new browsing
+ context. If it is immediately <span
+ title="navigate">navigated</span>, then the navigation will be
+ done with <span>replacement enabled</span>.</dd>
+
<dt>If the user agent has been configured such that in this
- instance it will create a new browsing context</dt>
+ instance it will create a new browsing context, and the <code
+ title="rel-noreferrer">noreferrer</code> keyword doesn't
+ apply</dt>
<dd>A new <span>auxiliary browsing context</span> must be
created, with the <span>opener browsing context</span> being the
@@ -35568,6 +35586,10 @@ at the first element with the given ID must be treated as if it was cloned and r
not include a <code title="">Referer</code> HTTP header (or
equivalent for other protocols) in the request.</p>
+ <p>This keyword also <a href="#noopener">causes the <code
+ title="dom-opener">opener</code> attribute to remain null</a> if the
+ hyperlink creates a new <span>browsing context</span>.</p>
+
<h5>Link type "<dfn title="rel-pingback"><code>pingback</code></dfn>"</h5>

0 comments on commit 8a04b9d

Please sign in to comment.