Commit Graph
230 Commits
Author SHA1 Message Date
Hubert Boma Manilla 96c349f580 Bug 2013481 - [devtools] Avoid setting autocomplete text from a transaction filter r=devtools-reviewers,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D291643
2026-04-26 22:06:42 +00:00
Hubert Boma Manilla 5f146374f4 Bug 2013481 - [devtools] Remove the pref checks for Autocompletion r=devtools-reviewers,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D290768
2026-04-26 22:06:40 +00:00
Hubert Boma Manilla 85cdd4bf91 Bug 2013481 - [devtools] Update the Autocompletion API's to support CM6 r=devtools-reviewers,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D290766
2026-04-26 22:06:38 +00:00
Hubert Boma Manilla 278d30f4e0 Bug 2013481 - [devtools] Add source editor API's to handle operations around the cursor position r=devtools-reviewers,perftest-reviewers,nchevobbe,sparky
Differential Revision: https://phabricator.services.mozilla.com/D290765
2026-04-26 22:06:36 +00:00
pstanciu f7ff215c7e Revert "Bug 2013481 - [devtools] Make sure we get actual variable definitions r=devtools-reviewers,nchevobbe" for causing WPT leak failures
This reverts commit 58d1d10790.

Revert "Bug 2013481 - [devtools] Avoid setting autocomplete text from a transaction filter r=devtools-reviewers,nchevobbe"

This reverts commit e85159f216.

Revert "Bug 2013481 - [devtools] Remove the pref checks for Autocompletion r=devtools-reviewers,nchevobbe"

This reverts commit 8329e7b7b5.

Revert "Bug 2013481 - [devtools] Update the Autocompletion API's to support CM6 r=devtools-reviewers,nchevobbe"

This reverts commit 3ca8e58daf.

Revert "Bug 2013481 - [devtools] Add source editor API's to handle operations around the cursor position r=devtools-reviewers,perftest-reviewers,nchevobbe,sparky"

This reverts commit 856a9a8d13.

Revert "Bug 2013481 - [devtools] Add cursor class for codemirror 6 r=devtools-reviewers,nchevobbe"

This reverts commit ca6c4826d4.
2026-04-26 21:14:39 +00:00
Hubert Boma Manilla e85159f216 Bug 2013481 - [devtools] Avoid setting autocomplete text from a transaction filter r=devtools-reviewers,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D291643
2026-04-26 17:31:16 +00:00
Hubert Boma Manilla 8329e7b7b5 Bug 2013481 - [devtools] Remove the pref checks for Autocompletion r=devtools-reviewers,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D290768
2026-04-26 17:31:13 +00:00
Hubert Boma Manilla 3ca8e58daf Bug 2013481 - [devtools] Update the Autocompletion API's to support CM6 r=devtools-reviewers,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D290766
2026-04-26 17:31:09 +00:00
Hubert Boma Manilla 856a9a8d13 Bug 2013481 - [devtools] Add source editor API's to handle operations around the cursor position r=devtools-reviewers,perftest-reviewers,nchevobbe,sparky
Differential Revision: https://phabricator.services.mozilla.com/D290765
2026-04-26 17:31:05 +00:00
Julian Descottes 02c359a70d Bug 2028930 - [devtools] Avoid toolbox crashes due to missing localization file r=nchevobbe,devtools-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D293945
2026-04-16 12:00:23 +00:00
Alexandra Borovova 574778d7e5 Bug 2005054 - [devtools] Extract "formatMessageParametersAndText" into a shared module to make it easier to reuse in WebDriver BiDi. r=devtools-reviewers,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D289754
2026-03-31 09:40:31 +00:00
Sylvestre Ledru 074b376055 Bug 2023419 - Remove Emacs/Vim modelines from devtools/ r=emilio,devtools-backward-compat-reviewers,devtools-reviewers,nchevobbe
replaced by .editorconfig
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D287841
2026-03-28 10:21:10 +00:00
Julian Descottes 9248164902 Bug 2026755 - [devtools] Bail out of JSTerm editor changes callback if already destroyed r=devtools-reviewers,nchevobbe
An event / changes handler is async and JSTerm might be destroyed midflight, leading to window leaks in tests.

Differential Revision: https://phabricator.services.mozilla.com/D290292
2026-03-27 07:42:30 +00:00
Hubert Boma Manilla 8eba0eb18b Bug 2019905 - [devtools] Toggle the editor gutter based on the editor mode vs inline mode r=devtools-reviewers,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D285398
2026-03-26 13:31:02 +00:00
Hubert Boma Manilla 782964ec67 Bug 2014714 - [devtools] Key bindings for CM6 r=devtools-reviewers,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D282504
2026-03-20 09:34:16 +00:00
Hubert Boma Manilla 3e06d32077 Bug 2020293 - [devtools] Enable CM6 Source Editor for JSTerm based on the preference r=devtools-reviewers,nchevobbe
Highlights of this patch
- Enables CM6 when the pref is set to true
- Autocompletion features are not working and disabled for CM6 (enabled in subsequent patch)
- No key bindings support for CM6 (support in subsequent patch)

Differential Revision: https://phabricator.services.mozilla.com/D282290
2026-03-20 09:34:14 +00:00
Alexandru Marc 630e6cf0e8 Revert "Bug 2023419 - Remove Emacs/Vim modelines from devtools/ r=emilio,devtools-backward-compat-reviewers,devtools-reviewers,nchevobbe" for causing devtools failures
This reverts commit ed535dace9.
2026-03-17 12:46:01 +00:00
Sylvestre Ledru ed535dace9 Bug 2023419 - Remove Emacs/Vim modelines from devtools/ r=emilio,devtools-backward-compat-reviewers,devtools-reviewers,nchevobbe
replaced by .editorconfig

Differential Revision: https://phabricator.services.mozilla.com/D287841
2026-03-17 12:03:34 +00:00
Hubert B Manilla 21260f873f Bug 2022166 - [devtools] Move shared debugger icons to a shared folder r=devtools-reviewers,ochameau
Differential Revision: https://phabricator.services.mozilla.com/D286898
2026-03-16 09:50:00 +00:00
Alexandru Marc 73d1dc9c20 Revert "Bug 2022166 - [devtools] Move shared debugger icons to a shared folder r=devtools-reviewers,ochameau" for causing devtools failures @ nsNetUtil
This reverts commit 811ab0573b.
2026-03-12 23:38:02 +00:00
Hubert B Manilla 811ab0573b Bug 2022166 - [devtools] Move shared debugger icons to a shared folder r=devtools-reviewers,ochameau
Differential Revision: https://phabricator.services.mozilla.com/D286898
2026-03-12 22:07:11 +00:00
Hubert Boma Manilla 655485ea0b Bug 2020293 - [devtools] Use source editor specific apis for text selection r=devtools-reviewers,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D286302
2026-03-10 06:17:44 +00:00
Serban Stanca f233b49863 Revert "Bug 2020293 - [devtools] Use source editor specific apis for text selection r=devtools-reviewers,nchevobbe" for causing devtools failures in browser_webconsole_network_attach.js.
This reverts commit b7b29c832e.
2026-03-10 02:04:41 +00:00
Hubert Boma Manilla b7b29c832e Bug 2020293 - [devtools] Use source editor specific apis for text selection r=devtools-reviewers,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D286302
2026-03-09 20:57:04 +00:00
rperta c879ab87d9 Revert "Bug 2020293 - [devtools] Use source editor specific apis for text selection r=devtools-reviewers,nchevobbe" for causing devtools related failures.
This reverts commit fdac847f97.
2026-03-09 11:27:22 +00:00
Hubert Boma Manilla fdac847f97 Bug 2020293 - [devtools] Use source editor specific apis for text selection r=devtools-reviewers,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D286302
2026-03-09 09:53:33 +00:00
Hubert Boma Manilla 5e7e190f81 Bug 2015281 - [devtools] SourceEditor API to get expression variables r=devtools-reviewers,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D282265
2026-03-04 09:11:42 +00:00
Julian Descottes 75d403291c Bug 2017628 - [devtools] lint: update react/sort-comp rule to expect instance variables before constructor r=frontend-codestyle-reviewers,devtools-reviewers,profiler-reviewers,nchevobbe,mossop
Differential Revision: https://phabricator.services.mozilla.com/D283883
2026-02-19 13:44:07 +00:00
Hubert Boma Manilla adda306932 Bug 2015292 - [devtools] Source Editor API to return the width of a character r=devtools-reviewers,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D282309
2026-02-13 05:02:35 +00:00
Hubert Boma Manilla 8765c15e32 Bug 2015287 - [devtools] SourceEditor API to get the text before the cursor position r=devtools-reviewers,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D282281
2026-02-13 05:02:26 +00:00
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
Nicolas Chevobbe 9afd55e6c3 Bug 1982823 - [devtools] Remove unnecessary display flex on buttons. r=devtools-reviewers,bomsy.
Bug 1873301 introduced some alignment regression which we worked around quickly (Bug 1977545, Bug 1977647),
but the regression was fixed in Bug 1977669, so the workaround aren't needed anymore.

Differential Revision: https://phabricator.services.mozilla.com/D260971
2025-08-18 10:14:01 +00:00
Nicolas Chevobbe 9606525bfb Bug 1977545 - [devtools] Align context selector button text and its icon. r=devtools-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D257465
2025-07-16 09:11:15 +00:00
Julian Descottes 077d55e8aa Bug 1976336 - [devtools] Center the search icon for Console reverse history search input r=devtools-reviewers,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D256529
2025-07-09 06:39:45 +00:00
hannajones ebb4af9656 Bug 1606785 - Format devtools CSS files with Prettier r=devtools-reviewers,nchevobbe,frontend-codestyle-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D249174
2025-05-28 02:08:02 +00:00
agoloman 63c83deb26 Revert "Bug 1606785 - Enable Prettier for CSS files r=desktop-theme-reviewers,Standard8,frontend-codestyle-reviewers,emilio" for causing multiple failures.
This reverts commit ec5fa1d4c0.

Revert "Bug 1606785 - Format Firefox CSS files with Prettier r=desktop-theme-reviewers,perftest-reviewers,places-reviewers,translations-reviewers,omc-reviewers,backup-reviewers,browser-installer-reviewers,sparky,dao,pdahiya,nrishel,kpatenio"

This reverts commit baa5d72bbd.

Revert "Bug 1606785 - Format browser/themes and toolkit/themes CSS files with Prettier r=desktop-theme-reviewers,pip-reviewers,tabbrowser-reviewers,places-reviewers,dao,mconley"

This reverts commit 9604b0a8ae.

Revert "Bug 1606785 - Format browser/themes/preferences CSS files with Prettier r=settings-reviewers,desktop-theme-reviewers,dao,mconley"

This reverts commit 686c1cf85f.

Revert "Bug 1606785 - Format urlbar CSS files with Prettier r=urlbar-reviewers,desktop-theme-reviewers,dao"

This reverts commit a7a4f31251.

Revert "Bug 1606785 - Format webcompat CSS files with Prettier r=webcompat-reviewers,denschub"

This reverts commit 41bc4d5237.

Revert "Bug 1606785 - Format search CSS files with Prettier r=search-reviewers,jteow"

This reverts commit 7bb7f82374.

Revert "Bug 1606785 - Format dom CSS files with Prettier r=emilio"

This reverts commit c22e910235.

Revert "Bug 1606785 - Format android CSS files with Prettier r=geckoview-reviewers,hiro"

This reverts commit c08e43fc3d.

Revert "Bug 1606785 - Format layout CSS files with Prettier r=layout-reviewers,dholbert"

This reverts commit 4f2a32d1a4.

Revert "Bug 1606785 - Format devtools CSS files with Prettier r=devtools-reviewers,nchevobbe,frontend-codestyle-reviewers"

This reverts commit c05f675ddf.

Revert "Bug 1606785 - Format recomp CSS files with Prettier r=reusable-components-reviewers,desktop-theme-reviewers,dao,mkennedy"

This reverts commit b10c7de8d0.

Revert "Bug 1606785 - Format sidebar CSS files with Prettier r=sidebar-reviewers,desktop-theme-reviewers,dao,nsharpley"

This reverts commit d32c555e37.

Revert "Bug 1606785 - Format shopping CSS files with Prettier r=shopping-reviewers,desktop-theme-reviewers,dao,rking"

This reverts commit 965887a708.

Revert "Bug 1606785 - Format profiles CSS files with Prettier r=profiles-reviewers,desktop-theme-reviewers,dao,mossop"

This reverts commit 8338860f74.

Revert "Bug 1606785 - Format genai and ml CSS files with Prettier r=firefox-ai-ml-reviewers,Mardak"

This reverts commit d66681f553.

Revert "Bug 1606785 - Format firefoxview CSS files with Prettier r=fxview-reviewers,desktop-theme-reviewers,dao,jsudiaman"

This reverts commit 530b815cad.

Revert "Bug 1606785 - Format aboutlogins, megalist, and form autofill CSS files with Prettier r=credential-management-reviewers,mtigley,desktop-theme-reviewers,dao"

This reverts commit 813c864381.
2025-05-21 04:49:28 +00:00
hannajones c05f675ddf Bug 1606785 - Format devtools CSS files with Prettier r=devtools-reviewers,nchevobbe,frontend-codestyle-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D249174
2025-05-21 03:54:40 +00:00
Nicolas Chevobbe e34d00fdf1 Bug 1959398 - [devtools] Remove devtools.webconsole.input.context pref. r=devtools-reviewers,ochameau.
Remove all occurences of the preference and consider it true
in the different places it was used.

Differential Revision: https://phabricator.services.mozilla.com/D244910
2025-04-09 14:26:25 +00:00
Alexandre Poirot e1f9301f4e Bug 1953578 - [devtools] Migrate all usage of react-prop-types CommonJS module to the ES Module version and remove the CommonJS version. r=devtools-reviewers,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D241594
2025-03-19 13:30: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 6fda8456bd Bug 1929387 - [devtools] Convert focus to ES Module. r=devtools-reviewers,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D229000
2025-03-05 17:06:00 +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
Alexandre Poirot 78a5ac6288 Bug 1943351 - [DevTools] Hide the console autocomplete popup when opening another panel. r=devtools-reviewers,jdescottes,nchevobbe
We were hiding it via some late action fired while the panel was already hidden.
This help fix browser_jsterm_autocomplete_mapped_variables.js which was failing
because of the popup consuming the click event when switching to the debugger.

Differential Revision: https://phabricator.services.mozilla.com/D236996
2025-02-06 19:17:48 +00:00
Goloman Adrian cdcdea13da Backed out 5 changesets (bug 1943351, bug 1943543) for causing bc failures @browser_ext_devtools_panel.js. CLOSED TREE
Backed out changeset bdf540812b20 (bug 1943351)
Backed out changeset d958cc2493a6 (bug 1943351)
Backed out changeset 9ad9f4004de4 (bug 1943351)
Backed out changeset cd2dd8259eba (bug 1943543)
Backed out changeset cd5fce018c5a (bug 1943543)
2025-02-06 16:40:58 +02:00
Alexandre Poirot 522c09af32 Bug 1943351 - [DevTools] Hide the console autocomplete popup when opening another panel. r=devtools-reviewers,jdescottes,nchevobbe
We were hiding it via some late action fired while the panel was already hidden.
This help fix browser_jsterm_autocomplete_mapped_variables.js which was failing
because of the popup consuming the click event when switching to the debugger.

Differential Revision: https://phabricator.services.mozilla.com/D236996
2025-02-06 13:41:09 +00:00
Alexandre Poirot faab93bf15 Bug 1935025 - [devtools] Sort worker targets alongside their related document in the evaluation context selector. r=devtools-reviewers,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D231024
2024-12-10 18:30:59 +00:00
Alexandre Poirot 48953d5abb Bug 1413872 - [devtools] Display content script alongside their related targets in console context selector. r=devtools-reviewers,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D228885
2024-12-10 18:30:58 +00:00
Alexandre Poirot 8417905eb2 Bug 1413872 - [devtools] Spawn dedicated target actors for Web Extension Content Scripts. r=devtools-backward-compat-reviewers,devtools-reviewers,rpl,nchevobbe
This should ultimately allow to pick up content script as an evaluation context in the console.

Differential Revision: https://phabricator.services.mozilla.com/D221035
2024-12-10 18:30:57 +00:00