Bug 1500733 - Remove canvas.imagebitmap_extensions.enabled preference, r=aosmond
authorAndrea Marchesini <amarchesini@mozilla.com>
Tue, 23 Oct 2018 23:35:44 +0200
changeset 490929 1dee16fa95e5257ecef4c8edf5e325732a4aa7dc
parent 490928 8b5a4cd42d40d1ff27ec63265960f7e6fd43dfea
child 490968 cfcd6d52024319bad89f149406ec661917703314
push id247
push userfmarier@mozilla.com
push dateSat, 27 Oct 2018 01:06:44 +0000
reviewersaosmond
bugs1500733
milestone65.0a1
Bug 1500733 - Remove canvas.imagebitmap_extensions.enabled preference, r=aosmond
dom/base/DOMPrefsInternal.h
modules/libpref/init/StaticPrefList.h
--- a/dom/base/DOMPrefsInternal.h
+++ b/dom/base/DOMPrefsInternal.h
@@ -9,17 +9,16 @@
 // The format is as follows:
 //
 //   DOM_WEBIDL_PREF(foo_bar)
 //
 //   * This defines DOMPrefs::foo_bar(JSContext* aCx, JSObject* aObj) which
 //     returns the value of StaticPrefs::foo_bar().
 //     This is allows the use of DOMPrefs in WebIDL files.
 
-DOM_WEBIDL_PREF(canvas_imagebitmap_extensions_enabled)
 DOM_WEBIDL_PREF(dom_caches_enabled)
 DOM_WEBIDL_PREF(dom_webnotifications_serviceworker_enabled)
 DOM_WEBIDL_PREF(dom_webnotifications_requireinteraction_enabled)
 DOM_WEBIDL_PREF(dom_serviceWorkers_enabled)
 DOM_WEBIDL_PREF(dom_storageManager_enabled)
 DOM_WEBIDL_PREF(dom_testing_structuredclonetester_enabled)
 DOM_WEBIDL_PREF(dom_promise_rejection_events_enabled)
 DOM_WEBIDL_PREF(dom_push_enabled)
--- a/modules/libpref/init/StaticPrefList.h
+++ b/modules/libpref/init/StaticPrefList.h
@@ -245,23 +245,16 @@ VARCACHE_PREF(
 // Time in milliseconds for PaymentResponse to wait for
 // the Web page to call complete().
 VARCACHE_PREF(
   "dom.payments.response.timeout",
    dom_payments_response_timeout,
   uint32_t, 5000
 )
 
-// Disable the ImageBitmap-extensions for now.
-VARCACHE_PREF(
-  "canvas.imagebitmap_extensions.enabled",
-   canvas_imagebitmap_extensions_enabled,
-  RelaxedAtomicBool, false
-)
-
 // SW Cache API
 VARCACHE_PREF(
   "dom.caches.enabled",
    dom_caches_enabled,
   RelaxedAtomicBool, true
 )
 
 VARCACHE_PREF(