1 <a style=
"display:none" href=
"filesystem:http://www.webkit.org:8080/temporary/a/b/c/file.txt">foo
</a>
2 <p>This text should not be visible. It should be overwritten by the running of the test.
</p>
5 testRunner
.dumpAsText();
6 var expectedOrigin
= 'http://www.webkit.org:8080';
7 var actualOrigin
= document
.getElementsByTagName('a')[0].origin
;
8 var resultElt
= document
.getElementsByTagName('p')[0];
9 if (actualOrigin
== expectedOrigin
)
10 resultElt
.innerText
= 'PASSED: origin was ' + expectedOrigin
;
12 resultElt
.innerText
= 'FAILED: expected origin: ' + expectedOrigin
+ ' but got: ' + actualOrigin
;