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

85 Коммитов

Автор SHA1 Сообщение Дата
Alexandre Poirot f9b7f48a40 Bug 1884717 - [devtools] Expose function returns logging to webconsole :trace command. r=devtools-reviewers,fluent-reviewers,flod,bomsy
This was only exposed via the Debugger button.

Differential Revision: https://phabricator.services.mozilla.com/D204302
2024-03-13 13:48:55 +00:00
Alexandre Poirot 4a9c4cd103 Bug 1884194 - [devtools] Document the JavaScript tracer. r=devtools-reviewers,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D203938
2024-03-11 22:34:52 +00:00
echrs 9ba33abfe5 Bug 1878635 - Remove Deprecated.sys.mjs r=Standard8,devtools-reviewers,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D201737
2024-02-20 20:33:24 +00:00
Stephen A Pohl 9d7f71a3ce Bug 1873782: Remove firefox-bin on macOS. r=mac-reviewers,bradwerth,glandium
Differential Revision: https://phabricator.services.mozilla.com/D197419
2024-01-09 22:41:11 +00:00
Stanca Serban 5a73b57894 Backed out changeset d88982ef09c8 (bug 1871447) as requested for landing under the wrong bug number and for better understanding of the changes made in the future. CLOSED TREE 2024-01-10 00:31:35 +02:00
Stephen A Pohl bb58492631 Bug 1871447: Remove firefox-bin on macOS. r=mac-reviewers,bradwerth,glandium
Differential Revision: https://phabricator.services.mozilla.com/D197419
2024-01-09 00:18:31 +00:00
Hubert Boma Manilla 6b0b013d69 Bug 1353798 - [devtools] Add documentation for service worker timings r=devtools-reviewers,ochameau
Differential Revision: https://phabricator.services.mozilla.com/D196389
2023-12-19 12:54:37 +00:00
ogiorgis 111705f5fd Bug 1840493 - doc/rst: fix some languages declaration r=firefox-source-docs-reviewers,webdriver-reviewers,necko-reviewers,geckoview-reviewers,devtools-reviewers,profiler-reviewers,championshuttler,whimboo,nchevobbe,julienw,amejiamarmol
Differential Revision: https://phabricator.services.mozilla.com/D196268
2023-12-13 18:32:20 +00:00
Tooru Fujisawa c52958574f Bug 1862693 - Use 1-origin column number in debugger API. r=iain,ochameau,devtools-reviewers
This includes the following API:
  * Debugger.Object.prototype.createSource
     * startColumn field of the parameter object
  * Debugger.Script.prototype.startColumn
     * return value
  * Debugger.Script.prototype.getPossibleBreakpoints
     * minColumn and maxColumn property of the query
     * columnNumber property of the returned array elements
  * Debugger.Script.prototype.getOffsetMetadata
     * columnNumber property of the returned array elements
  * Debugger.Script.prototype.getOffsetLocation
     * columnNumber property of the returned array elements
  * Debugger.Script.prototype.getAllColumnOffsets
     * columnNumber property of the returned array elements
  * Debugger.Script.prototype.getOffsetsCoverage
     * columnNumber property of the returned array elements
  * Debugger.Source.prototype.startColumn
     * return value

This patch modifies DevTools code to convert the column number from/to 1-origin,
while keep using 0-origin on their side.

One exception is the WASM's column number, which had been using 1-origin 1.
Each consumer in DevTools handles the WASM case, and the code can be removed
once DevTools internal also switches to 1-origin column number.

The other exception is to use 1-based column number in logCustomFormatterError,
which is folded from bug 1864783 patch.

Differential Revision: https://phabricator.services.mozilla.com/D193270
2023-11-22 12:31:30 +00:00
Natalia Csoregi 705aa81869 Backed out 14 changesets (bug 1865005, bug 1864168, bug 1864155, bug 1862814, bug 1862693) for causing bustage on nsRFPService.cpp. CLOSED TREE
Backed out changeset a4f3e7625abf (bug 1865005)
Backed out changeset ab38141e470b (bug 1862814)
Backed out changeset a679b50dc4a9 (bug 1862814)
Backed out changeset e340886ce62a (bug 1862814)
Backed out changeset 1378502e64b0 (bug 1862814)
Backed out changeset 8ee94e5e79c2 (bug 1862814)
Backed out changeset 6d4ef1cdfabb (bug 1864168)
Backed out changeset 2c30c4d757fc (bug 1864168)
Backed out changeset d4db9576559b (bug 1864168)
Backed out changeset 8ffec0d83028 (bug 1864168)
Backed out changeset fa77d852b494 (bug 1864168)
Backed out changeset f6646771a26a (bug 1864168)
Backed out changeset 7bd0ff6986df (bug 1864155)
Backed out changeset 39867b503289 (bug 1862693)
2023-11-22 14:01:55 +02:00
Tooru Fujisawa dd290929bf Bug 1862693 - Use 1-origin column number in debugger API. r=iain,ochameau,devtools-reviewers
This includes the following API:
  * Debugger.Object.prototype.createSource
     * startColumn field of the parameter object
  * Debugger.Script.prototype.startColumn
     * return value
  * Debugger.Script.prototype.getPossibleBreakpoints
     * minColumn and maxColumn property of the query
     * columnNumber property of the returned array elements
  * Debugger.Script.prototype.getOffsetMetadata
     * columnNumber property of the returned array elements
  * Debugger.Script.prototype.getOffsetLocation
     * columnNumber property of the returned array elements
  * Debugger.Script.prototype.getAllColumnOffsets
     * columnNumber property of the returned array elements
  * Debugger.Script.prototype.getOffsetsCoverage
     * columnNumber property of the returned array elements
  * Debugger.Source.prototype.startColumn
     * return value

This patch modifies DevTools code to convert the column number from/to 1-origin,
while keep using 0-origin on their side.

One exception is the WASM's column number, which had been using 1-origin 1.
Each consumer in DevTools handles the WASM case, and the code can be removed
once DevTools internal also switches to 1-origin column number.

The other exception is to use 1-based column number in logCustomFormatterError,
which is folded from bug 1864783 patch.

Differential Revision: https://phabricator.services.mozilla.com/D193270
2023-11-22 11:13:53 +00:00
Rob Wu c9afac5d83 Bug 1864362 - Add docs for Wi-Fi debugging of Firefox for Android r=devtools-reviewers,nchevobbe
This documents how one can wirelessly debug a Firefox for Android app
over Wi-Fi, without requiring a USB cable.

The steps here differ from the official documentation at
https://developer.android.com/tools/adb#connect-to-a-device-over-wi-fi
in the following ways:

- Omitted unnecessary dependency on Android Studio.

- Added instruction to look up the IP address from Internet / Wi-Fi
  settings instead of relying on the displayed IP address. The latter
  is not reliable, e.g. when a VPN is enabled.

- Added explicit instruction to use "adb connect" to avoid dependency
  on mDNS.

Differential Revision: https://phabricator.services.mozilla.com/D193390
2023-11-14 12:45:22 +00:00
Sylvestre Ledru 82db67a6be Bug 1860157 - Fix typos found by codespell 2.2.6 r=webdriver-reviewers,zeid,search-reviewers,perftest-reviewers,devtools-reviewers,releng-reviewers,gbrown,sparky,jteow
Differential Revision: https://phabricator.services.mozilla.com/D191480
2023-10-19 20:52:10 +00:00
dylan 12c105f231 Bug 1156659 - Added offline network throttling to devtools. r=devtools-reviewers,bomsy,devtools-backward-compat-reviewers
Depends on D187704

Differential Revision: https://phabricator.services.mozilla.com/D187705
2023-10-04 19:42:57 +00:00
Norisz Fay 338171a737 Backed out 2 changesets (bug 1156659) for causing dt failures on browser_net_throttle.js CLOSED TREE
Backed out changeset af64e5a0109a (bug 1156659)
Backed out changeset 7e9b86bce76b (bug 1156659)
2023-10-02 16:11:21 +03:00
dylan a97e16eb2e Bug 1156659 - Added offline network throttling to devtools. r=devtools-reviewers,bomsy,devtools-backward-compat-reviewers
Depends on D187704

Differential Revision: https://phabricator.services.mozilla.com/D187705
2023-10-02 04:13:43 +00:00
Sandor Molnar e22024e42c Backed out 2 changesets (bug 1156659) for causing multiple dt failures on browser_jsterm_evaluation_context_selector_targets_update/browser_jsterm_file_load_save_keyboard_shortcut/browser_jsterm_focus_reload/etc CLOSED TREE
Backed out changeset 72676017aaf3 (bug 1156659)
Backed out changeset c5e205051938 (bug 1156659)
2023-09-26 19:54:00 +03:00
dylan 0c9eb8b05d Bug 1156659 - Added offline network throttling to devtools. r=devtools-reviewers,bomsy,devtools-backward-compat-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D187705
2023-09-26 15:33:34 +00:00
Henrik Skupin 6b54c871d8 Bug 1852526 - [devtools] Remove "devtools.inspector.ruleview.inline-compatibility-warning.enabled" preference. r=devtools-backward-compat-reviewers,devtools-reviewers,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D187893
2023-09-12 08:45:44 +00:00
Sylvestre Ledru 10018013ed Bug 1842396 - doc: fix two typos
Differential Revision: https://phabricator.services.mozilla.com/D187398
2023-09-04 20:06:35 +00:00
Sylvestre Ledru 35bff347ec Bug 1847178 - doc/perf: fix a simple typo DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D186927
2023-08-28 10:12:06 +00:00
Rob Wu ae769e9e02 Bug 1845804 - Put WebExtensions under Gecko in the overview r=mossop,perftest-reviewers,devtools-reviewers,afinder
... and rename "web extensions" to "WebExtensions".

Differential Revision: https://phabricator.services.mozilla.com/D184765
2023-07-28 14:21:51 +00:00
Sylvestre Ledru a489e659b5 Bug 1838167 - doc: Fix links to MDN Position page DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D183376
2023-07-12 11:30:28 +00:00
Vinny Diehl 7c1e323044 Bug 1262782 - Add keybinds to move/resize the measuring tool r=nchevobbe,devtools-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D183148
2023-07-12 07:38:58 +00:00
Sebastian Zartner c6dfa9e434 Bug 1773035 - Added documentation for custom formatters. r=nchevobbe,devtools-reviewers DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D182120
2023-06-29 13:06:27 +00:00
Hubert Boma Manilla 078cbcec37 Bug 1834453 - [devtools] Add documentation for the sourcemaps ignore list r=devtools-reviewers,ochameau
Differential Revision: https://phabricator.services.mozilla.com/D179317
2023-06-01 17:43:59 +00:00
Hubert Boma Manilla 525a0cb936 Bug 1834452 - [devtools] Add documentation for ignore lines r=devtools-reviewers,ochameau
- Rename the general section to `ignoring sources`
- Update the image for the ignore a source section
- Added content and images for ignore line and ignore lines

Differential Revision: https://phabricator.services.mozilla.com/D179316
2023-06-01 17:43:57 +00:00
Alexandre Poirot b04154962b Bug 1831358 - [devtools] Remove debugger overlay preferences. r=devtools-reviewers,bomsy
The second preference wasn't used.
Otherwise the "overlay" preferences should be considered the default behavior.

Differential Revision: https://phabricator.services.mozilla.com/D177207
2023-05-09 11:47:44 +00:00
Hubert Boma Manilla 92c40b4c19 Bug 1820737 - [devtools] Remove backward compatibility for lastPrivateContextExited r=devtools-reviewers,devtools-backward-compat-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D171844
2023-03-07 15:14:53 +00:00
ogiorgis df034b803f Bug 1749473 - fix some typos in doc r=firefox-source-docs-reviewers,sylvestre DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D171191
2023-03-01 09:35:11 +00:00
Alexandre Poirot c984f94118 Bug 1809848 - [devtools] Remove TargetMixin.isLocalTab/localTab attributes. r=devtools-reviewers,nchevobbe
They should rather be queried on the descriptor front.

Differential Revision: https://phabricator.services.mozilla.com/D166647
2023-01-18 12:32:03 +00:00
Butkovits Atila 4b6832ec0c Backed out 4 changesets (bug 1809848) for causing failures at browser_toolbox_options_disable_js. CLOSED TREE
Backed out changeset 7dfd8676b3c7 (bug 1809848)
Backed out changeset 78375e26bffe (bug 1809848)
Backed out changeset 17b823d1492e (bug 1809848)
Backed out changeset 05e57c08310f (bug 1809848)
2023-01-17 20:23:43 +02:00
Alexandre Poirot f105170dd5 Bug 1809848 - [devtools] Remove TargetMixin.isLocalTab/localTab attributes. r=devtools-reviewers,nchevobbe
They should rather be queried on the descriptor front.

Differential Revision: https://phabricator.services.mozilla.com/D166647
2023-01-17 16:34:01 +00:00
Marian-Vasile Laza c4e8bd42d6 Backed out 4 changesets (bug 1809848) for causing damp failures on browser-toolbox.js. CLOSED TREE
Backed out changeset 14b861cccbeb (bug 1809848)
Backed out changeset 92d5cc5ee69e (bug 1809848)
Backed out changeset 9bb5167ebc4b (bug 1809848)
Backed out changeset cdd531783324 (bug 1809848)
2023-01-17 11:16:20 +02:00
Alexandre Poirot 993faf67d5 Bug 1809848 - [devtools] Remove TargetMixin.isLocalTab/localTab attributes. r=devtools-reviewers,nchevobbe
They should rather be queried on the descriptor front.

Differential Revision: https://phabricator.services.mozilla.com/D166647
2023-01-16 22:25:07 +00:00
Alexandre Poirot ee7ed1e669 Bug 1808309 - [devtools] Remove web console actor's sendHttpRequest method. r=devtools-reviewers,devtools-backward-compat-reviewers,nchevobbe
This is no longer used by the DevTools frontend.
NetworkContent.sendHTTPRequest should be used instead.

Differential Revision: https://phabricator.services.mozilla.com/D165865
2023-01-04 18:27:22 +00:00
Alexandre Poirot 4597b94bcd Bug 1808308 - [devtools] Remove unused getPreferences and setPreferences of the console actor. r=devtools-reviewers,devtools-backward-compat-reviewers,nchevobbe
These preferences ended up being specifics to network observation.
The only one lastly supported is now set via NetworkParentActor.setSaveRequestAndResponseBodies.

Differential Revision: https://phabricator.services.mozilla.com/D165864
2023-01-04 18:27:22 +00:00
Alexandre Poirot 6340009cb3 Bug 1721592 - [devtools] Remove old server codebase to listen to network events. r=devtools-reviewers,devtools-backward-compat-reviewers,jdescottes
With the removal of the old non-fission browser toolbox,
we removed the last usage of this old codebase.
We used to be able to listen to network events via WebConsole's actor's startListeners method.
Nowadays we should rather use the Watcher actor's watchResources method and listen to
NETWORK_EVENT resource.
(or migrate to WebDriver Bidi which will soon allow to listen to network requests see bug 1790369)

This patch also removed all now unused block* requests from webconsole actor,

Differential Revision: https://phabricator.services.mozilla.com/D165603
2023-01-04 18:27:21 +00:00
Sylvestre Ledru ab6806623e Bug 1802906 - Browser Console documentation: remove artifact r=devtools-reviewers,ochameau DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D164968
2022-12-19 11:47:52 +00:00
Nicolas Chevobbe a49c3bce45 Bug 1788033 - [devtools] Update StyleEditor documentation for at-rules sidebar. r=jdescottes.
We take this as an opportunity to update the existing
screenshots of the page as the previous one were quite
outdated.

Differential Revision: https://phabricator.services.mozilla.com/D161684
2022-11-09 16:29:51 +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
Alexandre Poirot f2210e7cfb Bug 1700909 - [devtools] Migrate gDevTools.showToolbox from descriptor to commands. r=jdescottes,extension-reviewers,willdurand
This migrate gDevTools.showToolbox, but also the Toolbox now receives a commands right away,
and no longer need to create commands out of the descriptor front.

I'm removing browser_two_tabs as it is focusing on testing Tab Descriptors (RootFront.listTabs+getTab)
and Tab targets (TabDescriptor.getTarget).
Using getTarget on descriptor is legacy codepath for a while now.
We should now rather cover commands instead of these low level RDP methods.

Differential Revision: https://phabricator.services.mozilla.com/D157796
2022-10-11 20:33:53 +00:00
Cristian Tuns 169dfc929e Backed out 5 changesets (bug 1700909) for causing mochitest failures CLOSED TREE
Backed out changeset a49f15f66ed4 (bug 1700909)
Backed out changeset 5a6b15eb1e12 (bug 1700909)
Backed out changeset 67b12d0e350b (bug 1700909)
Backed out changeset 4e6312ea547a (bug 1700909)
Backed out changeset c49eab385e1c (bug 1700909)
2022-10-10 10:38:03 -04:00
Alexandre Poirot 0f9e47bbec Bug 1700909 - [devtools] Migrate gDevTools.showToolbox from descriptor to commands. r=jdescottes,extension-reviewers,willdurand
This migrate gDevTools.showToolbox, but also the Toolbox now receives a commands right away,
and no longer need to create commands out of the descriptor front.

I'm removing browser_two_tabs as it is focusing on testing Tab Descriptors (RootFront.listTabs+getTab)
and Tab targets (TabDescriptor.getTarget).
Using getTarget on descriptor is legacy codepath for a while now.
We should now rather cover commands instead of these low level RDP methods.

Differential Revision: https://phabricator.services.mozilla.com/D157796
2022-10-10 11:28:08 +00:00
Alexandre Poirot 76aed8f004 Bug 1793575 - [devtools] Convert jsdebugger.jsm to jsdebugger.sys.mjs. r=Honza,webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D158571
2022-10-06 14:21:22 +00:00
Andreea Pavel ce81b30f6f Backed out 5 changesets (bug 1700909) for failing browser_ext_addon_debugging_netmonitor.js on a CLOSED TREE
Backed out changeset 9bc3e4820f59 (bug 1700909)
Backed out changeset 998c0ec4f9d3 (bug 1700909)
Backed out changeset 6f6fe066fc38 (bug 1700909)
Backed out changeset e53aaf8ffe5b (bug 1700909)
Backed out changeset 3dbeffe25878 (bug 1700909)
2022-09-29 19:40:43 +03:00
Alexandre Poirot bf8918c2e9 Bug 1700909 - [devtools] Migrate gDevTools.showToolbox from descriptor to commands. r=jdescottes
This migrate gDevTools.showToolbox, but also the Toolbox now receives a commands right away,
and no longer need to create commands out of the descriptor front.

I'm removing browser_two_tabs as it is focusing on testing Tab Descriptors (RootFront.listTabs+getTab)
and Tab targets (TabDescriptor.getTarget).
Using getTarget on descriptor is legacy codepath for a while now.
We should now rather cover commands instead of these low level RDP methods.

Differential Revision: https://phabricator.services.mozilla.com/D157796
2022-09-29 14:43:26 +00:00
Jan Odvarko 33bd75ff69 Bug 1782431 - Documentation issue on devtools-user/about_colon_debugging/index r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D157783
2022-09-28 01:47:01 +00:00