Name Description Size Coverage
python.toml 118 -
test_trainhop_langpacks.py Startup smoke test for the trainhop newtab integration layer. Regression test for bug 2049845: an AboutNewTabResourceMapping observer cascade that explodes memory when a trainhop newtab XPI is registered while many langpacks are active. See browser/extensions/newtab/docs/v2-system-addon/trainhop-langpack-smoke.md. The test generates a minimal langpack for every locale in browser/locales/shipped-locales (what an MSIX/Snap/Flatpak bundles), so it reproduces the same scale on every project regardless of which locales a given build was repacked with. It installs them into a Marionette-driven Firefox, then calls AboutNewTabResourceMapping.registerFluentSources() against a minimal trainhop XPI that, like the shipped one, supports every shipped locale, while sampling peak RSS of the Firefox process tree. 7456 -