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

Unified Diff: third_party/WebKit/LayoutTests/fast/events/message-port-gc-closed.html

Issue 2066533003: Use asyncGC instead of GC in fast/events/message-port-gc-closed*.html (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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/fast/events/message-port-gc-closed.html
diff --git a/third_party/WebKit/LayoutTests/fast/events/message-port-gc-closed.html b/third_party/WebKit/LayoutTests/fast/events/message-port-gc-closed.html
index 4cc906ac01e6d48f7137bbe1ba35e4e19ad4ad8b..e913ac75f9afbb1d8816ff371af8fcd0f06f5909 100644
--- a/third_party/WebKit/LayoutTests/fast/events/message-port-gc-closed.html
+++ b/third_party/WebKit/LayoutTests/fast/events/message-port-gc-closed.html
@@ -7,9 +7,10 @@ description("MessagePorts (and their execution contexts) should be collected by
window.jsTestIsAsync = true;
function runGCAndTest() {
- gc();
- shouldBeTrue("iframeDocGC.wasCollected");
- finishJSTest();
+ asyncGC(function() {
+ shouldBeTrue("iframeDocGC.wasCollected");
+ finishJSTest();
+ });
}
window.onmessage = function(evt) {

Powered by Google App Engine
This is Rietveld 408576698