diff --git a/mobile/chrome/content/bindings/browser.js b/mobile/chrome/content/bindings/browser.js index 73eb3d7afe4..3fd33070de6 100644 --- a/mobile/chrome/content/bindings/browser.js +++ b/mobile/chrome/content/bindings/browser.js @@ -289,7 +289,7 @@ let DOMEvents = { case "DOMWillOpenModalDialog": case "DOMWindowClose": - let retvals = sendAsyncMessage(aEvent.type, { }); + let retvals = sendSyncMessage(aEvent.type, { }); for (rv in retvals) { if (rv.preventDefault) { aEvent.preventDefault();