Bug 1226455 - Enable <details> and <summary> on all channels. draft
authorTing-Yu Lin <tlin@mozilla.com>
Mon, 18 Apr 2016 11:24:52 +0800
changeset 352384 7359aebef81bf9eb7f0e1f6991eb4c2c55f81d3e
parent 352277 1da1937a9e03154ae7c60089f2dcf5ad9ee20fa3
child 518655 bd13682e5fba7646539b35b257f58103a952aab9
push id15696
push userbmo:tlin@mozilla.com
push dateMon, 18 Apr 2016 03:43:23 +0000
bugs1226455
milestone48.0a1
Bug 1226455 - Enable <details> and <summary> on all channels. MozReview-Commit-ID: Hp08CfgzgO3
dom/tests/mochitest/general/test_interfaces.html
modules/libpref/init/all.js
--- a/dom/tests/mochitest/general/test_interfaces.html
+++ b/dom/tests/mochitest/general/test_interfaces.html
@@ -543,17 +543,17 @@ var interfaceNamesInGlobalScope =
     "HTMLCollection",
 // IMPORTANT: Do not change this list without review from a DOM peer!
     "HTMLContentElement",
 // IMPORTANT: Do not change this list without review from a DOM peer!
     "HTMLDataElement",
 // IMPORTANT: Do not change this list without review from a DOM peer!
     "HTMLDataListElement",
 // IMPORTANT: Do not change this list without review from a DOM peer!
-    {name: "HTMLDetailsElement", release: false},
+    "HTMLDetailsElement",
 // IMPORTANT: Do not change this list without review from a DOM peer!
     "HTMLDirectoryElement",
 // IMPORTANT: Do not change this list without review from a DOM peer!
     "HTMLDivElement",
 // IMPORTANT: Do not change this list without review from a DOM peer!
     "HTMLDListElement",
 // IMPORTANT: Do not change this list without review from a DOM peer!
     "HTMLDocument",
--- a/modules/libpref/init/all.js
+++ b/modules/libpref/init/all.js
@@ -5224,23 +5224,17 @@ pref("narrate.voice", "automatic");
 // features, loading Gecko Media Plugins unsandboxed.  However, EME CDMs will not be
 // loaded without sandboxing even if this pref is changed.
 pref("media.gmp.insecure.allow", false);
 #endif
 
 pref("dom.audiochannel.mutedByDefault", false);
 
 // Enable <details> and <summary> tags.
-#ifdef RELEASE_BUILD
-// Bug 1226455: Need to modify dom/tests/mochitest/general/test_interfaces.html
-// when shipping.
-pref("dom.details_element.enabled", false);
-#else
 pref("dom.details_element.enabled", true);
-#endif
 
 // Secure Element API
 #ifdef MOZ_SECUREELEMENT
 pref("dom.secureelement.enabled", false);
 #endif
 
 // Allow control characters appear in composition string.
 // When this is false, control characters except