OLD | NEW |
| (Empty) |
1 <script> | |
2 function log(msg) { | |
3 document.getElementById("log").appendChild(document.createTextNode(msg +
"\r\n")); | |
4 } | |
5 | |
6 function test() { | |
7 if (window.testRunner) { | |
8 testRunner.dumpAsText(); | |
9 testRunner.dumpChildFramesAsText(); | |
10 testRunner.waitUntilDone(); | |
11 } | |
12 | |
13 document.getElementById("result").onload = function() { testRunner.notif
yDone(); } | |
14 | |
15 if (!plg.testPostURLFile("resources/dump-post.pl", "result", testRunner.
pathToLocalResource("/tmp/post-url-file.txt"), "SUCCESS")) { | |
16 log("FAIL: testPostURLFile returned false"); | |
17 testRunner.notifyDone(); | |
18 } | |
19 } | |
20 </script> | |
21 <embed name="plg" type="application/x-webkit-test-netscape"></embed> | |
22 <pre id="log"></pre> | |
23 <iframe id="result" name="result" onload="test()" src="data:text/html,FAIL"></if
rame> | |
OLD | NEW |