Index: LayoutTests/fast/forms/color/input-color-chooser-shown-readonly.html |
diff --git a/LayoutTests/fast/forms/color/input-color-chooser-shown-readonly.html b/LayoutTests/fast/forms/color/input-color-chooser-shown-readonly.html |
index 9497b1832178a3b31dddb12e3e9012529a7e6882..0aa0ad9f39a45b56c4607b0787f6fe6b967baaec 100644 |
--- a/LayoutTests/fast/forms/color/input-color-chooser-shown-readonly.html |
+++ b/LayoutTests/fast/forms/color/input-color-chooser-shown-readonly.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(); |
} |