OLD | NEW |
(Empty) | |
| 1 <?xml version="1.0" standalone="no"?> |
| 2 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlin
k" version="1.0"> |
| 3 <!-- script elements should not fire load until fetch is done and script exe
cuted --> |
| 4 <text id="console" x="8" y="1.5em">Test didn't run.</text> |
| 5 <script> |
| 6 if (window.testRunner) { |
| 7 testRunner.waitUntilDone(); |
| 8 testRunner.dumpAsText(); |
| 9 } |
| 10 |
| 11 window.onload = function() { |
| 12 if (window.testRunner) |
| 13 testRunner.notifyDone(); |
| 14 }; |
| 15 |
| 16 function runTest() { |
| 17 if (external_script_executed) |
| 18 document.getElementById("console").textContent = "Passed"; |
| 19 else |
| 20 document.getElementById("console").textContent = "Failed"; |
| 21 } |
| 22 </script> |
| 23 <script xlink:href="resources/delayCachedLoadScript.php" onload="runTest()"/
> |
| 24 </svg> |
OLD | NEW |