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)
Core
CSS Parsing and Computation
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.
Reporter | ||
Comment 1•8 years ago
|
||
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.
Comment 2•8 years ago
|
||
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.
Reporter | ||
Comment 3•8 years ago
|
||
We have 67 test files in dom/animation/test. 64 use testharness.js.
Comment 4•8 years ago
|
||
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".
Comment 5•8 years ago
|
||
(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.)
Comment 6•8 years ago
|
||
(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.
Reporter | ||
Comment 7•8 years ago
|
||
(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).
Updated•8 years ago
|
Priority: P3 → --
Updated•8 years ago
|
Priority: -- → P2
Updated•8 years ago
|
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.
Description
•