Name Description Size Coverage
__init__.py 0 -
control.py Control channel between the client tests and the server Firefox. The client side of the backward compatibility tests runs as a browser mochitest inside the Firefox under test, and cannot act on the separate Firefox acting as the DevTools server. This module exposes the actions it needs over plain HTTP: POST /command {"name": "open-tab", "args": {"url": "..."}} The pages those actions load are served by the regular mochitest HTTP server, see FIXTURE_ROOT in helper-backward-compat.js. 5863 -
downloads.py Download and unpack a released Firefox to use as the DevTools server. Builds are fetched from the regular distribution channels, the same way browser/installer/linux/script/install-firefox.sh does for the linux-install-test tasks. Archives and unpacked builds are cached, keyed by the version that download.mozilla.org redirected to, so that repeated runs only re-download when the channel has moved on. 4644 -
fixtures -
logs.py Logging for the backward compatibility harness. 827 -
moz.build 1027 -
runner.py Local entry point for the DevTools backward compatibility tests. Provisions a "server" Firefox, then runs the client-side mochitest suite through mach with DEVTOOLS_COMPAT_CONFIG pointing at the provisioned server. In CI the same provisioning is driven by testing/mozharness/scripts/devtools_compat.py. 2002 -
servers.py Provisioning of the "server" Firefox used by the DevTools backward compatibility tests. Each recipe here produces a running Firefox with an open DevTools server socket, reachable from the client as a plain about:debugging network location. The client side of the tests never needs to know which recipe was used. 3888 -
session.py Provisioning session shared by the local and the CI entry points. Wraps everything the client tests need on the other end of the connection: the server Firefox, the control channel, and the JSON configuration file that DEVTOOLS_COMPAT_CONFIG points at. 2994 -