| Index: third_party/WebKit/LayoutTests/media/gc-pending-event.html
|
| diff --git a/third_party/WebKit/LayoutTests/media/gc-pending-event-inactive-document.html b/third_party/WebKit/LayoutTests/media/gc-pending-event.html
|
| similarity index 67%
|
| rename from third_party/WebKit/LayoutTests/media/gc-pending-event-inactive-document.html
|
| rename to third_party/WebKit/LayoutTests/media/gc-pending-event.html
|
| index 454cee142627def762eebbb2daa358f5f1b86576..6effe6a1a7e9fac421356f75ff401ab4bdbecc37 100644
|
| --- a/third_party/WebKit/LayoutTests/media/gc-pending-event-inactive-document.html
|
| +++ b/third_party/WebKit/LayoutTests/media/gc-pending-event.html
|
| @@ -1,5 +1,5 @@
|
| <!DOCTYPE html>
|
| -<title>GC with a pending event in an inactive document</title>
|
| +<title>Verify that a pending event prevents GC</title>
|
| <script src="../resources/testharness.js"></script>
|
| <script src="../resources/testharnessreport.js"></script>
|
| <script src="media-file.js"></script>
|
| @@ -9,11 +9,8 @@ async_test(function(t)
|
| var a = document.createElement("audio");
|
| a.volume = 0; // queues a task to fire volumechange
|
|
|
| - var doc = document.implementation.createHTMLDocument();
|
| - doc.body.appendChild(a);
|
| -
|
| a.onvolumechange = t.step_func_done();
|
| - a = doc = null;
|
| + a = null;
|
| gc();
|
| });
|
| </script>
|
|
|