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

Side by Side Diff: ManualTests/audio-freed-during-reload.html

Issue 10979026: Merge 129296 - HTMLMediaElement isn't garbage collected between document reloads (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1271/
Patch Set: Created 8 years, 2 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
« no previous file with comments | « no previous file | Source/WebCore/html/HTMLMediaElement.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <html> 1 <html>
2 <script> 2 <script>
3 function go() { 3 function go() {
4 var a = new Audio(); 4 var a = new Audio();
5 a.autoplay = "1"; 5 a.autoplay = "1";
6 a.src = "../LayoutTests/media/content/test.wav"; 6 a.src = "../LayoutTests/media/content/test.wav";
7 } 7 }
8 </script> 8 </script>
9 9
10 <body onload="go()"> 10 <body onload="go()">
11 <p> 11 <p>
12 Load this page and open Activity Monitor, htop, chrome's task manage r, or another resource monitor. 12 Load this page and open Activity Monitor, htop, chrome's task manage r, or another resource monitor.
13 Reload the page a number of times and verify that the memory usage 13 Reload the page a number of times and verify that the memory usage
14 doesn't keep climbing indefinitely per reload. 14 doesn't keep climbing indefinitely per reload.
15 </p> 15 </p>
16 </body> 16 </body>
17 </html? 17 </html?
OLDNEW
« no previous file with comments | « no previous file | Source/WebCore/html/HTMLMediaElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698