From 92ed83c72e2e1006bd2c94cbe02870f7d2404cae Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Mon, 23 Mar 2015 23:19:24 +0100 Subject: Use about:config to determine the socket path and perms. --- xul-ext/protocol | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'xul-ext/protocol') diff --git a/xul-ext/protocol b/xul-ext/protocol index b29e2fd..94f7744 100644 --- a/xul-ext/protocol +++ b/xul-ext/protocol @@ -1,6 +1,10 @@ Upon startup, Firefox creates and listens on a new UNIX socket (shared between all tabs and windows) on which commands can be thrown in to fill -HTML forms. The greeting message indicates that the server is ready to +HTML forms. The socket path and permissions can respectively be +configured with the "extensions.icevault.socketPath" and +"extensions.icevault.socketPerms" preferences in "about:config". + +The greeting message indicates that the server is ready to accept commands. Each command and response are single UTF8 string lines ending with a newline character `\n'. (JSON-encoding ensures that control characters are escaped properly; decoding to a string rather -- cgit v1.2.3