diff options
author | Gaming4JC <g4jc@hyperbola.info> | 2020-01-04 13:19:01 -0500 |
---|---|---|
committer | Gaming4JC <g4jc@hyperbola.info> | 2020-01-26 15:50:15 -0500 |
commit | 9abc9b2b785f14f545429076b854c454640e4d46 (patch) | |
tree | 34c3a547cc3a2c4c6af2a97e0824278e608e31cb /dom/base/nsContentUtils.cpp | |
parent | 859fbc139a4c6793ac6ce9112c676ffb1ab8c927 (diff) | |
download | UXP-9abc9b2b785f14f545429076b854c454640e4d46.tar UXP-9abc9b2b785f14f545429076b854c454640e4d46.tar.gz UXP-9abc9b2b785f14f545429076b854c454640e4d46.tar.lz UXP-9abc9b2b785f14f545429076b854c454640e4d46.tar.xz UXP-9abc9b2b785f14f545429076b854c454640e4d46.zip |
Bug 1357002 - Part 1: Cache dom.webcomponents.customelements.enabled preference;
Tag UXP Issue #1344
Diffstat (limited to 'dom/base/nsContentUtils.cpp')
-rw-r--r-- | dom/base/nsContentUtils.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/dom/base/nsContentUtils.cpp b/dom/base/nsContentUtils.cpp index dd6835e57..b8ee09bf6 100644 --- a/dom/base/nsContentUtils.cpp +++ b/dom/base/nsContentUtils.cpp @@ -285,6 +285,7 @@ bool nsContentUtils::sIsPerformanceNavigationTimingEnabled = false; bool nsContentUtils::sIsUserTimingLoggingEnabled = false; bool nsContentUtils::sIsExperimentalAutocompleteEnabled = false; bool nsContentUtils::sIsWebComponentsEnabled = false; +bool nsContentUtils::sIsCustomElementsEnabled = false; bool nsContentUtils::sEncodeDecodeURLHash = false; bool nsContentUtils::sGettersDecodeURLHash = false; bool nsContentUtils::sPrivacyResistFingerprinting = false; @@ -588,6 +589,9 @@ nsContentUtils::Init() Preferences::AddBoolVarCache(&sIsWebComponentsEnabled, "dom.webcomponents.enabled", false); + Preferences::AddBoolVarCache(&sIsCustomElementsEnabled, + "dom.webcomponents.customelements.enabled", false); + Preferences::AddBoolVarCache(&sEncodeDecodeURLHash, "dom.url.encode_decode_hash", false); |