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

Unified Diff: third_party/WebKit/LayoutTests/web-animations-api/animation-finish-promise-gc.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
« no previous file with comments | « third_party/WebKit/LayoutTests/svg/custom/tref-clone-crash.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/web-animations-api/animation-finish-promise-gc.html
diff --git a/third_party/WebKit/LayoutTests/web-animations-api/animation-finish-promise-gc.html b/third_party/WebKit/LayoutTests/web-animations-api/animation-finish-promise-gc.html
index 3ef98fe804f30cf31d29b7d04eaccc95e2e334ad..d69486ec57a8d16d713c43d11fe4bfb609a38bcf 100644
--- a/third_party/WebKit/LayoutTests/web-animations-api/animation-finish-promise-gc.html
+++ b/third_party/WebKit/LayoutTests/web-animations-api/animation-finish-promise-gc.html
@@ -3,13 +3,9 @@
<title>Garbage collect an animation with a finish promise</title>
<script src="../resources/testharness.js"></script>
<script src="../resources/testharnessreport.js"></script>
+<script src="../resources/gc.js"></script>
<body>
<script>
-function gc()
-{
- return GCController.collectAll();
-}
-
async_test(t => {
assert_exists(window, "GCController", "gc controller needed");
setInterval(gc, 0);
« no previous file with comments | « third_party/WebKit/LayoutTests/svg/custom/tref-clone-crash.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698