Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / animation / request-animation-frame-detach-element.html
blob5528e74b24b8af1a2e282f9743a1ebe53438b2ff
1 <!DOCTYPE html>
2 <script>
3 if (window.testRunner) {
4 testRunner.dumpAsText();
5 testRunner.waitUntilDone();
7 window.onload = function() {
8 var el = document.getElementsByTagName("iframe")[0];
9 window.frames[0].requestAnimationFrame(function() {
10 el.parentNode.removeChild(el);
11 });
12 window.frames[1].requestAnimationFrame(function() {
13 });
15 if (window.testRunner) {
16 window.setTimeout(function() {
17 testRunner.notifyDone();
18 }, 50);
21 </script>
22 Test passes is there is no crash.
23 <iframe></iframe>
24 <iframe></iframe>