Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / http / tests / svg / load-on-delayed-script.svg
blob1ff4591f7e10abb39df62def8682db8a43f8b408
1 <?xml version="1.0" standalone="no"?>
2 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.0">
3 <!-- script elements should not fire load until fetch is done and script executed -->
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();
11 window.onload = function() {
12 if (window.testRunner)
13 testRunner.notifyDone();
16 function runTest() {
17 if (external_script_executed)
18 document.getElementById("console").textContent = "Passed";
19 else
20 document.getElementById("console").textContent = "Failed";
22 </script>
23 <script xlink:href="resources/delayCachedLoadScript.php" onload="runTest()"/>
24 </svg>