OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <link href="notexist.css" id="link" rel="stylesheet"> | 2 <link href="notexist.css" id="link" rel="stylesheet"> |
3 <script> | 3 <script> |
4 if (window.testRunner) { | 4 if (window.testRunner) { |
5 testRunner.dumpAsText(); | 5 testRunner.dumpAsText(); |
6 testRunner.waitUntilDone(); | 6 testRunner.waitUntilDone(); |
7 } | 7 } |
8 | 8 |
9 onload = function(){ | 9 onload = function(){ |
10 setTimeout(function(){ | 10 setTimeout(function(){ |
11 document.body.offsetTop; | 11 document.body.offsetTop; |
12 link.setAttribute("sizes", ""); | 12 link.setAttribute("sizes", ""); |
13 link.setAttribute("disabled", ""); | 13 link.setAttribute("disabled", ""); |
14 requestAnimationFrame(function(){ | 14 requestAnimationFrame(function(){ |
15 if (window.testRunner) | 15 if (window.testRunner) |
16 testRunner.notifyDone(); | 16 testRunner.notifyDone(); |
17 }); | 17 }); |
18 }, 0); | 18 }, 0); |
19 }; | 19 }; |
20 </script> | 20 </script> |
21 <p>PASS if not crashed</p> | 21 <p>PASS if not crashed</p> |
OLD | NEW |