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

Side by Side Diff: LayoutTests/http/tests/uri/username-with-no-hostname.html-disabled

Issue 58533003: Move fast/js/resources files to resources. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="/js-test-resources/js-test-pre.js"></script> 4 <script src="/js-test-resources/js-test.js"></script>
5 </head> 5 </head>
6 <body onload="load()"> 6 <body onload="load()">
7 7
8 This test checks that URLs with a username but no hostname do not 8 This test checks that URLs with a username but no hostname do not
9 mistakenly get loaded. If it fails in the browser, you will also see 9 mistakenly get loaded. If it fails in the browser, you will also see
10 an image. 10 an image.
11 11
12 <p id="description"></p> 12 <p id="description"></p>
13 <div id="console"></div> 13 <div id="console"></div>
14 14
15 <img src="http://user@/localhost:8000/misc/resources/compass.jpg" onerror="this. width=0"> 15 <img src="http://user@/localhost:8000/misc/resources/compass.jpg" onerror="this. width=0">
16 <script> 16 <script>
17 function load() { 17 function load() {
18 shouldBe('document.getElementsByTagName("img")[0].width', "0"); 18 shouldBe('document.getElementsByTagName("img")[0].width', "0");
19 } 19 }
20 </script> 20 </script>
21 21
22 </body> 22 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698