Граф коммитов

382 Коммитов

Автор SHA1 Сообщение Дата
Julian Descottes 44d25cad52 Bug 1780396 - [devtools] fix typo in docs for devtools throttling speeds r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D152380
2022-07-21 16:29:17 +00:00
Julian Descottes d068c092b3 Bug 1778270 - [devtools] Remove outdated WebIDE documentation r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D152172
2022-07-20 06:55:57 +00:00
Sylvestre Ledru cfaffe8d11 Bug 1765645 - devtools/docs - fix the link to the toolbox r=nchevobbe DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D152148
2022-07-19 09:06:23 +00:00
Sylvestre Ledru 0afc24e913 Bug 1773598 - devtools/docs: remove a html artifact DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D152092
2022-07-19 07:37:46 +00:00
Sylvestre Ledru 76fd00fb39 Bug 1770589 - devtools/doc: fix a typo DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D152086
2022-07-19 07:37:01 +00:00
Sylvestre Ledru 07e3132653 no bug - devtools/doc - remove firefox 68 docs r=nchevobbe DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D152103
2022-07-19 06:58:56 +00:00
Sylvestre Ledru a2e2e9b72e Bug 1765029 - devtools/docs: remove an old link r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D152085
2022-07-19 06:58:27 +00:00
Tooru Fujisawa c26c3f5551 Bug 1667455 - Part 14: Stop importing Services.jsm in documents. r=kmag,necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D150903
2022-07-11 12:41:54 +00:00
Nicolas Chevobbe 5f379dc0b9 Bug 1776145 - [devtools] Remove WebConsoleConnectionProxy. r=ochameau.
Differential Revision: https://phabricator.services.mozilla.com/D150087
2022-07-04 13:27:52 +00:00
Nicolas Chevobbe c6f171a8b1 Bug 1776145 - [devtools] Remove unnecessary WebConsoleUI additionalProxies. r=ochameau,devtools-backward-compat-reviewers,jdescottes.
`WebConsoleConnectionProxy` is now only used for:
- listening to `lastPrivateContextExited`, which can be done from the top-level
  console front instead
- setting `NetworkMonitor.saveRequestAndResponseBodies` for toolbox we don't have
  network resource support for, which would be better done in `startWatchingNetworkResources`.

This means we don't need to keep a Map of additional proxies.
The only impact is on `clearMessagesCache`, where we now fetch all fronts with
`getAllFronts` instead of looping through the Map of additional proxies.
This change highlighted some race condition in tests, as it's now slightly slower.
So we add a new `clearMessagesCacheAsync` function, which is doing the same thing
as `clearMessagesCache`, except it's not `oneway`, so we can know when the cache
was indeed cleared, and we emit an event to indicate when the cache was cleared.
We can't simply remove `oneway` from `clearMessagesCache` as it causes backward
compatibility issues we can't avoid.
This also highlighted an issue with the cache not being cleared on `console.clear`
when it is batched, so we fix this (a test was failing without it).

The next patch in the queue will completely remove `WebConsoleConnectionProxy`.

Differential Revision: https://phabricator.services.mozilla.com/D150085
2022-07-04 13:27:51 +00:00
Bogdan Szekely f202b51354 Bug 1752374 - fixed lint failures r=lint-fix CLOSED TREE 2022-06-23 15:52:52 +03:00
Julien Wajsberg bee5e18654 Bug 1752374 - [devtools documentation] Remove the documentation about the old performance panel r=jdescottes DONTBUILD
This replaces the documentation by a link to the online documentation to
the Firefox Profiler.

Differential Revision: https://phabricator.services.mozilla.com/D150005
2022-06-23 12:20:01 +00:00
Nicolas Chevobbe d0ec19672d Bug 1770899 - [devtools] Use RemoteSettings devtools-devices collection. r=jdescottes.
Differential Revision: https://phabricator.services.mozilla.com/D149405
2022-06-17 06:44:18 +00:00
Julian Descottes edc9af2bff Bug 1773203 - [devtools] Improve failure message and documentation for devtools-bundle job r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D148607
2022-06-08 07:47:25 +00:00
Julian Descottes dbae8b1743 Bug 1770882 - [devtools] Documentation: fix unit for throttling profiles r=nchevobbe
Depends on D147131

As mentioned on https://bugzilla.mozilla.org/show_bug.cgi?id=1471539#c8

Differential Revision: https://phabricator.services.mozilla.com/D147147
2022-05-24 13:10:02 +00:00
Nicolas Chevobbe eab2a86cbe Bug 1668219 - [devtools] Remove now unused performance actor and front. r=julienw,devtools-backward-compat-reviewers.
Differential Revision: https://phabricator.services.mozilla.com/D145463
2022-05-06 17:16:28 +00:00
Tooru Fujisawa 8c9eb71d74 Bug 1765167 - Part 2: Stop using Cu.import in devtools/. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D144095
2022-05-03 06:32:29 +00:00
Alexandre Poirot ee871dd92b Bug 1764505 - [devtools] Migrate Tool's definition isTargetSupport to isToolSupported. r=nchevobbe
And pass a toolbox instead of only the toplevel target.
It helps identify the browser toolbox and easily enable/disable tools for it.

Differential Revision: https://phabricator.services.mozilla.com/D143628
2022-04-20 15:15:06 +00:00
Nicolas Chevobbe 70b0d12ee4 Bug 1765240 - [devtools] Remove ObjectActor#decompile. r=ochameau,devtools-backward-compat-reviewers,jdescottes.
Differential Revision: https://phabricator.services.mozilla.com/D143972
2022-04-20 08:05:35 +00:00
Julian Descottes 7ae3393b2f Bug 1762837 - [devtols] Update DAMP docs to suggest --suite instead of --activeTests r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D143981
2022-04-19 11:56:45 +00:00
a153 1624d06d6b Bug 1762483 - Spelling mistake: 'DOM notes' -> 'DOM nodes' r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D143550
2022-04-14 05:33:36 +00:00
osBins 3199694f9f Bug 1755656 - [devtools] Updated fixing-bugs doc for CSS changes. r=Honza
added `mach build faster` command to doc to show local changes.

Differential Revision: https://phabricator.services.mozilla.com/D139228
2022-02-21 10:32:24 +00:00
Sylvestre Ledru caaedeee98 Bug 1753413 - fx doc: Remove whitespaces, trailing lines & windows CR r=andi,perftest-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D137741
2022-02-03 18:34:58 +00:00
Julian Descottes b5d88e3cb3 Bug 1752796 - [devtools] Fix image links in devtools/docs/user/page_inspector/ui_tour/index.rst r=Honza
Missing semicolon in some image links

Differential Revision: https://phabricator.services.mozilla.com/D137403
2022-02-03 15:55:03 +00:00
Julian Descottes 5c16e42779 Bug 1743618 - [devtools] Update links in release tasks page to show up as actual links r=Honza
Depends on D137282

Not sure if this regressed after a sphinx update, but the links are not clickable at the moment.

Differential Revision: https://phabricator.services.mozilla.com/D137283
2022-01-31 12:32:33 +00:00
Julian Descottes 0f17c8c689 Bug 1743618 - [devtools] Fix link to service worker test page in release tasks docs r=Honza
This link has not been working for a while, switching to an MDN example page.
We should still come up with example pages hosted on a domain owned by devtools team if possible
(and not on the personal github account of a team member :) )

Depends on D137141

Differential Revision: https://phabricator.services.mozilla.com/D137282
2022-01-31 12:32:33 +00:00
Jan Odvarko 82482e661f Bug 1752319 - [devtools] Fix MDN links in DevTools contributor docs r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D137141
2022-01-28 09:02:26 +00:00
Jan Odvarko 21b3090758 Bug 1750190 - [devtools] Fix MDN links in DevTools user docs r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D135992
2022-01-18 12:34:57 +00:00
Hubert Boma Manilla 651cc06518 Bug 1750560 - Update the code to run damp on try r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D136126
2022-01-17 18:18:04 +00:00
Nicolas Chevobbe 19bf4f97d1 Bug 1749449 - [devtools] Cleanup hasNativeConsoleAPI state through the codebase. r=jdescottes,devtools-backward-compat-reviewers.
This removes all the mention of this property which aren't
actually used to display the warning message in the end.

Differential Revision: https://phabricator.services.mozilla.com/D135587
2022-01-11 15:17:24 +00:00
James Graham 1501d682e7 Bug 1748845 - Update source-relative links in devtools docs, r=firefox-source-docs-reviewers,Honza,sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D135382
2022-01-11 10:48:20 +00:00
Sebastian Zartner 3a67d45dd3 Bug 1743107 - Added support for HWB colors. r=jdescottes,kpatenio
This change doesn't cover auto-completion for "hwb" yet because it isn't added automatically when generating the properties-db.js.

Differential Revision: https://phabricator.services.mozilla.com/D132992
2021-12-19 12:56:01 +00:00
Emilio Cobos Álvarez 44e44eaf46 Bug 1743310 - Remove paint flashing support from DevTools. r=nchevobbe,devtools-backward-compat-reviewers
It doesn't do anything useful except on a niche WebRender fallback code-path,
so it's confusing.

Differential Revision: https://phabricator.services.mozilla.com/D132311
2021-11-30 11:46:07 +00:00
Alexandre Poirot 487d9677f3 Bug 1740292 - [devtools] Stop calling target front attach method. r=nchevobbe
Previous patches made attach method become a no-op, so all these callsites can be removed.

Differential Revision: https://phabricator.services.mozilla.com/D130913
2021-11-18 10:57:01 +00:00
Julian Descottes b9f00defcc Bug 1736321 - [devtools] Document DevTools Sheriffing process r=devtools-reviewers,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D128717
2021-11-17 16:16:43 +00:00
Jan Odvarko 90968a4061 Bug 1740964 - [devtools] The link for yarn is outdated r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D131330
2021-11-17 14:21:41 +00:00
Julian Descottes 212faeb0c3 Bug 1741369 - [devtools] Update paths to loader files in devtools/ r=ochameau
Depends on D131216

Differential Revision: https://phabricator.services.mozilla.com/D131217
2021-11-17 12:43:26 +00:00
Sylvestre Ledru 39a2e463ea Bug 1714788 - doc: Fix a Pygments warning r=firefox-source-docs-reviewers,championshuttler DONTBUILD
Warning:
lexer name 'bz_comment_text' is not known

Depends on D131047

Differential Revision: https://phabricator.services.mozilla.com/D131095
2021-11-16 07:59:49 +00:00
Sylvestre Ledru 1df999712f Bug 1714788 - doc: do not provide the language if the code isn't valid r=firefox-source-docs-reviewers,championshuttler DONTBUILD
Otherwise, the warning is displayed:
```
WARNING: Could not lex literal_block as "json". Highlighting skipped.
```

Depends on D131092

Differential Revision: https://phabricator.services.mozilla.com/D131093
2021-11-16 07:59:48 +00:00
Sylvestre Ledru cc801c974a Bug 1714788 - doc: Remove an html artifact r=firefox-source-docs-reviewers,championshuttler,nchevobbe DONTBUILD
Depends on D131091

Differential Revision: https://phabricator.services.mozilla.com/D131092
2021-11-16 07:59:47 +00:00
Sylvestre Ledru e747d0c0f5 Bug 1714788 - doc: Fix a warning 'Inline interpreted text' r=firefox-source-docs-reviewers,championshuttler DONTBUILD
WARNING: Inline interpreted text or phrase reference start-string without end-string.

Depends on D131090

Differential Revision: https://phabricator.services.mozilla.com/D131091
2021-11-16 07:59:47 +00:00
Nicolas Chevobbe 37a6a78645 Bug 1739115 - [devtools] Add a section for xpcshell debugging in recurring devtools tasks documentation. r=bomsy,jdescottes.
Differential Revision: https://phabricator.services.mozilla.com/D130267
2021-11-10 14:55:37 +00:00
Jan Odvarko 16402859b4 Bug 1737573 - [devtools] Migrate MDN docs into Sphinx (connect docs to toc + css) r=nchevobbe,ahal
Differential Revision: https://phabricator.services.mozilla.com/D129798
2021-11-03 10:45:52 +00:00
Jan Odvarko befbc86e2b Bug 1737573 - [devtools] Migrate MDN docs into Sphinx (import rst files) r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D129607
2021-11-03 10:45:51 +00:00
Jan Odvarko 4a38d3dccd Bug 1737573 - [devtools] Migrate MDN docs into Sphinx (import images III.) r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D129795
2021-11-03 10:45:48 +00:00
Jan Odvarko 59a20e1fb1 Bug 1737573 - [devtools] Migrate MDN docs into Sphinx (import images II.) r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D129794
2021-11-03 10:45:44 +00:00
Jan Odvarko 5835b23152 Bug 1737573 - [devtools] Migrate MDN docs into Sphinx (import images I.) r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D129604
2021-11-03 10:45:40 +00:00
Jan Odvarko eca2f3ae2a Bug 1737572 - [devtools] Move documentation for contributors to a subfolder r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D129389
2021-10-26 09:41:51 +00:00
Jan Odvarko ff42b6b16c Bug 1723925 - [devtools] Add documentation to update the simulated-devices list for RDM r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D127419
2021-10-05 07:47:18 +00:00
Alexandre Poirot fafbaf95cb Bug 1732120 - [devtools] Remove FrameTargetActor in favor of WindowGlobalTargetActor. r=nchevobbe,devtools-backward-compat-reviewers
This intermediate actor is no longer useful for a while.
(Since we dropped the LocalTabProxy. I think since we introduced the TabDescriptor?)

I updated actor-hierarchy.md significantly as it was quite outdated!
We would probably benefit having a section dedicated to the WatcherActor.

Differential Revision: https://phabricator.services.mozilla.com/D126373
2021-09-27 12:16:12 +00:00