Alexandre Poirot
942adef18c
Bug 2031717 - [devtools] Expose local mode settings in DevTools options panel. r=devtools-reviewers,fluent-reviewers,bolsson,nchevobbe
...
Differential Revision: https://phabricator.services.mozilla.com/D294193
2026-06-11 07:56:50 +00:00
Alexandre Poirot
5c80ff3304
Bug 2031714 - [devtools] Implement "Local Mode" backend. r=devtools-reviewers,devtools-backward-compat-reviewers,bomsy,nchevobbe
...
This allows opening local files from https via DevTools.
Differential Revision: https://phabricator.services.mozilla.com/D294192
2026-06-10 12:46:16 +00:00
Alexandru Marc
85aff4e02f
Revert "Bug 2031714 - [devtools] Implement "Local Mode" backend. r=devtools-reviewers,devtools-backward-compat-reviewers,bomsy,nchevobbe" for causing Android build bustages
...
This reverts commit f2d8553f79 .
Revert "Bug 2031714 - [devtools] Expose a flag on the TargetFront to know if the page is an error page. r=devtools-reviewers,nchevobbe"
This reverts commit 0ef861f993 .
2026-06-10 01:13:30 +00:00
Alexandre Poirot
f2d8553f79
Bug 2031714 - [devtools] Implement "Local Mode" backend. r=devtools-reviewers,devtools-backward-compat-reviewers,bomsy,nchevobbe
...
This allows opening local files from https via DevTools.
Differential Revision: https://phabricator.services.mozilla.com/D294192
2026-06-09 20:35:02 +00:00
Hubert B Manilla
0b62db2a9e
Bug 2035142 - [devtools] Open style sheets links in the debugger when stylesheet-in-debugger pref is enabled r=devtools-reviewers,ochameau
...
This patch also renames the toolbox utilities to view style sheets
Differential Revision: https://phabricator.services.mozilla.com/D297876
2026-06-05 16:42:12 +00:00
agoloman
02843a95cb
Revert "Bug 2031714 - [devtools] Implement "Local Mode" backend. r=devtools-reviewers,devtools-backward-compat-reviewers,bomsy" for causing bc failures @browser_devtools.js.
...
This reverts commit 13896a724c .
Revert "Bug 2031714 - [devtools] Expose a flag on the TargetFront to know if the page is an error page. r=devtools-reviewers,nchevobbe"
This reverts commit d6ca9ef038 .
2026-06-04 19:14:21 +00:00
Nicolas Chevobbe
2a9bd04541
Bug 2043651 - [devtools] Disable toolbox button associated highlighters when navigating. r=devtools-reviewers,jdescottes.
...
We also prevent toolbox buttons re-rendering on will-navigate to recover from
the perf regression.
Differential Revision: https://phabricator.services.mozilla.com/D304669
2026-06-04 14:09:50 +00:00
Alexandre Poirot
13896a724c
Bug 2031714 - [devtools] Implement "Local Mode" backend. r=devtools-reviewers,devtools-backward-compat-reviewers,bomsy
...
This allows opening local files from https via DevTools.
Differential Revision: https://phabricator.services.mozilla.com/D294192
2026-06-04 10:28:10 +00:00
Norisz Fay
1a8f4c9241
Revert "Bug 2031714 - [devtools] Implement "Local Mode" backend. r=devtools-reviewers,devtools-backward-compat-reviewers,bomsy" for causing dt failure @ browser_networkobserver_localMode.js
...
This reverts commit 78970467d8 .
Revert "Bug 2031714 - [devtools] Expose a flag on the TargetFront to know if the page is an error page. r=devtools-reviewers,nchevobbe"
This reverts commit 6b862813ef .
2026-06-03 13:57:44 +00:00
Alexandre Poirot
78970467d8
Bug 2031714 - [devtools] Implement "Local Mode" backend. r=devtools-reviewers,devtools-backward-compat-reviewers,bomsy
...
This allows opening local files from https via DevTools.
Differential Revision: https://phabricator.services.mozilla.com/D294192
2026-06-03 13:02:35 +00:00
Florian Quèze
f6a574996a
Bug 2044390 - Make devtools tests pass with the Gecko profiler enabled by default, r=devtools-reviewers,ochameau.
...
With the profiler started by default during mochitests (MOZ_PROFILER_STARTUP=1),
opening the devtools performance panel reports a "recording" state, so closing
the toolbox makes ProfilerEventHandling.componentWillUnmount issue a
stopProfilerAndDiscardProfile request that races the connection teardown and
rejects. The toolbox tests don't use the profiler themselves, so they allow that
harmless rejection (see bug 2044383) and keep the profiler running. The
about:debugging profiler dialog test does drive the profiler, so it stops any
already-running profiler first via ProfilerTestUtils.assertProfilerInactive.
Differential Revision: https://phabricator.services.mozilla.com/D304133
2026-06-03 12:40:38 +00:00
Julian Descottes
5be4b83391
Bug 2044062 - [devtools] Record additional toolbox metadata to toolbox server error telemetry r=ochameau,devtools-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D303818
2026-06-03 08:51:15 +00:00
Alexandre Poirot
b33f115eb0
Bug 2042894 - [devtools] Show AppErrorBoundary when the inspector fails rendering the markup view. r=devtools-reviewers,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D302827
2026-06-02 14:17:10 +00:00
agoloman
d69d1d8e0e
Revert "Bug 2031717, Bug 2031714 - [devtools] Expose local mode settings in DevTools options panel. r=devtools-reviewers,fluent-reviewers,bolsson,nchevobbe" for causing bc failures @browser_misused_characters_in_strings.js.
...
This reverts commit b7f48700d7 .
Revert "Bug 2031714 - [devtools] Implement "Local Mode" backend. r=devtools-reviewers,devtools-backward-compat-reviewers,bomsy"
This reverts commit 0f1b6c66ab .
Revert "Bug 2031714 - [devtools] Expose a flag on the TargetFront to know if the page is an error page. r=devtools-reviewers,nchevobbe"
This reverts commit 4cbb3ac689 .
2026-06-02 09:35:20 +00:00
Alexandre Poirot
b7f48700d7
Bug 2031717 - [devtools] Expose local mode settings in DevTools options panel. r=devtools-reviewers,fluent-reviewers,bolsson,nchevobbe
...
Differential Revision: https://phabricator.services.mozilla.com/D294193
2026-06-02 08:42:04 +00:00
Alexandre Poirot
0f1b6c66ab
Bug 2031714 - [devtools] Implement "Local Mode" backend. r=devtools-reviewers,devtools-backward-compat-reviewers,bomsy
...
This allows opening local files from https via DevTools.
Differential Revision: https://phabricator.services.mozilla.com/D294192
2026-06-02 08:42:02 +00:00
Julian Descottes
414cbad5bf
Bug 2043900 - [devtools] Fix screenshot features in the Browser Toolbox r=devtools-reviewers,nchevobbe
...
Adding `global: shared` to a ChromeUtils.importESModule call in the capture-screenshot.js server util.
Also adding a basic test for screenshots from the Browser Toolbox.
Differential Revision: https://phabricator.services.mozilla.com/D303912
2026-06-02 08:16:41 +00:00
Atila Butkovits
811834ef32
Revert "Bug 2042894 - [devtools] Show AppErrorBoundary when the inspector fails rendering the markup view. r=devtools-reviewers,jdescottes" for causing failures at browser_toolbox_backward_forward_navigation.js.
...
This reverts commit e001fd3251 .
2026-06-01 22:57:09 +00:00
Alexandre Poirot
e001fd3251
Bug 2042894 - [devtools] Show AppErrorBoundary when the inspector fails rendering the markup view. r=devtools-reviewers,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D302827
2026-06-01 20:54:45 +00:00
Joe Cardoso
68be5ee2db
Bug 1895528 - Stop relying on top-level data: URI navigations in tests. r=gregp,extension-reviewers,devtools-reviewers,akulyk,nchevobbe,sthompson,robwu,dom-core,firefox-build-system-reviewers,smaug,ahochheiden,tschuster,firefox-style-system-reviewers,whimboo,emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D274022
2026-05-31 00:10:06 +00:00
Cristian Tuns
369c6c1cbe
Revert "Bug 1895528 - Stop relying on top-level data: URI navigations in tests. r=gregp,extension-reviewers,devtools-reviewers,akulyk,nchevobbe,sthompson,robwu,dom-core,firefox-build-system-reviewers,smaug,ahochheiden,tschuster,firefox-style-system-reviewers,whimboo,emilio" for causing wd failures in execution_order_tentative.py
...
This reverts commit 98af8586d3 .
2026-05-30 13:21:46 +00:00
Joe Cardoso
98af8586d3
Bug 1895528 - Stop relying on top-level data: URI navigations in tests. r=gregp,extension-reviewers,devtools-reviewers,akulyk,nchevobbe,sthompson,robwu,dom-core,firefox-build-system-reviewers,smaug,ahochheiden,tschuster,firefox-style-system-reviewers,whimboo,emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D274022
2026-05-30 08:55:40 +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
Dave Townsend
774f1b7a83
Bug 2042824: Fix tests that think that EventUtils.synthesizeMouse* returns a promise. r=Gijs,devtools-reviewers,fxview-reviewers,tabbrowser-reviewers,layout-reviewers,nchevobbe,jsudiaman,dshin,nsharpley
...
Differential Revision: https://phabricator.services.mozilla.com/D302775
2026-05-28 08:55:52 +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
Sebastian Zartner
8c6272a9c2
Bug 1262773 - [devtools] Generalized logic for destroying highlighters associated with toolbar buttons on page navigation. r=devtools-reviewers,nchevobbe
...
Differential Revision: https://phabricator.services.mozilla.com/D187061
2026-05-23 08:11:25 +00:00
rperta
8757f94826
Revert "Bug 1262773 - [devtools] Destroyed all associated highlighters when a button is removed from the toolbar. r=devtools-reviewers,nchevobbe" for causing dt failures browser_dbg-javascript-tracer-next-load.js
...
This reverts commit 68d0836180 .
This reverts commit e79d4190ac .
2026-05-20 01:43:23 +00:00
Sebastian Zartner
68d0836180
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-20 00:11:49 +00:00
Sebastian Zartner
e79d4190ac
Bug 1262773 - [devtools] Generalized logic for destroying highlighters associated with toolbar buttons on page navigation. r=devtools-reviewers,nchevobbe
...
Differential Revision: https://phabricator.services.mozilla.com/D187061
2026-05-20 00:11:46 +00:00
Julian Descottes
a4c93ea48f
Bug 2040563 - [devtools] Add session_id to toolbox_server_error events r=devtools-reviewers,nchevobbe
...
Data classification: adding the toolbox session id to existing events, does not leak any personal data.
Differential Revision: https://phabricator.services.mozilla.com/D301238
2026-05-19 12:54:56 +00:00
Alexandre Poirot
ade741f81d
Bug 2031711 - [devtools] Always use Fluent in toolbox options panel. r=devtools-reviewers,fluent-reviewers,bolsson,nchevobbe
...
Differential Revision: https://phabricator.services.mozilla.com/D294191
2026-05-19 12:29:27 +00:00
Sebastian Zartner
cf10bb950a
Bug 1455294 - Added option to toggle the display of comment nodes in the Inspector. r=devtools-reviewers,fluent-reviewers,nchevobbe
...
Differential Revision: https://phabricator.services.mozilla.com/D186612
2026-05-14 04:48:28 +00:00
Alexandre Poirot
59149c9a82
Bug 2019873 - [devtools] Transfer stack to the parent process for content process exceptions. r=devtools-reviewers,jdescottes
...
When any exception happens from the DevToolsProcess's JSProcessActor,
the stacktrace is lost when the exception reaches the parent process.
Manually transfer the exception payload between processes
so that RDP server can send the full stack to the client.
Using callbacks was losing async stack trace, so I moved super.sendQuery
into an inline async function to be able to use await and preserve async
stacks in case of errors.
Differential Revision: https://phabricator.services.mozilla.com/D298390
2026-05-14 00:42:17 +00:00
Vincent Hilla
a91851cbc2
Bug 2033234 - Use BC::CanOpenModalPicker for all picker. r=edgar,firefox-desktop-core-reviewers ,Gijs,extension-reviewers,robwu,devtools-reviewers,nchevobbe
...
Differential Revision: https://phabricator.services.mozilla.com/D295323
2026-05-11 09:52:47 +00:00
Julian Descottes
b103ab938f
Bug 2035120 - [devtools] Add is_destroying flag to devtoolsMain.toolboxServerError event r=devtools-reviewers,nchevobbe
...
Differential Revision: https://phabricator.services.mozilla.com/D298474
2026-05-05 08:02:47 +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
Sam Johnson
16e0adf958
Bug 2021084 - Use new helper instead of prefs for native context menu tests. r=mstange
...
I found these tests which can be simplified now that there is a helper for determining whether a context menu is native.
Differential Revision: https://phabricator.services.mozilla.com/D289433
2026-05-01 00:06:53 +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
Ryan Curran and Claude Sonnet 4.6
143b508425
Bug 2034604 - run macOS mochitests on AArch64 r=aryx,devtools-reviewers,jdescottes,media-playback-reviewers,padenot
...
Move mochitest suites from macosx1470-64-tests (Intel) to
macosx1500-aarch64-tests (Apple Silicon M4).
Skip-if annotations added for known ARM failures (Bug 2034604):
- devtools/client/netmonitor browser_net_frame.js
- devtools/server/tests browser_canvasframe_helper_04.js
- devtools/client/framework browser_toolbox_meatball.js
- devtools/client/inspector/rules browser_rules_variables-jump-to-definition.js
- dom/events test_coalesce_touchmove.html, test_moz_mouse_pixel_scroll_event.html,
test_wheel_zoom_on_form_controls.html
- dom/canvas/test/webgl-conf tex-unpack-params.html (debug crash)
- dom/credentialmanagement test_account_label.html
- dom/security/test/mixedcontentblocker test_bug803225.html
- dom/tests/mochitest/pointerlock test_pointerlock_xorigin_iframe_movementXY.html
- gfx/layers/apz test_group_touchevents-5.html
- accessible/tests/browser/tree browser_select.js
- image/test/mochitest test_animation_operators.html
- layout/style/test/chrome test_display_mode_reflow.html
- toolkit/components/aboutmemory test_aboutmemory5.xhtml, test_aboutmemory7.xhtml
- toolkit/content/tests/chrome test_menulist.xhtml
- toolkit/content/tests/widgets test_image_recognition_zh.html
Co-Authored-By: Claude Sonnet 4.6 <[email protected] >
Differential Revision: https://phabricator.services.mozilla.com/D296314
2026-04-29 14:47:23 +00:00
Julian Descottes
8fbaf0642c
Bug 2032045 - [devtools] Simplify shared-head waitForDOM helper r=devtools-reviewers,nchevobbe
...
Update the implementation of `waitForDOM` to use `waitFor` instead of mutations.
Remove `waitForDOMIfNeeded` in netmonitor, which becomes the standard behavior for `waitForDOM` now.
Add meaningful logs when starting to wait and when resolving or rejecting.
Differential Revision: https://phabricator.services.mozilla.com/D294427
2026-04-16 07:16:08 +00:00
pstanciu
dc9c60f1e6
Revert "Bug 1979074 - [devtools] Wait for all requests to be displayed before reload in browser_net_block-serviceworker.js r=nchevobbe,devtools-reviewers" for causing mochitest failures @browser_net_html-preview.js
...
This reverts commit 592df24bb5 .
Revert "Bug 2032045 - [devtools] Simplify shared-head waitForDOM helper r=devtools-reviewers,nchevobbe"
This reverts commit 4f1e185280 .
2026-04-16 06:24:36 +00:00
agoloman
7d26e00ef8
Revert "Bug 1895528 - Removing security.data_uri.block_toplevel_data_uri_navigations pref r=gregp,extension-reviewers,devtools-reviewers,sessionstore-reviewers,akulyk,nchevobbe,sthompson,robwu,dom-core,firefox-build-system-reviewers,smaug,ahochheiden,tschuster,whimboo" for causing bc failures.
...
This reverts commit c7739b5a65 .
2026-04-15 23:13:58 +00:00
Julian Descottes
4f1e185280
Bug 2032045 - [devtools] Simplify shared-head waitForDOM helper r=devtools-reviewers,nchevobbe
...
Update the implementation of `waitForDOM` to use `waitFor` instead of mutations.
Remove `waitForDOMIfNeeded` in netmonitor, which becomes the standard behavior for `waitForDOM` now.
Add meaningful logs when starting to wait and when resolving or rejecting.
Differential Revision: https://phabricator.services.mozilla.com/D294427
2026-04-15 22:19:43 +00:00
Joe Cardoso
c7739b5a65
Bug 1895528 - Removing security.data_uri.block_toplevel_data_uri_navigations pref r=gregp,extension-reviewers,devtools-reviewers,sessionstore-reviewers,akulyk,nchevobbe,sthompson,robwu,dom-core,firefox-build-system-reviewers,smaug,ahochheiden,tschuster,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D274022
2026-04-15 22:09:17 +00:00