mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-29 11:57:32 +09:00
Issue #1375 - Merge CustomElements pref with Webcomponents Pref
This commit is contained in:
parent
ca48752304
commit
04a69cbc34
5 changed files with 4 additions and 6 deletions
|
|
@ -209,6 +209,6 @@ load 1230422.html
|
||||||
load 1251361.html
|
load 1251361.html
|
||||||
load 1304437.html
|
load 1304437.html
|
||||||
pref(clipboard.autocopy,true) load 1385272-1.html
|
pref(clipboard.autocopy,true) load 1385272-1.html
|
||||||
pref(dom.webcomponents.customelements.enabled,true) load 1341693.html
|
pref(dom.webcomponents.enabled,true) load 1341693.html
|
||||||
pref(dom.webcomponents.enabled,true) load 1419799.html
|
pref(dom.webcomponents.enabled,true) load 1419799.html
|
||||||
pref(dom.webcomponents.enabled,false) load 1422931.html
|
pref(dom.webcomponents.enabled,false) load 1422931.html
|
||||||
|
|
|
||||||
|
|
@ -593,7 +593,7 @@ nsContentUtils::Init()
|
||||||
"dom.webcomponents.enabled", false);
|
"dom.webcomponents.enabled", false);
|
||||||
|
|
||||||
Preferences::AddBoolVarCache(&sIsCustomElementsEnabled,
|
Preferences::AddBoolVarCache(&sIsCustomElementsEnabled,
|
||||||
"dom.webcomponents.customelements.enabled", false);
|
"dom.webcomponents.enabled", false);
|
||||||
|
|
||||||
Preferences::AddBoolVarCache(&sEncodeDecodeURLHash,
|
Preferences::AddBoolVarCache(&sEncodeDecodeURLHash,
|
||||||
"dom.url.encode_decode_hash", false);
|
"dom.url.encode_decode_hash", false);
|
||||||
|
|
|
||||||
|
|
@ -47,7 +47,7 @@ test();
|
||||||
// test with webcomponents disabled
|
// test with webcomponents disabled
|
||||||
SimpleTest.waitForExplicitFinish();
|
SimpleTest.waitForExplicitFinish();
|
||||||
SpecialPowers.pushPrefEnv(
|
SpecialPowers.pushPrefEnv(
|
||||||
{ 'set': [["dom.webcomponents.customelements.enabled", false]]}, runTest);
|
{ 'set': [["dom.webcomponents.enabled", false]]}, runTest);
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
</pre>
|
</pre>
|
||||||
|
|
|
||||||
|
|
@ -1250,7 +1250,6 @@ pref("dom.event.clipboardevents.enabled", true);
|
||||||
pref("dom.event.highrestimestamp.enabled", true);
|
pref("dom.event.highrestimestamp.enabled", true);
|
||||||
|
|
||||||
pref("dom.webcomponents.enabled", false);
|
pref("dom.webcomponents.enabled", false);
|
||||||
pref("dom.webcomponents.customelements.enabled", false);
|
|
||||||
|
|
||||||
pref("javascript.enabled", true);
|
pref("javascript.enabled", true);
|
||||||
// Enable Array.prototype.values
|
// Enable Array.prototype.values
|
||||||
|
|
|
||||||
|
|
@ -57,7 +57,6 @@ user_pref("media.gmp-manager.updateEnabled", false);
|
||||||
user_pref("dom.w3c_touch_events.enabled", 1);
|
user_pref("dom.w3c_touch_events.enabled", 1);
|
||||||
user_pref("layout.accessiblecaret.enabled_on_touch", false);
|
user_pref("layout.accessiblecaret.enabled_on_touch", false);
|
||||||
user_pref("dom.webcomponents.enabled", true);
|
user_pref("dom.webcomponents.enabled", true);
|
||||||
user_pref("dom.webcomponents.customelements.enabled", true);
|
|
||||||
user_pref("dom.htmlimports.enabled", true);
|
user_pref("dom.htmlimports.enabled", true);
|
||||||
// Existing tests assume there is no font size inflation.
|
// Existing tests assume there is no font size inflation.
|
||||||
user_pref("font.size.inflation.emPerLine", 0);
|
user_pref("font.size.inflation.emPerLine", 0);
|
||||||
|
|
@ -329,4 +328,4 @@ user_pref("plugin.load_flash_only", false);
|
||||||
// cannot easily be upgraded.
|
// cannot easily be upgraded.
|
||||||
user_pref("media.libavcodec.allow-obsolete", true);
|
user_pref("media.libavcodec.allow-obsolete", true);
|
||||||
|
|
||||||
user_pref("media.openUnsupportedTypeWithExternalApp", false);
|
user_pref("media.openUnsupportedTypeWithExternalApp", false);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue