Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2354 from w3c/noreferrer-cross-origin
rel=noreferrer cross-origin manual tests
- Loading branch information
Showing
5 changed files
with
18 additions
and
0 deletions.
There are no files selected for viewing
3 changes: 3 additions & 0 deletions
3
html/browsers/windows/noreferrer-cross-origin-close-manual.sub.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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>. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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> |
3 changes: 3 additions & 0 deletions
3
html/browsers/windows/noreferrer-cross-origin-window-name.sub.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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>. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<p>Clicking this button should close this browsing context: <button onclick=window.close()>button</button> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<script>document.write(name)</script> |