From fbab1f4f9eab329cc3c807ac4606afe194cea51b Mon Sep 17 00:00:00 2001 From: Moonchild Date: Sun, 7 Jun 2020 18:09:13 +0000 Subject: [DOM] Hard-disable webcomponents and customelements prefs (redwood) --- modules/libpref/init/all.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'modules/libpref/init/all.js') diff --git a/modules/libpref/init/all.js b/modules/libpref/init/all.js index 0193c5ef1..17413b537 100644 --- a/modules/libpref/init/all.js +++ b/modules/libpref/init/all.js @@ -1248,8 +1248,10 @@ pref("privacy.trackingprotection.pbmode.enabled", false); pref("dom.event.contextmenu.enabled", true); pref("dom.event.clipboardevents.enabled", true); +/* pref("dom.webcomponents.enabled", false); pref("dom.webcomponents.customelements.enabled", false); +*/ pref("javascript.enabled", true); // Enable Array.prototype.values -- cgit v1.2.3 From 6235023c8bff80273981c70a06cb9decb4a4ffa5 Mon Sep 17 00:00:00 2001 From: Lootyhoof Date: Sat, 6 Jun 2020 00:37:29 +0100 Subject: Issue MoonchildProductions/UXP#1578 - Add global menubar support for GTK --- modules/libpref/init/all.js | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'modules/libpref/init/all.js') diff --git a/modules/libpref/init/all.js b/modules/libpref/init/all.js index 17413b537..f3cf4c74e 100644 --- a/modules/libpref/init/all.js +++ b/modules/libpref/init/all.js @@ -251,6 +251,10 @@ pref("browser.sessionhistory.max_total_viewers", -1); pref("browser.newtabpage.add_to_session_history", false); pref("ui.use_native_colors", true); +#ifdef MOZ_WIDGET_GTK +// Determines whether the menubar is shown in the global menubar or not. +pref("ui.use_global_menubar", false); +#endif pref("ui.click_hold_context_menus", false); // Duration of timeout of incremental search in menus (ms). 0 means infinite. pref("ui.menu.incremental_search.timeout", 1000); -- cgit v1.2.3 From 0e0feed5daa8751b04bda7b4caac3854995cb0c8 Mon Sep 17 00:00:00 2001 From: Moonchild Date: Wed, 10 Jun 2020 01:19:37 +0000 Subject: Issue #1585 - Replace node.rootNode with node.getRootNode() This removes the (default disabled) node.rootNode readonly attribute and replaces it with a node.getRootNode() function per WhatWG spec discussion. Based on work by John Dai --- modules/libpref/init/all.js | 7 ------- 1 file changed, 7 deletions(-) (limited to 'modules/libpref/init/all.js') diff --git a/modules/libpref/init/all.js b/modules/libpref/init/all.js index f3cf4c74e..5ee49372f 100644 --- a/modules/libpref/init/all.js +++ b/modules/libpref/init/all.js @@ -5383,13 +5383,6 @@ pref("layout.css.color-adjust.enabled", true); pref("dom.audiochannel.audioCompeting", false); pref("dom.audiochannel.audioCompeting.allAgents", false); -// Disable Node.rootNode in release builds. -#ifdef RELEASE_OR_BETA -pref("dom.node.rootNode.enabled", false); -#else -pref("dom.node.rootNode.enabled", true); -#endif - // Default media volume pref("media.default_volume", "1.0"); -- cgit v1.2.3 From f5b146a460b33c06a97c7fe252e0983aed522e5b Mon Sep 17 00:00:00 2001 From: Moonchild Date: Fri, 12 Jun 2020 01:47:54 +0000 Subject: Issue #1587 - Part 10: Expose controlling pref and enable by default --- modules/libpref/init/all.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'modules/libpref/init/all.js') diff --git a/modules/libpref/init/all.js b/modules/libpref/init/all.js index 5ee49372f..6edd41e70 100644 --- a/modules/libpref/init/all.js +++ b/modules/libpref/init/all.js @@ -4741,6 +4741,9 @@ pref("dom.vibrator.max_vibrate_list_len", 128); // Disabled by default to reduce private data exposure. pref("dom.battery.enabled", false); +// Abort API +pref("dom.abortController.enabled", true); + // Push pref("dom.push.enabled", false); -- cgit v1.2.3