Commit Graph
85 Commits
Author SHA1 Message Date
Greg Tatum cff6e11198 Bug 2018054 - Add a querySelectorDeep command r=omarg
In the Smart Window tests it can be quite confusing to query select and
find an element that you need access to. This commit creates a new
testing primitive that makes it easy to cut across shadow root
boundaries and query select through open or closed shadow roots. Many
Smart Window tests confuse the behavior of being blocked by a shadow
root, and being blocked by content being in a content process. This
reduces the potential confusion and complexity around selecting these
components, as frequently tests are using SpecialPowers.spawn to
unnecessarily complicate tests, when it's really just hidden within the
shadow dom.

Differential Revision: https://phabricator.services.mozilla.com/D297913
2026-05-24 11:43:38 +00:00
Sylvestre Ledru a2ce5437ce Bug 2024589 - doc: use the :searchfox: macro r=asuth,perftest-reviewers,necko-reviewers,mozperftest-reviewers,geckoview-reviewers,extension-reviewers,credential-management-reviewers,search-reviewers,releng-reviewers,places-reviewers,profiler-reviewers,win-reviewers,omc-reviewers,urlbar-reviewers,permissions-reviewers,core-sessionstore-reviewers,browser-installer-reviewers,layout-reviewers,dom-worker-reviewers,ai-platform-reviewers,niklas,sthompson,janerik,bhearsum,valentin,dshin,sparky,scunnane,canaltinova,hanna_a,handyman,ahal,farre,jteow,emz,nrishel,ohall,dimi,robwu,emilio
Differential Revision: https://phabricator.services.mozilla.com/D288640
2026-04-30 13:28:53 +00:00
Sylvestre Ledru 62b1ca8d05 Bug 2024589 - adjust the code: searchfox.org/mozilla-central is now redirecting to searchfox.org/firefox-main/ r=asuth,perftest-reviewers,necko-reviewers,jgraham,webcompat-reviewers,mozperftest-reviewers,geckoview-reviewers,extension-reviewers,credential-management-reviewers,devtools-reviewers,taskgraph-reviewers,releng-reviewers,desktop-theme-reviewers,win-reviewers,translations-reviewers,omc-reviewers,firefox-desktop-core-reviewers ,home-newtab-reviewers,core-sessionstore-reviewers,browser-installer-reviewers,profiles-reviewers,dom-worker-reviewers,geckodriver-reviewers,ai-platform-reviewers,Sasha,niklas,manuel,janerik,bhearsum,valentin,twisniewski,nchevobbe,emcminn,webrtc-reviewers,mjf,handyman,mconley,mossop,ahal,sparky,nrishel,robwu,ohall,dimi,hjones
Differential Revision: https://phabricator.services.mozilla.com/D288623
2026-04-30 13:28:49 +00:00
Sylvestre Ledru 4c12a81708 no bug - document the tree closure from the dev pov r=marco DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D291979
2026-04-17 11:11:19 +00:00
Alexandre Lissy a0cbc7a46d Bug 2029176 - Expand video recording capabilities r=padenot,releng-reviewers,mach-reviewers,ahal
Differential Revision: https://phabricator.services.mozilla.com/D292784
2026-04-14 18:07:41 +00:00
Sylvestre Ledru fcc46a2150 Bug 2015713 - doc: fix the language declarations to remove warnings r=geckoview-reviewers,devtools-reviewers,android-reviewers,nalexander,nchevobbe DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D282721
2026-02-11 09:50:50 +00:00
Paul Adenot cb48f18a1a Bug 2005164 - Mention screen recording and stressing in the docs page about debugging intermittents. r=Gijs DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D275765
2025-12-10 13:26:40 +00:00
Ted Campbell 4f27637b16 Bug 1870810 - Update mochitest.ini references to .toml in docs r=jmaher,devtools-reviewers,dom-storage-reviewers,omc-reviewers,urlbar-reviewers,dom-worker-reviewers,whimboo,home-newtab-reviewers,nchevobbe,edenchuang,mconley,jari,emcminn DONTBUILD
We previously migrated mochitest.ini (and friends) to be toml files but some
stray comments and documentation were not addressed at the time. Fix that now.

Differential Revision: https://phabricator.services.mozilla.com/D271518
2025-11-26 02:40:49 +00:00
Florian Quèze 621b1c4941 Bug 1995058 - document requesttimeoutfactor in the xpcshell test documentation, r=jmaher,Standard8.
Differential Revision: https://phabricator.services.mozilla.com/D269193
2025-10-21 08:45:09 +00:00
Mark Banner dde0952bd6 Bug 1994217 - Enable ESLint rule jsdoc/no-bad-blocks on the rest of the tree. r=frontend-codestyle-reviewers,Gijs
This is mainly automatic changes, with some manual fixes to move text off of the first line.

Differential Revision: https://phabricator.services.mozilla.com/D268570
2025-10-17 11:18:46 +00:00
Florian Quèze 6f5b97c94f Bug 1992513 - On mach try fuzzy, --profiler should be a shortcut for --env MOZ_PROFILER_STARTUP=1, r=ahal.
Differential Revision: https://phabricator.services.mozilla.com/D267487
2025-10-06 21:31:18 +00:00
Rob Wu 04b66025cf Bug 1991892 - Fix documentation on enabling the profiler on try r=florian
Differential Revision: https://phabricator.services.mozilla.com/D266988
2025-10-01 17:23:12 +00:00
Anna Yeddi [email protected] 0b592f9564 Bug 1988556 - Add recommendation to use Assert methods to the Test Functions section in Mochitest docs r=firefox-source-docs-reviewers,mconley,ahal
Differential Revision: https://phabricator.services.mozilla.com/D264823
2025-09-25 13:16:41 +00:00
Chris DuPuis 48fa53ed6f Bug 1891616 - Add xpcshell test to exercise install_dir_layout r=bytesized,frontend-codestyle-reviewers,mossop
Differential Revision: https://phabricator.services.mozilla.com/D238088
2025-06-18 19:40:00 +00:00
Julien Wajsberg 9c5ce67293 Bug 1814901 - Add some information about how to profile an xpcshell r=florian
Differential Revision: https://phabricator.services.mozilla.com/D253310
2025-06-11 12:12:37 +00:00
Julien Wajsberg 99b18511f2 Bug 1814901 - Move the "Debugging Intermittents" documentation to a more central location r=necko-reviewers,geckoview-reviewers,owlish,kershaw,ochameau
Differential Revision: https://phabricator.services.mozilla.com/D249601
2025-06-11 12:12:34 +00:00
Julien Wajsberg a81a55abb7 Bug 1814901 - Add some tips to firefox-source-docs about debugging intermittents with the Firefox Profiler r=florian,devtools-reviewers,ochameau
Differential Revision: https://phabricator.services.mozilla.com/D244758
2025-06-11 12:12:31 +00:00
Julien Wajsberg 6f0bcb3735 Bug 1957394 - Improve documentation about the paths served by the HTTP server in mochitests r=jmaher DONTBUILD
The base path is different for the the different types of mochitest.
This change documents it.

Differential Revision: https://phabricator.services.mozilla.com/D243663
2025-03-31 14:50:14 +00:00
Sandor Molnar 8813482655 Backed out 4 changesets (bug 1891616) for causing Gtest failures.
Backed out changeset dc2df0951f2d (bug 1891616)
Backed out changeset be167306c141 (bug 1891616)
Backed out changeset 779e43f7bf47 (bug 1891616)
Backed out changeset 883ad5151426 (bug 1891616)
2025-03-05 22:31:40 +02:00
Chris DuPuis b295f3987f Bug 1891616 - Add xpcshell test to exercise install_dir_layout r=bytesized,frontend-codestyle-reviewers,mossop
Differential Revision: https://phabricator.services.mozilla.com/D238088
2025-03-05 15:57:42 +00:00
Julian Descottes 5a8e405c0c Bug 1946568 - Call DevTools helper to dump test variables when an assert fails r=jmaher
Depends on D238207

Differential Revision: https://phabricator.services.mozilla.com/D238114
2025-02-18 13:41:35 +00:00
Sylvestre Ledru 5fdc391054 Bug 1936368 - doc: fix the link to "SpecialPowers" r=ahal DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D234647
2025-01-19 08:05:35 +00:00
Sylvestre Ledru 0a5968ebe2 Bug 1936365 - doc: remove the description of the "File type" key r=aryx DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D234649
2025-01-18 13:42:17 +00:00
Paul Adenot 93023a39b2 Bug 1940039 - Add documentation for recording the desktop during testing, including on try and on macOS DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D233242
2025-01-06 10:38:31 +00:00
Tooru Fujisawa d2cbbaabbc Bug 1934066 - Update xpcshell test document to use ESM-based API. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D230577
2024-11-29 05:25:54 +00:00
ogiorgis 56f3832975 Bug 1928349 - fix typo in bugzillarc file name in doc r=firefox-source-docs-reviewers,ahal DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D228443
2024-11-13 11:50:44 +00:00
Sebastian Hengst 70de352a34 Bug 1924783 - skip-fails docs: correct 'new-task-config' to 'new-test-config'. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D225670
2024-10-15 15:41:06 +00:00
Alexandre Lissy f37f0d474a Bug 1892254 - GNOME Screencast r=jcristau
Differential Revision: https://phabricator.services.mozilla.com/D220993
2024-09-12 16:46:42 +00:00
Mark Banner 25f5b7aceb Bug 1915550 - Fix unknown target name issues in rst documents. r=sylvestre,profiler-reviewers,canaltinova
Differential Revision: https://phabricator.services.mozilla.com/D220534
2024-09-02 14:38:08 +00:00
Sam Foster 192ff25f1b Bug 1906186 - Document the how of setting more than one pref value when running mochitests. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D215702
2024-07-04 10:40:46 +00:00
Sylvestre Ledru 465abc3a26 Bug 1823310 - doc: fix the link to reftests DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D215181
2024-06-28 09:56:31 +00:00
Simon Friedberger eb7f6dc65f No bug: Replace xpcshell.ini with xpcshell.toml in parts of the documentation.
Differential Revision: https://phabricator.services.mozilla.com/D209788
2024-05-08 22:29:51 +00:00
Anna Yeddi bfdd232164 Bug 1893033 - Expand a11y-checks debugging documentation in the Mochitest FAQ. r=Jamie
Add more FAQs for engineers working with the a11y_checks results and include a link to the Mochitest FAQ to debug a11y-checks in the Accessibility docs section.

Differential Revision: https://phabricator.services.mozilla.com/D208393
2024-05-06 16:32:54 +00:00
Andrew Halberstadt a680bcd3e1 Bug 1868440 - [ci] Upgrade taskcluster-taskgraph to v7.4.0, r=perftest-reviewers,geckoview-reviewers,ci-and-tooling,devtools-reviewers,taskgraph-reviewers,releng-reviewers,mach-reviewers,omc-reviewers,jmaher,hneiva,aminomancer,jari,dom-storage-reviewers,afinder,asuth,bhearsum,owlish
Differential Revision: https://phabricator.services.mozilla.com/D206260
2024-04-18 20:39:09 +00:00
Stanca Serban 3dbb534055 Backed out 2 changesets (bug 1868440) for gecko decision task broken. CLOSED TREE
Backed out changeset 4b22948d849a (bug 1868440)
Backed out changeset 837bdcb3694a (bug 1868440)
2024-04-18 21:25:43 +03:00
Andrew Halberstadt ef4f1e168b Bug 1868440 - [ci] Upgrade taskcluster-taskgraph to v7.4.0, r=perftest-reviewers,geckoview-reviewers,ci-and-tooling,devtools-reviewers,taskgraph-reviewers,releng-reviewers,mach-reviewers,omc-reviewers,jmaher,hneiva,aminomancer,jari,dom-storage-reviewers,afinder,asuth,bhearsum,owlish
Differential Revision: https://phabricator.services.mozilla.com/D206260
2024-04-18 17:50:50 +00:00
Paul Adenot 49e28d74e0 Bug 1860492 - Adjust docs. r=media-playback-reviewers,alwu
Differential Revision: https://phabricator.services.mozilla.com/D204647
2024-04-04 15:02:41 +00:00
Narcis Beleuzu 36601e4357 Backed out 14 changesets (bug 1860492) for mda failure on test_closing_connections
Backed out changeset 9b8435c1c982 (bug 1860492)
Backed out changeset 08603e5ea8a0 (bug 1860492)
Backed out changeset 93086bc64d37 (bug 1860492)
Backed out changeset f8cbb9933469 (bug 1860492)
Backed out changeset f5e2a92235f1 (bug 1860492)
Backed out changeset 0038d6d54690 (bug 1860492)
Backed out changeset 24a1fb93d4a8 (bug 1860492)
Backed out changeset c2c11ee3f79f (bug 1860492)
Backed out changeset 9983c1ddee85 (bug 1860492)
Backed out changeset b9286e049dea (bug 1860492)
Backed out changeset d1d98783c88d (bug 1860492)
Backed out changeset 22dd17861e80 (bug 1860492)
Backed out changeset 7d823668fba7 (bug 1860492)
Backed out changeset 024863677345 (bug 1860492)
2024-04-04 01:43:26 +03:00
Paul Adenot 07501aa45e Bug 1860492 - Adjust docs. r=media-playback-reviewers,alwu
Differential Revision: https://phabricator.services.mozilla.com/D204647
2024-04-03 11:11:48 +00:00
Stanca Serban f60752de7e Backed out 13 changesets (bug 1860492) for causing multiple failures.
Backed out changeset 1b6bef229ce4 (bug 1860492)
Backed out changeset 22a3235fe2dc (bug 1860492)
Backed out changeset a5b2e4d12e44 (bug 1860492)
Backed out changeset cbcb811ca382 (bug 1860492)
Backed out changeset d6a999866f19 (bug 1860492)
Backed out changeset 40cee82fa090 (bug 1860492)
Backed out changeset eeec1917ab49 (bug 1860492)
Backed out changeset cf1230802d5c (bug 1860492)
Backed out changeset b34aacf0e966 (bug 1860492)
Backed out changeset 45d137c795f1 (bug 1860492)
Backed out changeset fb667be5932d (bug 1860492)
Backed out changeset a6d22d73c8a5 (bug 1860492)
Backed out changeset c8b6c53698f5 (bug 1860492)
2024-03-22 18:18:12 +02:00
Paul Adenot 55c1432a54 Bug 1860492 - Adjust docs. r=media-playback-reviewers,alwu
Differential Revision: https://phabricator.services.mozilla.com/D204647
2024-03-22 14:16:39 +00:00
Mark Banner 48509525c0 Bug 1885723 - Fix more jsm references in testing/. r=jmaher,webdriver-reviewers,Sasha
Differential Revision: https://phabricator.services.mozilla.com/D204849
2024-03-19 08:59:12 +00:00
Anna Yeddi f973bc2e63 Bug 1878429 - Add a11y-checks flag to the Mochitest FAQ on testing/mochitest-plain/faq documentation. r=Jamie
Include a mention of an accessibility checks that have been expanded in the bug 1692110 and are now better with catching an inaccessible controls in the code.

Differential Revision: https://phabricator.services.mozilla.com/D201613
2024-02-15 17:48:09 +00:00
Joel Maher 7f10edd8bc Bug 1879244 - Add documentation for greening up tests with --new-test-config. r=aryx
Differential Revision: https://phabricator.services.mozilla.com/D201041
2024-02-09 14:56:47 +00:00
Gijs Kruitbosch 9547bd9ce0 Bug 1780071 - add eslint rule for misuse of assignments or conditions inside ok(), r=linter-reviewers,Standard8
Differential Revision: https://phabricator.services.mozilla.com/D198593
2024-01-17 15:04:34 +00:00
Sylvestre Ledru 039b87de4b Bug 1519636 - Remove nbsp in the perfdoc doc r=perftest-reviewers,aglavic,jmaher
Differential Revision: https://phabricator.services.mozilla.com/D195402
2023-12-07 13:35:58 +00:00
Tooru Fujisawa 9412fea791 Bug 1864387 - Update mochitest browser chrome docs to use toml. r=jmaher DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D193404
2023-11-13 14:28:13 +00:00
Tooru Fujisawa 9e70836ca8 Bug 1839519 - Part 2: Convert reftest JSM to ESM. r=tnikkel
Depends on D192840

Differential Revision: https://phabricator.services.mozilla.com/D192841
2023-11-08 00:01:58 +00:00
Joel Maher 8e9e642aea Bug 1857619 - Add docs for confirm failure and other methods to understand try results. r=aryx,calixte
Differential Revision: https://phabricator.services.mozilla.com/D190358
2023-10-10 16:07:08 +00:00
Joel Maher 913051bfa1 Bug 1850785 - add firefox source docs for single tracking bugs. r=aryx
Differential Revision: https://phabricator.services.mozilla.com/D189990
2023-10-04 14:59:36 +00:00