Mark Banner
18753bfe42
Bug 1798212 - Convert consumers of downloads code to ES modules. r=mak,geckoview-reviewers,extension-reviewers,settings-reviewers,credential-management-reviewers,sgalich,mconley,m_kato
...
Differential Revision: https://phabricator.services.mozilla.com/D161013
2022-11-07 17:56:10 +00:00
trickypr
4c299ab664
Bug 1510561
- Part 13: Remove unused jsdoc rule from `devtools/client/debugger/src`. r=Standard8
...
Depends on D161387
Differential Revision: https://phabricator.services.mozilla.com/D161388
2022-11-07 12:33:29 +00:00
Mark Banner
0ceec12dcf
Bug 1778110 - Move devtools/client/webconsole to use mjs files, rather than defining sourceType for ESLint. r=ochameau
...
Depends on D161263
Differential Revision: https://phabricator.services.mozilla.com/D161284
2022-11-07 09:49:54 +00:00
Mark Banner
96e185d38f
Bug 1778110 - Move devtools code to use mjs files, rather than defining sourceType for ESLint. r=ochameau
...
Differential Revision: https://phabricator.services.mozilla.com/D161263
2022-11-07 09:49:53 +00:00
Julian Descottes
be51eab5f0
Bug 1798859 - [devtools] Add label to always on top button for webextension toolbox r=nchevobbe,fluent-reviewers,flod
...
Added a blink animation instead of the transition as well. Added a border when hover/active.
Differential Revision: https://phabricator.services.mozilla.com/D161370
2022-11-07 07:58:03 +00:00
Nathan LaPre
e8b85b1993
Bug 1781321: Fix devtools browser a11y tests for img elements with no alt text, r=morgan
...
This revision fixes these failing tests. I made a change in Bug 1748585 which
causes img elements with alt="" to be considered decorative (in most cases).
These tests rely on the accessible existing in the tree, so I've removed them.
I don't think it makes sense to test this any more. FWIW, I've made the same
changes to accessibility tests in the accessible directory.
Differential Revision: https://phabricator.services.mozilla.com/D161331
2022-11-05 00:47:45 +00:00
Cristian Tuns
560a9cb049
Bug 1798140 - Fix lint failure r=fix CLOSED TREE
2022-11-04 08:08:45 -04:00
Emilio Cobos Álvarez
461433a27d
Bug 1798140 - Remove table-widget-wrapper. r=jdescottes
...
It was needed only for sticky to work on XUL and it's not needed anymore.
The way splitters work on modern flexbox is that they take the min-width
property of the element they're resizing (without looking at descendants).
This is done for performance reasons (flex item min-width is more expensive to
compute on isolation than XUL flex was). Removing the wrapper makes the
min-width be on the right element anyways.
Differential Revision: https://phabricator.services.mozilla.com/D160722
2022-11-04 11:35:28 +00:00
Olli Pettay
549492fdf4
Bug 1787315
, starting a new load after reload() should take precedence, r=peterv,ochameau
...
The devtools test reloads a page twice in a row and depending on timing it isn't guaranteed that it leads to two requests anymore.
That test seems to fail on debug builds every now and then. The test itself expects 1 or more requests, but then assumes later that there
are at least 2.
Differential Revision: https://phabricator.services.mozilla.com/D160573
2022-11-04 10:29:54 +00:00
nchevobbe
4c85b8d0b1
Bug 1797021 - [devtools] Preview support for MIDIInputMap/MIDIOutputMap. r=ochameau.
...
This patch displays an `<entries>` node in the `ObjectInspector` for `MIDIInputMap` and `MIDIOutputMap` instances.
Depends on D160238
Differential Revision: https://phabricator.services.mozilla.com/D160239
2022-11-04 08:49:02 +00:00
nchevobbe
ac8e984261
Bug 1797021 - Expose MIDIInputMap/MIDIOutputMap in devtools sandbox. r=smaug,gsvelto
...
Differential Revision: https://phabricator.services.mozilla.com/D160238
2022-11-04 08:49:02 +00:00
William Durand
560aa1a276
Bug 1797050 - Part 6 - Use `browser_specific_settings` instead of `applications` in test manifests. r=rpl,perftest-reviewers,sparky
...
We want to encourage extension developers to use `browser_specific_settings` instead of `applications`, which will be unsupported in Manifest Version 3+. This patch makes sure test manifests in m-c won't cause any issues in the future.
Depends on D160541
Differential Revision: https://phabricator.services.mozilla.com/D160668
2022-11-03 16:23:03 +00:00
Emilio Cobos Álvarez
54807dbdad
Bug 1798898 - Fix container query evaluation on unsupported axis. r=dshin
...
We were falling back to viewport size, which is not what the spec says.
Differential Revision: https://phabricator.services.mozilla.com/D161132
2022-11-03 14:07:02 +00:00
Shane Caraveo
5810acc46a
Bug 1784947 - Make browser action a custom widget to support unified extension button. r=desktop-theme-reviewers,zombie,Itiel
...
Co-Authored-By: William Durand <will+git@drnd.me>
Differential Revision: https://phabricator.services.mozilla.com/D154470
2022-11-03 09:30:22 +00:00
Emilio Cobos Álvarez
97111eef61
Bug 1798483
- Improve behavior of devtools splitting to prevent overflow. r=jdescottes
...
Use resizebefore/after=sibling to avoid setting the width of anything
else that isn't the DevTools frame, and make the size not impose a min
size to allow it to shrink.
Differential Revision: https://phabricator.services.mozilla.com/D161058
2022-11-03 00:23:32 +00:00
Julian Descottes
2082cc788d
Bug 1797952 - [devtools] Fix netmonitor HTML previews with line breaks or special characters r=ochameau
...
Add charset=UTF8 to the data url used for the iframe preview + encodeURIComponent
Differential Revision: https://phabricator.services.mozilla.com/D160778
2022-11-02 21:08:14 +00:00
Cristian Tuns
4d37cf70f1
Backed out 19 changesets (bug 1541508) for causing xpcshell failures on test_notHeadlessByDefault.js CLOSED TREE
...
Backed out changeset 08476fa2bc27 (bug 1541508)
Backed out changeset 0bf7514845db (bug 1541508)
Backed out changeset aa612a5e9ef7 (bug 1541508)
Backed out changeset 6bb9360473f7 (bug 1541508)
Backed out changeset b3d8e92f50c2 (bug 1541508)
Backed out changeset fa40dded133e (bug 1541508)
Backed out changeset 2e7db4aa8d4f (bug 1541508)
Backed out changeset 6098e2eb62ea (bug 1541508)
Backed out changeset 2c599ee639c4 (bug 1541508)
Backed out changeset 7d44f6e2644c (bug 1541508)
Backed out changeset c1279c3d674c (bug 1541508)
Backed out changeset 8bd08a62a590 (bug 1541508)
Backed out changeset 740010cb005c (bug 1541508)
Backed out changeset 0bfc7dd85c62 (bug 1541508)
Backed out changeset c4374a351356 (bug 1541508)
Backed out changeset 44ccfeca7364 (bug 1541508)
Backed out changeset e944e706a523 (bug 1541508)
Backed out changeset 2c59d66f43e4 (bug 1541508)
Backed out changeset a1896eacb6f1 (bug 1541508)
2022-11-01 22:38:52 -04:00
Barret Rennie
fd8db3a903
Bug 1541508 - Use Services.env in devtools/ r=nchevobbe
...
Differential Revision: https://phabricator.services.mozilla.com/D160137
2022-11-02 02:08:53 +00:00
Hubert Boma Manilla
aafe8e17f2
Bug 1361271 - [devtools] Fix pretty-printing on sourcemapped sources r=ochameau,flod
...
This patch disables (rather than hiding it) pretty print button for various scenarios
where the source should not be pretty-printed. Also a tooltip shows the reason the file
cannot be pretty-printed.
Also fixes the issue wheere the sourcemap is available but no original files
Also adds tests
Differential Revision: https://phabricator.services.mozilla.com/D159143
2022-11-01 14:49:02 +00:00
Mark Banner
9189ff3f6f
Bug 1798018 - Convert consumers of toolkit/modules/tests to import ES modules direct. r=Gijs,webdriver-reviewers,extension-reviewers,settings-reviewers,credential-management-reviewers,sgalich
...
Differential Revision: https://phabricator.services.mozilla.com/D160664
2022-11-01 13:26:38 +00:00
Joel Maher
569b706a2d
Bug 1798331 - annotation more tests for win11. r=bxbrenden
...
Differential Revision: https://phabricator.services.mozilla.com/D160807
2022-10-31 21:15:09 +00:00
Mark Banner
a2123f2d55
Bug 1798058 - Convert consumers of toolkit/modules/sessionstore/ to ES modules. r=daleharvey,geckoview-reviewers,owlish
...
Differential Revision: https://phabricator.services.mozilla.com/D160682
2022-10-31 15:15:34 +00:00
Alexandre Poirot
474b0792ba
Bug 1797730 - [devtools] Rename gDevTools._toolboxes to gDevTools._toolboxesPerCommands. r=nchevobbe
...
Differential Revision: https://phabricator.services.mozilla.com/D160618
2022-10-29 07:48:08 +00:00
Alexandre Poirot
2a49522233
Bug 1797730 - [devtools] Fix typo preventing to close devtools on browser toolbox closing. r=nchevobbe
...
Differential Revision: https://phabricator.services.mozilla.com/D160562
2022-10-29 07:48:07 +00:00
Andrew Osmond
77b6b3ccc7
Bug 1794722 - Part 3. Remove all uses of GfxInfo::GetWebRenderEnabled. r=jrmuizel,webcompat-reviewers,twisniewski
...
This is always true.
Differential Revision: https://phabricator.services.mozilla.com/D160122
2022-10-28 12:36:06 +00:00
Julian Descottes
e5e2286a59
Bug 1796582 - [devtools] Load DistinctSystemPrincipalLoader in the dedicated DevToolsLoader global r=ochameau
...
Depends on D160215
Differential Revision: https://phabricator.services.mozilla.com/D160216
2022-10-28 08:06:38 +00:00
Julian Descottes
36a9cd1d4d
Bug 1796582 - [devtools] Extract helpers for distinctSystemPrincipalLoader to a dedicated module r=ochameau
...
Depends on D160214
Differential Revision: https://phabricator.services.mozilla.com/D160215
2022-10-28 08:06:38 +00:00
Julian Descottes
b1a0352d15
Bug 1796582 - [devtools] Use distinctSystemPrincipalLoader instead of invisibleToDebugger when possible r=ochameau
...
Differential Revision: https://phabricator.services.mozilla.com/D160214
2022-10-28 08:06:38 +00:00
Stanca Serban
fe5c9c39a8
Backed out 3 changesets (bug 1796582) for causing failures in test_invisible_loader.js. CLOSED TREE
...
Backed out changeset a365a7834657 (bug 1796582)
Backed out changeset fa0ff274795f (bug 1796582)
Backed out changeset 70af32ef6986 (bug 1796582)
2022-10-28 10:01:09 +03:00
Julian Descottes
f18b983cde
Bug 1796582 - [devtools] Load DistinctSystemPrincipalLoader in the dedicated DevToolsLoader global r=ochameau
...
Depends on D160215
Differential Revision: https://phabricator.services.mozilla.com/D160216
2022-10-28 06:23:53 +00:00
Julian Descottes
ec442d678c
Bug 1796582 - [devtools] Extract helpers for distinctSystemPrincipalLoader to a dedicated module r=ochameau
...
Depends on D160214
Differential Revision: https://phabricator.services.mozilla.com/D160215
2022-10-28 06:23:53 +00:00
Julian Descottes
6583edacfb
Bug 1796582 - [devtools] Use distinctSystemPrincipalLoader instead of invisibleToDebugger when possible r=ochameau
...
Differential Revision: https://phabricator.services.mozilla.com/D160214
2022-10-28 06:23:52 +00:00
Cristian Tuns
1303ee58d8
Backed out 3 changesets (bug 1794722) for causing multiple failures on RemoteProcessMonitor CLOSED TREE
...
Backed out changeset 0217af5b1aa6 (bug 1794722)
Backed out changeset d7805be9dfb3 (bug 1794722)
Backed out changeset 0093f071f1a5 (bug 1794722)
2022-10-27 20:52:36 -04:00
Andrew Osmond
f8dc716e8d
Bug 1794722 - Part 3. Remove all uses of GfxInfo::GetWebRenderEnabled. r=jrmuizel,webcompat-reviewers,twisniewski
...
This is always true.
Differential Revision: https://phabricator.services.mozilla.com/D160122
2022-10-28 00:08:04 +00:00
Joel Maher
7d57e8ce58
Bug 1797751 - carry over skip-if conditions from win10 to win11. r=bxbrenden,necko-reviewers,settings-reviewers,credential-management-reviewers,valentin,sgalich
...
Differential Revision: https://phabricator.services.mozilla.com/D160529
2022-10-28 00:00:40 +00:00
Mark Banner
640cf06c1b
Bug 1797686 - Convert subprocess import consumers to import ES modules directly. r=kmag,application-update-reviewers,bytesized
...
Differential Revision: https://phabricator.services.mozilla.com/D160489
2022-10-27 20:17:39 +00:00
Nicolas Chevobbe
1a367f4ed6
Bug 1796090
- [devtools] Display link to container element in container query in the rule view. r=jdescottes,devtools-backward-compat-reviewers.
...
Differential Revision: https://phabricator.services.mozilla.com/D159480
2022-10-27 08:53:42 +00:00
Zachary Svoboda
15b7791200
Bug 1537712 - Listen for key modifiers in json view hotkeys r=jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D160148
2022-10-26 19:08:18 +00:00
Luke Swiderski
56139a3664
Bug 1581213
- Disabling dom mutation breakpoints in the debugger doesn't show checked context menu in the inspector r=jdescottes
...
Add disabled icon in inspector when a dom mutation breakpoint is disabled.
Add mochitests.
Differential Revision: https://phabricator.services.mozilla.com/D157122
2022-10-26 19:06:43 +00:00
Mark Banner
9613c19f16
Bug 1795880 - Add an ESLint rule to enforce using static imports where possible. r=arai,geckoview-reviewers,m_kato
...
Differential Revision: https://phabricator.services.mozilla.com/D160131
2022-10-26 09:37:46 +00:00
Sylvestre Ledru
5afd68ac95
no bug - fix some typos found by codespell r=linter-reviewers,fluent-reviewers,Gijs,Standard8 DONTBUILD
...
Differential Revision: https://phabricator.services.mozilla.com/D160290
2022-10-26 09:14:14 +00:00
Mark Banner
02271244d0
Bug 1795322 - Update toolkit module references in devtools. r=devtools-reviewers,ochameau
...
Differential Revision: https://phabricator.services.mozilla.com/D160025
2022-10-26 08:06:33 +00:00
Csoregi Natalia
5f9da7b301
Backed out 12 changesets (bug 1795322) for causing multiple failures e.g. test_deletion_request_ping.py. CLOSED TREE
...
Backed out changeset aba25cbcda51 (bug 1795322)
Backed out changeset a4a35005ada9 (bug 1795322)
Backed out changeset 8e8d790eb0f4 (bug 1795322)
Backed out changeset db8903454bd3 (bug 1795322)
Backed out changeset 60cc71c61cad (bug 1795322)
Backed out changeset bc6a674994ad (bug 1795322)
Backed out changeset 6ac8a611f8c7 (bug 1795322)
Backed out changeset 9fb873ecfb31 (bug 1795322)
Backed out changeset c8a7a40c2a2f (bug 1795322)
Backed out changeset f2c118b6c6ce (bug 1795322)
Backed out changeset 38df43b4a70f (bug 1795322)
Backed out changeset 89aea8373411 (bug 1795322)
2022-10-25 23:47:58 +03:00
Mark Banner
e97576127a
Bug 1795322 - Update toolkit module references in devtools. r=devtools-reviewers,ochameau
...
Differential Revision: https://phabricator.services.mozilla.com/D160025
2022-10-25 19:49:23 +00:00
William Durand
93bab82386
Bug 1797050 - Part 1 - Use `browser_specific_settings` instead of `applications` in existing `devtools/` tests. r=rpl,nchevobbe
...
We want to encourage extension developers to use `browser_specific_settings` instead of `applications`,
which will be unsupported in Manifest Version 3+. This patch prepares the introduction of a new warning
(that is usually converted into an error in the test environment).
Differential Revision: https://phabricator.services.mozilla.com/D160057
2022-10-25 14:46:40 +00:00
Emilio Cobos Álvarez
28d59e05d6
Bug 1796746 - Fix storage / stylesheet split views with modern flexbox. r=jdescottes
...
contain: size makes the automatic min size be zero, which is too
aggressive when the component is in responsive mode (and we rely on the
its auto height rather than flexing for it to be visible).
So we need to use min-{width,height}: 0 in this case. While at it
improve the behavior of splitters when switching from / to responsive
mode (we'd keep heights / widths from the splitters in effect).
Differential Revision: https://phabricator.services.mozilla.com/D159932
2022-10-24 09:37:24 +00:00
Hubert Boma Manilla
2b0206b490
Bug 1767714 - [devtools] Wait for injected sources r=nchevobbe
...
Differential Revision: https://phabricator.services.mozilla.com/D159971
2022-10-24 07:31:06 +00:00
Hubert Boma Manilla
12a18f7e11
Bug 1785277 - [devtools] Add sourceActorId to location r=ochameau
...
This patch tries to cover a few things :-
1) The `location` object now also maintains an optional `sourceActorId` property
2) `selectSource` now takes an optional `sourceActor` argument which is used to
augument the `location` object and passed to `selectLocation` then onto
`loadSourceText` function to load the specific source text.
3) A new selector `getFirstSourceActorForGeneratedSource` to select the source actor to load the
source text.
4) `LoadSourceText`now always track the selected source actor (which should load the source text)
each time a location is selected.
Differential Revision: https://phabricator.services.mozilla.com/D155952
2022-10-23 15:49:06 +00:00
Butkovits Atila
b8493b0256
Bug 1794904 - disable browser_jsonview_expand_collapse.js on Linux_64_opt for frequent failures. r=intermittent-reviewers,MasterWayZ
...
Differential Revision: https://phabricator.services.mozilla.com/D159969
2022-10-22 15:35:58 +00:00
Jonathan Kew
89c8d6a003
Bug 1461589 - Add support for the CSS font-variant-emoji property to the style system. r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D147494
2022-10-22 09:43:48 +00:00