From f916dc68ff89c8204724e9c593c6661ff9af1864 Mon Sep 17 00:00:00 2001 From: Brian Birtles Date: Mon, 12 Mar 2018 16:08:36 +0900 Subject: [PATCH] Bug 1382841 - Remove old test_XXX openers that just set the dom.animations-api.core.enabled pref from layout/style/test**; r=hiro As with an earlier patch in this series, we rename the file_* test content files to test_*_to_rename.html in this patch, and then in a subsequent patch drop the _to_rename suffix so that we can trace the history of the test_* files back to their file_* equivalents. MozReview-Commit-ID: Jes8xSQzkCF --HG-- rename : layout/style/test/file_animations_effect_timing_duration.html => layout/style/test/test_animations_effect_timing_duration_to_rename.html rename : layout/style/test/file_animations_effect_timing_enddelay.html => layout/style/test/test_animations_effect_timing_enddelay_to_rename.html rename : layout/style/test/file_animations_effect_timing_iterations.html => layout/style/test/test_animations_effect_timing_iterations_to_rename.html rename : layout/style/test/file_animations_iterationstart.html => layout/style/test/test_animations_iterationstart_to_rename.html rename : layout/style/test/file_animations_pausing.html => layout/style/test/test_animations_pausing_to_rename.html rename : layout/style/test/file_animations_playbackrate.html => layout/style/test/test_animations_playbackrate_to_rename.html rename : layout/style/test/file_animations_reverse.html => layout/style/test/test_animations_reverse_to_rename.html rename : layout/style/test/file_animations_styles_on_event.html => layout/style/test/test_animations_styles_on_event_to_rename.html rename : layout/style/test/file_transitions_replacement_on_busy_frame.html => layout/style/test/test_transitions_replacement_on_busy_frame_to_rename.html --- layout/style/test/mochitest.ini | 29 +++++++----------- ...est_animations_effect_timing_duration.html | 24 --------------- ...ons_effect_timing_duration_to_rename.html} | 24 +++++++-------- ...est_animations_effect_timing_enddelay.html | 24 --------------- ...ons_effect_timing_enddelay_to_rename.html} | 22 +++++--------- ...t_animations_effect_timing_iterations.html | 24 --------------- ...s_effect_timing_iterations_to_rename.html} | 24 +++++++-------- .../test/test_animations_iterationstart.html | 28 ----------------- ..._animations_iterationstart_to_rename.html} | 25 +++++++--------- .../style/test/test_animations_pausing.html | 28 ----------------- ...=> test_animations_pausing_to_rename.html} | 24 +++++++-------- .../test/test_animations_playbackrate.html | 28 ----------------- ...st_animations_playbackrate_to_rename.html} | 22 +++++--------- .../style/test/test_animations_reverse.html | 30 ------------------- ...=> test_animations_reverse_to_rename.html} | 22 +++++--------- .../test/test_animations_styles_on_event.html | 28 ----------------- ...animations_styles_on_event_to_rename.html} | 21 +++++++------ ...t_animations_with_disabled_properties.html | 3 +- ...transitions_replacement_on_busy_frame.html | 30 ------------------- ..._replacement_on_busy_frame_to_rename.html} | 19 +++++------- ..._transitions_with_disabled_properties.html | 3 +- 21 files changed, 95 insertions(+), 387 deletions(-) delete mode 100644 layout/style/test/test_animations_effect_timing_duration.html rename layout/style/test/{file_animations_effect_timing_duration.html => test_animations_effect_timing_duration_to_rename.html} (84%) delete mode 100644 layout/style/test/test_animations_effect_timing_enddelay.html rename layout/style/test/{file_animations_effect_timing_enddelay.html => test_animations_effect_timing_enddelay_to_rename.html} (91%) delete mode 100644 layout/style/test/test_animations_effect_timing_iterations.html rename layout/style/test/{file_animations_effect_timing_iterations.html => test_animations_effect_timing_iterations_to_rename.html} (79%) delete mode 100644 layout/style/test/test_animations_iterationstart.html rename layout/style/test/{file_animations_iterationstart.html => test_animations_iterationstart_to_rename.html} (75%) delete mode 100644 layout/style/test/test_animations_pausing.html rename layout/style/test/{file_animations_pausing.html => test_animations_pausing_to_rename.html} (85%) delete mode 100644 layout/style/test/test_animations_playbackrate.html rename layout/style/test/{file_animations_playbackrate.html => test_animations_playbackrate_to_rename.html} (86%) delete mode 100644 layout/style/test/test_animations_reverse.html rename layout/style/test/{file_animations_reverse.html => test_animations_reverse_to_rename.html} (82%) delete mode 100644 layout/style/test/test_animations_styles_on_event.html rename layout/style/test/{file_animations_styles_on_event.html => test_animations_styles_on_event_to_rename.html} (83%) delete mode 100644 layout/style/test/test_transitions_replacement_on_busy_frame.html rename layout/style/test/{file_transitions_replacement_on_busy_frame.html => test_transitions_replacement_on_busy_frame_to_rename.html} (89%) diff --git a/layout/style/test/mochitest.ini b/layout/style/test/mochitest.ini index 66957e08d5ba..560e23c3a0ff 100644 --- a/layout/style/test/mochitest.ini +++ b/layout/style/test/mochitest.ini @@ -1,4 +1,6 @@ [DEFAULT] +prefs = + dom.animations-api.core.enabled=true support-files = animation_utils.js ccd-quirks.html @@ -49,35 +51,27 @@ skip-if = (toolkit == 'android') [test_animations_async_tests.html] support-files = Ahem.ttf file_animations_async_tests.html [test_animations_dynamic_changes.html] -[test_animations_effect_timing_duration.html] -support-files = file_animations_effect_timing_duration.html +[test_animations_effect_timing_duration_to_rename.html] skip-if = webrender # bug 1424752 -[test_animations_effect_timing_enddelay.html] -support-files = file_animations_effect_timing_enddelay.html +[test_animations_effect_timing_enddelay_to_rename.html] skip-if = webrender # bug 1424752 -[test_animations_effect_timing_iterations.html] -support-files = file_animations_effect_timing_iterations.html +[test_animations_effect_timing_iterations_to_rename.html] skip-if = webrender # bug 1424752 [test_animations_event_order.html] [test_animations_event_handler_attribute.html] -[test_animations_iterationstart.html] -support-files = file_animations_iterationstart.html +[test_animations_iterationstart_to_rename.html] skip-if = webrender # bug 1424752 [test_animations_omta.html] skip-if = webrender # bug 1424752 [test_animations_omta_start.html] skip-if = webrender # bug 1424752 -[test_animations_pausing.html] -support-files = file_animations_pausing.html +[test_animations_pausing_to_rename.html] skip-if = webrender # bug 1424752 -[test_animations_playbackrate.html] -support-files = file_animations_playbackrate.html +[test_animations_playbackrate_to_rename.html] skip-if = webrender # bug 1424752 -[test_animations_reverse.html] -support-files = file_animations_reverse.html +[test_animations_reverse_to_rename.html] skip-if = webrender # bug 1424752 -[test_animations_styles_on_event.html] -support-files = file_animations_styles_on_event.html +[test_animations_styles_on_event_to_rename.html] [test_animations_variable_changes.html] [test_animations_with_disabled_properties.html] support-files = file_animations_with_disabled_properties.html @@ -334,8 +328,7 @@ skip-if = (android_version == '18' && debug) # bug 1159532 [test_transitions_dynamic_changes.html] [test_transitions_per_property.html] skip-if = (toolkit == 'android') || webrender # bug 775227 for android, bug 1424752 for webrender -[test_transitions_replacement_on_busy_frame.html] -support-files = file_transitions_replacement_on_busy_frame.html +[test_transitions_replacement_on_busy_frame_to_rename.html] [test_transitions_step_functions.html] [test_transitions_with_disabled_properties.html] support-files = file_transitions_with_disabled_properties.html diff --git a/layout/style/test/test_animations_effect_timing_duration.html b/layout/style/test/test_animations_effect_timing_duration.html deleted file mode 100644 index 30d77f20a529..000000000000 --- a/layout/style/test/test_animations_effect_timing_duration.html +++ /dev/null @@ -1,24 +0,0 @@ - - - - Test for animation.effect.timing on compositor - - - - -
-
-
-
- - diff --git a/layout/style/test/file_animations_effect_timing_duration.html b/layout/style/test/test_animations_effect_timing_duration_to_rename.html similarity index 84% rename from layout/style/test/file_animations_effect_timing_duration.html rename to layout/style/test/test_animations_effect_timing_duration_to_rename.html index e8a224aed887..ede770d399e0 100644 --- a/layout/style/test/file_animations_effect_timing_duration.html +++ b/layout/style/test/test_animations_effect_timing_duration_to_rename.html @@ -1,9 +1,15 @@ + + Test for Animation.effect.timing.duration on compositor animations + + + -
- - - -
-
-
-
- - diff --git a/layout/style/test/file_animations_effect_timing_enddelay.html b/layout/style/test/test_animations_effect_timing_enddelay_to_rename.html similarity index 91% rename from layout/style/test/file_animations_effect_timing_enddelay.html rename to layout/style/test/test_animations_effect_timing_enddelay_to_rename.html index e0b025e3f395..997d77f68c36 100644 --- a/layout/style/test/file_animations_effect_timing_enddelay.html +++ b/layout/style/test/test_animations_effect_timing_enddelay_to_rename.html @@ -1,9 +1,13 @@ + Test for Animation.effect.endDelay on compositor animations + + -
- - - -
-
-
-
- - diff --git a/layout/style/test/file_animations_effect_timing_iterations.html b/layout/style/test/test_animations_effect_timing_iterations_to_rename.html similarity index 79% rename from layout/style/test/file_animations_effect_timing_iterations.html rename to layout/style/test/test_animations_effect_timing_iterations_to_rename.html index da3c04851a38..c11ac740b21f 100644 --- a/layout/style/test/file_animations_effect_timing_iterations.html +++ b/layout/style/test/test_animations_effect_timing_iterations_to_rename.html @@ -1,9 +1,15 @@ + + Test for Animation.effect.timing.iterations on compositor animations + + + -
- - - -Mozilla Bug 1248338 -
-
-
-
- - diff --git a/layout/style/test/file_animations_iterationstart.html b/layout/style/test/test_animations_iterationstart_to_rename.html similarity index 75% rename from layout/style/test/file_animations_iterationstart.html rename to layout/style/test/test_animations_iterationstart_to_rename.html index 5d752b858193..8f80b51dd7dc 100644 --- a/layout/style/test/file_animations_iterationstart.html +++ b/layout/style/test/test_animations_iterationstart_to_rename.html @@ -1,9 +1,15 @@ + + Test for Animation.effect.timing.iterationStart on compositor animations + + + -
- - - -Mozilla Bug 1070745 -
-
-
-
- - diff --git a/layout/style/test/file_animations_pausing.html b/layout/style/test/test_animations_pausing_to_rename.html similarity index 85% rename from layout/style/test/file_animations_pausing.html rename to layout/style/test/test_animations_pausing_to_rename.html index 8ecf2625d884..529ee8a4e6eb 100644 --- a/layout/style/test/file_animations_pausing.html +++ b/layout/style/test/test_animations_pausing_to_rename.html @@ -1,9 +1,15 @@ + + Test for Animation.play() and Animation.pause() on compositor animations + + + -
- - - -Mozilla Bug 1175751 -
-
-
-
- - diff --git a/layout/style/test/file_animations_playbackrate.html b/layout/style/test/test_animations_playbackrate_to_rename.html similarity index 86% rename from layout/style/test/file_animations_playbackrate.html rename to layout/style/test/test_animations_playbackrate_to_rename.html index 5ff4f0e3f9b4..db78f4be08a4 100644 --- a/layout/style/test/file_animations_playbackrate.html +++ b/layout/style/test/test_animations_playbackrate_to_rename.html @@ -1,9 +1,13 @@ + Test for Animation.playbackRate on compositor animations + + -
- - - -Mozilla Bug 1343589 -
-
-
-
- - diff --git a/layout/style/test/file_animations_reverse.html b/layout/style/test/test_animations_reverse_to_rename.html similarity index 82% rename from layout/style/test/file_animations_reverse.html rename to layout/style/test/test_animations_reverse_to_rename.html index 304b399e0642..a2ec8445bda6 100644 --- a/layout/style/test/file_animations_reverse.html +++ b/layout/style/test/test_animations_reverse_to_rename.html @@ -2,19 +2,13 @@ + Test for Animation.reverse() on compositor animations + - + -
diff --git a/layout/style/test/test_transitions_replacement_on_busy_frame.html b/layout/style/test/test_transitions_replacement_on_busy_frame.html deleted file mode 100644 index a9e197d160ee..000000000000 --- a/layout/style/test/test_transitions_replacement_on_busy_frame.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - Test for bug 1167519 - - - - -Mozilla Bug - 1167519 -
-
-
- - diff --git a/layout/style/test/file_transitions_replacement_on_busy_frame.html b/layout/style/test/test_transitions_replacement_on_busy_frame_to_rename.html similarity index 89% rename from layout/style/test/file_transitions_replacement_on_busy_frame.html rename to layout/style/test/test_transitions_replacement_on_busy_frame_to_rename.html index 21a05b3f0978..75d679a6fdea 100644 --- a/layout/style/test/file_transitions_replacement_on_busy_frame.html +++ b/layout/style/test/test_transitions_replacement_on_busy_frame_to_rename.html @@ -5,9 +5,13 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=1167519 --> + Test for bug 1167519 + +