Commit Graph
89 Commits
Author SHA1 Message Date
Alexandre Poirot df6a800009 Bug 1909928 - [devtools] Tweak about:debugging docs about remote debugging. r=jdescottes,fluent-reviewers,devtools-reviewers,bolsson
Differential Revision: https://phabricator.services.mozilla.com/D217743
2024-07-29 17:06:30 +00:00
Alexandre Poirot 953e615033 Bug 1908704 - [devtools] Add minimal documentation for the jstracer debugger sidebar. r=devtools-reviewers,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D216983
2024-07-22 13:42:21 +00:00
Alexandre Poirot de41655fd4 Bug 1903121 - [devtools] Document the profiler output for the JS Tracer. r=devtools-reviewers,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D214032
2024-06-19 09:54:11 +00:00
Julian Descottes c69a3aba8c Bug 1897583 - [devtools] Remove outdated link to Manifest Validator r=devtools-reviewers,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D212663
2024-06-05 14:07:56 +00:00
Alexandre Poirot ac200fac8b 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 cc83d3776d 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 07d1104355 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 5c455237ee 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 560063cdc8 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 3429955833 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 76d189f09f 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 d916e7edbe 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 61764d0533 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 e0d56104a6 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 ce6ae2444e 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 647763ae31 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 3608dc8457 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 44ff1ada13 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 6ae0ebd216 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 b4d73f6806 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 b16754676a 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 542645bfef 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 00d316912f 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 7e1a1d11e0 Bug 1842396 - doc: fix two typos
Differential Revision: https://phabricator.services.mozilla.com/D187398
2023-09-04 20:06:35 +00:00
Sylvestre Ledru fd458ca8c3 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 b4bac8c958 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 d7a9015269 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 e5d5d79908 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 a50b1e5338 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 37b61fa87b 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 c917ae952d 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 567e3cd0c3 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 4805d64da4 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 4e44d78531 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 0dadc0c81f 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 b11c3c27de 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 f270c1b74f 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 8607c8a3e1 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 fc7060c0cb 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 64267a490a 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 c2b36d9497 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 d4ea81abb5 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 d9960577e9 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 b754f85dfc 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 c0d92b68e8 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 5edbe31601 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 6749586de1 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 0a2f14ed30 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 c136da03a9 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 0ad9d97fbc 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