aboutsummaryrefslogtreecommitdiffstats
path: root/xul-ext/protocol
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2015-03-23 23:19:24 +0100
committerGuilhem Moulin <guilhem@fripost.org>2015-03-25 20:08:48 +0100
commit92ed83c72e2e1006bd2c94cbe02870f7d2404cae (patch)
tree4e3ec6ae0e28c0fa2c4767170d109cb8982cfab2 /xul-ext/protocol
parent07b84b96bee626471db5f5dc284f4cd00a0d56ff (diff)
Use about:config to determine the socket path and perms.
Diffstat (limited to 'xul-ext/protocol')
-rw-r--r--xul-ext/protocol6
1 files changed, 5 insertions, 1 deletions
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