audio-freed-during-reload.html 507 B

1234567891011121314151617
  1. <html>
  2. <script>
  3. function go() {
  4. var a = new Audio();
  5. a.autoplay = "1";
  6. a.src = "../LayoutTests/media/content/test.wav";
  7. }
  8. </script>
  9. <body onload="go()">
  10. <p>
  11. Load this page and open Activity Monitor, htop, chrome's task manager, or another resource monitor.
  12. Reload the page a number of times and verify that the memory usage
  13. doesn't keep climbing indefinitely per reload.
  14. </p>
  15. </body>
  16. </html?