Bug 1382841 - Remove old test_XXX openers from dom/animation/test/**; r=hiro

We rename the file_XXX contents to test_XXX_to_rename so that these tests keep
running (so long as they begin with file_ and not test_ the test harness will
refuse to run them). If we rename these files to test_XXX in the same patch
Mercurial will not treat this as a rename and so we will lose the history
associated with file_XXX.

Instead, we rename test_XXX_to_rename to test_XXX in the next patch in this
series and by doing this Mercurial will treat this as two rename operations and
`hg log -f test_XXX` will show the history file_XXX as well.

One minor exception to this occurs due to the fact that we have two naming
conventions:

  (a) For tests in css-animations, css-transitions, style etc.

      Most of these tests should eventually land in web-platform-tests. However,
      in many cases that's not yet possible because, for example, CSS
      Animations 2 does not yet specify the behavior tested by the
      css-animations tests.

      For tests in web-platform-tests we generally separate words using -.
      However, our mochitest running machinery requires that tests begin with
      test_. Hence we name tests: test_abc-def-ghi.html.

  (b) For tests in mozilla

      These tests are never intended to be part of web-platform-tests and
      generally for mochitests we use _ to separate words (hence the test_
      prefix). Hence we name these tests test_abc_def_ghi.html

Now, there are some tests in the 'mozilla' directory that use the (a) naming
scheme instead of (b). In this case, instead of renaming file_xxx-xxx.html to
test_xxx-xxx_to_rename.html in this patch, and then renaming
test_xxx-xxx_to_rename.html to test_xxx-xxx.html in a second patch, we can just
delete test_xxx-xxx.html and rename file_xxx-xxx.html to test_xxx_xxx.html in
the one patch and Mercurial will recognize this as a rename because the file
names don't overlap.

MozReview-Commit-ID: Etcdmyfx0zf

--HG--
rename : dom/animation/test/css-animations/file_animation-cancel.html => dom/animation/test/css-animations/test_animation-cancel_to_rename.html
rename : dom/animation/test/css-animations/file_animation-computed-timing.html => dom/animation/test/css-animations/test_animation-computed-timing_to_rename.html
rename : dom/animation/test/css-animations/file_animation-currenttime.html => dom/animation/test/css-animations/test_animation-currenttime_to_rename.html
rename : dom/animation/test/css-animations/file_animation-finish.html => dom/animation/test/css-animations/test_animation-finish_to_rename.html
rename : dom/animation/test/css-animations/file_animation-finished.html => dom/animation/test/css-animations/test_animation-finished_to_rename.html
rename : dom/animation/test/css-animations/file_animation-id.html => dom/animation/test/css-animations/test_animation-id_to_rename.html
rename : dom/animation/test/css-animations/file_animation-pausing.html => dom/animation/test/css-animations/test_animation-pausing_to_rename.html
rename : dom/animation/test/css-animations/file_animation-playstate.html => dom/animation/test/css-animations/test_animation-playstate_to_rename.html
rename : dom/animation/test/css-animations/file_animation-ready.html => dom/animation/test/css-animations/test_animation-ready_to_rename.html
rename : dom/animation/test/css-animations/file_animation-reverse.html => dom/animation/test/css-animations/test_animation-reverse_to_rename.html
rename : dom/animation/test/css-animations/file_animation-starttime.html => dom/animation/test/css-animations/test_animation-starttime_to_rename.html
rename : dom/animation/test/css-animations/file_animations-dynamic-changes.html => dom/animation/test/css-animations/test_animations-dynamic-changes_to_rename.html
rename : dom/animation/test/css-animations/file_cssanimation-animationname.html => dom/animation/test/css-animations/test_cssanimation-animationname_to_rename.html
rename : dom/animation/test/css-animations/file_document-get-animations.html => dom/animation/test/css-animations/test_document-get-animations_to_rename.html
rename : dom/animation/test/css-animations/file_effect-target.html => dom/animation/test/css-animations/test_effect-target_to_rename.html
rename : dom/animation/test/css-animations/file_element-get-animations.html => dom/animation/test/css-animations/test_element-get-animations_to_rename.html
rename : dom/animation/test/css-animations/file_event-dispatch.html => dom/animation/test/css-animations/test_event-dispatch_to_rename.html
rename : dom/animation/test/css-animations/file_event-order.html => dom/animation/test/css-animations/test_event-order_to_rename.html
rename : dom/animation/test/css-animations/file_keyframeeffect-getkeyframes.html => dom/animation/test/css-animations/test_keyframeeffect-getkeyframes_to_rename.html
rename : dom/animation/test/css-animations/file_pseudoElement-get-animations.html => dom/animation/test/css-animations/test_pseudoElement-get-animations_to_rename.html
rename : dom/animation/test/css-animations/file_setting-effect.html => dom/animation/test/css-animations/test_setting-effect_to_rename.html
rename : dom/animation/test/css-transitions/file_animation-cancel.html => dom/animation/test/css-transitions/test_animation-cancel_to_rename.html
rename : dom/animation/test/css-transitions/file_animation-computed-timing.html => dom/animation/test/css-transitions/test_animation-computed-timing_to_rename.html
rename : dom/animation/test/css-transitions/file_animation-currenttime.html => dom/animation/test/css-transitions/test_animation-currenttime_to_rename.html
rename : dom/animation/test/css-transitions/file_animation-finished.html => dom/animation/test/css-transitions/test_animation-finished_to_rename.html
rename : dom/animation/test/css-transitions/file_animation-pausing.html => dom/animation/test/css-transitions/test_animation-pausing_to_rename.html
rename : dom/animation/test/css-transitions/file_animation-ready.html => dom/animation/test/css-transitions/test_animation-ready_to_rename.html
rename : dom/animation/test/css-transitions/file_animation-starttime.html => dom/animation/test/css-transitions/test_animation-starttime_to_rename.html
rename : dom/animation/test/css-transitions/file_csstransition-transitionproperty.html => dom/animation/test/css-transitions/test_csstransition-transitionproperty_to_rename.html
rename : dom/animation/test/css-transitions/file_document-get-animations.html => dom/animation/test/css-transitions/test_document-get-animations_to_rename.html
rename : dom/animation/test/css-transitions/file_effect-target.html => dom/animation/test/css-transitions/test_effect-target_to_rename.html
rename : dom/animation/test/css-transitions/file_element-get-animations.html => dom/animation/test/css-transitions/test_element-get-animations_to_rename.html
rename : dom/animation/test/css-transitions/file_event-dispatch.html => dom/animation/test/css-transitions/test_event-dispatch_to_rename.html
rename : dom/animation/test/css-transitions/file_keyframeeffect-getkeyframes.html => dom/animation/test/css-transitions/test_keyframeeffect-getkeyframes_to_rename.html
rename : dom/animation/test/css-transitions/file_pseudoElement-get-animations.html => dom/animation/test/css-transitions/test_pseudoElement-get-animations_to_rename.html
rename : dom/animation/test/css-transitions/file_setting-effect.html => dom/animation/test/css-transitions/test_setting-effect_to_rename.html
rename : dom/animation/test/document-timeline/file_document-timeline.html => dom/animation/test/document-timeline/test_document-timeline_to_rename.html
rename : dom/animation/test/mozilla/file_cubic_bezier_limits.html => dom/animation/test/mozilla/test_cubic_bezier_limits_to_rename.html
rename : dom/animation/test/mozilla/file_disabled_properties.html => dom/animation/test/mozilla/test_disabled_properties_to_rename.html
rename : dom/animation/test/mozilla/file_document-timeline-origin-time-range.html => dom/animation/test/mozilla/test_document_timeline_origin_time_range.html
rename : dom/animation/test/mozilla/file_hide_and_show.html => dom/animation/test/mozilla/test_hide_and_show_to_rename.html
rename : dom/animation/test/mozilla/file_restyling_xhr_doc.html => dom/animation/test/mozilla/test_restyling_xhr_doc_to_rename.html
rename : dom/animation/test/mozilla/file_set-easing.html => dom/animation/test/mozilla/test_set_easing.html
rename : dom/animation/test/mozilla/file_transform_limits.html => dom/animation/test/mozilla/test_transform_limits_to_rename.html
rename : dom/animation/test/mozilla/file_underlying-discrete-value.html => dom/animation/test/mozilla/test_underlying_discrete_value.html
rename : dom/animation/test/style/file_animation-seeking-with-current-time.html => dom/animation/test/style/test_animation-seeking-with-current-time_to_rename.html
rename : dom/animation/test/style/file_animation-seeking-with-start-time.html => dom/animation/test/style/test_animation-seeking-with-start-time_to_rename.html
rename : dom/animation/test/style/file_animation-setting-effect.html => dom/animation/test/style/test_animation-setting-effect_to_rename.html
rename : dom/animation/test/style/file_composite.html => dom/animation/test/style/test_composite_to_rename.html
rename : dom/animation/test/style/file_missing-keyframe-on-compositor.html => dom/animation/test/style/test_missing-keyframe-on-compositor_to_rename.html
rename : dom/animation/test/style/file_missing-keyframe.html => dom/animation/test/style/test_missing-keyframe_to_rename.html
This commit is contained in:
Brian Birtles 2018-03-12 16:08:35 +09:00
parent e427ba000e
commit d0f7ad72a1
106 changed files with 225 additions and 920 deletions

View File

@ -1,15 +0,0 @@
<!doctype html>
<meta charset=utf-8>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<div id="log"></div>
<script>
'use strict';
setup({explicit_done: true});
SpecialPowers.pushPrefEnv(
{ "set": [["dom.animations-api.core.enabled", true]]},
function() {
window.open("file_animation-cancel.html");
});
</script>
</html>

View File

@ -1,5 +1,7 @@
<!doctype html>
<meta charset=utf-8>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="../testcommon.js"></script>
<style>
@keyframes translateAnim {
@ -14,6 +16,7 @@
}
</style>
<body>
<div id="log"></div>
<script>
'use strict';
@ -185,7 +188,6 @@ promise_test(function(t) {
}, 'Setting display:none on an ancestor element cancels animations on ' +
'descendants');
done();
</script>
</body>
</html>

View File

@ -1,16 +0,0 @@
<!doctype html>
<html>
<meta charset=utf-8>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<div id="log"></div>
<script>
'use strict';
setup({explicit_done: true});
SpecialPowers.pushPrefEnv(
{ "set": [["dom.animations-api.core.enabled", true]]},
function() {
window.open("file_animation-computed-timing.html");
});
</script>
</html>

View File

@ -1,5 +1,7 @@
<!doctype html>
<meta charset=utf-8>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="../testcommon.js"></script>
<style>
@keyframes moveAnimation {
@ -8,6 +10,7 @@
}
</style>
<body>
<div id="log"></div>
<script>
'use strict';
@ -561,6 +564,5 @@ test(function(t) {
// TODO: If iteration duration is Infinity, currentIteration is 0.
// However, we cannot set iteration duration to Infinity in CSS Animation now.
done();
</script>
</body>

View File

@ -1,15 +0,0 @@
<!doctype html>
<meta charset=utf-8>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<div id="log"></div>
<script>
'use strict';
setup({explicit_done: true});
SpecialPowers.pushPrefEnv(
{ "set": [["dom.animations-api.core.enabled", true]]},
function() {
window.open("file_animation-currenttime.html");
});
</script>
</html>

View File

@ -18,9 +18,12 @@
}
</style>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="../testcommon.js"></script>
</head>
<body>
<div id="log"></div>
<script type="text/javascript">
'use strict';
@ -339,7 +342,6 @@ promise_test(function(t) {
}, 'After aborting a pause when finished, the call to play() should rewind'
+ ' the current time');
done();
</script>
</body>
</html>

View File

@ -1,15 +0,0 @@
<!doctype html>
<meta charset=utf-8>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<div id="log"></div>
<script>
'use strict';
setup({explicit_done: true});
SpecialPowers.pushPrefEnv(
{ "set": [["dom.animations-api.core.enabled", true]]},
function() {
window.open("file_animation-finish.html");
});
</script>
</html>

View File

@ -1,5 +1,7 @@
<!doctype html>
<meta charset=utf-8>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="../testcommon.js"></script>
<style>
@keyframes anim {
@ -8,6 +10,7 @@
}
</style>
<body>
<div id="log"></div>
<script>
'use strict';
@ -90,6 +93,5 @@ test(function(t) {
'set after calling finish()');
}, 'Test finish() while pause-pending with negative playbackRate');
done();
</script>
</body>

View File

@ -1,15 +0,0 @@
<!doctype html>
<meta charset=utf-8>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<div id="log"></div>
<script>
'use strict';
setup({explicit_done: true});
SpecialPowers.pushPrefEnv(
{ "set": [["dom.animations-api.core.enabled", true]]},
function() {
window.open("file_animation-finished.html");
});
</script>
</html>

View File

@ -1,5 +1,7 @@
<!doctype html>
<meta charset=utf-8>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="../testcommon.js"></script>
<style>
@keyframes abc {
@ -8,6 +10,7 @@
@keyframes def {}
</style>
<body>
<div id="log"></div>
<script>
'use strict';
@ -88,6 +91,5 @@ promise_test(function(t) {
});
}, 'Test finished promise changes when animationPlayState set to running');
done();
</script>
</body>

View File

@ -1,15 +0,0 @@
<!doctype html>
<meta charset=utf-8>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<div id="log"></div>
<script>
'use strict';
setup({explicit_done: true});
SpecialPowers.pushPrefEnv(
{ "set": [["dom.animations-api.core.enabled", true]]},
function() {
window.open("file_animation-id.html");
});
</script>
</html>

View File

@ -1,10 +1,13 @@
<!doctype html>
<meta charset=utf-8>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="../testcommon.js"></script>
<style>
@keyframes abc { }
</style>
<body>
<div id="log"></div>
<script>
'use strict';
@ -18,7 +21,6 @@ test(function(t) {
assert_equals(animation.id, 'anim', 'animation.id reflects the value set');
}, 'Animation.id for CSS Animations');
done();
</script>
</body>
</html>

View File

@ -1,16 +0,0 @@
<!doctype html>
<meta charset=utf-8>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<div id="log"></div>
<script>
'use strict';
setup({explicit_done: true});
SpecialPowers.pushPrefEnv(
{ "set": [["dom.animations-api.core.enabled", true],
["dom.animations-api.pending-member.enabled", true]]},
function() {
window.open("file_animation-pausing.html");
});
</script>
</html>

View File

@ -1,13 +1,16 @@
<!doctype html>
<meta charset=utf-8>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="../testcommon.js"></script>
<style>
@keyframes anim {
@keyframes anim {
0% { margin-left: 0px }
100% { margin-left: 10000px }
}
</style>
<body>
<div id="log"></div>
<script>
'use strict';
@ -161,6 +164,5 @@ promise_test(function(t) {
});
}, 'Setting the current time completes a pending pause');
done();
</script>
</body>

View File

@ -1,16 +0,0 @@
<!doctype html>
<meta charset=utf-8>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<div id="log"></div>
<script>
'use strict';
setup({explicit_done: true});
SpecialPowers.pushPrefEnv(
{ "set": [["dom.animations-api.core.enabled", true],
["dom.animations-api.pending-member.enabled", true]]},
function() {
window.open("file_animation-playstate.html");
});
</script>
</html>

View File

@ -1,10 +1,13 @@
<!doctype html>
<meta charset=utf-8>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="../testcommon.js"></script>
<style>
@keyframes anim { }
</style>
<body>
<div id="log"></div>
<script>
'use strict';
@ -54,6 +57,5 @@ test(function(t) {
assert_equals(animation.playState, 'idle');
}, 'Animation returns correct playState when cancelled');
done();
</script>
</body>

View File

@ -1,16 +0,0 @@
<!doctype html>
<meta charset=utf-8>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<div id="log"></div>
<script>
'use strict';
setup({explicit_done: true});
SpecialPowers.pushPrefEnv(
{ "set": [["dom.animations-api.core.enabled", true],
["dom.animations-api.pending-member.enabled", true]]},
function() {
window.open("file_animation-ready.html");
});
</script>
</html>

View File

@ -1,5 +1,7 @@
<!doctype html>
<meta charset=utf-8>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="../testcommon.js"></script>
<style>
@keyframes abc {
@ -7,6 +9,7 @@
}
</style>
<body>
<div id="log"></div>
<script>
'use strict';
@ -142,6 +145,5 @@ promise_test(function(t) {
});
}, 'When a pause is complete the Promise callback gets the correct animation');
done();
</script>
</body>

View File

@ -1,15 +0,0 @@
<!doctype html>
<meta charset=utf-8>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<div id="log"></div>
<script>
'use strict';
setup({explicit_done: true});
SpecialPowers.pushPrefEnv(
{ "set": [["dom.animations-api.core.enabled", true]]},
function() {
window.open("file_animation-reverse.html");
});
</script>
</html>

View File

@ -1,5 +1,7 @@
<!doctype html>
<meta charset=utf-8>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="../testcommon.js"></script>
<style>
@keyframes anim {
@ -7,6 +9,7 @@
}
</style>
<body>
<div id="log"></div>
<script>
'use strict';
@ -23,7 +26,5 @@ test(function(t) {
'animation.currentTime should be its effect end');
}, 'reverse() from idle state starts playing the animation');
done();
</script>
</body>

View File

@ -1,15 +0,0 @@
<!doctype html>
<meta charset=utf-8>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<div id="log"></div>
<script>
'use strict';
setup({explicit_done: true});
SpecialPowers.pushPrefEnv(
{ "set": [["dom.animations-api.core.enabled", true]] },
function() {
window.open("file_animation-starttime.html");
});
</script>
</html>

View File

@ -18,9 +18,12 @@
}
</style>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="../testcommon.js"></script>
</head>
<body>
<div id="log"></div>
<script type="text/javascript">
'use strict';
@ -377,7 +380,6 @@ promise_test(function(t) {
});
}, 'Animation.startTime after cancelling');
done();
</script>
</body>
</html>

View File

@ -1,15 +0,0 @@
<!doctype html>
<meta charset=utf-8>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<div id="log"></div>
<script>
'use strict';
setup({explicit_done: true});
SpecialPowers.pushPrefEnv(
{ "set": [["dom.animations-api.core.enabled", true]]},
function() {
window.open("file_animations-dynamic-changes.html");
});
</script>
</html>

View File

@ -1,5 +1,7 @@
<!doctype html>
<meta charset=utf-8>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="../testcommon.js"></script>
<style>
@keyframes anim1 {
@ -8,6 +10,7 @@
@keyframes anim2 { }
</style>
<body>
<div id="log"></div>
<script>
'use strict';
@ -151,6 +154,5 @@ promise_test(function(t) {
});
}, 'Animation state is preserved when interleaving animations in list');
done();
</script>
</body>

View File

@ -1,15 +0,0 @@
<!doctype html>
<meta charset=utf-8>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<div id="log"></div>
<script>
'use strict';
setup({explicit_done: true});
SpecialPowers.pushPrefEnv(
{ "set": [["dom.animations-api.core.enabled", true]]},
function() {
window.open("file_cssanimation-animationname.html");
});
</script>
</html>

View File

@ -1,5 +1,7 @@
<!doctype html>
<meta charset=utf-8>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="../testcommon.js"></script>
<style>
@keyframes xyz {
@ -7,6 +9,7 @@
}
</style>
<body>
<div id="log"></div>
<script>
'use strict';
@ -32,6 +35,5 @@ test(function(t) {
+ ' name');
}, 'Animation name with hex-escape');
done();
</script>
</body>

View File

@ -1,15 +0,0 @@
<!doctype html>
<meta charset=utf-8>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<div id="log"></div>
<script>
'use strict';
setup({explicit_done: true});
SpecialPowers.pushPrefEnv(
{ "set": [["dom.animations-api.core.enabled", true]]},
function() {
window.open("file_document-get-animations.html");
});
</script>
</html>

View File

@ -1,5 +1,7 @@
<!doctype html>
<meta charset=utf-8>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="../testcommon.js"></script>
<style>
@keyframes animLeft {
@ -22,6 +24,7 @@
}
</style>
<body>
<div id="log"></div>
<script>
'use strict';
@ -277,6 +280,5 @@ test(function(t) {
}, 'CSS Animations targetting (pseudo-)elements should have correct order ' +
'after sorting');
done();
</script>
</body>

View File

@ -1,15 +0,0 @@
<!doctype html>
<meta charset=utf-8>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<div id="log"></div>
<script>
'use strict';
setup({explicit_done: true});
SpecialPowers.pushPrefEnv(
{ "set": [["dom.animations-api.core.enabled", true]]},
function() {
window.open("file_effect-target.html");
});
</script>
</html>

View File

@ -1,5 +1,7 @@
<!doctype html>
<meta charset=utf-8>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="../testcommon.js"></script>
<style>
@keyframes anim { }
@ -11,6 +13,7 @@
}
</style>
<body>
<div id="log"></div>
<script>
'use strict';
@ -55,6 +58,5 @@ test(function(t) {
}, 'effect.target from the script-generated animation should return the same ' +
'CSSPseudoElement object as that from the CSS generated animation');
done();
</script>
</body>

View File

@ -1,16 +0,0 @@
<!doctype html>
<meta charset=utf-8>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<div id="log"></div>
<script>
'use strict';
setup({explicit_done: true});
SpecialPowers.pushPrefEnv(
{ "set": [["dom.animations-api.core.enabled", true],
["dom.animations-api.pending-member.enabled", true]]},
function() {
window.open("file_element-get-animations.html");
});
</script>
</html>

View File

@ -1,5 +1,7 @@
<!doctype html>
<meta charset=utf-8>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="../testcommon.js"></script>
<style>
@keyframes anim1 {
@ -20,6 +22,7 @@
@keyframes empty { }
</style>
<body>
<div id="log"></div>
<script>
'use strict';
@ -446,6 +449,5 @@ test(function(t) {
}, 'Test AnimationFilter{ subtree: true } with element that has many descendant');
done();
</script>
</body>

View File

@ -1,15 +0,0 @@
<!doctype html>
<meta charset=utf-8>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<div id="log"></div>
<script>
'use strict';
setup({explicit_done: true});
SpecialPowers.pushPrefEnv(
{ "set": [["dom.animations-api.core.enabled", true]] },
function() {
window.open("file_event-dispatch.html");
});
</script>
</html>

View File

@ -2,6 +2,8 @@
<meta charset=utf-8>
<title>Tests for CSS animation event dispatch</title>
<link rel="help" href="https://drafts.csswg.org/css-animations-2/#event-dispatch"/>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="../testcommon.js"></script>
<style>
@keyframes anim {
@ -10,6 +12,7 @@
}
</style>
<body>
<div id="log"></div>
<script>
'use strict';
@ -372,7 +375,6 @@ promise_test(t => {
});
}, 'Cancel the animation after clearing the target effect.');
done();
</script>
</body>
</html>

View File

@ -1,15 +0,0 @@
<!doctype html>
<meta charset=utf-8>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<div id="log"></div>
<script>
'use strict';
setup({explicit_done: true});
SpecialPowers.pushPrefEnv(
{ "set": [["dom.animations-api.core.enabled", true]]},
function() {
window.open("file_event-order.html");
});
</script>
</html>

View File

@ -2,6 +2,8 @@
<meta charset=utf-8>
<title>Tests for CSS animation event order</title>
<link rel="help" href="https://drafts.csswg.org/css-animations-2/#event-dispatch"/>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="../testcommon.js"></script>
<style>
@keyframes anim {
@ -10,6 +12,7 @@
}
</style>
<body>
<div id="log"></div>
<script type='text/javascript'>
'use strict';
@ -155,7 +158,6 @@ promise_test(t => {
});
}, 'Test start and end events are sorted correctly when fired simultaneously');
done();
</script>
</body>
</html>

View File

@ -1,15 +0,0 @@
<!doctype html>
<meta charset=utf-8>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<div id="log"></div>
<script>
'use strict';
setup({explicit_done: true});
SpecialPowers.pushPrefEnv(
{ "set": [["dom.animations-api.core.enabled", true]]},
function() {
window.open("file_keyframeeffect-getkeyframes.html");
});
</script>
</html>

View File

@ -1,5 +1,7 @@
<!doctype html>
<meta charset=utf-8>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="../testcommon.js"></script>
<style>
@keyframes anim-empty { }
@ -153,6 +155,7 @@
}
</style>
<body>
<div id="log"></div>
<script>
"use strict";
@ -749,6 +752,5 @@ test(function(t) {
}, 'KeyframeEffectReadOnly.getKeyframes() returns expected values for ' +
'animations with only custom property in a keyframe');
done();
</script>
</body>

View File

@ -1,14 +0,0 @@
<!doctype html>
<meta charset=utf-8>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<div id="log"></div>
<script>
'use strict';
setup({explicit_done: true});
SpecialPowers.pushPrefEnv(
{ "set": [["dom.animations-api.core.enabled", true]]},
function() {
window.open("file_pseudoElement-get-animations.html");
});
</script>

View File

@ -1,5 +1,7 @@
<!doctype html>
<meta charset=utf-8>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="../testcommon.js"></script>
<style>
@keyframes anim1 { }
@ -22,6 +24,7 @@
}
</style>
<body>
<div id="log"></div>
<script>
'use strict';
@ -67,6 +70,5 @@ test(function(t) {
}, 'getAnimations returns css transitions/animations, and script-generated ' +
'animations in the expected order');
done();
</script>
</body>

View File

@ -1,15 +0,0 @@
<!doctype html>
<meta charset=utf-8>
<script src='/resources/testharness.js'></script>
<script src='/resources/testharnessreport.js'></script>
<div id='log'></div>
<script>
'use strict';
setup({explicit_done: true});
SpecialPowers.pushPrefEnv(
{ "set": [["dom.animations-api.core.enabled", true],
["dom.animations-api.pending-member.enabled", true]]},
function() {
window.open('file_setting-effect.html');
});
</script>

View File

@ -1,5 +1,7 @@
<!doctype html>
<meta charset=utf-8>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src='../testcommon.js'></script>
<style>
@keyframes anim {
@ -12,6 +14,7 @@
}
</style>
<body>
<div id="log"></div>
<script>
'use strict';
@ -125,6 +128,5 @@ promise_test(function(t) {
}, 'After replacing a finished animation\'s effect with a longer one ' +
'it fires an animationstart event');
done();
</script>
</body>

View File

@ -1,14 +0,0 @@
<!doctype html>
<meta charset=utf-8>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<div id="log"></div>
<script>
'use strict';
setup({explicit_done: true});
SpecialPowers.pushPrefEnv(
{ "set": [["dom.animations-api.core.enabled", true]]},
function() {
window.open("file_animation-cancel.html");
});
</script>

View File

@ -1,7 +1,10 @@
<!doctype html>
<meta charset=utf-8>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="../testcommon.js"></script>
<body>
<div id="log"></div>
<script>
'use strict';
@ -228,6 +231,5 @@ promise_test(function(t) {
});
}, 'Reversing a running transition cancels the original transition');
done();
</script>
</body>

View File

@ -1,16 +0,0 @@
<!doctype html>
<html>
<meta charset=utf-8>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<div id="log"></div>
<script>
'use strict';
setup({explicit_done: true});
SpecialPowers.pushPrefEnv(
{ "set": [["dom.animations-api.core.enabled", true]]},
function() {
window.open("file_animation-computed-timing.html");
});
</script>
</html>

View File

@ -1,5 +1,7 @@
<!doctype html>
<meta charset=utf-8>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="../testcommon.js"></script>
<style>
@ -9,6 +11,7 @@
</style>
<body>
<div id="log"></div>
<script>
'use strict';
@ -310,6 +313,5 @@ test(function(t) {
'finished currentIteration');
}, 'currentIteration of a finished transition');
done();
</script>
</body>

View File

@ -1,14 +0,0 @@
<!doctype html>
<meta charset=utf-8>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<div id="log"></div>
<script>
'use strict';
setup({explicit_done: true});
SpecialPowers.pushPrefEnv(
{ "set": [["dom.animations-api.core.enabled", true]]},
function() {
window.open("file_animation-currenttime.html");
});
</script>

View File

@ -12,9 +12,12 @@
}
</style>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="../testcommon.js"></script>
</head>
<body>
<div id="log"></div>
<script type="text/javascript">
'use strict';
@ -301,7 +304,6 @@ async_test(function(t) {
});
}, 'Animation.currentTime after pausing');
done();
</script>
</body>
</html>

View File

@ -1,14 +0,0 @@
<!doctype html>
<meta charset=utf-8>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<div id="log"></div>
<script>
'use strict';
setup({explicit_done: true});
SpecialPowers.pushPrefEnv(
{ "set": [["dom.animations-api.core.enabled", true]]},
function() {
window.open("file_animation-finished.html");
});
</script>

View File

@ -1,5 +1,7 @@
<!doctype html>
<meta charset=utf-8>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="../testcommon.js"></script>
<style>
@ -10,6 +12,7 @@
</style>
<body>
<div id="log"></div>
<script>
'use strict';
@ -56,6 +59,5 @@ async_test(function(t) {
}));
}, 'Test restarting a reversed finished transition');
done();
</script>
</body>

View File

@ -1,14 +0,0 @@
<!doctype html>
<meta charset=utf-8>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<div id="log"></div>
<script>
'use strict';
setup({explicit_done: true});
SpecialPowers.pushPrefEnv(
{ "set": [["dom.animations-api.core.enabled", true]]},
function() {
window.open("file_animation-pausing.html");
});
</script>

View File

@ -1,7 +1,10 @@
<!doctype html>
<meta charset=utf-8>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="../testcommon.js"></script>
<body>
<div id="log"></div>
<script>
'use strict';
@ -43,6 +46,5 @@ async_test(function(t) {
}));
}, 'pause() and play() a transition');
done();
</script>
</body>

View File

@ -1,15 +0,0 @@
<!doctype html>
<meta charset=utf-8>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<div id="log"></div>
<script>
'use strict';
setup({explicit_done: true});
SpecialPowers.pushPrefEnv(
{ "set": [["dom.animations-api.core.enabled", true],
["dom.animations-api.pending-member.enabled", true]]},
function() {
window.open("file_animation-ready.html");
});
</script>

View File

@ -1,7 +1,10 @@
<!doctype html>
<meta charset=utf-8>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="../testcommon.js"></script>
<body>
<div id="log"></div>
<script>
'use strict';
@ -91,6 +94,5 @@ async_test(function(t) {
}, 'ready promise is rejected when a transition is cancelled by changing'
+ ' the transition property to something not interpolable');
done();
</script>
</body>

View File

@ -1,14 +0,0 @@
<!doctype html>
<meta charset=utf-8>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<div id="log"></div>
<script>
'use strict';
setup({explicit_done: true});
SpecialPowers.pushPrefEnv(
{ "set": [["dom.animations-api.core.enabled", true]]},
function() {
window.open("file_animation-starttime.html");
});
</script>

View File

@ -12,9 +12,12 @@
}
</style>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="../testcommon.js"></script>
</head>
<body>
<div id="log"></div>
<script type="text/javascript">
'use strict';
@ -278,7 +281,6 @@ async_test(function(t) {
});
}, 'Animation.startTime after paused');
done();
</script>
</body>
</html>

View File

@ -1,14 +0,0 @@
<!doctype html>
<meta charset=utf-8>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<div id="log"></div>
<script>
'use strict';
setup({explicit_done: true});
SpecialPowers.pushPrefEnv(
{ "set": [["dom.animations-api.core.enabled", true]]},
function() {
window.open("file_csstransition-transitionproperty.html");
});
</script>

View File

@ -1,7 +1,10 @@
<!doctype html>
<meta charset=utf-8>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="../testcommon.js"></script>
<body>
<div id="log"></div>
<script>
'use strict';
@ -19,6 +22,5 @@ test(function(t) {
'property being transitioned');
}, 'CSSTransition.transitionProperty');
done();
</script>
</body>

View File

@ -1,15 +0,0 @@
<!doctype html>
<meta charset=utf-8>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<div id="log"></div>
<script>
'use strict';
setup({explicit_done: true});
SpecialPowers.pushPrefEnv(
{ "set": [["dom.animations-api.core.enabled", true]]},
function() {
window.open("file_document-get-animations.html");
});
</script>
</html>

View File

@ -1,7 +1,10 @@
<!doctype html>
<meta charset=utf-8>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="../testcommon.js"></script>
<body>
<div id="log"></div>
<script>
'use strict';
@ -88,6 +91,5 @@ async_test(function(t) {
}));
}, 'Transitions are not returned after they have finished');
done();
</script>
</body>

View File

@ -1,14 +0,0 @@
<!doctype html>
<meta charset=utf-8>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<div id="log"></div>
<script>
'use strict';
setup({explicit_done: true});
SpecialPowers.pushPrefEnv(
{ "set": [["dom.animations-api.core.enabled", true]]},
function() {
window.open("file_effect-target.html");
});
</script>

View File

@ -1,7 +1,10 @@
<!doctype html>
<meta charset=utf-8>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="../testcommon.js"></script>
<body>
<div id="log"></div>
<script>
'use strict';
@ -61,6 +64,5 @@ test(function(t) {
}, 'effect.target from the script-generated animation should return the same ' +
'CSSPseudoElement object as that from the CSS generated transition');
done();
</script>
</body>

View File

@ -1,14 +0,0 @@
<!doctype html>
<meta charset=utf-8>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<div id="log"></div>
<script>
'use strict';
setup({explicit_done: true});
SpecialPowers.pushPrefEnv(
{ "set": [["dom.animations-api.core.enabled", true]]},
function() {
window.open("file_element-get-animations.html");
});
</script>

View File

@ -1,7 +1,10 @@
<!doctype html>
<meta charset=utf-8>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="../testcommon.js"></script>
<body>
<div id="log"></div>
<script>
'use strict';
@ -142,6 +145,5 @@ test(function(t) {
assert_equals(animations[1].transitionProperty, 'opacity');
}, 'getAnimations sorts transitions by when they were generated');
done();
</script>
</body>

View File

@ -1,14 +0,0 @@
<!doctype html>
<meta charset=utf-8>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<div id="log"></div>
<script>
'use strict';
setup({explicit_done: true});
SpecialPowers.pushPrefEnv(
{ "set": [["dom.animations-api.core.enabled", true]]},
function() {
window.open("file_event-dispatch.html");
});
</script>

View File

@ -2,8 +2,11 @@
<meta charset=utf-8>
<title>Tests for CSS-Transition events</title>
<link rel="help" href="https://drafts.csswg.org/css-transitions-2/#transition-events">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="../testcommon.js"></script>
<body>
<div id="log"></div>
<script>
'use strict';
@ -468,7 +471,6 @@ promise_test(t => {
});
}, 'Cancel the transition after clearing the target effect');
done();
</script>
</body>
</html>

View File

@ -1,14 +0,0 @@
<!doctype html>
<meta charset=utf-8>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<div id="log"></div>
<script>
'use strict';
setup({explicit_done: true});
SpecialPowers.pushPrefEnv(
{ "set": [["dom.animations-api.core.enabled", true]]},
function() {
window.open("file_keyframeeffect-getkeyframes.html");
});
</script>

View File

@ -1,5 +1,7 @@
<!doctype html>
<meta charset=utf-8>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="../testcommon.js"></script>
<style>
:root {
@ -7,6 +9,7 @@
}
</style>
<body>
<div id="log"></div>
<script>
'use strict';
@ -96,6 +99,5 @@ test(function(t) {
}, 'KeyframeEffectReadOnly.getKeyframes() returns expected frames for a'
+ ' transition with a CSS variable endpoint');
done();
</script>
</body>

View File

@ -1,14 +0,0 @@
<!doctype html>
<meta charset=utf-8>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<div id="log"></div>
<script>
'use strict';
setup({explicit_done: true});
SpecialPowers.pushPrefEnv(
{ "set": [["dom.animations-api.core.enabled", true]]},
function() {
window.open("file_pseudoElement-get-animations.html");
});
</script>

View File

@ -1,5 +1,7 @@
<!doctype html>
<meta charset=utf-8>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="../testcommon.js"></script>
<style>
.init::before {
@ -16,6 +18,7 @@
}
</style>
<body>
<div id="log"></div>
<script>
'use strict';
@ -40,6 +43,5 @@ test(function(t) {
assert_equals(anims[2].transitionProperty, 'width');
}, 'getAnimations sorts simultaneous transitions by name');
done();
</script>
</body>

View File

@ -1,15 +0,0 @@
<!doctype html>
<meta charset=utf-8>
<script src='/resources/testharness.js'></script>
<script src='/resources/testharnessreport.js'></script>
<div id='log'></div>
<script>
'use strict';
setup({explicit_done: true});
SpecialPowers.pushPrefEnv(
{ "set": [["dom.animations-api.core.enabled", true],
["dom.animations-api.pending-member.enabled", true]]},
function() {
window.open('file_setting-effect.html');
});
</script>

View File

@ -1,7 +1,10 @@
<!doctype html>
<meta charset=utf-8>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src='../testcommon.js'></script>
<body>
<div id="log"></div>
<script>
'use strict';
@ -95,6 +98,5 @@ promise_test(function(t) {
});
}, 'Test for setting a new keyframe effect to a pending transition');
done();
</script>
</body>

View File

@ -1,14 +0,0 @@
<!doctype html>
<meta charset=utf-8>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<div id="log"></div>
<script>
'use strict';
setup({explicit_done: true});
SpecialPowers.pushPrefEnv(
{ "set": [["dom.animations-api.core.enabled", true]]},
function() {
window.open("file_document-timeline.html");
});
</script>

View File

@ -1,9 +1,12 @@
<!doctype html>
<meta charset=utf-8>
<title>Web Animations API: DocumentTimeline tests</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="../testcommon.js"></script>
<iframe srcdoc='<html><meta charset=utf-8></html>' width="10" height="10" id="iframe"></iframe>
<iframe srcdoc='<html style="display:none"><meta charset=utf-8></html>' width="10" height="10" id="hidden-iframe"></iframe>
<div id="log"></div>
<script>
'use strict';
@ -131,5 +134,4 @@ async_test(function(t) {
}
}, 'document.timeline.currentTime hidden subframe dynamic test');
done();
</script>

View File

@ -1,134 +1,86 @@
[DEFAULT]
prefs =
dom.animations-api.core.enabled=true
dom.animations-api.pending-member.enabled=true
# Support files for chrome tests that we want to load over HTTP need
# to go in here, not chrome.ini.
support-files =
chrome/file_animate_xrays.html
css-animations/file_animation-cancel.html
css-animations/file_animation-computed-timing.html
css-animations/file_animation-currenttime.html
css-animations/file_animation-finish.html
css-animations/file_animation-finished.html
css-animations/file_animation-id.html
css-animations/file_animation-pausing.html
css-animations/file_animation-playstate.html
css-animations/file_animation-ready.html
css-animations/file_animation-reverse.html
css-animations/file_animation-starttime.html
css-animations/file_animations-dynamic-changes.html
css-animations/file_cssanimation-animationname.html
css-animations/file_document-get-animations.html
css-animations/file_effect-target.html
css-animations/file_element-get-animations.html
css-animations/file_event-dispatch.html
css-animations/file_event-order.html
css-animations/file_keyframeeffect-getkeyframes.html
css-animations/file_pseudoElement-get-animations.html
css-animations/file_setting-effect.html
css-transitions/file_animation-cancel.html
css-transitions/file_animation-computed-timing.html
css-transitions/file_animation-currenttime.html
css-transitions/file_animation-finished.html
css-transitions/file_animation-pausing.html
css-transitions/file_animation-ready.html
css-transitions/file_animation-starttime.html
css-transitions/file_csstransition-transitionproperty.html
css-transitions/file_document-get-animations.html
css-transitions/file_effect-target.html
css-transitions/file_element-get-animations.html
css-transitions/file_event-dispatch.html
css-transitions/file_keyframeeffect-getkeyframes.html
css-transitions/file_pseudoElement-get-animations.html
css-transitions/file_setting-effect.html
document-timeline/file_document-timeline.html
mozilla/xhr_doc.html
mozilla/file_cubic_bezier_limits.html
mozilla/file_deferred_start.html
mozilla/file_disabled_properties.html
mozilla/file_disable_animations_api_core.html
mozilla/file_discrete-animations.html
mozilla/file_document-timeline-origin-time-range.html
mozilla/file_hide_and_show.html
mozilla/file_restyles.html
mozilla/file_restyling_xhr_doc.html
mozilla/file_set-easing.html
mozilla/file_transform_limits.html
mozilla/file_transition_finish_on_compositor.html
mozilla/file_underlying-discrete-value.html
style/file_animation-seeking-with-current-time.html
style/file_animation-seeking-with-start-time.html
style/file_animation-setting-effect.html
style/file_composite.html
style/file_missing-keyframe.html
style/file_missing-keyframe-on-compositor.html
../../../layout/style/test/property_database.js
testcommon.js
[css-animations/test_animations-dynamic-changes.html]
[css-animations/test_animation-cancel.html]
[css-animations/test_animation-computed-timing.html]
[css-animations/test_animation-currenttime.html]
[css-animations/test_animation-finish.html]
[css-animations/test_animation-finished.html]
[css-animations/test_animation-id.html]
[css-animations/test_animation-pausing.html]
[css-animations/test_animation-playstate.html]
[css-animations/test_animation-ready.html]
[css-animations/test_animation-reverse.html]
[css-animations/test_animation-starttime.html]
[css-animations/test_cssanimation-animationname.html]
[css-animations/test_document-get-animations.html]
[css-animations/test_effect-target.html]
[css-animations/test_element-get-animations.html]
[css-animations/test_event-dispatch.html]
[css-animations/test_event-order.html]
[css-animations/test_keyframeeffect-getkeyframes.html]
[css-animations/test_pseudoElement-get-animations.html]
[css-animations/test_setting-effect.html]
[css-transitions/test_animation-cancel.html]
[css-transitions/test_animation-computed-timing.html]
[css-transitions/test_animation-currenttime.html]
[css-transitions/test_animation-finished.html]
[css-transitions/test_animation-pausing.html]
[css-transitions/test_animation-ready.html]
[css-transitions/test_animation-starttime.html]
[css-transitions/test_csstransition-transitionproperty.html]
[css-transitions/test_document-get-animations.html]
[css-transitions/test_effect-target.html]
[css-transitions/test_element-get-animations.html]
[css-transitions/test_event-dispatch.html]
[css-transitions/test_keyframeeffect-getkeyframes.html]
[css-transitions/test_pseudoElement-get-animations.html]
[css-transitions/test_setting-effect.html]
[document-timeline/test_document-timeline.html]
[css-animations/test_animations-dynamic-changes_to_rename.html]
[css-animations/test_animation-cancel_to_rename.html]
[css-animations/test_animation-computed-timing_to_rename.html]
[css-animations/test_animation-currenttime_to_rename.html]
[css-animations/test_animation-finish_to_rename.html]
[css-animations/test_animation-finished_to_rename.html]
[css-animations/test_animation-id_to_rename.html]
[css-animations/test_animation-pausing_to_rename.html]
[css-animations/test_animation-playstate_to_rename.html]
[css-animations/test_animation-ready_to_rename.html]
[css-animations/test_animation-reverse_to_rename.html]
[css-animations/test_animation-starttime_to_rename.html]
[css-animations/test_cssanimation-animationname_to_rename.html]
[css-animations/test_document-get-animations_to_rename.html]
[css-animations/test_effect-target_to_rename.html]
[css-animations/test_element-get-animations_to_rename.html]
[css-animations/test_event-dispatch_to_rename.html]
[css-animations/test_event-order_to_rename.html]
[css-animations/test_keyframeeffect-getkeyframes_to_rename.html]
[css-animations/test_pseudoElement-get-animations_to_rename.html]
[css-animations/test_setting-effect_to_rename.html]
[css-transitions/test_animation-cancel_to_rename.html]
[css-transitions/test_animation-computed-timing_to_rename.html]
[css-transitions/test_animation-currenttime_to_rename.html]
[css-transitions/test_animation-finished_to_rename.html]
[css-transitions/test_animation-pausing_to_rename.html]
[css-transitions/test_animation-ready_to_rename.html]
[css-transitions/test_animation-starttime_to_rename.html]
[css-transitions/test_csstransition-transitionproperty_to_rename.html]
[css-transitions/test_document-get-animations_to_rename.html]
[css-transitions/test_effect-target_to_rename.html]
[css-transitions/test_element-get-animations_to_rename.html]
[css-transitions/test_event-dispatch_to_rename.html]
[css-transitions/test_keyframeeffect-getkeyframes_to_rename.html]
[css-transitions/test_pseudoElement-get-animations_to_rename.html]
[css-transitions/test_setting-effect_to_rename.html]
[document-timeline/test_document-timeline_to_rename.html]
[document-timeline/test_request_animation_frame.html]
[mozilla/test_cascade.html]
[mozilla/test_cubic_bezier_limits.html]
[mozilla/test_cubic_bezier_limits_to_rename.html]
[mozilla/test_deferred_start.html]
skip-if = (toolkit == 'android' && debug) || (os == 'win' && bits == 64) || webrender # Bug 1363957; bug 1424752 for webrender
[mozilla/test_disable_animations_api_core.html]
[mozilla/test_disabled_properties.html]
[mozilla/test_disabled_properties_to_rename.html]
[mozilla/test_discrete-animations.html]
[mozilla/test_distance_of_basic_shape.html]
[mozilla/test_distance_of_filter.html]
[mozilla/test_distance_of_transform.html]
[mozilla/test_document-timeline-origin-time-range.html]
[mozilla/test_hide_and_show.html]
[mozilla/test_document_timeline_origin_time_range.html]
[mozilla/test_hide_and_show_to_rename.html]
[mozilla/test_moz-prefixed-properties.html]
[mozilla/test_restyles.html]
skip-if = webrender # bug 1424752
[mozilla/test_restyling_xhr_doc.html]
[mozilla/test_set-easing.html]
[mozilla/test_transform_limits.html]
[mozilla/test_restyling_xhr_doc_to_rename.html]
[mozilla/test_set_easing.html]
[mozilla/test_transform_limits_to_rename.html]
[mozilla/test_transition_finish_on_compositor.html]
skip-if = toolkit == 'android' || webrender # bug 1424752 for webrender
[mozilla/test_underlying-discrete-value.html]
[style/test_animation-seeking-with-current-time.html]
[style/test_animation-seeking-with-start-time.html]
[style/test_animation-setting-effect.html]
[style/test_composite.html]
[mozilla/test_underlying_discrete_value.html]
[style/test_animation-seeking-with-current-time_to_rename.html]
[style/test_animation-seeking-with-start-time_to_rename.html]
[style/test_animation-setting-effect_to_rename.html]
[style/test_composite_to_rename.html]
skip-if = webrender # bug 1424752
[style/test_interpolation-from-interpolatematrix-to-none.html]
[style/test_missing-keyframe.html]
[style/test_missing-keyframe-on-compositor.html]
[style/test_missing-keyframe_to_rename.html]
[style/test_missing-keyframe-on-compositor_to_rename.html]
skip-if = webrender # bug 1424752
[style/test_transform-non-normalizable-rotate3d.html]

View File

@ -1,14 +0,0 @@
<!doctype html>
<meta charset=utf-8>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<div id="log"></div>
<script>
'use strict';
setup({explicit_done: true});
SpecialPowers.pushPrefEnv(
{ "set": [["dom.animations-api.core.enabled", true]]},
function() {
window.open("file_cubic_bezier_limits.html");
});
</script>

View File

@ -1,5 +1,7 @@
<!doctype html>
<meta charset=utf-8>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="../testcommon.js"></script>
<body>
<style>
@ -11,6 +13,7 @@
margin-left: 100px;
}
</style>
<div id="log"></div>
<script>
'use strict';
@ -161,7 +164,5 @@ test(function(t) {
}, 'Calculated values on both edges');
done();
</script>
</body>

View File

@ -1,14 +0,0 @@
<!doctype html>
<meta charset=utf-8>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<div id="log"></div>
<script>
'use strict';
setup({explicit_done: true});
SpecialPowers.pushPrefEnv(
{ "set": [["dom.animations-api.core.enabled", true]]},
function() {
window.open("file_disabled_properties.html");
});
</script>

View File

@ -1,7 +1,10 @@
<!doctype html>
<meta charset=utf-8>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="../testcommon.js"></script>
<body>
<div id="log"></div>
<script>
'use strict';
@ -66,6 +69,5 @@ promise_test(function(t) {
});
}, 'Specifying a disabled property using a keyframe sequence');
done();
</script>
</body>

View File

@ -8,7 +8,6 @@
setup({explicit_done: true});
SpecialPowers.pushPrefEnv(
{ "set": [
["dom.animations-api.core.enabled", true],
["layout.css.osx-font-smoothing.enabled", true],
["layout.css.prefixes.webkit", true]
] },

View File

@ -1,14 +0,0 @@
<!doctype html>
<meta charset=utf-8>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<div id="log"></div>
<script>
'use strict';
setup({explicit_done: true});
SpecialPowers.pushPrefEnv(
{ "set": [["dom.animations-api.core.enabled", true]]},
function() {
window.open("file_document-timeline-origin-time-range.html");
});
</script>

View File

@ -1,7 +1,10 @@
<!doctype html>
<meta charset=utf-8>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="../testcommon.js"></script>
<body>
<div id="log"></div>
<script>
'use strict';
@ -25,6 +28,5 @@ test(function(t) {
});
}, 'Calculated current time is negative infinity');
done();
</script>
</body>

View File

@ -1,14 +0,0 @@
<!doctype html>
<meta charset=utf-8>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<div id="log"></div>
<script>
'use strict';
setup({explicit_done: true});
SpecialPowers.pushPrefEnv(
{ "set": [["dom.animations-api.core.enabled", true]]},
function() {
window.open("file_hide_and_show.html");
});
</script>

View File

@ -1,5 +1,7 @@
<!doctype html>
<meta charset=utf-8>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="../testcommon.js"></script>
<style>
@keyframes move {
@ -15,6 +17,7 @@ div.pseudo::before {
</style>
<body>
<div id="log"></div>
<script>
'use strict';
@ -191,6 +194,5 @@ promise_test(function(t) {
}, 'CSS animation on pseudo element restarts after the pseudo element that ' +
'had a finished CSS animation is re-generated');
done();
</script>
</body>

View File

@ -8,11 +8,15 @@
SimpleTest.waitForExplicitFinish();
SimpleTest.expectAssertions(0, 1); // bug 1332970
SpecialPowers.pushPrefEnv(
{ 'set': [['dom.animations-api.core.enabled', true],
['layout.reflow.synthMouseMove', false],
['privacy.reduceTimerPrecision', false]] },
{
set: [
['layout.reflow.synthMouseMove', false],
['privacy.reduceTimerPrecision', false],
],
},
function() {
window.open('file_restyles.html');
});
}
);
</script>
</html>

View File

@ -1,14 +0,0 @@
<!doctype html>
<meta charset=utf-8>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<div id="log"></div>
<script>
'use strict';
setup({explicit_done: true});
SpecialPowers.pushPrefEnv(
{ "set": [["dom.animations-api.core.enabled", true]]},
function() {
window.open("file_restyling_xhr_doc.html");
});
</script>

View File

@ -1,6 +1,9 @@
<!doctype html>
<meta charset=utf-8>
<script src="../testcommon.js"></script>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<div id="log"></div>
<script>
'use strict';
@ -111,6 +114,4 @@ promise_test(t => {
}, 'Moving an element with a pending animation restyle to a document without'
+ ' a browsing context resets animation style');
done();
</script>

View File

@ -1,14 +0,0 @@
<!doctype html>
<meta charset=utf-8>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<div id="log"></div>
<script>
'use strict';
setup({explicit_done: true});
SpecialPowers.pushPrefEnv(
{ "set": [["dom.animations-api.core.enabled", true]]},
function() {
window.open("file_set-easing.html");
});
</script>

View File

@ -2,9 +2,12 @@
<head>
<meta charset=utf-8>
<title>Test setting easing in sandbox</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="../testcommon.js"></script>
</head>
<body>
<div id="log"></div>
<script>
"use strict";
@ -29,6 +32,5 @@ test(function(t) {
SpecialPowers.Cu.evalInSandbox(`(${contentScript.toSource()})()`, sandbox);
}, 'Setting easing should not throw any exceptions in sandbox');
done();
</script>
</body>

View File

@ -1,14 +0,0 @@
<!doctype html>
<meta charset=utf-8>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<div id="log"></div>
<script>
'use strict';
setup({explicit_done: true});
SpecialPowers.pushPrefEnv(
{ "set": [["dom.animations-api.core.enabled", true]]},
function() {
window.open("file_transform_limits.html");
});
</script>

View File

@ -1,7 +1,10 @@
<!doctype html>
<meta charset=utf-8>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="../testcommon.js"></script>
<body>
<div id="log"></div>
<script>
'use strict';
@ -49,7 +52,5 @@ test(function(t) {
'matrix(2, 0, 0, 2, ' + MAX_FLOAT + ', 0)');
}, 'Test that the parameter of transform matrix is clamped' );
done();
</script>
</body>

View File

@ -9,11 +9,14 @@ setup({explicit_done: true});
// This test appears like it might get racey and cause a timeout with too low of a
// precision, so we hardcode it to something reasonable.
SpecialPowers.pushPrefEnv(
{ "set":
[["dom.animations-api.core.enabled", true],
["privacy.reduceTimerPrecision", true],
["privacy.resistFingerprinting.reduceTimerPrecision.microseconds", 2000]]},
{
set: [
['privacy.reduceTimerPrecision', true],
['privacy.resistFingerprinting.reduceTimerPrecision.microseconds', 2000],
],
},
function() {
window.open("file_transition_finish_on_compositor.html");
});
window.open('file_transition_finish_on_compositor.html');
}
);
</script>

View File

@ -1,15 +0,0 @@
<!doctype html>
<meta charset=utf-8>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<div id="log"></div>
<script>
'use strict';
setup({explicit_done: true});
SpecialPowers.pushPrefEnv(
{ "set": [["dom.animations-api.core.enabled", true]]},
function() {
window.open("file_underlying-discrete-value.html");
});
</script>
</html>

View File

@ -1,7 +1,10 @@
<!doctype html>
<meta charset=utf-8>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="../testcommon.js"></script>
<body>
<div id="log"></div>
<script>
"use strict";
@ -198,6 +201,5 @@ discreteTests.forEach(testcase => {
}, testcase.explanation);
});
done();
</script>
</body>

View File

@ -1,15 +0,0 @@
<!doctype html>
<meta charset=utf-8>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<div id="log"></div>
<script>
'use strict';
setup({explicit_done: true});
SpecialPowers.pushPrefEnv(
{ "set": [["dom.animations-api.core.enabled", true]]},
function() {
window.open("file_animation-seeking-with-current-time.html");
});
</script>
</html>

View File

@ -14,9 +14,12 @@
to { margin-left: 100px; }
}
</style>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="../testcommon.js"></script>
</head>
<body>
<div id="log"></div>
<script type="text/javascript">
'use strict';
@ -115,7 +118,6 @@ promise_test(function(t) {
});
}, 'Seeking to \'in effect\' from non-\'in effect\' (active -> after)');
done();
</script>
</body>
</html>

View File

@ -1,15 +0,0 @@
<!doctype html>
<meta charset=utf-8>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<div id="log"></div>
<script>
'use strict';
setup({explicit_done: true});
SpecialPowers.pushPrefEnv(
{ "set": [["dom.animations-api.core.enabled", true]]},
function() {
window.open("file_animation-seeking-with-start-time.html");
});
</script>
</html>

View File

@ -14,9 +14,12 @@
to { margin-left: 100px; }
}
</style>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="../testcommon.js"></script>
</head>
<body>
<div id="log"></div>
<script type="text/javascript">
'use strict';
@ -115,7 +118,6 @@ promise_test(function(t) {
});
}, 'Seeking to \'in effect\' from non-\'in effect\' (active -> after)');
done();
</script>
</body>
</html>

View File

@ -1,15 +0,0 @@
<!doctype html>
<meta charset=utf-8>
<script src='/resources/testharness.js'></script>
<script src='/resources/testharnessreport.js'></script>
<div id='log'></div>
<script>
'use strict';
setup({explicit_done: true});
SpecialPowers.pushPrefEnv(
{ 'set': [['dom.animations-api.core.enabled', true]]},
function() {
window.open('file_animation-setting-effect.html');
});
</script>
</html>

View File

@ -3,9 +3,12 @@
<head>
<meta charset=utf-8>
<title>Tests for setting effects by using Animation.effect</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src='../testcommon.js'></script>
</head>
<body>
<div id="log"></div>
<script type='text/javascript'>
'use strict';
@ -119,7 +122,6 @@ test(function(t) {
}, 'After swapping effects of two playing animations, both animations are ' +
'still running with the same current time');
done();
</script>
</body>
</html>

Some files were not shown because too many files have changed in this diff Show More