From 9e10404dafa8d579092e34c5e42b383513830120 Mon Sep 17 00:00:00 2001 From: Kris Maglione Date: Fri, 15 Oct 2010 00:49:47 -0400 Subject: [PATCH] Add forgotten NEWS entry. --- common/modules/sanitizer.jsm | 6 +++--- common/modules/util.jsm | 4 ++-- pentadactyl/NEWS | 5 +++-- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/common/modules/sanitizer.jsm b/common/modules/sanitizer.jsm index 64e93225..0c9f797c 100644 --- a/common/modules/sanitizer.jsm +++ b/common/modules/sanitizer.jsm @@ -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", diff --git a/common/modules/util.jsm b/common/modules/util.jsm index d8306819..3e3632fe 100644 --- a/common/modules/util.jsm +++ b/common/modules/util.jsm @@ -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 diff --git a/pentadactyl/NEWS b/pentadactyl/NEWS index 66e5895f..f9aace11 100644 --- a/pentadactyl/NEWS +++ b/pentadactyl/NEWS @@ -1,4 +1,4 @@ -1.0b2: +1.0b3pre: * Extensive Firefox 4 support, including: - Tabs in :buffer completions and listings are grouped by panorama groups. @@ -14,7 +14,7 @@ what timespan. - Support for sanitizing reference to particular hosts, everywhere from command-line and message history to option - values and cookies. + values and cookies. * New and much more powerful incremental search implementation. Improvements over the standard Firefox find include: - Starts at the cursor position in the currently selected @@ -73,6 +73,7 @@ groups should be auto-completed. * Added 'banghist' option. * Added BookmarkChange, BookmarkRemove autocommands. + * Added :cookies, 'cookies', 'cookieaccept', and 'cookielifetime'. * Added -keyword, -tags, -title to :delbmarks. * Added "passwords" and "venkman" dialogs to :dialog. * Added :extupdate command.