Skip to content
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

Classic - Unknown error breaks all subsequent network requests #1780

Closed
zakius opened this issue Oct 7, 2020 · 2 comments
Closed

Classic - Unknown error breaks all subsequent network requests #1780

zakius opened this issue Oct 7, 2020 · 2 comments
Labels

Comments

@zakius
Copy link

zakius commented Oct 7, 2020

Describe the bug

In extension I am maintaining it's required to perform multiple HTTP requests. In most cases when request fails everything goes smoothly, but for some class of errors both XHR and Fetch break and start throwing Content Security Policy: The page’s settings blocked the loading of a resource at [URI] (“default-src moz-extension://[extension id]”). errors for every single request attempted, creating new XHR objects doesn't help, only reloading the extension unlocks the ability to perform requests.

To Reproduce

As I'm not able to pinpoint class of errors that cause this issue I can't provide reliable way to reproduce

Expected behavior

Failed request shouldn't make other requests fail

Additional context

thanks to mozregression I pinpointed 2017-08-09 to be the first good official build, earlier ones also had this issue.

@zakius zakius added the bug label Oct 7, 2020
@issue-label-bot
Copy link

Issue-Label Bot is automatically applying the label bug to this issue, with a confidence of 0.96. Please mark this comment with 👍 or 👎 to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

zakius added a commit to SmartRSS/Smart-RSS that referenced this issue Jan 16, 2021
@zakius
Copy link
Author

zakius commented Jan 18, 2021

New discovery: it seems to be happening on requests returning 404

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants