diff --git a/browser/components/extensions/test/browser/browser.toml b/browser/components/extensions/test/browser/browser.toml index 4ddfd5681153..8b76c526c634 100644 --- a/browser/components/extensions/test/browser/browser.toml +++ b/browser/components/extensions/test/browser/browser.toml @@ -4,8 +4,6 @@ prefs = [ "browser.sessionstore.closedTabsFromAllWindows=true", "browser.sessionstore.closedTabsFromClosedWindows=true", "dom.ipc.keepProcessesAlive.extension=1", # We don't want to reset this at the end of the test, so that we don't have to spawn a new extension child process for each test unit. - "dom.animations-api.core.enabled=true", - "dom.animations-api.timelines.enabled=true", "javascript.options.asyncstack_capture_debuggee_only=false", ] support-files = [ diff --git a/browser/components/resistfingerprinting/test/browser/browser_animationapi_iframes.js b/browser/components/resistfingerprinting/test/browser/browser_animationapi_iframes.js index 29080ce3f044..c9705c802e71 100644 --- a/browser/components/resistfingerprinting/test/browser/browser_animationapi_iframes.js +++ b/browser/components/resistfingerprinting/test/browser/browser_animationapi_iframes.js @@ -204,7 +204,6 @@ extraPrefs = [ "privacy.resistFingerprinting.reduceTimerPrecision.microseconds", extraData.RFP_Precision * 1000, ], - ["dom.animations-api.timelines.enabled", true], ]; addAllTests(extraData, extraPrefs); @@ -219,7 +218,6 @@ extraPrefs = [ "privacy.resistFingerprinting.reduceTimerPrecision.microseconds", extraData.RFP_Precision * 1000, ], - ["dom.animations-api.timelines.enabled", true], ]; addAllTests(extraData, extraPrefs); @@ -231,5 +229,5 @@ extraData = { RFP_Precision: RFP_TIME_ATOM_MS, Unconditional_Precision: 0.02, }; -extraPrefs = [["dom.animations-api.timelines.enabled", true]]; +extraPrefs = []; addAllTests(extraData, extraPrefs); diff --git a/browser/components/resistfingerprinting/test/mochitest/test_animation_api.html b/browser/components/resistfingerprinting/test/mochitest/test_animation_api.html index e754eeac7dd3..c05415139099 100644 --- a/browser/components/resistfingerprinting/test/mochitest/test_animation_api.html +++ b/browser/components/resistfingerprinting/test/mochitest/test_animation_api.html @@ -39,7 +39,6 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=1382545 prefName += reduceTimerPrecision ? "privacy.reduceTimerPrecision " : ""; SpecialPowers.pushPrefEnv({"set": [ - ["dom.animations-api.timelines.enabled", true], ["privacy.resistFingerprinting", resistFingerprinting], ["privacy.reduceTimerPrecision", reduceTimerPrecision], ["privacy.resistFingerprinting.reduceTimerPrecision.microseconds", expectedPrecision], diff --git a/devtools/client/inspector/animation/test/head.js b/devtools/client/inspector/animation/test/head.js index 959ad270a5bc..2855085d2b81 100644 --- a/devtools/client/inspector/animation/test/head.js +++ b/devtools/client/inspector/animation/test/head.js @@ -64,29 +64,6 @@ const closeAnimationInspector = async function () { return gDevTools.closeToolboxForTab(gBrowser.selectedTab); }; -/** - * Some animation features are not enabled by default in release/beta channels - * yet including parts of the Web Animations API. - */ -const enableAnimationFeatures = function () { - return SpecialPowers.pushPrefEnv({ - set: [["dom.animations-api.timelines.enabled", true]], - }); -}; - -/** - * Add a new test tab in the browser and load the given url. - * - * @param {String} url - * The url to be loaded in the new tab - * @return a promise that resolves to the tab object when the url is loaded - */ -const _addTab = addTab; -addTab = async function (url) { - await enableAnimationFeatures(); - return _addTab(url); -}; - /** * Remove animated elements from document except given selectors. * diff --git a/dom/animation/KeyframeEffect.cpp b/dom/animation/KeyframeEffect.cpp index fa20e709c78e..382f7ad0a1be 100644 --- a/dom/animation/KeyframeEffect.cpp +++ b/dom/animation/KeyframeEffect.cpp @@ -784,9 +784,6 @@ static KeyframeEffectParams KeyframeEffectParamsFromUnion( const KeyframeEffectOptions& options = KeyframeEffectOptionsFromUnion(aOptions); - // If dom.animations-api.compositing.enabled is turned off, - // iterationComposite and composite are the default value 'replace' in the - // dictionary. result.mIterationComposite = options.mIterationComposite; result.mComposite = options.mComposite; @@ -1272,8 +1269,6 @@ void KeyframeEffect::GetKeyframes(JSContext* aCx, nsTArray& aResult, keyframe.mTimingFunction.ref().AppendToString(keyframeDict.mEasing); } // else if null, leave easing as its default "linear". - // With the pref off (i.e. dom.animations-api.compositing.enabled:false), - // the dictionary-to-JS conversion will skip this member entirely. keyframeDict.mComposite = keyframe.mComposite; JS::Rooted keyframeJSValue(aCx); diff --git a/dom/animation/KeyframeUtils.cpp b/dom/animation/KeyframeUtils.cpp index 329273fd2244..8161ea22099c 100644 --- a/dom/animation/KeyframeUtils.cpp +++ b/dom/animation/KeyframeUtils.cpp @@ -460,9 +460,7 @@ static bool ConvertKeyframeSequence(JSContext* aCx, dom::Document* aDocument, keyframe->mOffset.emplace(keyframeDict.mOffset.Value()); } - if (StaticPrefs::dom_animations_api_compositing_enabled()) { - keyframe->mComposite = keyframeDict.mComposite; - } + keyframe->mComposite = keyframeDict.mComposite; // Look for additional property-values pairs on the object. nsTArray propertyValuePairs; @@ -1155,26 +1153,23 @@ static void GetKeyframeListFromPropertyIndexedKeyframe( // // This corresponds to step 5, "Otherwise," branch, substep 12 of // https://drafts.csswg.org/web-animations/#processing-a-keyframes-argument - if (StaticPrefs::dom_animations_api_compositing_enabled()) { - const FallibleTArray* compositeOps = nullptr; - AutoTArray singleCompositeOp; - auto& composite = keyframeDict.mComposite; - if (composite.IsCompositeOperationOrAuto()) { - singleCompositeOp.AppendElement( - composite.GetAsCompositeOperationOrAuto()); - const FallibleTArray& asFallibleArray = - singleCompositeOp; - compositeOps = &asFallibleArray; - } else if (composite.IsCompositeOperationOrAutoSequence()) { - compositeOps = &composite.GetAsCompositeOperationOrAutoSequence(); - } + const FallibleTArray* compositeOps = nullptr; + AutoTArray singleCompositeOp; + auto& composite = keyframeDict.mComposite; + if (composite.IsCompositeOperationOrAuto()) { + singleCompositeOp.AppendElement(composite.GetAsCompositeOperationOrAuto()); + const FallibleTArray& asFallibleArray = + singleCompositeOp; + compositeOps = &asFallibleArray; + } else if (composite.IsCompositeOperationOrAutoSequence()) { + compositeOps = &composite.GetAsCompositeOperationOrAutoSequence(); + } - // Fill in and repeat as needed. - if (compositeOps && !compositeOps->IsEmpty()) { - size_t length = compositeOps->Length(); - for (size_t i = 0; i < aResult.Length(); i++) { - aResult[i].mComposite = compositeOps->ElementAt(i % length); - } + // Fill in and repeat as needed. + if (compositeOps && !compositeOps->IsEmpty()) { + size_t length = compositeOps->Length(); + for (size_t i = 0; i < aResult.Length(); i++) { + aResult[i].mComposite = compositeOps->ElementAt(i % length); } } } diff --git a/dom/animation/test/chrome.toml b/dom/animation/test/chrome.toml index ae3fbe762c79..9d77b27910da 100644 --- a/dom/animation/test/chrome.toml +++ b/dom/animation/test/chrome.toml @@ -1,6 +1,5 @@ [DEFAULT] prefs = [ - "dom.animations-api.compositing.enabled=true", "gfx.omta.background-color=true", "layout.css.basic-shape-rect.enabled=true", "layout.css.basic-shape-xywh.enabled=true", diff --git a/dom/animation/test/chrome/test_animation_observers_sync.html b/dom/animation/test/chrome/test_animation_observers_sync.html index ec760031e1fd..0bf130ded812 100644 --- a/dom/animation/test/chrome/test_animation_observers_sync.html +++ b/dom/animation/test/chrome/test_animation_observers_sync.html @@ -1571,17 +1571,6 @@ function runTest() { } W3CTest.runner.expectAssertions(0, 12); // bug 1189015 -setup({explicit_done: true}); -SpecialPowers.pushPrefEnv( - { - set: [ - ["dom.animations-api.timelines.enabled", true], - ], - }, - function() { - runTest(); - done(); - } -); +runTest(); diff --git a/dom/animation/test/crashtests/crashtests.list b/dom/animation/test/crashtests/crashtests.list index be9b1c8ae9fd..823e219d3b83 100644 --- a/dom/animation/test/crashtests/crashtests.list +++ b/dom/animation/test/crashtests/crashtests.list @@ -1,39 +1,39 @@ load 1134538.html load 1239889-1.html load 1244595-1.html -pref(dom.animations-api.timelines.enabled,true) load 1216842-1.html -pref(dom.animations-api.timelines.enabled,true) load 1216842-2.html -pref(dom.animations-api.timelines.enabled,true) load 1216842-3.html -pref(dom.animations-api.timelines.enabled,true) load 1216842-4.html -pref(dom.animations-api.timelines.enabled,true) load 1216842-5.html -pref(dom.animations-api.timelines.enabled,true) load 1216842-6.html +load 1216842-1.html +load 1216842-2.html +load 1216842-3.html +load 1216842-4.html +load 1216842-5.html +load 1216842-6.html load 1272475-1.html load 1272475-2.html load 1278485-1.html -pref(dom.animations-api.timelines.enabled,true) load 1277272-1.html +load 1277272-1.html load 1282691-1.html load 1291413-1.html load 1291413-2.html -pref(dom.animations-api.compositing.enabled,true) load 1304886-1.html +load 1304886-1.html load 1309198-1.html load 1322382-1.html load 1322291-1.html load 1322291-2.html -pref(dom.animations-api.compositing.enabled,true) load 1323114-1.html -pref(dom.animations-api.compositing.enabled,true) load 1323114-2.html +load 1323114-1.html +load 1323114-2.html load 1323119-1.html load 1324554-1.html -pref(dom.animations-api.compositing.enabled,true) load 1325193-1.html +load 1325193-1.html load 1332588-1.html load 1330190-1.html -pref(dom.animations-api.compositing.enabled,true) load 1330190-2.html -pref(dom.animations-api.compositing.enabled,true) load 1330513-1.html -pref(dom.animations-api.timelines.enabled,true) load 1333539-1.html -pref(dom.animations-api.timelines.enabled,true) load 1333539-2.html +load 1330190-2.html +load 1330513-1.html +load 1333539-1.html +load 1333539-2.html load 1334582-1.html load 1334582-2.html load 1334583-1.html -pref(dom.animations-api.compositing.enabled,true) load 1335998-1.html +load 1335998-1.html load 1343589-1.html load 1359658-1.html load 1373712-1.html @@ -41,7 +41,7 @@ load 1379606-1.html load 1393605-1.html load 1400022-1.html load 1401809.html -pref(dom.animations-api.timelines.enabled,true) load 1411318-1.html +load 1411318-1.html load 1468294-1.html load 1467277-1.html load 1524480-1.html @@ -57,6 +57,6 @@ load 1633486.html pref(layout.animation.prerender.partial,true) load 1656419.html load 1706157.html pref(gfx.omta.background-color,true) load 1699890.html -pref(dom.animations-api.timelines.enabled,true) load 1714421.html +load 1714421.html load 1807966.html load 1875441.html diff --git a/dom/animation/test/mochitest.toml b/dom/animation/test/mochitest.toml index 3f99d5fe4ee6..aa7bc07af2a4 100644 --- a/dom/animation/test/mochitest.toml +++ b/dom/animation/test/mochitest.toml @@ -1,7 +1,5 @@ [DEFAULT] prefs = [ - "dom.animations-api.compositing.enabled=true", - "dom.animations-api.timelines.enabled=true", "gfx.omta.background-color=true", "layout.css.scroll-driven-animations.enabled=true", "gfx.font_loader.delay=0", @@ -12,8 +10,6 @@ support-files = [ "chrome/file_animate_xrays.html", "mozilla/xhr_doc.html", "mozilla/file_deferred_start.html", - "mozilla/file_disable_animations_api_compositing.html", - "mozilla/file_disable_animations_api_timelines.html", "mozilla/file_discrete_animations.html", "mozilla/file_transition_finish_on_compositor.html", "../../../layout/style/test/property_database.js", @@ -32,10 +28,6 @@ support-files = [ ["mozilla/test_deferred_start.html"] skip-if = ["os == 'win' && bits == 64"] # Bug 1363957 -["mozilla/test_disable_animations_api_compositing.html"] - -["mozilla/test_disable_animations_api_timelines.html"] - ["mozilla/test_disabled_properties.html"] ["mozilla/test_discrete_animations.html"] diff --git a/dom/animation/test/mozilla/file_disable_animations_api_compositing.html b/dom/animation/test/mozilla/file_disable_animations_api_compositing.html deleted file mode 100644 index 6d9ba35dc06d..000000000000 --- a/dom/animation/test/mozilla/file_disable_animations_api_compositing.html +++ /dev/null @@ -1,137 +0,0 @@ - - - - - - diff --git a/dom/animation/test/mozilla/file_disable_animations_api_timelines.html b/dom/animation/test/mozilla/file_disable_animations_api_timelines.html deleted file mode 100644 index 39fedb299a1e..000000000000 --- a/dom/animation/test/mozilla/file_disable_animations_api_timelines.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - diff --git a/dom/animation/test/mozilla/test_deferred_start.html b/dom/animation/test/mozilla/test_deferred_start.html index 8b3d293f025f..24212ac57067 100644 --- a/dom/animation/test/mozilla/test_deferred_start.html +++ b/dom/animation/test/mozilla/test_deferred_start.html @@ -6,14 +6,5 @@ diff --git a/dom/animation/test/mozilla/test_disable_animations_api_compositing.html b/dom/animation/test/mozilla/test_disable_animations_api_compositing.html deleted file mode 100644 index 94216ea62dfe..000000000000 --- a/dom/animation/test/mozilla/test_disable_animations_api_compositing.html +++ /dev/null @@ -1,14 +0,0 @@ - - - - -
- diff --git a/dom/animation/test/mozilla/test_disable_animations_api_timelines.html b/dom/animation/test/mozilla/test_disable_animations_api_timelines.html deleted file mode 100644 index a20adf4ea29e..000000000000 --- a/dom/animation/test/mozilla/test_disable_animations_api_timelines.html +++ /dev/null @@ -1,16 +0,0 @@ - - - - -
- diff --git a/dom/base/Document.cpp b/dom/base/Document.cpp index f1a0cdc52070..81d2db6d1dc4 100644 --- a/dom/base/Document.cpp +++ b/dom/base/Document.cpp @@ -4475,15 +4475,6 @@ bool Document::AllowsL10n() const { return allowed; } -bool Document::AreWebAnimationsTimelinesEnabled(JSContext* aCx, - JSObject* /*unused*/ -) { - MOZ_ASSERT(NS_IsMainThread()); - - return nsContentUtils::IsSystemCaller(aCx) || - StaticPrefs::dom_animations_api_timelines_enabled(); -} - DocumentTimeline* Document::Timeline() { if (!mDocumentTimeline) { mDocumentTimeline = new DocumentTimeline(this, TimeDuration(0)); diff --git a/dom/base/Document.h b/dom/base/Document.h index e919f19be08d..0d8ccd7baff6 100644 --- a/dom/base/Document.h +++ b/dom/base/Document.h @@ -3417,8 +3417,6 @@ class Document : public nsINode, mozilla::dom::HTMLAllCollection* All(); static bool DocumentSupportsL10n(JSContext* aCx, JSObject* aObject); - static bool AreWebAnimationsTimelinesEnabled(JSContext* aCx, - JSObject* aObject); // Checks that the caller is either chrome or some addon. static bool IsCallerChromeOrAddon(JSContext* aCx, JSObject* aObject); diff --git a/dom/base/test/test_domwindowutils.html b/dom/base/test/test_domwindowutils.html index 21ad43ae81e5..fb2f071a549b 100644 --- a/dom/base/test/test_domwindowutils.html +++ b/dom/base/test/test_domwindowutils.html @@ -81,7 +81,6 @@ function test_getUnanimatedComputedStyle() { SpecialPowers.pushPrefEnv( { set: [ - ["dom.animations-api.timelines.enabled", true], ["layout.css.properties-and-values.enabled", true], ], }, diff --git a/dom/bindings/test/TestCodeGen.webidl b/dom/bindings/test/TestCodeGen.webidl index 0d186cd68204..e7e66c4a3cdf 100644 --- a/dom/bindings/test/TestCodeGen.webidl +++ b/dom/bindings/test/TestCodeGen.webidl @@ -1528,7 +1528,7 @@ interface TestFuncConstructorForInterface { constructor(); }; -[Exposed=Window, Func="Document::AreWebAnimationsTimelinesEnabled"] +[Exposed=Window, Func="Document::IsCallerChromeOrAddon"] interface TestFuncConstructorForDifferentFuncInterface { // Since the constructor has a different Func attribute from the interface, // the generated constructor should still check for its conditional func. diff --git a/dom/webidl/Animation.webidl b/dom/webidl/Animation.webidl index 06a07784d57b..0f60f3e64cee 100644 --- a/dom/webidl/Animation.webidl +++ b/dom/webidl/Animation.webidl @@ -24,8 +24,7 @@ interface Animation : EventTarget { [Pure] attribute AnimationEffect? effect; // Bug 1676794. Drop BinaryName once we support ScrollTimeline interface. - [Func="Document::AreWebAnimationsTimelinesEnabled", - BinaryName="timelineFromJS"] + [BinaryName="timelineFromJS"] attribute AnimationTimeline? timeline; [BinaryName="startTimeAsDouble"] diff --git a/dom/webidl/AnimationTimeline.webidl b/dom/webidl/AnimationTimeline.webidl index 5b46c9cf955d..7864586568a9 100644 --- a/dom/webidl/AnimationTimeline.webidl +++ b/dom/webidl/AnimationTimeline.webidl @@ -10,8 +10,7 @@ * liability, trademark and document use rules apply. */ -[Func="Document::AreWebAnimationsTimelinesEnabled", - Exposed=Window] +[Exposed=Window] interface AnimationTimeline { [BinaryName="currentTimeAsDouble"] readonly attribute double? currentTime; diff --git a/dom/webidl/BaseKeyframeTypes.webidl b/dom/webidl/BaseKeyframeTypes.webidl index a6e94b1e3ab8..700d3a443dea 100644 --- a/dom/webidl/BaseKeyframeTypes.webidl +++ b/dom/webidl/BaseKeyframeTypes.webidl @@ -39,7 +39,6 @@ dictionary BasePropertyIndexedKeyframe { dictionary BaseKeyframe { double? offset = null; UTF8String easing = "linear"; - [Pref="dom.animations-api.compositing.enabled"] CompositeOperationOrAuto composite = "auto"; // Non-standard extensions diff --git a/dom/webidl/Document.webidl b/dom/webidl/Document.webidl index 0b878da9ab5b..ba9fe86557ff 100644 --- a/dom/webidl/Document.webidl +++ b/dom/webidl/Document.webidl @@ -388,7 +388,6 @@ partial interface Document { // https://drafts.csswg.org/web-animations/#extensions-to-the-document-interface partial interface Document { - [Func="Document::AreWebAnimationsTimelinesEnabled"] readonly attribute DocumentTimeline timeline; }; diff --git a/dom/webidl/DocumentTimeline.webidl b/dom/webidl/DocumentTimeline.webidl index 8e757addb339..7aee1b6807b3 100644 --- a/dom/webidl/DocumentTimeline.webidl +++ b/dom/webidl/DocumentTimeline.webidl @@ -14,8 +14,7 @@ dictionary DocumentTimelineOptions { DOMHighResTimeStamp originTime = 0; }; -[Func="Document::AreWebAnimationsTimelinesEnabled", - Exposed=Window] +[Exposed=Window] interface DocumentTimeline : AnimationTimeline { [Throws] constructor(optional DocumentTimelineOptions options = {}); diff --git a/dom/webidl/KeyframeEffect.webidl b/dom/webidl/KeyframeEffect.webidl index 269c809000a9..168d2bf23fef 100644 --- a/dom/webidl/KeyframeEffect.webidl +++ b/dom/webidl/KeyframeEffect.webidl @@ -16,9 +16,7 @@ enum IterationCompositeOperation { }; dictionary KeyframeEffectOptions : EffectTiming { - [Pref="dom.animations-api.compositing.enabled"] IterationCompositeOperation iterationComposite = "replace"; - [Pref="dom.animations-api.compositing.enabled"] CompositeOperation composite = "replace"; DOMString? pseudoElement = null; }; @@ -36,9 +34,7 @@ interface KeyframeEffect : AnimationEffect { attribute Element? target; [SetterThrows] attribute DOMString? pseudoElement; - [Pref="dom.animations-api.compositing.enabled"] attribute IterationCompositeOperation iterationComposite; - [Pref="dom.animations-api.compositing.enabled"] attribute CompositeOperation composite; [Throws] sequence getKeyframes(); [Throws] undefined setKeyframes(object? keyframes); diff --git a/dom/xslt/tests/mochitest/test_bug1135764.html b/dom/xslt/tests/mochitest/test_bug1135764.html index a368b9b4abe4..e7a54c9cf593 100644 --- a/dom/xslt/tests/mochitest/test_bug1135764.html +++ b/dom/xslt/tests/mochitest/test_bug1135764.html @@ -26,21 +26,12 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=1135764 SimpleTest.finish(); } addLoadEvent(function() { - SpecialPowers.pushPrefEnv( - { - set: [ - ["dom.animations-api.timelines.enabled", true], - ], - }, - function() { - var ifr = document.querySelector("iframe"); - ifr.onload = function() { - startTimelineValue = frames[0].document.timeline.currentTime; - frames[0].requestAnimationFrame(waitATick); - }; - ifr.src = "file_bug1135764.xml"; - } - ); + var ifr = document.querySelector("iframe"); + ifr.onload = function() { + startTimelineValue = frames[0].document.timeline.currentTime; + frames[0].requestAnimationFrame(waitATick); + }; + ifr.src = "file_bug1135764.xml"; }); diff --git a/gfx/layers/apz/test/mochitest/browser_test_group_fission.js b/gfx/layers/apz/test/mochitest/browser_test_group_fission.js index c6b838dd75a4..0ebe48c148da 100644 --- a/gfx/layers/apz/test/mochitest/browser_test_group_fission.js +++ b/gfx/layers/apz/test/mochitest/browser_test_group_fission.js @@ -4,7 +4,6 @@ add_task(async function setup_pref() { // To avoid throttling requestAnimationFrame callbacks in invisible // iframes ["layout.throttled_frame_rate", 60], - ["dom.animations-api.timelines.enabled", true], // Next two prefs are needed for hit-testing to work ["test.events.async.enabled", true], ["apz.test.logging_enabled", true], diff --git a/layout/reftests/web-animations/reftest.list b/layout/reftests/web-animations/reftest.list index 05fad00127d0..33797ec52f08 100644 --- a/layout/reftests/web-animations/reftest.list +++ b/layout/reftests/web-animations/reftest.list @@ -19,8 +19,8 @@ == stacking-context-transform-changing-effect-on-table.html stacking-context-animation-on-table-ref.html == stacking-context-transform-changing-display-property.html stacking-context-animation-ref.html == stacking-context-transform-losing-css-animation-in-delay.html stacking-context-animation-ref.html -test-pref(dom.animations-api.compositing.enabled,true) == style-updates-on-iteration-composition-changed-from-accumulate-to-replace.html style-updates-for-iteration-composite-ref.html -test-pref(dom.animations-api.compositing.enabled,true) == style-updates-on-iteration-composition-changed-from-replace-to-accumulate.html style-updates-for-iteration-composite-ref.html -test-pref(dom.animations-api.compositing.enabled,true) == style-updates-on-current-iteration-changed.html style-updates-for-iteration-composite-ref.html +== style-updates-on-iteration-composition-changed-from-accumulate-to-replace.html style-updates-for-iteration-composite-ref.html +== style-updates-on-iteration-composition-changed-from-replace-to-accumulate.html style-updates-for-iteration-composite-ref.html +== style-updates-on-current-iteration-changed.html style-updates-for-iteration-composite-ref.html == cancel-animation-with-selector-matching.html about:blank == child-in-animating-element-display-none.html child-in-animating-element-display-none-ref.html diff --git a/layout/style/crashtests/crashtests.list b/layout/style/crashtests/crashtests.list index cfb9d711a276..68770b3e515f 100644 --- a/layout/style/crashtests/crashtests.list +++ b/layout/style/crashtests/crashtests.list @@ -193,7 +193,7 @@ load 1381420-1.html load 1381682.html load 1382672.html load 1382710.html -pref(dom.animations-api.compositing.enabled,true) load 1383493-1.html +load 1383493-1.html load 1383001.html load 1383001-2.html load 1383319.html @@ -225,7 +225,7 @@ load 1393791.html load 1384232.html load 1395725.html load 1396041.html -pref(dom.animations-api.compositing.enabled,true) load 1397363-1.html +load 1397363-1.html load 1395719.html load 1397091.html load 1398479.html @@ -317,4 +317,4 @@ load 1639533.html pref(layout.accessiblecaret.enabled,true) load 1640040.html load 1806189-1.html pref(layout.css.scroll-driven-animations.enabled,true) load 1821416.html -pref(dom.animations-api.compositing.enabled,true) load 1872309.html +load 1872309.html diff --git a/layout/style/test/mochitest.toml b/layout/style/test/mochitest.toml index 6b6b65dd38ea..c8c36dc4da73 100644 --- a/layout/style/test/mochitest.toml +++ b/layout/style/test/mochitest.toml @@ -1,7 +1,5 @@ [DEFAULT] prefs = [ - "dom.animations-api.compositing.enabled=true", - "dom.animations-api.timelines.enabled=true", "gfx.omta.background-color=true", "gfx.font_loader.delay=0", "layout.css.motion-path-url.enabled=true", diff --git a/modules/libpref/init/StaticPrefList.yaml b/modules/libpref/init/StaticPrefList.yaml index 0b4bad869817..3a7572996f66 100644 --- a/modules/libpref/init/StaticPrefList.yaml +++ b/modules/libpref/init/StaticPrefList.yaml @@ -2226,18 +2226,6 @@ value: true mirror: always -# Is support for composite operations from the Web Animations API enabled? -- name: dom.animations-api.compositing.enabled - type: bool - value: true - mirror: always - -# Is support for timelines from the Web Animations API enabled? -- name: dom.animations-api.timelines.enabled - type: bool - value: true - mirror: always - # Is support for Navigator.getBattery enabled? - name: dom.battery.enabled type: bool diff --git a/testing/web-platform/meta/css/__dir__.ini b/testing/web-platform/meta/css/__dir__.ini index 7b16b9d1df7d..cb391c5e5427 100644 --- a/testing/web-platform/meta/css/__dir__.ini +++ b/testing/web-platform/meta/css/__dir__.ini @@ -1 +1 @@ -prefs: [dom.animations-api.compositing.enabled:true, layout.css.transition-behavior.enabled:true] +prefs: [layout.css.transition-behavior.enabled:true] diff --git a/testing/web-platform/meta/css/css-animations/__dir__.ini b/testing/web-platform/meta/css/css-animations/__dir__.ini index 1fd72723f04e..65cf20944b8e 100644 --- a/testing/web-platform/meta/css/css-animations/__dir__.ini +++ b/testing/web-platform/meta/css/css-animations/__dir__.ini @@ -1 +1 @@ -prefs: [dom.animations-api.compositing.enabled:true, dom.animations-api.timelines.enabled:true, layout.css.marker.restricted:false, layout.css.animation-composition.enabled:true, layout.css.properties-and-values.enabled:true] +prefs: [layout.css.marker.restricted:false, layout.css.animation-composition.enabled:true, layout.css.properties-and-values.enabled:true] diff --git a/testing/web-platform/meta/css/css-transforms/__dir__.ini b/testing/web-platform/meta/css/css-transforms/__dir__.ini index fa5f46ca0c3b..1bd86bb80a98 100644 --- a/testing/web-platform/meta/css/css-transforms/__dir__.ini +++ b/testing/web-platform/meta/css/css-transforms/__dir__.ini @@ -1,2 +1,2 @@ -prefs: [dom.animations-api.compositing.enabled:true, layout.css.backdrop-filter.enabled:true, layout.css.transform-box-content-stroke.enabled:true] +prefs: [layout.css.backdrop-filter.enabled:true, layout.css.transform-box-content-stroke.enabled:true] leak-threshold: [default:51200] diff --git a/testing/web-platform/meta/css/css-transitions/__dir__.ini b/testing/web-platform/meta/css/css-transitions/__dir__.ini index f13aa0c90559..9e005acb3354 100644 --- a/testing/web-platform/meta/css/css-transitions/__dir__.ini +++ b/testing/web-platform/meta/css/css-transitions/__dir__.ini @@ -1 +1 @@ -prefs: [dom.animations-api.compositing.enabled:true, dom.animations-api.timelines.enabled:true, layout.css.marker.restricted:false, layout.css.starting-style-at-rules.enabled:true] +prefs: [layout.css.marker.restricted:false, layout.css.starting-style-at-rules.enabled:true] diff --git a/testing/web-platform/meta/web-animations/__dir__.ini b/testing/web-platform/meta/web-animations/__dir__.ini index 28a920505256..642fc30d1609 100644 --- a/testing/web-platform/meta/web-animations/__dir__.ini +++ b/testing/web-platform/meta/web-animations/__dir__.ini @@ -1 +1 @@ -prefs: [dom.animations-api.compositing.enabled:true, dom.animations-api.timelines.enabled:true, layout.css.marker.restricted:false, layout.css.properties-and-values.enabled:true] +prefs: [layout.css.marker.restricted:false, layout.css.properties-and-values.enabled:true]