Bug 1265032 - Enable Document.scrollingElement in release builds, r=bz
authorOlli Pettay <Olli.Pettay@helsinki.fi>
Mon, 18 Apr 2016 02:31:57 +0300
changeset 293517 474de3dea4ab62ce2173be7658acc8b34a74bb9c
parent 293516 dccef94b90f5e5ab50ca77f1e814c1df4f3a2e59
child 293518 61de4a9de8a3cc5fe40da166d611a9c5b221dca6
push id75238
push useropettay@mozilla.com
push dateMon, 18 Apr 2016 00:06:38 +0000
treeherdermozilla-inbound@474de3dea4ab [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbz
bugs1265032
milestone48.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1265032 - Enable Document.scrollingElement in release builds, r=bz
dom/webidl/Document.webidl
modules/libpref/init/all.js
testing/web-platform/meta/cssom-view/scrollingElement.html.ini
--- a/dom/webidl/Document.webidl
+++ b/dom/webidl/Document.webidl
@@ -281,17 +281,16 @@ partial interface Document {
 };
 
 // http://dev.w3.org/csswg/cssom-view/#extensions-to-the-document-interface
 partial interface Document {
     Element? elementFromPoint (float x, float y);
     sequence<Element> elementsFromPoint (float x, float y);
     CaretPosition? caretPositionFromPoint (float x, float y);
 
-    [Pref="dom.document.scrollingElement.enabled"]
     readonly attribute Element? scrollingElement;
 };
 
 // http://dvcs.w3.org/hg/undomanager/raw-file/tip/undomanager.html
 partial interface Document {
     [Pref="dom.undo_manager.enabled"]
     readonly attribute UndoManager? undoManager;
 };
--- a/modules/libpref/init/all.js
+++ b/modules/libpref/init/all.js
@@ -192,22 +192,16 @@ pref("dom.url.encode_decode_hash", true)
 // Whether ::GetHash should do percent decoding (old behaviour = true)
 pref("dom.url.getters_decode_hash", false);
 
 // Whether to run add-on code in different compartments from browser code. This
 // causes a separate compartment for each (addon, global) combination, which may
 // significantly increase the number of compartments in the system.
 pref("dom.compartment_per_addon", true);
 
-#ifdef NIGHTLY_BUILD
-pref("dom.document.scrollingElement.enabled", true);
-#else
-pref("dom.document.scrollingElement.enabled", false);
-#endif
-
 // Fastback caching - if this pref is negative, then we calculate the number
 // of content viewers to cache based on the amount of available memory.
 pref("browser.sessionhistory.max_total_viewers", -1);
 
 pref("ui.use_native_colors", true);
 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);
deleted file mode 100644
--- a/testing/web-platform/meta/cssom-view/scrollingElement.html.ini
+++ /dev/null
@@ -1,3 +0,0 @@
-[scrollingElement.html]
-  type: testharness
-  prefs: [dom.document.scrollingElement.enabled:true]