Commit a6f8644
fix(fetch): correct 'navigator' typo to 'navigate' in fetchFinale (#5044)
The condition in step 7 of fetchFinale checked
`fetchParams.request.mode !== 'navigator'`, but 'navigator' is not a
valid request mode — the spec value is 'navigate'. Because the typo
never matched, the guarded block always ran, setting responseStatus
and extracting the MIME type even for navigate-mode responses with
cross-origin redirects, which the spec requires to be skipped.
Signed-off-by: Nikita Skovoroda <chalkerx@gmail.com>
Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Nikita Skovoroda <chalkerx@gmail.com>1 parent bc0a19c commit a6f8644
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1025 | 1025 | | |
1026 | 1026 | | |
1027 | 1027 | | |
1028 | | - | |
| 1028 | + | |
1029 | 1029 | | |
1030 | 1030 | | |
1031 | 1031 | | |
| |||
0 commit comments