Commit Graph

25779 Commits

Author SHA1 Message Date
Nicolas Chevobbe
945a7bc8a7 Bug 1804384 - [devtools] Fix indent of messages in warning group. r=bomsy.
Differential Revision: https://phabricator.services.mozilla.com/D164044
2022-12-09 07:08:47 +00:00
Nicolas Chevobbe
7e9ac8be05 Bug 1804680 - [devtools] Update compatibility data. r=jdescottes.
Differential Revision: https://phabricator.services.mozilla.com/D164228
2022-12-08 21:04:59 +00:00
Nicolas Chevobbe
60a24410b8 Bug 1803360 - [devtools] Put pretty-fast library in tree. r=ochameau.
Differential Revision: https://phabricator.services.mozilla.com/D163560
2022-12-08 15:54:07 +00:00
Nicolas Chevobbe
335e435c11 Bug 1803508 - [devtools] Fix console stubs generation. r=jdescottes
All calls to `writeStubsToFile` were updated, but not the function signature itself,
which we do in this patch.
We also take this as an opportunity to fix the require calls in the stub file template.

Differential Revision: https://phabricator.services.mozilla.com/D163489
2022-12-08 14:54:02 +00:00
Paul Adenot
0a5a3ee289 Bug 1804687 - Allow https://example.com as a Firefox Profiler base_url. r=julienw
Differential Revision: https://phabricator.services.mozilla.com/D164231
2022-12-08 14:52:43 +00:00
Jonathan Kew
fd19c53b62 Bug 1804492 - Remove 'font-palette' from the 'font' shorthand. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D164128
2022-12-08 10:16:34 +00:00
Cosmin Sabou
09c229f0eb Backed out changeset b276c24696ee (bug 1787947) for causing crashes @nsCSSFrameConstructor. 2022-12-08 02:24:48 +02:00
Emily McDonough
d1c00468a9 Bug 1787947 - pref on CSS named pages in Nightly r=dholbert
Also standardize having named pages enabled for css-page WPT

Differential Revision: https://phabricator.services.mozilla.com/D163638
2022-12-07 23:20:35 +00:00
Sandor Molnar
13937f6a9c Backed out changeset 6fb5de003d4a (bug 1787947) for breaking test. CLOSED TREE 2022-12-07 23:59:19 +02:00
Emily McDonough
ed70ca3f50 Bug 1787947 - pref on CSS named pages in Nightly r=dholbert
Also standardize having named pages enabled for css-page WPT

Differential Revision: https://phabricator.services.mozilla.com/D163638
2022-12-07 21:14:52 +00:00
Zachary Svoboda
0686f3870b Bug 1255839 - Configure themed color for json viewer errors r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D159547
2022-12-07 07:04:55 +00:00
Nicolas Chevobbe
58bc8e2d99 Bug 1803538 - [devtools] Add scrollend in debugger event breakpoint panel. r=bomsy.
The event is only supported when `apz.scrollend-event.content.enabled` is set to
true, so we only show it in the debugger when it's supported.

A test is added to ensure the event breakpoint does work as expected.

Differential Revision: https://phabricator.services.mozilla.com/D163910
2022-12-07 06:38:40 +00:00
Noemi Erli
dde37674cb Backed out 9 changesets (bug 1796585, bug 1797497, bug 1800076, bug 1796152, bug 1802349, bug 1797284, bug 1796554) for causing failures in browser_about_logging.js
Backed out changeset 5d578b36aea0 (bug 1802349)
Backed out changeset 749d5f1e7ccd (bug 1800076)
Backed out changeset 5963545fcfaf (bug 1796554)
Backed out changeset 1cc2eaf20d0b (bug 1797497)
Backed out changeset a308c6642faa (bug 1797284)
Backed out changeset 09d8640c34d7 (bug 1796585)
Backed out changeset e73defde7d21 (bug 1796554)
Backed out changeset 02da7a0c249c (bug 1796152)
Backed out changeset 83efe75fbac8 (bug 1796152)
2022-12-06 22:28:08 +02:00
Paul Adenot
83ae1bdd46 Bug 1797284 - Teach about:logging to start the Firefox Profiler, with the appropriate profiler preset for a particular logging preset. r=julienw,mossop,flod
This has some provision to continue working if the tab is closed or reloaded,
but it's not fool proof. Eventually we might want to move this to a service, but
it's already very useful as it is.

Differential Revision: https://phabricator.services.mozilla.com/D160213
2022-12-06 15:46:41 +00:00
Sandor Molnar
2b35e5d5d2 Backed out 9 changesets (bug 1802349, bug 1796585, bug 1796152, bug 1797284, bug 1800076, bug 1796554, bug 1797497) for causing bc failures in browser_about_logging CLOSED TREE
Backed out changeset 606868b3d7b0 (bug 1802349)
Backed out changeset 34978ba15643 (bug 1800076)
Backed out changeset aa2e24236a3c (bug 1796554)
Backed out changeset 07135b50717d (bug 1797497)
Backed out changeset 120ebd2d7def (bug 1797284)
Backed out changeset 97fc02919d57 (bug 1796585)
Backed out changeset 1e3b50d9b36c (bug 1796554)
Backed out changeset 206df9b05088 (bug 1796152)
Backed out changeset 5ffdf16c555d (bug 1796152)
2022-12-02 21:35:51 +02:00
Paul Adenot
ec1a47fdf5 Bug 1797284 - Teach about:logging to start the Firefox Profiler, with the appropriate profiler preset for a particular logging preset. r=julienw,mossop,flod
This has some provision to continue working if the tab is closed or reloaded,
but it's not fool proof. Eventually we might want to move this to a service, but
it's already very useful as it is.

Differential Revision: https://phabricator.services.mozilla.com/D160213
2022-12-02 17:04:17 +00:00
Andreas Pehrson
dca51b5729 Bug 1796069 - Register AppleVTDecoder callback thread with the profiler. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D160774
2022-12-01 09:52:53 +00:00
Emilio Cobos Álvarez
c9a0f65ceb Bug 1802957 - Remove non-standard and unused system font values. r=jfkthame
And hide internal but used values. System fonts are not exposed in the
computed style so this should be fine.

If we need the old values for some obscure reason, it's trivial to alias
them to e.g., menu or so.

Differential Revision: https://phabricator.services.mozilla.com/D163269
2022-12-01 09:23:19 +00:00
Marian-Vasile Laza
76bef44509 Backed out 3 changesets (bug 1802957) for causing mochitest failures on test_unstyled_control_height.html. CLOSED TREE
Backed out changeset 649c190f6c29 (bug 1802957)
Backed out changeset 60822417a838 (bug 1802957)
Backed out changeset ffe8d999e454 (bug 1802957)
2022-12-01 01:23:08 +02:00
Emilio Cobos Álvarez
77327233d7 Bug 1802957 - Remove non-standard and unused system font values. r=jfkthame
And hide internal but used values. System fonts are not exposed in the
computed style so this should be fine.

If we need the old values for some obscure reason, it's trivial to alias
them to e.g., menu or so.

Differential Revision: https://phabricator.services.mozilla.com/D163269
2022-11-30 16:14:26 +00:00
Marian-Vasile Laza
5429d038a7 Backed out 9 changesets (bug 1796554, bug 1800076, bug 1796152, bug 1797497, bug 1802349, bug 1797284, bug 1796585) for causing build bustages. CLOSED TREE
Backed out changeset 19610692544c (bug 1802349)
Backed out changeset 23ad8b2fb3b9 (bug 1800076)
Backed out changeset cd729b6a5864 (bug 1796554)
Backed out changeset a9b8f5d7ee8c (bug 1797497)
Backed out changeset d4be9af4e5ae (bug 1797284)
Backed out changeset e6d7ca17b1d3 (bug 1796585)
Backed out changeset fad76f060c8f (bug 1796554)
Backed out changeset 9b970bad5500 (bug 1796152)
Backed out changeset cc9b0300a64b (bug 1796152)
2022-11-30 21:49:41 +02:00
Paul Adenot
f7274c343e Bug 1797284 - Teach about:logging to start the Firefox Profiler, with the appropriate profiler preset for a particular logging preset. r=julienw,mossop,flod
This has some provision to continue working if the tab is closed or reloaded,
but it's not fool proof. Eventually we might want to move this to a service, but
it's already very useful as it is.

Differential Revision: https://phabricator.services.mozilla.com/D160213
2022-11-30 15:44:08 +00:00
Emilio Cobos Álvarez
3438e96c62 Bug 1802338 - Tweak z-index of the RDM toolbar. r=devtools-reviewers,jdescottes
So that it paints on top of the dialog stack, and the devtools splitter.

Differential Revision: https://phabricator.services.mozilla.com/D163002
2022-11-30 10:17:03 +00:00
Csoregi Natalia
e111eb1233 Backed out 2 changesets (bug 1802338) for causing z-index failures. CLOSED TREE
Backed out changeset 0abf88b6f60a (bug 1802338)
Backed out changeset 6ded71887ed3 (bug 1802338)
2022-11-30 04:42:01 +02:00
Emilio Cobos Álvarez
ef899d11fc Bug 1802338 - Centralize z-indices that fight in the browser area. r=Gijs
Not sure if this is worth it, your call. But it's a bit clearer to
figure out what fights with what.

Depends on D163002

Differential Revision: https://phabricator.services.mozilla.com/D163003
2022-11-30 01:28:00 +00:00
Emilio Cobos Álvarez
37743683a6 Bug 1802338 - Tweak z-index of the RDM toolbar. r=devtools-reviewers,jdescottes
So that it paints on top of the dialog stack, and the devtools splitter.

Differential Revision: https://phabricator.services.mozilla.com/D163002
2022-11-30 01:28:00 +00:00
Hubert Boma Manilla
405f306c73 Bug 1787198 - [devtools] Change caching of original and generated source text content r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D160564
2022-11-27 16:18:37 +00:00
Hubert Boma Manilla
31d6069e87 Bug 1787198 - Migrate Tab to use getSelectedLocation instead of getSelectedSource r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D162307
2022-11-27 16:18:36 +00:00
Barret Rennie
6402b34ecf Bug 1541508 - Use Services.env in devtools/ r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D160137
2022-11-25 19:09:06 +00:00
Alexandre Poirot
7626d25bd8 Bug 1801621 - [devtools] Document source map requests module. r=bomsy
Differential Revision: https://phabricator.services.mozilla.com/D162566
2022-11-24 14:57:49 +00:00
Alexandre Poirot
723bb4d77d Bug 1801621 - [devtools] Remove useless createConsumer intermediate module. r=bomsy
Differential Revision: https://phabricator.services.mozilla.com/D162565
2022-11-24 14:57:49 +00:00
Alexandre Poirot
c4df24fd2c Bug 1801621 - [devtools] Avoid creating WorkerDispatch task on each worker method call. r=bomsy
WorkerDispatcher.invoke will instantiate a new "Task" method on each call.
Ideally, we should only use WorkerDispatch.task(), unless the related method is called once.

Differential Revision: https://phabricator.services.mozilla.com/D162564
2022-11-24 14:57:48 +00:00
Alexandre Poirot
38987e2f72 Bug 1801621 - [devtools] Remove unused getAllGeneratedLocations. r=bomsy
Differential Revision: https://phabricator.services.mozilla.com/D162563
2022-11-24 14:57:48 +00:00
Alexandre Poirot
f22fbaf71e Bug 1801621 - [devtools] Remove asset root setters. r=bomsy
Instead we could always load the wasm file when the modules are loaded.

Differential Revision: https://phabricator.services.mozilla.com/D162562
2022-11-24 14:57:48 +00:00
Thomas Wisniewski
30fc75f4ab Bug 1800969 - Alias -webkit-clip-path to clip-path for webcompat; r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D162674
2022-11-23 20:26:14 +00:00
Emilio Cobos Álvarez
6c417c9069 Bug 1802169 - Remove unused -moz-window-frame appearance constants. r=cmartin
Differential Revision: https://phabricator.services.mozilla.com/D162864
2022-11-23 16:20:02 +00:00
Marco Castelluccio
a957bd537d Bug 1790816 - Reformat devtools/ with isort. r=linter-reviewers,Standard8 DONTBUILD
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D162642
2022-11-23 12:37:48 +00:00
Julian Descottes
89dbe95343 Bug 1800836 - [devtools] Stop passing the NetworkEvent owner to NetworkUtils.sys.mjs r=bomsy
Depends on D162207

Differential Revision: https://phabricator.services.mozilla.com/D162208
2022-11-22 20:02:15 +00:00
Julian Descottes
9eaa013c97 Bug 1800833 - [devtools] Notify about response cookies and headers from NetworkObserver directly r=bomsy
Depends on D162206

Differential Revision: https://phabricator.services.mozilla.com/D162207
2022-11-22 20:02:15 +00:00
Julian Descottes
7bc4645ea6 Bug 1800833 - [devtools] Clarify the content of networkObserver's openResponses r=bomsy
Depends on D162205

Differential Revision: https://phabricator.services.mozilla.com/D162206
2022-11-22 20:02:15 +00:00
Julian Descottes
3867affdd8 Bug 1800838 - [devtools] Do not create new request blocking regexp for each and every channel r=bomsy
Depends on D162204

Differential Revision: https://phabricator.services.mozilla.com/D162205
2022-11-22 20:02:14 +00:00
Julian Descottes
3f8384b6f8 Bug 1800838 - [devtools] Request blocking should not be handled in the middle of NetworkEvent payload creation r=bomsy
Depends on D162604

Differential Revision: https://phabricator.services.mozilla.com/D162204
2022-11-22 20:02:14 +00:00
Julian Descottes
4f91c122ba Bug 1800838 - [devtools] Add shared helper for typing in netmonitor r=bomsy
This helper was duplicated in many tests.

Differential Revision: https://phabricator.services.mozilla.com/D162604
2022-11-22 20:02:13 +00:00
Emilio Cobos Álvarez
4c5d3e8cac Bug 1800950 - Update property database.
MANUAL PUSH: Trivial orange fix CLOSED TREE
2022-11-22 20:00:08 +01:00
Sean Feng
bd249c4f8e Bug 1797947 - Make devtools generated fetch requests excluded from resource timing r=jdescottes,valentin,necko-reviewers
Devtools can generate fetch request on behalf of the content document,
reporting these requests in PerformanceObserver would cause confusion,
so we should ignore them.

Differential Revision: https://phabricator.services.mozilla.com/D162582
2022-11-22 14:24:19 +00:00
Emilio Cobos Álvarez
0b6c9c0421 Bug 1798396 - Update property database to account for previous change.
MANUAL PUSH: Trivial orange fix CLOSED TREE
2022-11-22 15:57:29 +01:00
Emilio Cobos Álvarez
905441daab Bug 1801123 - Enable container queries on nightly. r=dshin
There's only one worrying timeout
(css/css-contain/container-queries/inline-size-bfc-floats.html), but it
isn't a "hard" hang, but an invalidation loop.

Let's enable this by default on nightly to get some feedback while we
work on it and the remaining issues that block enabling them by default.

Differential Revision: https://phabricator.services.mozilla.com/D162292
2022-11-21 10:04:31 +00:00
Julian Descottes
dff8d66458 Bug 1797785 - [devtools] Add tests for Network Observer r=bomsy
Depends on D162193

This adds only very basic tests for the observer, but I would like to discuss about switching the API to a fully event-based solution.
I initially decided against it because I didn't want to create unnecessary changes for DevTools, but in the end, the owner pattern is quite verbose if
we want to use it for testing. Having events instead would make it more flexible, we could test only what we are interested in, with minimal overhead.

If we agree on this, we can land those very simple tests and I can move on to change the API to use events and update the tests, before we add more
tests.

Differential Revision: https://phabricator.services.mozilla.com/D162195
2022-11-18 15:52:05 +00:00
Julian Descottes
846a5b9fb2 Bug 1797785 - [devtools] Switch NetworkObserver constructor to named arguments r=bomsy
While writing a test, I forgot that the filter function was an "ignore" function. Using named arguments should avoid this. Maybe we should
consider using a regular filter approach (ie return true if we want to keep the request)?

Differential Revision: https://phabricator.services.mozilla.com/D162193
2022-11-18 15:52:04 +00:00
Sebastian Zartner
8bc914b5d9 Bug 1801045 - Replaced ObjectInspector handling for custom formatter output by separate one. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D159166
2022-11-18 08:27:39 +00:00