[Pkg-mozext-commits] [firegestures] 04/10: [Nightly44.0a1] fix: "cross-process JS call failed" error

David Prévot taffit at moszumanska.debian.org
Thu Oct 29 20:57:36 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository firegestures.

commit ad9e33760d3fdbe16c6d28842a2ebe6946b7be71
Author: Gomita <gomita at xuldev.org>
Date:   Tue Sep 29 01:22:01 2015 +0900

    [Nightly44.0a1] fix: "cross-process JS call failed" error
---
 chrome/content/firegestures/remote.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/chrome/content/firegestures/remote.js b/chrome/content/firegestures/remote.js
index 87967fa..718e129 100644
--- a/chrome/content/firegestures/remote.js
+++ b/chrome/content/firegestures/remote.js
@@ -72,14 +72,14 @@ let FireGesturesRemote = {
 		}
 		// tell parent browser the source node and some info
 		let sel = this._getSelectedText(doc, elt);
-		sendSyncMessage("FireGesturesRemote:Response", { name: "sourceNode" }, { elt, sel });
+		sendRpcMessage("FireGesturesRemote:Response", { name: "sourceNode" }, { elt, sel });
 	},
 
 	_onSwipeGesture: function(aData) {
 		log("onSwipeGesture: " + aData.toSource());	// #debug
 		let { doc, elt } = this._elementFromPoint(aData.x, aData.y);
 		let sel = this._getSelectedText(doc, elt);
-		sendSyncMessage("FireGesturesRemote:Response", { name: "sourceNode" }, { elt, sel });
+		sendRpcMessage("FireGesturesRemote:Response", { name: "sourceNode" }, { elt, sel });
 		sendSyncMessage("FireGesturesRemote:Response", { name: "swipe" }, { direction: aData.direction });
 	},
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/firegestures.git



More information about the Pkg-mozext-commits mailing list