5 testRunner
.waitUntilDone();
9 var frameObj
= document
.getElementById("myFrame");
10 frameObj
.contentWindow
.document
.write("<img src=\"http://127.0.0.1:8000/security/resources/showRefererImage.php\"/>");
11 frameObj
.contentWindow
.document
.close();
12 frameObj
.onload = function() {
13 if (window
.testRunner
)
14 testRunner
.notifyDone();
20 <br>This is a test to see if a file:// url is sent out as the referrer for a subresource load
<br>
21 <iframe id=
"myFrame" src=
"about:blank" onLoad=
"setTimeout(getImage, 0);"></iframe>
22 <br>The above image will tell you success or failure - green or red
<br>