Bug 776116 - In BrowserElementParent.js, return the result of sync messages. (Broken by bug 773980.) r=mounir

This commit is contained in:
Justin Lebar 2012-07-20 18:47:52 -04:00
Родитель 8ede837e1a
Коммит 7cd67d1fd5
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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);