7 testRunner
.notifyDone();
12 if (window
.testRunner
) {
13 testRunner
.dumpAsText();
14 testRunner
.waitUntilDone();
17 // No need to let this point to a real file.
20 var result
= plg
.getURL('file:///tmp.html', '_self');
22 document
.getElementById('result').innerHTML
= "SUCCESS";
24 document
.getElementById('result').innerHTML
= "FAILURE";
26 // Round-trip to the plugin once more, so errors can propagate.
27 plg
.getURLNotify("resources/load-me-1.txt", null, "notify");
31 <body onload=
"runTest()">
32 <div>This tests that a plugin in a remote document can't access local files using NPN_GetURL
</div>
33 <embed name=
"plg" type=
"application/x-webkit-test-netscape"></embed>
34 <div id=
"result">FAILURE
</div>