Bug 1325308 - Convert non-promise test to use regular test() function
MozReview-Commit-ID: LYbY7gvkDGG
deleted file mode 100644
--- a/testing/web-platform/meta/web-animations/timing-model/animations/current-time.html.ini
+++ /dev/null
@@ -1,5 +0,0 @@
-[current-time.html]
- type: testharness
- [The current time is calculated from the timeline time, start time and playback rate]
- expected: FAIL
-
--- a/testing/web-platform/tests/web-animations/timing-model/animations/current-time.html
+++ b/testing/web-platform/tests/web-animations/timing-model/animations/current-time.html
@@ -40,17 +40,17 @@ test(function(t) {
new Animation(new KeyframeEffect(createDiv(t), null, 100 * MS_PER_SEC),
document.timeline);
animation.startTime = null;
assert_equals(animation.currentTime, null);
}, 'The current time is unresolved when the start time is unresolved ' +
'(and no hold time is set)');
-promise_test(function(t) {
+test(function(t) {
var animation =
new Animation(new KeyframeEffect(createDiv(t), null, 100 * MS_PER_SEC),
document.timeline);
animation.playbackRate = 2;
animation.startTime = document.timeline.currentTime - 25 * MS_PER_SEC;
var timelineTime = document.timeline.currentTime;