Commit cf6d23a
authored
ref(utils): Simplify collection of xhr request payload (getsentry#4402)
This simplifies the implementation of XHR request body harvesting for breadcrumbs, introduced in getsentry#2904. Instead of caching the data and grabbing it at a later point, this grabs it as soon as it's available, in the xhr `send` method.1 parent 2cf6f94 commit cf6d23a
1 file changed
+3
-19
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
219 | 219 | | |
220 | 220 | | |
221 | 221 | | |
222 | | - | |
223 | | - | |
224 | | - | |
225 | 222 | | |
226 | 223 | | |
227 | 224 | | |
| |||
251 | 248 | | |
252 | 249 | | |
253 | 250 | | |
254 | | - | |
255 | | - | |
256 | | - | |
257 | | - | |
258 | | - | |
259 | | - | |
260 | | - | |
261 | | - | |
262 | | - | |
263 | | - | |
264 | | - | |
265 | | - | |
266 | | - | |
267 | | - | |
268 | 251 | | |
269 | 252 | | |
270 | 253 | | |
| |||
291 | 274 | | |
292 | 275 | | |
293 | 276 | | |
294 | | - | |
295 | | - | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
296 | 280 | | |
297 | 281 | | |
298 | 282 | | |
| |||
0 commit comments