зеркало из https://github.com/mozilla/gecko-dev.git
bug 414931: remove cruft from browser.js and make offline storage website list in preferences work on Windows and Linux; r=mano
This commit is contained in:
Родитель
09db35213e
Коммит
4e7dadc25f
|
@ -62,23 +62,10 @@ let Ci = Components.interfaces;
|
|||
let Cu = Components.utils;
|
||||
Cu.import("resource://gre/modules/XPCOMUtils.jsm");
|
||||
|
||||
const kXULNS =
|
||||
"http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul";
|
||||
|
||||
const nsIWebNavigation = Components.interfaces.nsIWebNavigation;
|
||||
|
||||
const MAX_HISTORY_MENU_ITEMS = 15;
|
||||
|
||||
// bookmark dialog features
|
||||
#ifdef XP_MACOSX
|
||||
const BROWSER_ADD_BM_FEATURES = "centerscreen,chrome,dialog,resizable,modal";
|
||||
#else
|
||||
const BROWSER_ADD_BM_FEATURES = "centerscreen,chrome,dialog,resizable,dependent";
|
||||
#endif
|
||||
|
||||
const TYPE_MAYBE_FEED = "application/vnd.mozilla.maybe.feed";
|
||||
const TYPE_XUL = "application/vnd.mozilla.xul+xml";
|
||||
|
||||
// We use this once, for Clear Private Data
|
||||
const GLUE_CID = "@mozilla.org/browser/browserglue;1";
|
||||
|
||||
|
|
|
@ -199,7 +199,7 @@ var gAdvancedPane = {
|
|||
if (perm.type == "offline-app" &&
|
||||
perm.capability != Components.interfaces.nsIPermissionManager.DEFAULT_ACTION &&
|
||||
perm.capability != Components.interfaces.nsIPermissionManager.DENY_ACTION) {
|
||||
var row = document.createElementNS(kXULNS, "listitem");
|
||||
var row = document.createElement("listitem");
|
||||
row.id = "";
|
||||
row.className = "listitem";
|
||||
row.setAttribute("label", perm.host);
|
||||
|
|
|
@ -52,13 +52,13 @@
|
|||
var Cc = Components.classes;
|
||||
var Ci = Components.interfaces;
|
||||
var Cr = Components.results;
|
||||
var TYPE_MAYBE_FEED = "application/vnd.mozilla.maybe.feed";
|
||||
/*
|
||||
#endif
|
||||
*/
|
||||
|
||||
var TYPE_MAYBE_AUDIO_FEED = "application/vnd.mozilla.maybe.audio.feed";
|
||||
var TYPE_MAYBE_VIDEO_FEED = "application/vnd.mozilla.maybe.video.feed";
|
||||
const TYPE_MAYBE_FEED = "application/vnd.mozilla.maybe.feed";
|
||||
const TYPE_MAYBE_VIDEO_FEED = "application/vnd.mozilla.maybe.video.feed";
|
||||
const TYPE_MAYBE_AUDIO_FEED = "application/vnd.mozilla.maybe.audio.feed";
|
||||
|
||||
const PREF_DISABLED_PLUGIN_TYPES = "plugin.disable_full_page_plugin_for_types";
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче