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

Side by Side Diff: LayoutTests/fast/loader/external-script-URL-location.html

Issue 679863002: Revert "Prepare blink to unify definitions of load completion" (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 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
OLDNEW
1 <body onload="test()"> 1 <body onload="test()">
2 FAILURE 2 FAILURE
3 <script> 3 <script>
4 if (window.testRunner) { 4 if (window.testRunner)
5 testRunner.dumpAsText(); 5 testRunner.dumpAsText();
6 testRunner.waitUntilDone();
7 }
8
9 function test() 6 function test()
10 { 7 {
11 document.write("<br>Test 1<br>File in URL: " + leafName(document.URL) + "<br ><script src='resources/external-script-URL-location.js'></scr" + "ipt>"); 8 document.write("<br>Test 1<br>File in URL: " + leafName(document.URL) + "<br ><script src='resources/external-script-URL-location.js'></scr" + "ipt>");
12 } 9 }
13 10
14 function leafName(url) { 11 function leafName(url) {
15 var tokens = new Array(); 12 var tokens = new Array();
16 tokens = url.split('/'); 13 tokens = url.split('/');
17 var len = tokens.length; 14 var len = tokens.length;
18 return tokens[len-1]; 15 return tokens[len-1];
19 } 16 }
20 17
21 </script> 18 </script>
22 </body> 19 </body>
OLDNEW
« no previous file with comments | « LayoutTests/fast/loader/create-frame-in-DOMContentLoaded.html ('k') | LayoutTests/fast/loader/open-in-srcdoc-unload.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698