4 if (window
.testRunner
) {
5 testRunner
.dumpAsText();
6 testRunner
.waitUntilDone();
11 document
.write("<br>Test 1<br>File in URL: " + leafName(document
.URL
) + "<br><script src='resources/external-script-URL-location.js'></scr" + "ipt>");
14 function leafName(url
) {
15 var tokens
= new Array();
16 tokens
= url
.split('/');
17 var len
= tokens
.length
;