Closed Bug 1346103 Opened 8 years ago Closed 8 years ago

stylo: Enable mochitests in dom/animation/test

Categories

(Core :: CSS Parsing and Computation, enhancement, P2)

enhancement

Tracking

()

RESOLVED DUPLICATE of bug 1383980

People

(Reporter: hiro, Unassigned)

References

Details

We have a bunch of test cases for animations. Some of tests in there are totally unrelated to stylo (e.g. document timeline tests), but some of them are related to. We should run these tests.
Initially I thought we can re-use stylo-failures.md extension, which we can use for mochitest in layout/style/test, but unfortunately it does not support testharness.js yet.
If there are non-trivial number of tests which use testharness.js, we probably should try integrate the failure pattern into that as well. I didn't prioritize that because there weren't a lot in layout/style/test.
Depends on: 1353218
We have 67 test files in dom/animation/test. 64 use testharness.js.
FWIW, we can always enable tests which do not fail. Also, failure pattern file can handle assertions on testharness.js tests. That means you can include those tests in the automation with failing tests marked as "skip-if = stylo".
(This is a separate bug, I guess, but I wonder about web-platform-tests too. We have a bunch of tests there for things like the result of getKeyframes() which we definitely need to test with Servo.)
(In reply to Brian Birtles (:birtles) from comment #5) > (This is a separate bug, I guess, but I wonder about web-platform-tests too. > We have a bunch of tests there for things like the result of getKeyframes() > which we definitely need to test with Servo.) Yes, we should create a bug for wpt test (e.g. web-animations). I tested them before, and most of them in web-animations are passed; however, some are crashed. We can add a meta file to disable them if possible.
(In reply to Boris Chiou [:boris] from comment #6) > (In reply to Brian Birtles (:birtles) from comment #5) > > (This is a separate bug, I guess, but I wonder about web-platform-tests too. > > We have a bunch of tests there for things like the result of getKeyframes() > > which we definitely need to test with Servo.) > > Yes, we should create a bug for wpt test (e.g. web-animations). I tested > them before, and most of them in web-animations are passed; however, some > are crashed. We can add a meta file to disable them if possible. I just upload a patch for bug 1326131. With the patch, all wpt for animations will work without crashes (I just checked web-animations/interfaces directory though).
Priority: P3 → --
Priority: -- → P2
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.