Commit c7ac387
[issues] Prepare the front-end for
We are going to change the `browser_protocol.pdl` in a follow-up
back-end CL to make the `url` field of `AffectedRequest` mandatory and
the `requestId` field optional. This will remove the confusion with
issues for early CORS errors that happen before the `ResourceLoader` is
created, and for which we simply don't have a request ID (and will never
have one).
With this CL, the front-end works independent of whether the `requestId`
is provided or not, and can even deal with absent `url` fields (which
will not happen anymore after the back-end CL is landed).
Drive-by-fix: Tweak the CSS a bit, to ensure that the `<button>`
inherits the correct text settings.
Bug: 385693302
Change-Id: Ib529fd081e582fdaa5bea40cd902cd182b30b9a2
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6111100
Reviewed-by: Andres Olivares <[email protected]>
Commit-Queue: Benedikt Meurer <[email protected]>
Auto-Submit: Benedikt Meurer <[email protected]>
Commit-Queue: Andres Olivares <[email protected]>AffectedRequest change.1 parent e032fc2 commit c7ac387
File tree
2 files changed
+28
-20
lines changed- front_end/ui/components/request_link_icon
2 files changed
+28
-20
lines changedLines changed: 25 additions & 20 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
153 | 153 | | |
154 | 154 | | |
155 | 155 | | |
156 | | - | |
157 | | - | |
158 | | - | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
159 | 162 | | |
160 | | - | |
| 163 | + | |
161 | 164 | | |
162 | 165 | | |
163 | 166 | | |
164 | | - | |
165 | | - | |
166 | | - | |
167 | | - | |
168 | 167 | | |
169 | 168 | | |
170 | 169 | | |
| |||
174 | 173 | | |
175 | 174 | | |
176 | 175 | | |
177 | | - | |
| 176 | + | |
178 | 177 | | |
179 | 178 | | |
180 | 179 | | |
181 | 180 | | |
182 | 181 | | |
183 | | - | |
184 | | - | |
185 | | - | |
186 | | - | |
187 | | - | |
188 | | - | |
189 | | - | |
190 | | - | |
191 | | - | |
192 | | - | |
193 | | - | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
194 | 199 | | |
195 | 200 | | |
196 | 201 | | |
| |||
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
24 | 27 | | |
25 | 28 | | |
26 | 29 | | |
| |||
0 commit comments