mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-15 17:55:15 -10:00
wpt test ids are URLs, and can have query components. This means that using `os.path.dirname` isn't a correct way to extract different parts of the URL In particular a test id like `/foo/bar/baz?foobar=sp/am` can lead to an invalid group name like `foo/bar/baz?foobar=sp`, which breaks the invariant that we can turn the group name into a filesystem path that may contain a __dir__.ini file with metadata for that group. The fix here is to correctly treat the test id as a URL using the same logic as in wptrunner. Differential Revision: https://phabricator.services.mozilla.com/D210783
Mozbase
Mozbase is a set of easy-to-use Python packages forming a supplemental standard library for Mozilla. It provides consistency and reduces redundancy in automation and other system-level software. All of Mozilla's test harnesses use mozbase to some degree, including Talos, mochitest, and reftest.
Learn more about mozbase at the project page.
Read detailed docs online, or build them locally by running "make html" in the docs directory.