-
Notifications
You must be signed in to change notification settings - Fork 10.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No usable progress bar when using fetch stream #9446
Comments
It seems that this may be related to, or even a duplicate of, issue #9103. |
I pinned this bug down to the following:
To see the difference, run the following snippet from the console, first in the extension, and then from https://www.adobe.com/favicon.ico (same-origin): fetch('https://www.adobe.com/content/dam/acom/en/devnet/acrobat/pdfs/pdf_reference_1-7.pdf', {mode:'cors'})
.then(res=>console.log(res, Array.from(res.headers).map(v=>v.join(': ')).join('\n'))) When run from
When run from https://www.adobe.com/favicon.ico
Ideally, the The next possible things to try is to expose the headers by using the webRequest extension API to augment the Or, use the (Just thinking out aloud) |
This is the bug for exposing "headers" in |
STR:
Response = undefined;
to disablefetch
and fall back to XHR.Result:
In both cases the
Content-Length
response header is present, so I would expect a meaningful progress bar.The text was updated successfully, but these errors were encountered: