Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(125)

Side by Side Diff: LayoutTests/fast/animation/request-animation-frame-detach-element.html

Issue 8899006: Merge 102405 - Source/WebCore: Improve handling of frame removal during requestAnimationFrame cal... (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/963/
Patch Set: Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <script> 2 <script>
3 if (window.layoutTestController) { 3 if (window.layoutTestController) {
4 layoutTestController.dumpAsText(); 4 layoutTestController.dumpAsText();
5 layoutTestController.waitUntilDone(); 5 layoutTestController.waitUntilDone();
6 } 6 }
7 window.onload = function() { 7 window.onload = function() {
8 var el = document.getElementsByTagName("iframe")[0]; 8 var el = document.getElementsByTagName("iframe")[0];
9 window.frames[0].webkitRequestAnimationFrame(function() { 9 window.frames[0].webkitRequestAnimationFrame(function() {
10 el.parentNode.removeChild(el); 10 el.parentNode.removeChild(el);
11 }); 11 });
12 window.frames[1].webkitRequestAnimationFrame(function() { 12 window.frames[1].webkitRequestAnimationFrame(function() {
13 }); 13 });
14 14
15 if (window.layoutTestController) { 15 if (window.layoutTestController) {
16 window.setTimeout(function() { 16 window.setTimeout(function() {
17 layoutTestController.display(); 17 layoutTestController.display();
18 layoutTestController.notifyDone(); 18 layoutTestController.notifyDone();
19 }, 50); 19 }, 50);
20 } 20 }
21 } 21 }
22 </script> 22 </script>
23 Test passes is there is no crash. 23 Test passes is there is no crash.
24 <iframe></iframe> 24 <iframe></iframe>
25 <iframe></iframe> 25 <iframe></iframe>
OLDNEW
« no previous file with comments | « LayoutTests/ChangeLog ('k') | LayoutTests/fast/animation/request-animation-frame-detach-element-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698