1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-13 15:05:45 +01:00

Add forgotten NEWS entry.

This commit is contained in:
Kris Maglione
2010-10-15 00:49:47 -04:00
parent a3799d3d05
commit 9e10404daf
3 changed files with 8 additions and 7 deletions

View File

@@ -181,7 +181,7 @@ const Sanitizer = Module("sanitizer", XPCOM([Ci.nsIObserver, Ci.nsISupportsWeakR
label={services.get("dactyl:").appName + " " + desc}
preference={branch + item}
onsyncfrompreference="return gSanitizePromptDialog.onReadGeneric();"/>)
}
}
</>
},
init: function (win) {
@@ -482,7 +482,7 @@ const Sanitizer = Module("sanitizer", XPCOM([Ci.nsIObserver, Ci.nsISupportsWeakR
argCount: "+",
completer: function (context, args) {
switch (args.completeArg) {
case 0:
case 0:
modules.completion.visibleHosts(context);
context.title[1] = "Current Permissions";
context.keys.description = function desc(host) {
@@ -586,7 +586,7 @@ const Sanitizer = Module("sanitizer", XPCOM([Ci.nsIObserver, Ci.nsISupportsWeakR
validator: function (value) /^(a(ll)?|s(ession)|\d+[mhdw])$/.test(value)
});
options.add(["cookies", "ck"],
"The default mode for newly added cookie permissions",
"stringlist", "session",

View File

@@ -26,7 +26,7 @@ const FailedAssertion = Class("FailedAssertion", Error, {
}
});
function wrapCallback(fn)
function wrapCallback(fn)
fn.wrapper = function wrappedCallback () {
try {
return fn.apply(this, arguments);
@@ -1292,7 +1292,7 @@ const Prefs = Module("prefs", XPCOM([Ci.nsIObserver, Ci.nsISupportsWeakReference
this._prefContexts[this._prefContexts.length - 1][name] = val;
}
function assertType(needType)
function assertType(needType)
util.assert(type === Ci.nsIPrefBranch.PREF_INVALID || type === needType,
type === Ci.nsIPrefBranch.PREF_INT
? "E521: Number required after =: " + name + "=" + value