Files
firefox/testing/mozbase
James Graham 19170fb71f Bug 1897403 - Handle wpt test id as a URL when computing group name, r=Sasha
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
2024-05-17 17:52:41 +00:00
..
…

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.

Consult open bugs and feel free to file new bugs.