repo.or.cz
/
chromium-blink-merge.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
Merge Chromium + Blink git repositories
[chromium-blink-merge.git]
/
third_party
/
WebKit
/
LayoutTests
/
fast
/
loader
/
resources
/
external-script-URL-location.js
blob
13892e84a429ced51f936345308034ff1af9f3cf
1
document.open();
2
document.write("<br>Test 2<br>File in URL: " + leafName(document.URL) + "<br>");
3
4
if (window.testRunner)
5
testRunner.notifyDone();
6
7
function leafName(url) {
8
var tokens = new Array();
9
tokens = url.split('/');
10
var len = tokens.length;
11
return tokens[len-1];
12
}