Index: third_party/WebKit/LayoutTests/media/remoteplayback/availability-callback-gc.html |
diff --git a/third_party/WebKit/LayoutTests/media/remoteplayback/availability-callback-gc.html b/third_party/WebKit/LayoutTests/media/remoteplayback/availability-callback-gc.html |
index f5fda808b0d2bb7d320f14a54ea4f5440b8d1bc2..9bf5867a71cdb2d8b1ef52cbfe3b4b0f9c2c26bc 100644 |
--- a/third_party/WebKit/LayoutTests/media/remoteplayback/availability-callback-gc.html |
+++ b/third_party/WebKit/LayoutTests/media/remoteplayback/availability-callback-gc.html |
@@ -5,22 +5,10 @@ |
<script src="../../resources/testharness.js"></script> |
<script src="../../resources/testharnessreport.js"></script> |
<script src="../media-file.js"></script> |
+ <script src="../../resources/gc.js"></script> |
</head> |
<body> |
<script> |
- // WPT: this test can't be moved to WPT because of its usage of: |
- // - GCController.collect() |
- |
- function gc() { |
- if (window.GCController) |
- GCController.collect(); |
- else { |
- for (var i = 0; i < 10000; ++i) { |
- ({ }); |
- } |
- } |
- } |
- |
async_test(function(t) |
{ |
var v = document.createElement('video'); |