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

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

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 document.open(); 1 document.open();
2 document.write("<br>Test 2<br>File in URL: " + leafName(document.URL) + "<br>"); 2 document.write("<br>Test 2<br>File in URL: " + leafName(document.URL) + "<br>");
3 3
4 if (window.testRunner)
5 testRunner.notifyDone();
6
7 function leafName(url) { 4 function leafName(url) {
8 var tokens = new Array(); 5 var tokens = new Array();
9 tokens = url.split('/'); 6 tokens = url.split('/');
10 var len = tokens.length; 7 var len = tokens.length;
11 return tokens[len-1]; 8 return tokens[len-1];
12 } 9 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698