Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(476)

Unified Diff: third_party/WebKit/LayoutTests/http/tests/inspector/network/from-disk-cache-timing.html

Issue 2847943002: Cleanup LayoutTests that define a function gc(). (Closed)
Patch Set: Fixing Layout Tests Failures Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/http/tests/inspector/network/from-disk-cache-timing.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/network/from-disk-cache-timing.html b/third_party/WebKit/LayoutTests/http/tests/inspector/network/from-disk-cache-timing.html
index 5b6353e71cff0c9c3afed537543ef1808d758249..aa1e99dda2f6b68c30194d1cef77c494497df538 100644
--- a/third_party/WebKit/LayoutTests/http/tests/inspector/network/from-disk-cache-timing.html
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/network/from-disk-cache-timing.html
@@ -3,6 +3,7 @@
<script src="../inspector-test.js"></script>
<script src="../network-test.js"></script>
<script src="../debugger-test.js"></script>
+<script src="../../../../resources/gc.js"></script>
<script>
var scriptElement;
@@ -18,13 +19,6 @@ function unloadScript()
scriptElement.parentElement.removeChild(scriptElement);
}
-function gc()
-{
- // In Oilpan, Resource objects are not destructed until GC.
- if (window.GCController)
- GCController.collectAll();
-}
-
function test()
{
var timeZero = 0;

Powered by Google App Engine
This is Rietveld 408576698