Sign in
webkit
/
WebKit
/
d8479b810180e956bb0ba74f0c1d6d2e0c03ecc5
/
.
/
LayoutTests
/
fast
/
loader
/
resources
/
external-script-URL-location.js
blob: d95f4a2718bde79e6eaff31473a44beb92ab4f7d [
file
] [
log
] [
blame
]
document
.
open
();
document
.
write
(
"<br>Test 2<br>File in URL: "
+
leafName
(
document
.
URL
)
+
"<br>"
);
function
leafName
(
url
)
{
var
tokens
=
new
Array
();
tokens
=
url
.
split
(
'/'
);
var
len
=
tokens
.
length
;
return
tokens
[
len
-
1
];
}