Commit 24b562d
[network] Use BinaryResourceView for binary response content
Screenshot: https://imgur.com/a/HguIx06
This CL changes two things:
- For binary network requests we'll show the BinaryResourceView
instead of the linear memory inspector.
- In the BinaryResourceView we use the linear memory inspector when
the "hex" option is selected instead of showing an editor with
a hex dump.
This allows users to see binary network request response data not
just in hex view, but also in base64 and even force utf-8 decode it.
[email protected]
Bug: 375546679
Change-Id: Ie048d02ade1cd0bae26dd900f9ca24f78c67fa39
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/5973207
Commit-Queue: Simon Zünd <[email protected]>
Reviewed-by: Kim-Anh Tran <[email protected]>1 parent 703c46c commit 24b562d
File tree
4 files changed
+9
-18
lines changed- front_end
- panels/network
- ui/legacy/components/source_frame
4 files changed
+9
-18
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
| 63 | + | |
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
| 41 | + | |
40 | 42 | | |
41 | 43 | | |
42 | 44 | | |
| |||
94 | 96 | | |
95 | 97 | | |
96 | 98 | | |
97 | | - | |
| 99 | + | |
98 | 100 | | |
99 | 101 | | |
100 | 102 | | |
| |||
Lines changed: 1 addition & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
| 29 | + | |
35 | 30 | | |
36 | 31 | | |
37 | 32 | | |
| |||
Lines changed: 3 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
71 | 72 | | |
72 | 73 | | |
73 | 74 | | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
| 75 | + | |
| 76 | + | |
83 | 77 | | |
84 | 78 | | |
85 | 79 | | |
| |||
0 commit comments