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); |
+ } |
} |