[meta] Re-organize files under `dom/media` and divide them into subfolders by features
Categories
(Core :: Audio/Video: Playback, task, P3)
Tracking
()
People
(Reporter: alwu, Unassigned)
References
(Depends on 1 open bug)
Details
(Keywords: meta)
We have too many files under dom/media
and mess all the codes and tests together. Some browser tests for media code event wasn't put under dom/media
, it's a time to re-organize them and make its hierachy clearer.
Use this as a meta bug to track all related changes.
We've had some discussion around location of tests. It would be nice to have tests located closer to the code they're testing rather than in a big test dir. Further, it would be good to group different types of tests in a common way. My understanding of our discussion is a preference for having a test
dir (edit: or tests
, unless we want to nail down one), then breaking tests our further into subdirs like mochitest
, browser
, gtest
. So for eme we would have dom/media/eme/test/mochitests
for the mochitests.
Reporter | ||
Comment 2•4 years ago
|
||
In addition, the benefit of putting different tests to different folders is that they can use the corresponding eslint
config automatically.
Description
•