OLD | NEW |
1 <iframe id="iframe"></iframe> | 1 <iframe id="iframe"></iframe> |
2 <div id="div1"></div> | 2 <div id="div1"></div> |
3 This test passes if it does not crash. | 3 This test passes if it does not crash. |
4 <div id="div2"></div> | 4 <div id="div2"></div> |
5 <div id="div3"></div> | 5 <div id="div3"></div> |
6 <embed id="embed"></embed> | 6 <embed id="embed"></embed> |
7 <script> | 7 <script> |
8 try{embed.appendChild(null);}catch(e){} | 8 try{embed.appendChild(null);}catch(e){} |
9 iframe.animate([{"position":"fixed"}, {"position":"static"}], {duration: 1, fill
: 'forwards'}); | 9 iframe.animate([{"position":"fixed"}, {"position":"static"}], {duration: 1, fill
: 'forwards'}); |
10 div3.appendChild(div1); | 10 div3.appendChild(div1); |
11 if (window.testRunner) { | 11 if (window.testRunner) { |
12 testRunner.waitUntilDone(); | 12 testRunner.waitUntilDone(); |
13 testRunner.dumpAsText(); | 13 testRunner.dumpAsText(); |
14 requestAnimationFrame(function() { | 14 requestAnimationFrame(function() { |
15 document.documentElement.textContent = 'PASS'; | |
16 testRunner.notifyDone(); | 15 testRunner.notifyDone(); |
17 }); | 16 }); |
18 } | 17 } |
19 </script> | 18 </script> |
OLD | NEW |