Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / media / gc-pending-event-inactive-document.html
blob454cee142627def762eebbb2daa358f5f1b86576
1 <!DOCTYPE html>
2 <title>GC with a pending event in an inactive document</title>
3 <script src="../resources/testharness.js"></script>
4 <script src="../resources/testharnessreport.js"></script>
5 <script src="media-file.js"></script>
6 <script>
7 async_test(function(t)
9 var a = document.createElement("audio");
10 a.volume = 0; // queues a task to fire volumechange
12 var doc = document.implementation.createHTMLDocument();
13 doc.body.appendChild(a);
15 a.onvolumechange = t.step_func_done();
16 a = doc = null;
17 gc();
18 });
19 </script>