Commit Graph
1913 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
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 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 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
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 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
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
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
Alexandru Marc 08184c9352 Revert "Bug 2022844 - [devtools] Expose tracer settings in Nightly by default. r=devtools-reviewers,nchevobbe,perftest-reviewers,sparky" for causing dt failures @ browser_toolbox_toolbar_overflow_button_visibility
This reverts commit 8630553a18.
2026-04-03 13:33:18 +00:00
Alexandre Poirot 8630553a18 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-03 11:36:27 +00:00
Atila Butkovits fa7e4e4a19 Revert "Bug 2022844 - [devtools] Expose tracer settings in Nightly by default. r=devtools-reviewers,nchevobbe,perftest-reviewers,sparky" for causing failures at browser_toolbox_options_disable_buttons.js.
This reverts commit 75c3971083.
2026-04-02 19:06:28 +00:00
Alexandre Poirot 75c3971083 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-02 15:23:22 +00:00
Tooru Fujisawa 225686f76b Bug 2028220 - Wait for the breakpoint checkbox state to be restored after reloading the page. r=devtools-reviewers,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D291297
2026-04-01 07:27:29 +00:00
Julian Descottes 1d74294db5 Bug 2028047 - [devtools] Skip devtools tests disabled on mac for macOS 15 AArch64 r=devtools-reviewers,ochameau
Differential Revision: https://phabricator.services.mozilla.com/D291129
2026-03-31 16:55:58 +00:00
Cosmin Sabou 6e644cc715 Revert "Bug 2022844 - [devtools] Expose tracer settings in Nightly by default. r=devtools-reviewers,nchevobbe" for causing talos damp failures.
This reverts commit 3e57e5e7bb.
2026-03-27 03:54:40 +00:00
Alexandre Poirot 3e57e5e7bb Bug 2022844 - [devtools] Expose tracer settings in Nightly by default. r=devtools-reviewers,nchevobbe
"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-03-26 22:56:54 +00:00
Florian Quèze 3a501333b7 Bug 2025600 - Split large devtools browser-chrome manifests to keep chunk runtimes under 20 minutes, r=jdescottes,devtools-reviewers.
Differential Revision: https://phabricator.services.mozilla.com/D289382
2026-03-26 01:33:06 +00:00
Hubert B Manilla b6f6feefc8 Bug 2023753 - [devtools] Remove the use of dangerouslySetInnerHTML in the Quickopen panel r=devtools-reviewers,nchevobbe,frontend-codestyle-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D288642
2026-03-25 04:48:28 +00:00
Adam Vandolder 00e336ddcb Bug 1892551 - Part 1: Update tests for SHIP. r=farre,dom-core,extension-reviewers,devtools-reviewers,sessionstore-reviewers,robwu,ochameau,mconley
Differential Revision: https://phabricator.services.mozilla.com/D208060
2026-03-18 17:26:13 +00:00
Dave Townsend d3162fa3b1 Bug 1744624: Add a lint rule warning about the use of ContentTask.spawn. r=frontend-codestyle-reviewers,credential-management-reviewers,devtools-reviewers,cookie-reviewers,tabbrowser-reviewers,places-reviewers,dom-storage-reviewers,translations-reviewers,home-newtab-reviewers,urlbar-reviewers,dom-worker-reviewers,nchevobbe,edenchuang,mtigley,nsharpley,valentin,Standard8,nbarrett
Also disables the error for remaining uses and removes so old comments referencing ContentTask.spawn.

Differential Revision: https://phabricator.services.mozilla.com/D286261
2026-03-11 17:43:28 +00:00
Jonathan Moss 1e4695f228 Bug 2019745 - Add Win11 25H2 (11.26200) skip annotations to TOML manifests r=webcompat-reviewers,media-playback-reviewers,credential-management-reviewers,search-reviewers,devtools-reviewers,places-reviewers,urlbar-reviewers,profiles-reviewers,dom-worker-reviewers,twisniewski,hneiva,aryx,scunnane,asuth,dimi,mossop,padenot
Differential Revision: https://phabricator.services.mozilla.com/D285126
2026-02-27 10:51:18 +00:00
Nicolas Chevobbe a29d29b37b Bug 2016061 - [devtools] Hide Popover on Escape and prevent split console to open. r=devtools-reviewers,ochameau.
We add a keyup listener in Popover to handle the Escape key
and close the popover.
We don't use the context shortcuts instance, as it uses a keydown
event listener which will be dispatched before the toolbox keydown
event listener is called, and so the popover would be close before
the shouldPreventSplitConsoleToggle is called.

Differential Revision: https://phabricator.services.mozilla.com/D284016
2026-02-24 06:03:16 +00:00
Julian Descottes 3cc9e400d0 Bug 2014538 - [devtools] Update debugger quick-open icons to set DebuggerImage classname r=devtools-reviewers,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D281913
2026-02-05 09:28:39 +00:00
Julian Descottes 1988d7580b Bug 1767707 - [devtools] Skip browser_dbg-backgroundtask-debugging.js on linux debug r=devtools-reviewers,nchevobbe
Restoring a previous annotation which got removed a few months ago.

Differential Revision: https://phabricator.services.mozilla.com/D279819
2026-02-04 09:33:37 +00:00
Nicolas Chevobbe 91ed6ffc83 Bug 2006092 - [devtools] Include async frames in logpoint stacktrace. r=devtools-reviewers,bomsy
Differential Revision: https://phabricator.services.mozilla.com/D280560
2026-01-27 15:33:01 +00:00
Tom Marble 3b3efde701 Bug 2009254 - Test manifest cleanup January 2026 r=ahal,necko-reviewers,webcompat-reviewers,credential-management-reviewers,devtools-reviewers,tabbrowser-reviewers,profiler-reviewers,dom-storage-reviewers,toolkit-telemetry-reviewers,layout-reviewers,dom-worker-reviewers,whimboo,hjones,sthompson,twisniewski,valentin,asuth,dholbert,dimi,ochameau
Updates Test Manifests to new conventions for the upcoming
linter patch in Bug 2004444. These conventions are documented in
   docs/code-quality/lint/linters/test-manifest-toml.rst
which will get published to
  https://firefox-source-docs.mozilla.org/code-quality/lint/linters/test-manifest-toml.html

Summary of changes:
- The order of comparisons/variables is now important in conditional
  expressions. Certain expressions have been edited to reflect this
  order (with no semantic changes).
- The variables which are tested for equality as well as all the flags
  are constrained to a known set (i.e. typos in variable/flag names
  will be caught by the linter)
- Older platforms which are no longer present in the CI infrastructure
  have been deprecated, for example:
   * ``"os == 'linux' && os_version == '18.04'
- Combinations of platforms and flags which are no longer present in
  the CI infrastructure will be removed, for example:
   * ``"os == 'linux' && os_version == '22.04' && asan"``
   * ``"os == 'linux' && os_version == '22.04' && tsan"``
   * ``"os == 'win' && tsan``
- Old platform combination flags and isLinux style flags have been
  deprecated in favor of explicitly checking os, os_version, etc.

NOTE: code changes in this patch are simply to maintain self tests
and do not reflect the updated linter changes.

Signed-off-by: Tom Marble <[email protected]>

Differential Revision: https://phabricator.services.mozilla.com/D278535
2026-01-21 13:53:31 +00:00
Alexandre Poirot 25c8ad77e8 Bug 2007539 - [devtools] Reload pages as Firefox does in DevTools tests. r=devtools-reviewers,nchevobbe
The `gBrowser.reloadTab` method was doing a very light reload,
which could preserve iframe overriden locations.
The new method ensures we load the original HTML content back,
this seems to also have an impact on keep-alive which is not longer guaranteed.

Only supports reloading the currently selected tab, to better replicate
real user scenarios. But also to comply to `BrowserCommands.reload`,
which only supports reloading the selected tab.

Also tune the har test, now that requests are really cancelled
and we may try to fetch reponse content for such request.

Differential Revision: https://phabricator.services.mozilla.com/D277433
2026-01-20 20:44:46 +00:00