1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-03-02 07:35:47 +01:00

Fix parsing of invalid JSON strings in arguments, and serialization of strings containing tabs and newlines. Closes issue #72.

This commit is contained in:
Kris Maglione
2010-10-12 17:34:39 -04:00
parent e96c946499
commit 8628551c5a
5 changed files with 18 additions and 13 deletions

View File

@@ -1034,7 +1034,7 @@ const Tabs = Module("tabs", {
for (let group in values(activateGroups))
if (group[2])
options.safeSetPref("browser.tabs." + group[2],
!(valueSet["all"] || valueSet[group[0]]),
!(valueSet["all"] ^ valueSet[group[0]]),
"See the 'activate' option");
return newValues;
}