Commit Graph
43 Commits
Author SHA1 Message Date
Andres Olivares 1c0c108e0e [module.json extensions] @Common.Revealer Part 2
Bug: 1134103
Change-Id: I656943d61ff547c4d6cf96ed713167fa23020805
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2681888
Commit-Queue: Andres Olivares <andoli@chromium.org>
Reviewed-by: Tim van der Lippe <tvanderlippe@chromium.org>
2021-02-09 16:35:08 +00:00
Tim van der Lippe f1d02ad898 Remove sdk/module.json
R=andoli@chromium.org

Bug: 1127902
Change-Id: Ic4d840aff08bcbc4b5aaf4f98e1a7e8a5c7882f6
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2682479
Commit-Queue: Tim van der Lippe <tvanderlippe@chromium.org>
Reviewed-by: Andres Olivares <andoli@chromium.org>
2021-02-09 16:00:18 +00:00
Andres Olivares 9e586eb2de [module.json extensions] @UI.ContextMenu.Provider pt. 2
Bug: 1134103
Change-Id: Ib61ab27e45e81b648c803de6ed2f6ad5c38da73e
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2678204
Commit-Queue: Andres Olivares <andoli@chromium.org>
Reviewed-by: Tim van der Lippe <tvanderlippe@chromium.org>
2021-02-08 14:58:49 +00:00
Tim van der Lippe 79e4d8531a Remove host/module.json
R=andoli@chromium.org

Bug: 1127902
Change-Id: I3015c907604c739ee3d50a003f47faa6861215ea
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2676145
Commit-Queue: Tim van der Lippe <tvanderlippe@chromium.org>
Reviewed-by: Andres Olivares <andoli@chromium.org>
2021-02-05 10:55:28 +00:00
Tim van der Lippe 5c423509db Remove i18n/module.json
R=andoli@chromium.org

Bug: 1127902
Change-Id: I700e6d5fc8941ef54d4af10af01989ddf62165cc
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2676144
Commit-Queue: Tim van der Lippe <tvanderlippe@chromium.org>
Reviewed-by: Andres Olivares <andoli@chromium.org>
2021-02-05 10:48:08 +00:00
Tim van der Lippe 49f2cf1f4e Remove common/module.json
R=andoli@chromium.org

Bug: 1127902
Change-Id: Ie7556606b481d34e32fc46f684fa21fc04e1bd2d
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2676143
Commit-Queue: Tim van der Lippe <tvanderlippe@chromium.org>
Reviewed-by: Andres Olivares <andoli@chromium.org>
2021-02-05 10:44:28 +00:00
Andres Olivares 1fc4a72f62 [module.json extensions] @UI.ViewLocationResolver
Bug: 1134103
Change-Id: Ief50d175afafc627a40da5f61c9cfe3abde46bda
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2673942
Commit-Queue: Andres Olivares <andoli@chromium.org>
Reviewed-by: Tim van der Lippe <tvanderlippe@chromium.org>
2021-02-04 15:55:57 +00:00
Christy Chen cac3f1096e [Loc] Migrate network to localization V2
Migrate network panel
Tested with en-XL: https://imgur.com/a/7F7vWv4


Bug: 1136655
Change-Id: Idd0ab59e021a2be919ceca1def21537d6d25607d
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2662325
Commit-Queue: Christy Chen <chrche@microsoft.com>
Reviewed-by: Simon Zünd <szuend@chromium.org>
2021-02-03 10:44:54 +00:00
Jesus David Garcia Gomez 8552e037f6 Fix keyboard interaction in network initiator
This CL fix the interaction using the keyboard to make it as in other
panels.

Before: See bug description.
After: https://i.imgur.com/BhtKBh4.gif

Bug: 1158276, 1160637
Change-Id: I490787e93a07195c690c4abfb91432c2a9104d73
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2632984
Commit-Queue: Jesus David Garcia Gomez <jegarc@microsoft.com>
Reviewed-by: Tony Ross <tross@microsoft.com>
Reviewed-by: Jack Franklin <jacktfranklin@chromium.org>
2021-02-01 20:59:08 +00:00
Andres Olivares 1a65b1bc90 [module.json extensions] Migrate network settings
Bug: 1134103
Change-Id: I8b6ad2f0f3e00a0fdd3acaf0edea29cfce444be4
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2584531
Auto-Submit: Andres Olivares <andoli@chromium.org>
Commit-Queue: Tim van der Lippe <tvanderlippe@chromium.org>
Reviewed-by: Tim van der Lippe <tvanderlippe@chromium.org>
2020-12-15 11:46:27 +00:00
Andres Olivares d7b94d61ef [module.json extensions] Migrate network actions
Bug: 1134103
Change-Id: I7b0860666042035546d6a78e4c659f5f2a5d2ca0
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2584529
Commit-Queue: Andres Olivares <andoli@chromium.org>
Reviewed-by: Tim van der Lippe <tvanderlippe@chromium.org>
2020-12-14 21:33:26 +00:00
Andres Olivares 70b668a4fd [module.json extensions] Migrate network views
Bug: 1134103
Change-Id: I3bcc8c238bf0ec2734236777ed696067846aa7a3
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2577165
Commit-Queue: Andres Olivares <andoli@chromium.org>
Reviewed-by: Tim van der Lippe <tvanderlippe@chromium.org>
2020-12-10 17:14:28 +00:00
Tim van der Lippe 7dcef88d8b Remove skip_compilation from module.json files
R=aerotwist@chromium.org

Bug: 1011811
Change-Id: I4c4fd280adb4f5f7b327239d08d80b2cb98b203b
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2560248
Reviewed-by: Paul Lewis <aerotwist@chromium.org>
Commit-Queue: Tim van der Lippe <tvanderlippe@chromium.org>
2020-11-25 13:19:08 +00:00
Tim van der Lippe 3f37d24473 Use TypeScript-authored files in network/
R=aerotwist@chromium.org

Bug: 1011811
Change-Id: If32c8537605ebf045295297b5c4773edbef40e34
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2534196
Reviewed-by: Paul Lewis <aerotwist@chromium.org>
Commit-Queue: Tim van der Lippe <tvanderlippe@chromium.org>
2020-11-16 13:06:17 +00:00
Tim van der Lippe 45f49d3ea7 Revert "Add setting for record network log action"
This reverts commit 487edc3cdf.

Reason for revert: Pre-emptively reverting for crbug.com/1144720 while we discuss the appropriate solution in https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2514439

Original change's description:
> Add setting for record network log action
>
> Previously recording of the network log was enabled when reloading and not persisted by a setting.
> This CL introduces a new setting which persists the existing action, so that it can be toggled in the network settings. Also the setting is not re-enabled when the page will reload.
>
> Bug: 1122580
> Change-Id: I537a1072f6d1dca6ef88f1b507a23977763341a4
> Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2503513
> Commit-Queue: Simon Zünd <szuend@chromium.org>
> Reviewed-by: Simon Zünd <szuend@chromium.org>
> Reviewed-by: Tim van der Lippe <tvanderlippe@chromium.org>

# Not skipping CQ checks because original CL landed > 1 day ago.

Bug: 1122580, 1144720
Change-Id: I6e8948982c4ab37caa70ae8e4653aa51b7aea624
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2519701
Reviewed-by: Wolfgang Beyer <wolfi@chromium.org>
Commit-Queue: Tim van der Lippe <tvanderlippe@chromium.org>
Commit-Queue: Wolfgang Beyer <wolfi@chromium.org>
Auto-Submit: Tim van der Lippe <tvanderlippe@chromium.org>
2020-11-04 16:35:39 +00:00
Julian Geppert 487edc3cdf Add setting for record network log action
Previously recording of the network log was enabled when reloading and not persisted by a setting.
This CL introduces a new setting which persists the existing action, so that it can be toggled in the network settings. Also the setting is not re-enabled when the page will reload.

Bug: 1122580
Change-Id: I537a1072f6d1dca6ef88f1b507a23977763341a4
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2503513
Commit-Queue: Simon Zünd <szuend@chromium.org>
Reviewed-by: Simon Zünd <szuend@chromium.org>
Reviewed-by: Tim van der Lippe <tvanderlippe@chromium.org>
2020-10-29 08:30:40 +00:00
Tim van der Lippe 46e1bcace9 Remove pre_generates_legacy from module.json files
This was a temporary flag used during the build_release_applications
to GN migration.

R=aerotwist@chromium.org

Bug: 1131500
Change-Id: I8a772bcc4bee31dbd3270bf7ef62d8c97941024a
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2484716
Reviewed-by: Paul Lewis <aerotwist@chromium.org>
Commit-Queue: Tim van der Lippe <tvanderlippe@chromium.org>
2020-10-19 16:12:09 +00:00
Tim van der Lippe ead1fa43d0 Move remaining legacy files to GN
R=aerotwist@chromium.org

Bug: 1131500
Change-Id: Ibb247dd02a5032604824517be4276c4b83c8fc8c
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2479140
Commit-Queue: Tim van der Lippe <tvanderlippe@chromium.org>
Auto-Submit: Tim van der Lippe <tvanderlippe@chromium.org>
Reviewed-by: Paul Lewis <aerotwist@chromium.org>
2020-10-19 09:25:50 +00:00
vidorteg fe9ad1e5ca Changing 'request blocking' to 'network request blocking'
'request blocking' can be confusing for users using a screen reader and
no context on the current panel. e.g when the user opens the Devtools
and the first panel shown is the 'request blocking' because it was used
last before ending the previous session.

Change-Id: If8390fd8b97e75a4ccd53d068787c1fc424f1d32
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2438829
Reviewed-by: Simon Zünd <szuend@chromium.org>
Reviewed-by: Peter Marshall <petermarshall@chromium.org>
Reviewed-by: Christy Chen <chrche@microsoft.com>
Commit-Queue: Vidal Diazleal <vidorteg@microsoft.com>
2020-09-30 19:17:37 +00:00
Tim van der Lippe cac65d4fa0 Remove skip_rollup
This was a temporary flag as part of the devtools_entrypoint migration.
Since that migration has concluded, we can now remove all references
to it and clean up `build_release_applications.py`.

R=jacktfranklin@chromium.org,aerotwist@chromium.org

Bug: 1101738
Change-Id: I3ef9ec1a99bc9fc1758532124db22b3b4b1a5e2a
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2391140
Reviewed-by: Paul Lewis <aerotwist@chromium.org>
Reviewed-by: Jack Franklin <jacktfranklin@chromium.org>
Commit-Queue: Tim van der Lippe <tvanderlippe@chromium.org>
2020-09-08 15:44:09 +00:00
Jan Scheffler 6c0cc69f17 Migrate front_end/network to devtools_entrypoint
R=aerotwist@chromium.org, jacktfranklin@chromium.org

Bug: 1101738
Change-Id: Id895c6e1a9083c22334ae1afad467c08e8dfa6a1
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2332228
Commit-Queue: Jan Scheffler <janscheffler@chromium.org>
Reviewed-by: Paul Lewis <aerotwist@chromium.org>
Auto-Submit: Jan Scheffler <janscheffler@chromium.org>
2020-07-31 14:44:50 +00:00
Mathias Bynens 4a0d19365c Reland “De-obfuscate X-Client-Data header values in Network tab”
Reland of: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2316062

Screenshot: https://i.imgur.com/LJHFIp9.png
Note that the screenshot shows this as a response header instead of a
request header, since that was easier to test. In real-world scenarios
it would be a request header instead, but the UI looks the same.

CL preparing the ClientVariationsParser for use in the DevTools UI:
https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2316065

TBR=isherman@chromium.org,mathias@chromium.org,changhaohan@chromium.org,alexrudenko@chromium.org

Bug: chromium:1103854
Change-Id: I6b959a1d57bcbc84f8571257a88fcbec805bf330
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2318257
Reviewed-by: Mathias Bynens <mathias@chromium.org>
Reviewed-by: Ilya Sherman <isherman@chromium.org>
Reviewed-by: Paul Lewis <aerotwist@chromium.org>
Commit-Queue: Mathias Bynens <mathias@chromium.org>
2020-07-28 06:54:51 +00:00
Mathias Bynens 43af8ef5d3 Revert "De-obfuscate X-Client-Data header values in Network tab"
This reverts commit d63cf4f023.

Reason for revert: [5770:5770:0726/142022.954931:WARNING:devtools_ui_data_source.cc(206)] Unable to find DevTools resource: third_party/chromium/client-variations/ClientVariationsParser.js

Original change's description:
> De-obfuscate X-Client-Data header values in Network tab
> 
> Screenshot: https://i.imgur.com/LJHFIp9.png
> Note that the screenshot shows this as a response header instead of a
> request header, since that was easier to test. In real-world scenarios
> it would be a request header instead, but the UI looks the same.
> 
> CL preparing the ClientVariationsParser for use in the DevTools UI:
> https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2316065
> 
> Bug: chromium:1103854
> Change-Id: Ifb63c011df2ea7af8aeb47dd615e2b20863a02c1
> Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2316062
> Reviewed-by: Ilya Sherman <isherman@chromium.org>
> Reviewed-by: Alex Rudenko <alexrudenko@chromium.org>
> Reviewed-by: Changhao Han <changhaohan@chromium.org>
> Commit-Queue: Mathias Bynens <mathias@chromium.org>

TBR=isherman@chromium.org,mathias@chromium.org,changhaohan@chromium.org,alexrudenko@chromium.org

# Not skipping CQ checks because original CL landed > 1 day ago.

Bug: chromium:1103854
Change-Id: Id405f5991fd33a4dff5dd13c44da5ac3e67609cd
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2318251
Reviewed-by: Mathias Bynens <mathias@chromium.org>
Commit-Queue: Mathias Bynens <mathias@chromium.org>
2020-07-27 11:15:07 +00:00
Mathias Bynens d63cf4f023 De-obfuscate X-Client-Data header values in Network tab
Screenshot: https://i.imgur.com/LJHFIp9.png
Note that the screenshot shows this as a response header instead of a
request header, since that was easier to test. In real-world scenarios
it would be a request header instead, but the UI looks the same.

CL preparing the ClientVariationsParser for use in the DevTools UI:
https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2316065

Bug: chromium:1103854
Change-Id: Ifb63c011df2ea7af8aeb47dd615e2b20863a02c1
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2316062
Reviewed-by: Ilya Sherman <isherman@chromium.org>
Reviewed-by: Alex Rudenko <alexrudenko@chromium.org>
Reviewed-by: Changhao Han <changhaohan@chromium.org>
Commit-Queue: Mathias Bynens <mathias@chromium.org>
2020-07-24 09:04:39 +00:00
Tim van der Lippe 37512b0d25 Remove empty script arrays from module.json files
If the module uses `modules` to load the JavaScript files, then
we can remove the `scripts` array altogether. Note that there
are still some modules left that use `scripts`, most notably
the `lighthouse_worker`, which is a remote module.

R=aerotwist@chromium.org

Bug: 1105476
Change-Id: Ie303e9835f5ce6d42ccae7b3a305d8f3df1af84c
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2302597
Commit-Queue: Tim van der Lippe <tvanderlippe@chromium.org>
Commit-Queue: Paul Lewis <aerotwist@chromium.org>
Auto-Submit: Tim van der Lippe <tvanderlippe@chromium.org>
Reviewed-by: Paul Lewis <aerotwist@chromium.org>
2020-07-17 10:05:33 +00:00
Wolfgang Beyer a03d3df43a [Issues] Add telemetry for how issues panel is being opened
This CL adds a new metrics enum to allow measuring from where in the
UI the new Issues Panel is being opened.

The corresponding chromium CL is at https://crrev.com/c/2159218

Bug: 1072299
Change-Id: I810a0b40967c8dd84214a1403c500e38a5e4f8f1
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2157040
Commit-Queue: Wolfgang Beyer <wolfi@chromium.org>
Reviewed-by: Simon Zünd <szuend@chromium.org>
Reviewed-by: Sigurd Schneider <sigurds@chromium.org>
2020-05-04 14:50:31 +00:00
Jack Lynch f1f00fa32a Add VS Code shortcuts as an option
This CL adds the ability (hidden behind an experiment) for users to
select a set of shortcuts to use, the two options initially being the
default shortcuts and shortcuts that match those from VS Code. A new
`keybindSets` array is added to binding objects in module.jsons,
allowing shortcuts to be filtered on launch much like the existing
platform option. Also like platform, if the keybindSets array is
undefined for a shortcut then that shortcut will be considered common to
all keybindSets.

In general, I left keybindSets undefined for default DevTools shortcuts
that do not conflict with VS Code shortcuts so that they remain common
shortcuts. When both the DevTools and VS Code define the same shortcut,
I add both sets to keybindSets.

This should only affect users who have opted into the custom keyboard
shortcuts experiment. If a user with the experiment enabled selects VS
Code shortcuts and then turns the experiment off, ShortcutRegistry will
reset the shortcuts to the DevTools default on next launch.

Enumerating the differences between VS Code and the DevTools default
shortcuts uncovered some workflows that we'd like to add shortcuts for
that do not currently have actions in the DevTools, such as save as and
find/replace. I plan to add those in future CLs.

Due to problems with ListWidget's accessibility, I have to manually add
aria roles to the list and list items. This is a temporary state of
affairs until this tab is changed to use ListControl rather than
ListWidget for better accessibility. Since the ListWidget here contains
no editable items and is only marked as a list, there are no keyboard
navigation or focus management requirements to worry about yet.

I have put up a telemetry CL here so that we can evaluate the success of
the feature:
https://chromium-review.googlesource.com/c/chromium/src/+/2172132

Screenshots:
  https://i.imgur.com/ka0VEyM.png
  https://i.imgur.com/CG8hAro.png

Custom shortcuts design doc: https://docs.google.com/document/d/1oOPSWPxCHvMoBZ0Fw9jwFZt6gP4lrsrsl8DEAp-Hy7o/edit#

Bug: 174309
Change-Id: I0e3484eb2712c945121cc7b68e14a1a98f858bab
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2095859
Reviewed-by: John Emau <John.Emau@microsoft.com>
Reviewed-by: Songtao Xia <soxia@microsoft.com>
Commit-Queue: Jack Lynch <jalyn@microsoft.com>
2020-05-01 23:48:06 +00:00
Sigurd Schneider ba81851dad [issues] Add IssueManager abstraction
This CL adds a central singleton that collects all issues from all
known targers. This singleton is then used by the issues view to
display issues.

This change enables correct handling of issues that arise from OOPIF
and worker sources.

Fixed: chromium:1073797
Change-Id: I75a8bb46d240f63df013c0b06506cad7fb2e5a8f
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2168885
Commit-Queue: Sigurd Schneider <sigurds@chromium.org>
Reviewed-by: Simon Zünd <szuend@chromium.org>
2020-04-29 11:14:55 +00:00
Mathias Bynens 5e43b27e8b Reformat module.json files
This patch makes it so that all module.json files use the same
consistent indentation that matches .editorconfig and the rest
of the codebase. At the request of reviewers, one such file
(front_end/emulated_devices/module.json) has been excluded
from this patch. It will be reformatted in a separate CL.

Note that this patch does not “roll CodeMirror”, although a
pre-commit hook forces me to include that phrase in the commit
message because the module.json file in the relevant folder is
modified.

Bug: chromium:1070492
Change-Id: Ib31ed5232461e2f80bf05f31105fc919f6639b0a
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2127007
Commit-Queue: Mathias Bynens <mathias@chromium.org>
Reviewed-by: Simon Zünd <szuend@chromium.org>
2020-04-14 05:35:23 +00:00
Jack Lynch b110942f5c Ensure that all actions have categories
To support custom shortcuts, this updates the module.schema.json to
require actions to have categories and adds categories to existing
actions. It also renames the existing "DevTools" category to "Global."

Custom shortcuts design doc: https://docs.google.com/document/d/1oOPSWPxCHvMoBZ0Fw9jwFZt6gP4lrsrsl8DEAp-Hy7o/edit#heading=h.2xpjzz3fl1ju

Bug: 174309
Change-Id: I0860f040e19502b4c47301356b52a2f12166dee5
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2101972
Reviewed-by: Shane Clifford <shanejc@microsoft.com>
Reviewed-by: Vidal Diazleal <vidorteg@microsoft.com>
Commit-Queue: Jack Lynch <jalyn@microsoft.com>
2020-03-18 00:50:58 +00:00
Jack Lynch 61f8ad8b69 Add titles for all actions
This CL adds titles to the actions that don't yet have them (most do) to
support future custom keyboard shortcut work.

Bug: 174309
Change-Id: Ic2aa408c82d863369427f13e5330530d948138b0
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2085476
Commit-Queue: Jack Lynch <jalyn@microsoft.com>
Reviewed-by: Vidal Diazleal <vidorteg@microsoft.com>
Reviewed-by: Jose Leal <joselea@microsoft.com>
Reviewed-by: Brian Cui <brcui@microsoft.com>
2020-03-05 21:09:45 +00:00
Tim van der Lippe 119690cd73 Migrate network/ to ESM internally
Bug: 1006759
Change-Id: I90014b2af71ca1945cb8bcfe011bb5d34874b258
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/1994979
Commit-Queue: Tim van der Lippe <tvanderlippe@chromium.org>
Reviewed-by: Paul Lewis <aerotwist@chromium.org>
2020-01-14 14:47:58 +00:00
Paul Lewis 5650965324 Migrates network/ to esm
Bug: 1006759
Change-Id: Ic94d5954605d7d368dfe395532c92a98dfee7a3c
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/1953615
Reviewed-by: Tim van der Lippe <tvanderlippe@chromium.org>
Commit-Queue: Paul Lewis <aerotwist@chromium.org>
2019-12-09 11:08:02 +00:00
Mathias Bynens 7c5113ea35 Make User-Agent string emulation more discoverable
The Network Conditions drawer allows emulating the User-Agent string.
Previously, this functionality was not discoverable through the
Command Menu when entering "User-Agent" (i.e. the literal HTTP Header
name). This patch fixes that.

Fixed: 1029495
Change-Id: Id9a7b26ff9652a7d13987404c798aa16fdb1eaf1
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/1944330
Auto-Submit: Mathias Bynens <mathias@chromium.org>
Reviewed-by: Changhao Han <changhaohan@chromium.org>
Commit-Queue: Mathias Bynens <mathias@chromium.org>
2019-11-29 13:19:40 +00:00
Tim van der Lippe b45d9a0a31 Remove ProductRegistry
Design doc: https://docs.google.com/document/d/1fRNhE_FXfCWwR8zOBkE5J5B6An53Lf0GbQHUB1QSnEI/edit?usp=sharing

Bug:664704,1011466
Change-Id: Iaec3f495a18b821b312694011129902a9c63f67f
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/1893080
Commit-Queue: Tim van der Lippe <tvanderlippe@chromium.org>
Reviewed-by: Yang Guo <yangguo@chromium.org>
2019-11-05 17:54:26 +00:00
Jan Scheffler 3c77a59376 [network] Highlight selected request in overview
The selected request will be rendered slightly larger
and with a border around it.

Screenshot: https://imgur.com/a/kpbsQ9p
(The selected request can be found between 800ms and 900ms)

Fixed: 988253
Change-Id: I55755ebc650e858f2990f45423fe4a2440f4d4a5
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/1875707
Reviewed-by: Benedikt Meurer <bmeurer@chromium.org>
Commit-Queue: Jan Scheffler <janscheffler@chromium.org>
2019-10-23 09:09:57 +00:00
Junyi Xiao 2476f77601 Devtools: New "Initiator" tab in Network Item view
Issue: In the network tool, there is a pop up for stack traces that appears
when you hover over the initiator column. This info is not available
anywhere else, and is not keyboard accessible.

This changes: add a new tab to the network item view, similar to the
Timings tab and Waterfall column (which is available when hovering over the
waterfall, but also accessible when selecting a network request to view).

Bug: 963183, 842488

workflow gif: https://imgur.com/a/wmdNYXE

Change-Id: Ib2f23b924a06e687acd362ccf4d6764f8a996559
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1742990
Commit-Queue: Junyi Xiao <juxiao@microsoft.com>
Reviewed-by: Yang Guo <yangguo@chromium.org>
Reviewed-by: Joey Arhar <jarhar@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#702125}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 0d0cae574b458c3d4bd7f6f254f74f6f2442b710
2019-10-02 18:43:08 +00:00
Joel Einbinder 346980e4b0 DevTools: Explicitly toggleable action buttons
Before this patch, DevTools didn't distinguish between toggleable
actions and regular actions. When an action button was made, it was
always a toggle button. This worked because an untoggled button
and an untoggleable button are the same visually.

But for the accessibility tree, an untoggled button should have
aria-pressed=false, whereas an untogglable button should not have
aria-pressed at all. This means its important to distinguish
between toggleable and untoggleable actions.

This patch:
* Adds a new field to actions in module.json: toggleable.
* Dynamically returns the correct kind of button from createActionButton
* Refactors createLongPressActionButton into its own function.

Bug: 963183
Change-Id: Ie2ebbeab9d651b1823611d942bdc66e67ff293c3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1693175
Commit-Queue: Joel Einbinder <einbinder@chromium.org>
Reviewed-by: Erik Luo <luoe@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#677785}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 92cb5705086497ab2c5e042265a18f7c3bb07ffc
2019-07-16 15:35:48 +00:00
Joey Arhar 8cf725b762 [DevTools] Update binary websocket viewer, remove experiment
This patch replaces the TabbedPane in the binary websocket viewer with a
bottom toolbar which has a dropdown for which view you want and a copy
button. Since the feedback was positive in a UX meeting, I am removing
the experiment.

Screenshots: https://imgur.com/a/v2iH4mg

Bug: 605262
Change-Id: I9ee50fdf75e82043d85bf3ab6745ae79027ffc4f
Reviewed-on: https://chromium-review.googlesource.com/c/1449108
Commit-Queue: Joey Arhar <jarhar@chromium.org>
Reviewed-by: Joel Einbinder <einbinder@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#629025}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 2a33c7ca1b2db81054aef98dcaed2912a14bccd5
2019-02-05 03:16:43 +00:00
Joey Arhar 19e85ccca5 [DevTools] Add binary websocket message viewer behind experiment
Screenshots: https://imgur.com/a/0rtukft

Bug: 605262
Change-Id: I1049d2196e51193419b9dd7ebbe7105a8655a631
Reviewed-on: https://chromium-review.googlesource.com/c/1321570
Commit-Queue: Joey Arhar <jarhar@chromium.org>
Reviewed-by: Dmitry Gozman <dgozman@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#627166}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 9eb859773e133754b856482a4b6ea79ba39412fe
2019-01-29 22:07:02 +00:00
Joel Einbinder 4edecad136 DevTools: Convert handleShortcut to Actions in the Network panel
This is part of a series of patches to remove Panel.handleShortcut

Change-Id: I9c66fa93da4ee7a1e0a12a68f09391c1c4651f7c
Reviewed-on: https://chromium-review.googlesource.com/1060513
Commit-Queue: Joel Einbinder <einbinder@chromium.org>
Reviewed-by: Dmitry Gozman <dgozman@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#561703}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 6be8da1a013582e7949dc4f3d075a7e8a8653541
2018-05-25 00:25:42 +00:00
Tsuyoshi Horo 625e92a4d7 Show SignedExchange related information in DevTool's Preview panel
SignedExchangeDevToolsProxy sends the SignedExchangeHeader and the certificate
information and the error messages to DevTools.
When the user clicks a signed exchange response in Network panel, these
information will be displayed in the Preview panel.

And the network grid view will show “from SignedExchange” in the size column of
the content of the signed exchange like “from disk cache”.

See the doc for more details: https://bit.ly/2HXVbCU

This CL depends on https://crrev.com/c/1029755

Bug: 830505
Change-Id: Ice3743f2e1675b6d604eeaba731ebd8494c2b5a1
Reviewed-on: https://chromium-review.googlesource.com/1004890
Reviewed-by: Dmitry Gozman <dgozman@chromium.org>
Reviewed-by: Kunihiko Sakamoto <ksakamoto@chromium.org>
Commit-Queue: Tsuyoshi Horo <horo@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#559363}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 705b2aa35e1523b1a00b6c8aa73b3a5f0c8e50b1
2018-05-17 00:36:11 +00:00
Blink Reformat 4c46d0969f The Great Blink mv for source files, part 2.
Move and rename files.

NOAUTOREVERT=true
NOPRESUBMIT=true
NOTREECHECKS=true
Bug: 768828
TBR=darin@chromium.org
NOTRY=true

Change-Id: I66d3b155808bc5bdbf237b80208e1e552bcf7f28
Reviewed-on: https://chromium-review.googlesource.com/1001153
Reviewed-by: Blink Reformat <blink-reformat@chromium.org>
Commit-Queue: Blink Reformat <blink-reformat@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#549061}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 0aee4434a4dba42a42abaea9bfbc0cd196a63bc1
2018-04-07 15:32:37 +00:00