Skip to content

Commit

Permalink
Merge pull request #2354 from w3c/noreferrer-cross-origin
Browse files Browse the repository at this point in the history
rel=noreferrer cross-origin manual tests
  • Loading branch information
annevk committed Nov 20, 2015
2 parents a7247d8 + 3ef3a70 commit 82984ab
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 0 deletions.
@@ -0,0 +1,3 @@
<meta charset=utf-8>
<p>Follow this link to open a new browsing context and then confirm it can be closed:
<a rel=noreferrer target=reallydoesnotmatter href="//天気の良い日.{{location[host]}}/html/browsers/windows/support-close.html">link</a>.
10 changes: 10 additions & 0 deletions html/browsers/windows/noreferrer-cross-origin-manual.html
@@ -0,0 +1,10 @@
<ol>
<li><p>After clicking these two links in order a single browsing context should be open showing
<code>example.org</code>:
<a target=doesnotmatter href="http://example.com/">one</a>,
<a target=doesnotmatter href="http://example.org/">two</a>.

<li><p>After clicking these two links two browsing contexts should have been opened:
<a rel=noreferrer target=reallydoesnotmatter href="http://example.com/">one</a>,
<a rel=noreferrer target=reallydoesnotmatter href="http://example.com/">two</a>.
</ol>
@@ -0,0 +1,3 @@
<meta charset=utf-8>
<p>Follow this link to open a new browsing context and then confirm it says "idonteven":
<a rel=noreferrer target=idonteven href="//天気の良い日.{{location[host]}}/html/browsers/windows/support-window-name-echo.html">link</a>.
1 change: 1 addition & 0 deletions html/browsers/windows/support-close.html
@@ -0,0 +1 @@
<p>Clicking this button should close this browsing context: <button onclick=window.close()>button</button>
1 change: 1 addition & 0 deletions html/browsers/windows/support-window-name-echo.html
@@ -0,0 +1 @@
<script>document.write(name)</script>

0 comments on commit 82984ab

Please sign in to comment.