Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / media / gc-while-delaying-the-load-event.html
blobd4c4b7c2b83a3d174a062194f7a6c68e15eb6cc1
1 <!DOCTYPE html>
2 <title>GC while the delaying-the-load-event flag is set</title>
3 <script src="../resources/testharness.js"></script>
4 <script src="../resources/testharnessreport.js"></script>
5 <script>
6 async_test(function(t)
8 var a = document.createElement("audio");
9 a.foo = "bar";
10 a.appendChild(document.createElement("source"));
11 a.onloadstart = t.step_func(function(e)
13 assert_equals(e.target.foo, "bar");
14 t.done();
15 });
16 a = null;
17 gc();
18 });
19 </script>