summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--dom/webidl/IntersectionObserver.webidl4
-rw-r--r--modules/libpref/init/all.js2
2 files changed, 3 insertions, 3 deletions
diff --git a/dom/webidl/IntersectionObserver.webidl b/dom/webidl/IntersectionObserver.webidl
index bc193ee8c..83200d950 100644
--- a/dom/webidl/IntersectionObserver.webidl
+++ b/dom/webidl/IntersectionObserver.webidl
@@ -7,7 +7,7 @@
* https://wicg.github.io/IntersectionObserver/
*/
-[ProbablyShortLivingObject, Pref="dom.IntersectionObserver.enabled"]
+[ProbablyShortLivingObject, Pref="dom.intersectionObserver.enabled"]
interface IntersectionObserverEntry {
[Constant]
readonly attribute DOMHighResTimeStamp time;
@@ -27,7 +27,7 @@ interface IntersectionObserverEntry {
[Constructor(IntersectionCallback intersectionCallback,
optional IntersectionObserverInit options),
- Pref="dom.IntersectionObserver.enabled"]
+ Pref="dom.intersectionObserver.enabled"]
interface IntersectionObserver {
[Constant]
readonly attribute Element? root;
diff --git a/modules/libpref/init/all.js b/modules/libpref/init/all.js
index 21e36bf16..3e1dc47ef 100644
--- a/modules/libpref/init/all.js
+++ b/modules/libpref/init/all.js
@@ -213,7 +213,7 @@ pref("dom.requestIdleCallback.enabled", true);
// Enable Intersection Observers
// See WD https://www.w3.org/TR/intersection-observer/
-pref("dom.IntersectionObserver.enabled", true);
+pref("dom.intersectionObserver.enabled", true);
// Whether the Gamepad API is enabled
pref("dom.gamepad.enabled", true);