From 7cd67d1fd58cfbf33b871c33d7cdc8d703c0d878 Mon Sep 17 00:00:00 2001 From: Justin Lebar Date: Fri, 20 Jul 2012 18:47:52 -0400 Subject: [PATCH] Bug 776116 - In BrowserElementParent.js, return the result of sync messages. (Broken by bug 773980.) r=mounir --- dom/browser-element/BrowserElementParent.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dom/browser-element/BrowserElementParent.js b/dom/browser-element/BrowserElementParent.js index c18f7e69f48e..6c16339862aa 100644 --- a/dom/browser-element/BrowserElementParent.js +++ b/dom/browser-element/BrowserElementParent.js @@ -139,7 +139,7 @@ function BrowserElementParent(frameLoader) { function addMessageListener(msg, handler) { function checkedHandler() { if (self._isAlive()) { - handler.apply(self, arguments); + return handler.apply(self, arguments); } } self._mm.addMessageListener('browser-element-api:' + msg, checkedHandler);