Commit Graph
4625 Commits
Author SHA1 Message Date
Hubert B Manilla 49283d1c7d Bug 2041780 - [devtools] Pretty printing stylesheets in the debugger r=devtools-reviewers,ochameau
Differential Revision: https://phabricator.services.mozilla.com/D305022
2026-06-12 07:24:26 +00:00
Hubert B Manilla 1b9a5776fa Bug 2043267 - [devtools] Editing stylesheets in the debugger r=devtools-reviewers,ochameau
Differential Revision: https://phabricator.services.mozilla.com/D303071
2026-06-12 07:24:24 +00:00
Hubert B Manilla 25a5041fba Bug 2045710 - [devtools] Fix and add style sheet related test r=devtools-reviewers,ochameau
Differential Revision: https://phabricator.services.mozilla.com/D301057
2026-06-12 07:24:22 +00:00
agoloman f008f80b1e Revert "Bug 2041780, Bug 2043267, Bug 2045710 - [devtools] Pretty printing stylesheets in the debugger r=devtools-reviewers,ochameau" for causing dt failures @browser_dbg-javascript-tracer-sidebar.js.
This reverts commit 1d08a5cd99.

Revert "Bug 2043267 - [devtools] Editing stylesheets in the debugger r=devtools-reviewers,ochameau"

This reverts commit 813e0fadb5.

Revert "Bug 2045710 - [devtools] Fix and add style sheet related test r=devtools-reviewers,ochameau"

This reverts commit 2fc4893d8a.
2026-06-12 06:37:36 +00:00
Hubert B Manilla 1d08a5cd99 Bug 2041780 - [devtools] Pretty printing stylesheets in the debugger r=devtools-reviewers,ochameau
Differential Revision: https://phabricator.services.mozilla.com/D305022
2026-06-12 04:49:04 +00:00
Hubert B Manilla 813e0fadb5 Bug 2043267 - [devtools] Editing stylesheets in the debugger r=devtools-reviewers,ochameau
Differential Revision: https://phabricator.services.mozilla.com/D303071
2026-06-12 04:49:02 +00:00
Hubert B Manilla 2fc4893d8a Bug 2045710 - [devtools] Fix and add style sheet related test r=devtools-reviewers,ochameau
Differential Revision: https://phabricator.services.mozilla.com/D301057
2026-06-12 04:49:00 +00:00
Cristian Tuns bf6ae1ed70 Revert "Bug 2043267, Bug 2045710 - [devtools] Editing stylesheets in the debugger r=devtools-reviewers,ochameau" for causing node failures in devtools/client/*
This reverts commit c07fcd7808.

Revert "Bug 2045710 - [devtools] Fix and add style sheet related test r=devtools-reviewers,ochameau" for causing node failures in devtools/client/*

This reverts commit e46af7df05.
2026-06-11 23:27:54 +00:00
Hubert B Manilla c07fcd7808 Bug 2043267 - [devtools] Editing stylesheets in the debugger r=devtools-reviewers,ochameau
Differential Revision: https://phabricator.services.mozilla.com/D303071
2026-06-11 22:57:08 +00:00
Hubert B Manilla e46af7df05 Bug 2045710 - [devtools] Fix and add style sheet related test r=devtools-reviewers,ochameau
Differential Revision: https://phabricator.services.mozilla.com/D301057
2026-06-11 22:57:06 +00:00
Alexandre Poirot 7be968a393 Bug 2046098 - [devtools] Use TargetFront instead of its actorID in debugger frontend. r=devtools-reviewers,bomsy
Differential Revision: https://phabricator.services.mozilla.com/D305628
2026-06-10 07:56:07 +00:00
Hubert B Manilla 6eb0472d84 Bug 2011550 - [devtools] First steps styling to match the Style Editor syntax highlighting r=devtools-reviewers,nchevobbe
- Use the correct mode when loading style sheet content
- Update some token keywords, numbers etc to match the colors in the
  style editor.
- Note: There will be followup work as the project progresses

Differential Revision: https://phabricator.services.mozilla.com/D301056
2026-06-05 16:42:10 +00:00
Hubert B Manilla 446969680d Bug 2011550 - [devtools] Show external stylesheets in the debugger r=devtools-reviewers,ochameau
This patch is first basic patch to list external styles sheets in the debugger and
show the contents in the editor.

Differential Revision: https://phabricator.services.mozilla.com/D299410
2026-06-05 16:42:08 +00:00
Hubert B Manilla d1cced45b1 Bug 2011550 - [devtools] Make the create methods for script sources more specific r=devtools-reviewers,ochameau
Differential Revision: https://phabricator.services.mozilla.com/D301042
2026-06-03 05:36:39 +00:00
Hubert B Manilla 82250a1e18 Bug 2011550 - [devtools] Cleanup the source actor object r=devtools-reviewers,ochameau
- Use the id the of the source for the source actor `source` property
 - Remove the `url` property from the source actor.

Differential Revision: https://phabricator.services.mozilla.com/D299409
2026-06-03 05:36:37 +00:00
Norisz Fay 455dcb4c21 Revert "Bug 2011550 - [devtools] Make the create methods for script sources more specific r=devtools-reviewers,ochameau" for causing multiple devtools failures
This reverts commit 55b57c396d.

Revert "Bug 2011550 - [devtools] Cleanup the source actor object r=devtools-reviewers,ochameau"

This reverts commit 44fd7b4df2.
2026-05-31 22:46:32 +00:00
Hubert B Manilla 55b57c396d Bug 2011550 - [devtools] Make the create methods for script sources more specific r=devtools-reviewers,ochameau
Differential Revision: https://phabricator.services.mozilla.com/D301042
2026-05-31 21:57:26 +00:00
Hubert B Manilla 44fd7b4df2 Bug 2011550 - [devtools] Cleanup the source actor object r=devtools-reviewers,ochameau
- Use the id the of the source for the source actor `source` property
 - Remove the `url` property from the source actor.

Differential Revision: https://phabricator.services.mozilla.com/D299409
2026-05-31 21:57:23 +00:00
Chris Vander Linden f391b53273 Bug 2027582 - Move CloseButton to shared components. r=bomsy,devtools-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D292686
2026-05-29 11:05:58 +00:00
Chris Vander Linden 8c8db126be Bug 2027580 - Move DebuggerImage to shared components. r=bomsy,devtools-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D292685
2026-05-29 11:05:55 +00:00
Chris Vander Linden a73a3f85d7 Bug 2019260 - Move SearchInput to shared components. r=bomsy,devtools-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D286439
2026-05-29 11:05:52 +00:00
Chris H-C d89527a234 Bug 2039650 - Remove Legacy Telemetry devtools probes r=jdescottes,devtools-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D300855
2026-05-28 16:32:18 +00:00
Sebastian Zartner dce6110c63 Bug 1262773 - [devtools] Destroyed all associated highlighters when a button is removed from the toolbar. r=devtools-reviewers,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D187062
2026-05-23 08:11:28 +00:00
Alexandre Poirot 885cd635d2 Bug 1758454 - [devtools] Ensure fetching JS sources from http cache. r=devtools-reviewers,bomsy
This prevents trigerring an actual network/HTTP request when the source has been GC-ed.
But this also ensure that the request is flagged with the propert browsingContext/browserId
and can later be associated with the right tab if we want to show these requests.

This may also help better reproducing the request as if done by the page (cookies,..).

Differential Revision: https://phabricator.services.mozilla.com/D301314
2026-05-21 16:15:06 +00:00
Mark Banner a2a2e4cb7a Bug 1924775 - Use a defined version of the "globals" npm module, and resolved raised issues. r=frontend-codestyle-reviewers,devtools-reviewers,home-newtab-reviewers,flozia,nchevobbe,mossop,thecount
By defining the version of the "globals" module at the top-level, we can ensure that we get the expected version of the
modules in our ESLint configuration. This also means that we can pick up new globals without having to wait for dependencies
to pick up the new version of the "globals" module.

This also fixes the raised issues when moving across to the updated globals modules, as well as removing a couple of exclusions
that are now no longer necessary.

Differential Revision: https://phabricator.services.mozilla.com/D300082
2026-05-21 07:45:40 +00:00
Atila Butkovits 76208970f9 Revert "Bug 1924775 - Remove some cases of ESLint rule no-undef being disabled. r=devtools-reviewers,hsohaney,nchevobbe" for causing node failures.
This reverts commit f572e49026.

Revert "Bug 1924775 - Use a defined version of the "globals" npm module, and resolved raised issues. r=frontend-codestyle-reviewers,devtools-reviewers,home-newtab-reviewers,flozia,nchevobbe,mossop,thecount"

This reverts commit e0f4d195f8.
2026-05-20 14:16:30 +00:00
Mark Banner e0f4d195f8 Bug 1924775 - Use a defined version of the "globals" npm module, and resolved raised issues. r=frontend-codestyle-reviewers,devtools-reviewers,home-newtab-reviewers,flozia,nchevobbe,mossop,thecount
By defining the version of the "globals" module at the top-level, we can ensure that we get the expected version of the
modules in our ESLint configuration. This also means that we can pick up new globals without having to wait for dependencies
to pick up the new version of the "globals" module.

This also fixes the raised issues when moving across to the updated globals modules, as well as removing a couple of exclusions
that are now no longer necessary.

Differential Revision: https://phabricator.services.mozilla.com/D300082
2026-05-20 13:33:22 +00:00
iulian moraru 38689bebb2 Revert "Bug 1924775 - Remove some cases of ESLint rule no-undef being disabled. r=devtools-reviewers,hsohaney,nchevobbe" for causing newtab failures related to bundles.
This reverts commit 1a90fee5f3.

Revert "Bug 1924775 - Use a defined version of the "globals" npm module, and resolved raised issues. r=frontend-codestyle-reviewers,devtools-reviewers,home-newtab-reviewers,flozia,nchevobbe,mossop,thecount"

This reverts commit 9b2da35aba.
2026-05-20 00:54:26 +00:00
Mark Banner 9b2da35aba Bug 1924775 - Use a defined version of the "globals" npm module, and resolved raised issues. r=frontend-codestyle-reviewers,devtools-reviewers,home-newtab-reviewers,flozia,nchevobbe,mossop,thecount
By defining the version of the "globals" module at the top-level, we can ensure that we get the expected version of the
modules in our ESLint configuration. This also means that we can pick up new globals without having to wait for dependencies
to pick up the new version of the "globals" module.

This also fixes the raised issues when moving across to the updated globals modules, as well as removing a couple of exclusions
that are now no longer necessary.

Differential Revision: https://phabricator.services.mozilla.com/D300082
2026-05-20 00:11:05 +00:00
Freya Arbjerg ab5588d47c Bug 2036767 - Fix devtools server ignoring blackbox columns; fix client sending wrong columns. r=ochameau,devtools-reviewers
This also fixes a typo in test_blackboxing-08.js, which caused the end column to be undefined.

Differential Revision: https://phabricator.services.mozilla.com/D300173
2026-05-18 08:17:00 +00:00
Nicolas Chevobbe 87424cb028 Bug 2024294 - [devtools] Update Breakpoint text highlight. r=devtools-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D297329
2026-05-04 11:15:43 +00:00
Nicolas Chevobbe a7ab1273cf Bug 2024294 - [devtools] Redesign empty dom mutation panel and add tests. r=devtools-reviewers,bomsy,jdescottes.
Instead of wrapping the "Inspector" word in the empty notice in a link, add a
proper button to open the inspector below the empty notice.

Add tests to make sure the empty notice is displayed when expected, and that
the "Open Inspector" button does work as expected.

Differential Revision: https://phabricator.services.mozilla.com/D297313
2026-05-04 11:15:41 +00:00
Emilio Cobos Álvarez e833a1757b Bug 2033243 - Replace ownerGlobal with documentGlobal, and stop exposing ownerGlobal to JS. r=firefox-desktop-core-reviewers ,webidl,joschmidt,perftest-reviewers,sparky,smaug,mossop ,webidl,joschmidt,perftest-reviewers,sparky,smaug,mossop
Bug 2033191 made sure we only call ownerGlobal on nodes.

As per the discussion in dev-platform, the front-end ~always wants
.documentGlobal. This removes ownerGlobal from the bindings. Following
patch will rename internal GetOwnerGlobal in gecko to GetRelevantGlobal
as per the HTML spec terminology.

Differential Revision: https://phabricator.services.mozilla.com/D297183
2026-05-02 22:04:13 +00:00
iulian moraru 480fc572da Revert "Bug 2036439, Bug 2033243 - Deal with ownerGlobal -> documentGlobal rename in extensions. r=robwu,home-newtab-reviewers,mconley" for causing newtab failures.
This reverts commit 4f62279d01.

Revert "Bug 2033243 - Other miscellaneous ownerGlobal-related naming removal. r=dom-core,smaug"

This reverts commit 91a4ece356.

Revert "Bug 2033243 - BindToOwner -> BindToGlobal. r=dom-core,smaug"

This reverts commit 5a95a889e1.

Revert "Bug 2033243 - Rename GetOwnerGlobal to GetRelevantGlobal. r=dom-core,media-playback-reviewers,credential-management-reviewers,webrtc-reviewers,dom-storage-reviewers,firefox-style-system-reviewers,dimi,janv,dshin,aosmond,smaug"

This reverts commit 7177a68e67.

Revert "Bug 2033243 - Replace ownerGlobal with documentGlobal, and stop exposing ownerGlobal to JS. r=firefox-desktop-core-reviewers ,webidl,joschmidt,perftest-reviewers,sparky,smaug,mossop ,webidl,joschmidt,perftest-reviewers,sparky,smaug,mossop"

This reverts commit 5263254690.
2026-05-02 16:43:35 +00:00
Emilio Cobos Álvarez 5263254690 Bug 2033243 - Replace ownerGlobal with documentGlobal, and stop exposing ownerGlobal to JS. r=firefox-desktop-core-reviewers ,webidl,joschmidt,perftest-reviewers,sparky,smaug,mossop ,webidl,joschmidt,perftest-reviewers,sparky,smaug,mossop
Bug 2033191 made sure we only call ownerGlobal on nodes.

As per the discussion in dev-platform, the front-end ~always wants
.documentGlobal. This removes ownerGlobal from the bindings. Following
patch will rename internal GetOwnerGlobal in gecko to GetRelevantGlobal
as per the HTML spec terminology.

Differential Revision: https://phabricator.services.mozilla.com/D297183
2026-05-02 15:33:20 +00:00
rperta d4cc71008d Revert "Bug 2033243 - Other miscellaneous ownerGlobal-related naming removal. r=dom-core,smaug" on developer request
This reverts commit e58e122135.

This reverts commit 84ca206f3e.

This reverts commit a7945292ed.

This reverts commit 367d83d299.
2026-05-02 06:20:30 +00:00
Emilio Cobos Álvarez 367d83d299 Bug 2033243 - Replace ownerGlobal with documentGlobal, and stop exposing ownerGlobal to JS. r=firefox-desktop-core-reviewers ,webidl,joschmidt,perftest-reviewers,sparky,smaug,mossop
Bug 2033191 made sure we only call ownerGlobal on nodes.

As per the discussion in dev-platform, the front-end ~always wants
.documentGlobal. This removes ownerGlobal from the bindings. Following
patch will rename internal GetOwnerGlobal in gecko to GetRelevantGlobal
as per the HTML spec terminology.

Differential Revision: https://phabricator.services.mozilla.com/D297183
2026-05-01 11:58:10 +00:00
agoloman c814da612d Revert "Bug 2033243 - Other miscellaneous ownerGlobal-related naming removal. r=dom-core,smaug" for causing multiple failures.
This reverts commit c7246654bc.

Revert "Bug 2033243 - BindToOwner -> BindToGlobal. r=dom-core,smaug"

This reverts commit 8873ddf33c.

Revert "Bug 2033243 - Rename GetOwnerGlobal to GetRelevantGlobal. r=dom-core,media-playback-reviewers,credential-management-reviewers,webrtc-reviewers,dom-storage-reviewers,firefox-style-system-reviewers,dimi,janv,dshin,aosmond,smaug"

This reverts commit 8bf999e03c.

Revert "Bug 2033243 - Replace ownerGlobal with documentGlobal, and stop exposing ownerGlobal to JS. r=firefox-desktop-core-reviewers ,webidl,joschmidt,perftest-reviewers,sparky,smaug,mossop"

This reverts commit 7dea1af2e0.
2026-04-30 20:13:14 +00:00
Emilio Cobos Álvarez 7dea1af2e0 Bug 2033243 - Replace ownerGlobal with documentGlobal, and stop exposing ownerGlobal to JS. r=firefox-desktop-core-reviewers ,webidl,joschmidt,perftest-reviewers,sparky,smaug,mossop
Bug 2033191 made sure we only call ownerGlobal on nodes.

As per the discussion in dev-platform, the front-end ~always wants
.documentGlobal. This removes ownerGlobal from the bindings. Following
patch will rename internal GetOwnerGlobal in gecko to GetRelevantGlobal
as per the HTML spec terminology.

Differential Revision: https://phabricator.services.mozilla.com/D297183
2026-04-30 17:47:07 +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
Hubert Boma Manilla 0e447a0b24 Bug 2026569 - [devtools] Add the extension to support the auto close bracket feature r=devtools-reviewers,nchevobbe
This patch adds the autocomplete package to leverage the closeBrackets extension.
The autocomplete paackage will also be benefical in the future when we want to  migrate
to using the full auto complete feature in codemirror 6.

Differential Revision: https://phabricator.services.mozilla.com/D279497
2026-04-27 06:55:58 +00:00
Alexandru Marc 92e193f910 Revert "Bug 2027582, Bug 2027580, Bug 2019260) for causing devtools failures @ browser_dbg-javascript-tracer-sidebar-values-search.js
This reverts commit 00fed8f688.

Revert "Bug 2027580 - Move DebuggerImage to shared components. r=bomsy,devtools-reviewers"

This reverts commit 1a242a685c.

Revert "Bug 2019260 - Move SearchInput to shared components. r=bomsy,devtools-reviewers"

This reverts commit 67968b1de4.
2026-04-26 07:38:57 +00:00
Chris Vander Linden 00fed8f688 Bug 2027582 - Move CloseButton to shared components. r=bomsy,devtools-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D292686
2026-04-26 06:55:57 +00:00
Chris Vander Linden 1a242a685c Bug 2027580 - Move DebuggerImage to shared components. r=bomsy,devtools-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D292685
2026-04-26 06:55:53 +00:00
Chris Vander Linden 67968b1de4 Bug 2019260 - Move SearchInput to shared components. r=bomsy,devtools-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D286439
2026-04-26 06:55:50 +00:00
Emilio Cobos Álvarez 2ece743379 Bug 2033405 - Clean up existing usages of MockFilePicker.init(). r=dom-core,mtigley,extension-reviewers,credential-management-reviewers,devtools-reviewers,omc-reviewers,migration-reviewers,profiles-reviewers,layout-reviewers,emz,fchasen,nchevobbe,mconley,smaug,mossop,robwu,hanna_a,jwatt
After bug 2022763 it doesn't need a browsing context argument.

Differential Revision: https://phabricator.services.mozilla.com/D288559
2026-04-20 10:20:30 +00:00
Atila Butkovits ffcaa992e6 Revert "Bug 2022763 - Clean up existing usages of MockFilePicker.init(). r=dom-core,mtigley,extension-reviewers,credential-management-reviewers,devtools-reviewers,omc-reviewers,migration-reviewers,profiles-reviewers,layout-reviewers,emz,fchasen,nchevobbe,mconley,smaug,mossop,robwu,hanna_a,jwatt" for causing multiple failures.
This reverts commit 85b2d0d3dd.

Revert "Bug 2022763 - Propagate owner global from input element to DOM files properly. r=dom-core,win-reviewers,smaug,gstoll"

This reverts commit ff40c521b2.
2026-04-17 10:52:18 +00:00
Emilio Cobos Álvarez 85b2d0d3dd Bug 2022763 - Clean up existing usages of MockFilePicker.init(). r=dom-core,mtigley,extension-reviewers,credential-management-reviewers,devtools-reviewers,omc-reviewers,migration-reviewers,profiles-reviewers,layout-reviewers,emz,fchasen,nchevobbe,mconley,smaug,mossop,robwu,hanna_a,jwatt
After the previous commit it doesn't need a browsing context argument.

Differential Revision: https://phabricator.services.mozilla.com/D288559
2026-04-17 09:10:50 +00:00
Keith Cirkel d3d14120cf Bug 2032024 - Clean up dom.element.commandfor.enabled flag r=dom-core,webidl,devtools-reviewers,nchevobbe,smaug
Differential Revision: https://phabricator.services.mozilla.com/D294405
2026-04-15 18:50:23 +00:00
Alexandre Poirot 9886e3b936 Bug 2022844 - [devtools] Expose tracer settings in Nightly by default. r=devtools-reviewers,nchevobbe,perftest-reviewers,sparky
"devtools.debugger.features.javascript-tracing" is still relevant on
other channels and fully enable the tracer (toolbox button and
keyshortcuts automatically enabled).

Otherwise the tracer is rather controlled by
"devtools.command-button-jstracer.enabled" preference, which typically
requires user's action to enable to button from the settings panel.

Differential Revision: https://phabricator.services.mozilla.com/D289229
2026-04-08 13:30:12 +00:00