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

Side by Side Diff: LayoutTests/http/tests/misc/resources/delete-frame-during-readystatechange-frame-with-gc-after-video-removal.html

Issue 58533003: Move fast/js/resources files to resources. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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 | Annotate | Revision Log
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="/js-test-resources/js-test-pre.js"></script> 4 <script src="/js-test-resources/js-test.js"></script>
5 <script> 5 <script>
6 i = 0; 6 i = 0;
7 document.addEventListener('readystatechange', function() 7 document.addEventListener('readystatechange', function()
8 { 8 {
9 if (i == 1) 9 if (i == 1)
10 parent.removeFrame(); 10 parent.removeFrame();
11 i++; 11 i++;
12 }); 12 });
13 13
14 window.addEventListener('DOMContentLoaded', function() 14 window.addEventListener('DOMContentLoaded', function()
15 { 15 {
16 document.getElementById("videoTag").load(); 16 document.getElementById("videoTag").load();
17 document.body.removeChild(document.getElementById("videoTag")); 17 document.body.removeChild(document.getElementById("videoTag"));
18 gc(); 18 gc();
19 }); 19 });
20 </script> 20 </script>
21 </head> 21 </head>
22 <body> 22 <body>
23 <video id="videoTag" src="empty.ogv"></video> 23 <video id="videoTag" src="empty.ogv"></video>
24 </body> 24 </body>
25 </html> 25 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698