Commit 455079d
committed
Bug 1992210 - [bidi] Support network.getData for requests using the data scheme r=webdriver-reviewers,Sasha
Adds support for retrieving the response body of requests using the data scheme via WebDriver BiDi data collection.
This closes a gap with the current spec, and with the chromium implementation. Implementation wise, the approach is similar to DevTools and we just process the data url to extract the body.
Differential Revision: https://phabricator.services.mozilla.com/D2674041 parent a47d392 commit 455079d
2 files changed
+32
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
103 | 107 | | |
104 | 108 | | |
105 | 109 | | |
| |||
247 | 251 | | |
248 | 252 | | |
249 | 253 | | |
250 | | - | |
251 | | - | |
252 | 254 | | |
253 | 255 | | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
254 | 259 | | |
255 | 260 | | |
256 | 261 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
12 | 15 | | |
13 | 16 | | |
14 | 17 | | |
| |||
2185 | 2188 | | |
2186 | 2189 | | |
2187 | 2190 | | |
2188 | | - | |
| 2191 | + | |
2189 | 2192 | | |
2190 | 2193 | | |
2191 | | - | |
| 2194 | + | |
2192 | 2195 | | |
2193 | 2196 | | |
2194 | | - | |
2195 | 2197 | | |
2196 | 2198 | | |
2197 | 2199 | | |
| |||
2247 | 2249 | | |
2248 | 2250 | | |
2249 | 2251 | | |
2250 | | - | |
2251 | | - | |
2252 | | - | |
2253 | | - | |
| 2252 | + | |
| 2253 | + | |
| 2254 | + | |
| 2255 | + | |
| 2256 | + | |
| 2257 | + | |
| 2258 | + | |
| 2259 | + | |
| 2260 | + | |
| 2261 | + | |
| 2262 | + | |
| 2263 | + | |
| 2264 | + | |
| 2265 | + | |
| 2266 | + | |
| 2267 | + | |
| 2268 | + | |
| 2269 | + | |
| 2270 | + | |
| 2271 | + | |
2254 | 2272 | | |
2255 | 2273 | | |
2256 | 2274 | | |
| |||
0 commit comments