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

Unified Diff: LayoutTests/fast/forms/resources/picker-common.js

Issue 1159833003: New SELECT Popup: Recalc style when a web font is loaded (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebased Created 5 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: LayoutTests/fast/forms/resources/picker-common.js
diff --git a/LayoutTests/fast/forms/resources/picker-common.js b/LayoutTests/fast/forms/resources/picker-common.js
index f69889604146faf42588d269ed93266eefcf5763..f2312c015d5b28833d0908e409fe2e8589d9c008 100644
--- a/LayoutTests/fast/forms/resources/picker-common.js
+++ b/LayoutTests/fast/forms/resources/picker-common.js
@@ -68,5 +68,9 @@ function setPopupOpenCallback(callback) {
rootWindow().moveTo();
callback();
}).bind(this, callback);
- popupWindow.addEventListener("didOpenPicker", popupOpenCallbackWrapper, false);
+ try {
+ popupWindow.addEventListener("didOpenPicker", popupOpenCallbackWrapper, false);
+ } catch(e) {
+ debug(e.name);
+ }
}
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/http/tests/webfont/popup-menu-load-webfont-after-open.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698