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

Unified Diff: LayoutTests/fast/forms/color/input-color-chooser-shown.html

Issue 801373002: Oilpan: force finalization on color chooser closing tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years 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 | « no previous file | LayoutTests/fast/forms/color/input-color-chooser-shown-readonly.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/forms/color/input-color-chooser-shown.html
diff --git a/LayoutTests/fast/forms/color/input-color-chooser-shown.html b/LayoutTests/fast/forms/color/input-color-chooser-shown.html
index 175781542409ed533074750f4f5c34eccc23c9d0..fbc35d41a20939d87e2fb6bd1f7a838920f459fa 100644
--- a/LayoutTests/fast/forms/color/input-color-chooser-shown.html
+++ b/LayoutTests/fast/forms/color/input-color-chooser-shown.html
@@ -22,6 +22,8 @@ if (window.eventSender) {
nwait--;
if (0 < nwait)
return window.setTimeout(testClosed, 0);
+ // Let an Oilpan GC finalize the popup controller and bring about closure of color chooser.
+ gc();
shouldBeFalse("testRunner.isChooserShown()");
finishJSTest();
}
« no previous file with comments | « no previous file | LayoutTests/fast/forms/color/input-color-chooser-shown-readonly.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698