Commit 4eeb66a
committed
fix(auth): drain response body on non-ok cross-tab fetch
Consumes the response body via r.body.cancel() when the cross-tab
/user fetch returns a non-OK status, preventing connection pool
drain on repeated events.
Also strengthens the input-cleared test to reopen the form and
verify the input signal was actually reset, not just that the DOM
element was removed.1 parent c4f6e6f commit 4eeb66a
2 files changed
Lines changed: 7 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
349 | 349 | | |
350 | 350 | | |
351 | 351 | | |
352 | | - | |
| 352 | + | |
353 | 353 | | |
354 | 354 | | |
355 | 355 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
566 | 566 | | |
567 | 567 | | |
568 | 568 | | |
569 | | - | |
| 569 | + | |
570 | 570 | | |
| 571 | + | |
| 572 | + | |
| 573 | + | |
| 574 | + | |
| 575 | + | |
571 | 576 | | |
572 | 577 | | |
573 | 578 | | |
| |||
0 commit comments