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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/inspector/network/long-script-content.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/long-script-content.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/network/long-script-content.html b/third_party/WebKit/LayoutTests/http/tests/inspector/network/long-script-content.html
index 83d222f8fd181f2f25c7ce8439d77e4d001c065c..eee4fc5856f90ae1ecc869a8c910df13ef630735 100644
--- a/third_party/WebKit/LayoutTests/http/tests/inspector/network/long-script-content.html
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/network/long-script-content.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()
{
InspectorTest.hardReloadPage(step1);

Powered by Google App Engine
This is Rietveld 408576698