Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <script> | 2 <script> |
| 3 if (window.testRunner) { | 3 if (window.testRunner) { |
| 4 testRunner.dumpAsText(); | 4 testRunner.dumpAsText(); |
| 5 testRunner.waitUntilDone(); | 5 testRunner.waitUntilDone(); |
| 6 setTimeout(function() { testRunner.notifyDone(); }, 500); | 6 window.addEventListener("load", function() { |
|
esprehn
2014/05/08 19:13:29
onload = function() {
| |
| 7 if (null == document.querySelector("link").import) | |
| 8 console.log("FAIL"); | |
| 9 requestAnimationFrame(testRunner.notifyDone.bind(testRunner)); | |
| 10 }); | |
| 7 } | 11 } |
| 8 </script> | 12 </script> |
| 9 <link href="resources/import-link-with-media-query.html" rel=import> | 13 <link href="resources/import-link-with-media-query.html" rel=import> |
| 10 This test passes if it does not crash under ASAN. | 14 This test passes if it does not crash under ASAN. |
| OLD | NEW |