Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(103)

Side by Side Diff: LayoutTests/http/tests/navigation/no-referrer-same-window.html

Issue 216553010: Remove carriage returns from LayoutTests (04) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 <html><body> 1 <html><body>
2 This tests the basic functionality of the "noreferrer" link relation on anchor t ags. The link below should not 2 This tests the basic functionality of the "noreferrer" link relation on anchor t ags. The link below should not
3 send an http referrer, and the resulting window should have its opener attribute set to null. The values 3 send an http referrer, and the resulting window should have its opener attribute set to null. The values
4 of the referrer and window.opener should be empty below. 4 of the referrer and window.opener should be empty below.
5 <br/> 5 <br/>
6 <a id="link" href="resources/no-referrer-same-window-helper.php" rel="noreferrer ">Start no referrer test</a> 6 <a id="link" href="resources/no-referrer-same-window-helper.php" rel="noreferrer ">Start no referrer test</a>
7 <script> 7 <script>
8 window.name = "consoleWindow"; 8 window.name = "consoleWindow";
9 if (window.testRunner) { 9 if (window.testRunner) {
10 testRunner.dumpAsText(); 10 testRunner.dumpAsText();
11 testRunner.waitUntilDone(); 11 testRunner.waitUntilDone();
12 } 12 }
13 13
14 var target = document.getElementById("link"); 14 var target = document.getElementById("link");
15 eventSender.mouseMoveTo(target.offsetLeft + 2, target.offsetTop + 2); 15 eventSender.mouseMoveTo(target.offsetLeft + 2, target.offsetTop + 2);
16 eventSender.mouseDown(); 16 eventSender.mouseDown();
17 eventSender.mouseUp(); 17 eventSender.mouseUp();
18 18
19 function log(msg) 19 function log(msg)
20 { 20 {
21 var line = document.createElement('div'); 21 var line = document.createElement('div');
22 line.appendChild(document.createTextNode(msg)); 22 line.appendChild(document.createTextNode(msg));
23 document.getElementById('console').appendChild(line); 23 document.getElementById('console').appendChild(line);
24 } 24 }
25 </script> 25 </script>
26 <div id="console"></div> 26 <div id="console"></div>
27 </body></html> 27 </body></html>
OLDNEW
« no previous file with comments | « LayoutTests/http/tests/navigation/no-referrer-reset.html ('k') | LayoutTests/http/tests/navigation/no-referrer-subframe.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698