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

Side by Side Diff: LayoutTests/media/media-continues-playing-after-replace-source.html

Issue 211933008: Remove multiple GC calls and replace GCController.collect calls with GCController.collectAll (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: revert change to worker-event-listener Created 6 years, 9 months 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 <html> 1 <html>
2 <title>Test media source replacement</title> 2 <title>Test media source replacement</title>
3 <body> 3 <body>
4 4
5 <p>Test that media keeps playing when the source element is replaced.</p> 5 <p>Test that media keeps playing when the source element is replaced.</p>
6 6
7 <script src=video-test.js></script> 7 <script src=video-test.js></script>
8 <script src=media-file.js></script> 8 <script src=media-file.js></script>
9 <script src=../resources/gc.js></script> 9 <script src=../resources/gc.js></script>
10 <script> 10 <script>
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 97
98 var s = document.createElement('source'); 98 var s = document.createElement('source');
99 s.src = findMediaFile("audio", "content/silence"); 99 s.src = findMediaFile("audio", "content/silence");
100 audioElement.appendChild(s); 100 audioElement.appendChild(s);
101 101
102 } 102 }
103 103
104 document.write("<audio controls></audio>"); 104 document.write("<audio controls></audio>");
105 testAudioElement(0); 105 testAudioElement(0);
106 gc(); 106 gc();
107 gc();
108 </script> 107 </script>
109 108
110 </body> 109 </body>
111 </html> 110 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698