Bug 1500733 - Remove canvas.imagebitmap_extensions.enabled preference, r=aosmond
--- 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(