Commit Graph
44 Commits
Author SHA1 Message Date
Mark Banner b38cd3110b Bug 1999554 - Automatically fix ESLint rule jsdoc/check-types for devtools/. r=devtools-reviewers,devtools-backward-compat-reviewers,profiler-reviewers,canaltinova
Differential Revision: https://phabricator.services.mozilla.com/D272173
2025-11-21 16:16:08 +00:00
Mark Banner 2542790f53 Bug 1998787 - Automatic fixes for enabling ESLint jsdoc/tag-line rule everywhere. r=frontend-codestyle-reviewers,mtigley,perftest-reviewers,nchevobbe,home-newtab-reviewers,Gijs,mconley,sparky
Differential Revision: https://phabricator.services.mozilla.com/D271745
2025-11-10 21:27:12 +00:00
Mark Banner 3cc3379c8f Bug 1881701 - Change the devtools configurations to work with the ESLint flat configuration.r=devtools-reviewers,profiler-reviewers,julienw,nchevobbe
This consolidates the jest environment definition, and the xpcshell globals into the devtools/.eslintrc.mjs file, for easier configurations.
It also changes the restart of the configurations to work with flat config.

Differential Revision: https://phabricator.services.mozilla.com/D249948
2025-05-24 17:10:59 +00:00
Mark Banner d7c7c5369b Bug 1881701 - Rename many ESLint files to use .mjs. r=frontend-codestyle-reviewers,perftest-reviewers,Gijs,sparky,webcompat-reviewers,twisniewski
This is separate to help preserve history of the files.

Differential Revision: https://phabricator.services.mozilla.com/D249945
2025-05-24 17:10:51 +00:00
Alexandre Poirot 26260731f1 Bug 1953578 - [devtools] Migrate all usage of react CommonJS module to the ES Module version and remove the CommonJS version. r=devtools-reviewers,profiler-reviewers,nchevobbe,canaltinova
Differential Revision: https://phabricator.services.mozilla.com/D241593
2025-03-19 13:30:51 +00:00
Alexandre Poirot 49e23bea5b Bug 1953578 - [devtools] Migrate all usage of react-dom CommonJS module to the ES Module version and remove the CommonJS version. r=profiler-reviewers,devtools-reviewers,canaltinova,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D241280
2025-03-19 13:30:50 +00:00
Alexandre Poirot 35e7d6f96b Bug 1929387 - [devtools] Remove other node tests involving reps. r=devtools-reviewers,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D230121
2025-03-05 17:05:57 +00:00
Alexandre Poirot a1f71632ba Bug 1929387 - [devtools] Convert Reps to ES Modules. r=devtools-reviewers,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D228996
2025-03-05 17:05:55 +00:00
Mark Banner d0718e3c69 Bug 1937739. r=frontend-codestyle-reviewers,perftest-reviewers,mossop,sparky
Differential Revision: https://phabricator.services.mozilla.com/D232598
2024-12-19 17:05:08 +00:00
Logan Rosen d24c9d9ff4 Bug 1857834 - auto-formatting with Prettier v3 r=linter-reviewers,webdriver-reviewers,perftest-reviewers,search-reviewers,devtools-reviewers,sync-reviewers,reusable-components-reviewers,profiler-reviewers,dom-storage-reviewers,android-reviewers,firefox-ai-ml-reviewers,hjones,mcheang,mstange,sparky,janv,nchevobbe,tarek,Standard8,markh
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D230598
2024-11-29 15:18:25 +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
Nicolas Chevobbe 57341aba6c Bug 1836754 - [devtools] Move accessibility.progress.* strings to Fluent. r=devtools-reviewers,fluent-reviewers,flod,jdescottes.
Update test to check Localized props instead of resulting text content.

Differential Revision: https://phabricator.services.mozilla.com/D179958
2023-06-06 13:17:23 +00:00
Mark Banner 91fde42f7b Bug 1826062 - Automatic fixes for Prettier 2.0.5 upgrade. r=mossop,perftest-reviewers,webcompat-reviewers,geckoview-reviewers,denschub,devtools-reviewers,sparky,owlish
Differential Revision: https://phabricator.services.mozilla.com/D177025
2023-05-20 12:26:49 +00:00
Mark Banner 0fadbc1ec4 Bug 1829618 - Enable Prettier on json files (automatic fixes). r=perftest-reviewers,webcompat-reviewers,extension-reviewers,andi,desktop-theme-reviewers,pip-reviewers,devtools-reviewers,sync-reviewers,mossop,denschub,dao,sparky,robwu,geckoview-reviewers,owlish
Differential Revision: https://phabricator.services.mozilla.com/D176336
2023-05-09 16:14:51 +00:00
Alexandre Poirot bde1f19196 Bug 1792847 - [devtools] Allow node/jest to load modules from absolute resource:// URLs. r=jdescottes
Note that TreeView is blocked by jsonview, and only devtools/client is being moved to resource:// URIs

Differential Revision: https://phabricator.services.mozilla.com/D158325
2022-09-30 15:17:40 +00:00
Alexandre Poirot ed5a84b6f8 Bug 1792847 - [devtools] Use absolute URLs to import modules in devtools/client/accessibility. r=jdescottes,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D158369
2022-09-30 15:17:34 +00:00
Julian Descottes 4f83a3009d Bug 1729625 - [devtools] Remove beta label from Show Tabbing Order widget r=nchevobbe
Depends on D124804

Differential Revision: https://phabricator.services.mozilla.com/D124889
2021-09-08 08:20:29 +00:00
Julian Descottes 34d169f646 Bug 1729470 - [devtools] Fix tabbing order label wrap in vertical layouts r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D124804
2021-09-08 08:20:28 +00:00
Nicolas Chevobbe 5296c0b703 Bug 1557247 - [devtools] Share node global shims and mocks across panels. r=bomsy.
This patch adds a shared-node-helper function that, for now,
exposes a single setMocksInGlobal function. This function
adds node global missing apis (e.g. requestAnimationFrame, indexedDB, ...),
and is called from the different node setup files, than can then be cleaned up.
For some reason, a debugger test had to be updated to pass.

Differential Revision: https://phabricator.services.mozilla.com/D99471
2021-01-12 07:08:21 +00:00
Nicolas Chevobbe 8b4a33684f Bug 1557247 - [devtools] Share jest config and fixtures across panels. r=ladybenko.
This creates a new devtools/client/shared/test-helpers folder in which we add
a share jest config, which define a `moduleNameMapper` option with all the
different fixtures that were used in the codebase.

The fixtures were moved from different panels to a jest-fixtures folder and
the one that were left unused are removed.
Some fixtures file needed to be modified to satisfy eslint rules.

Differential Revision: https://phabricator.services.mozilla.com/D99470
2021-01-12 12:32:12 +00:00
Yura Zenevich 8776c83752 Bug 1654956 - add UI for displaying tabbing order overlay in the accessibility panel. r=jdescottes,devtools-backward-compat-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D94926
2020-11-03 15:33:16 +00:00
Nicolas Chevobbe 2b9d891926 Bug 1672937 - [devtools] Remove l10n fixtures in accessibility jest tests. r=yzen.
Those fixtures aren't needed anymore since the l10n module supports
Node environment.
Tests and stubs were updated accordingly so we now have the actual
properties values instead of their keys.

Depends on D94571

Differential Revision: https://phabricator.services.mozilla.com/D94572
2020-10-24 06:05:07 +00:00
Nicolas Chevobbe 66ab38cb54 Bug 1669956 - [devtools] Fix Reps support for the JSON Viewer. r=Honza.
This turns all the existing reps modules into AMD modules,
so they can be loaded in the JSON Viewer without trouble.
This means we had to change the test configuration so Reps
jest test can run.

Differential Revision: https://phabricator.services.mozilla.com/D93394
2020-10-14 14:52:11 +00:00
Nicolas Chevobbe c818adcca1 Bug 1669956 - [devtools] Fix accessibility jest test. r=jdescottes.
Since the accessibility import the ObjectInspector, we need to add another
babel transformer to take care of it.

Differential Revision: https://phabricator.services.mozilla.com/D93389
2020-10-14 11:44:42 +00:00
Nicolas Chevobbe 45e20cc0c1 Bug 1669956 - [devtools] Update require paths to reps modules. r=jdescottes.
Differential Revision: https://phabricator.services.mozilla.com/D93354
2020-10-14 11:24:17 +00:00
Julian Descottes 96670683c4 Bug 1629890 - Use Front/Actor::isDestroyed to replace actorID checks r=nchevobbe
Depends on D86325

Differential Revision: https://phabricator.services.mozilla.com/D86356
2020-08-12 11:33:44 +00:00
Julian Descottes df0567bb2c Bug 1472821 - Support array of String for lazyRequireGetter r=nchevobbe,rcaliman
Differential Revision: https://phabricator.services.mozilla.com/D85268
2020-08-03 05:43:59 +00:00
Marco Zehe aa0f7eeadf Bug 1596018 - Mark all presentational divs that might become scrollable, with a tabindex of -1 so they are not reached when tabbing, r=yzen
Differential Revision: https://phabricator.services.mozilla.com/D79019
2020-06-12 11:11:50 +00:00
Razvan Maries 8261d91dd6 Backed out changeset 04b11bcd330e (bug 1596018) for perma failures on test_accessible_contrast.html. CLOSED TREE 2020-06-11 21:30:29 +03:00
Marco Zehe edc4ffcc41 Bug 1596018 - Mark all presentational divs that might become scrollable, with a tabindex of -1 so they are not reached when tabbing, r=yzen
Differential Revision: https://phabricator.services.mozilla.com/D79019
2020-06-11 14:55:24 +00:00
Daisuke Akatsuka 6dae56cff2 Bug 1620098: Show HTMLTooltip in html document as XUL popup. r=bgrins,jdescottes,mtigley,yzen,bdahl,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D67983
2020-05-07 23:33:57 +00:00
Jason Laster 57fded74c7 Bug 1622996 - Refactor devtools codebase to use optional chaining. r=jdescottes
Depends on D67540

Differential Revision: https://phabricator.services.mozilla.com/D67084
2020-03-19 21:11:12 +00:00
Mark Banner d375cfec54 Bug 1620542 - Automatically fix ESLint errors in .eslintrc.js files. r=mossop
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D65703
2020-03-07 10:09:44 +00:00
Julian Descottes 150349d1c5 Bug 1596686 - Use absolute paths for require calls r=gl
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D58243
2019-12-27 12:23:47 +00:00
Razvan Maries 0f5ce38e4c Backed out changeset 14698fa06ab8 (bug 1596686) for causing perma fails on browser_json_refresh.js. 2019-12-27 14:01:24 +02:00
Julian Descottes 3fa1b45876 Bug 1596686 - Use absolute paths for require calls r=gl
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D58243
2019-12-27 09:09:51 +00:00
Yura Zenevich e15be16e4a Bug 1590493 - remove unnecessary calls to actorHasMethod and update supports state across the panel. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D54569
2019-11-28 15:37:18 +00:00
Noemi Erli 0c06b25cea Backed out 2 changesets (bug 1590493, bug 1592300) for causing ES Lint failure in test_accessible_row_context_menu.html CLOSED TREE
Backed out changeset 1a5752d4bceb (bug 1592300)
Backed out changeset 51eac37a4bbf (bug 1590493)
2019-11-28 02:39:42 +02:00
Yura Zenevich a0d7fa9a2b Bug 1590493 - remove unnecessary calls to actorHasMethod and update supports state across the panel. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D54569
2019-11-27 23:04:21 +00:00
Yura Zenevich fb4527f30f Bug 1598060 - access accessibility walker front through accessible front wherever possible. r=rcaliman
Differential Revision: https://phabricator.services.mozilla.com/D54528
2019-11-26 19:03:11 +00:00
Nicolas Chevobbe 2868434066 Bug 1590974 - Pass the toolbox document to MenuButton in the a11y panel. r=yzen.
This makes it possible for the menus to not be constrained
to the panel boundaries if they are taller than the panel
itself (which could be the case for the simulate menu as
it has lots of items).
We need to style the button with a link role in the toolbox
CSS so they don't look like real buttons.

Differential Revision: https://phabricator.services.mozilla.com/D50461
2019-11-04 06:38:37 +00:00
Julian Descottes 688411a2f4 Bug 1589597 - Rename accessibility jest test folder to node r=ladybenko
Depends on D49707
Following the naming convention decided in RFC Bug 1564431

Differential Revision: https://phabricator.services.mozilla.com/D49708
2019-10-18 13:56:15 +00:00