-
Notifications
You must be signed in to change notification settings - Fork 140
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
Flag Synchronous option in XMLHttpRequest.open #2086
Comments
@erosman Why should we flag this? Is that a rule in our policy somewhere? I'm sure there are good reasons to flag this, e.g synchronous calls may block user ui etc but generally, it's hard to make this false-positive proof since the synchronous request can be hidden in some async code somewhere. Not sure what the benefit would be here. cc @wagnerand |
@EnTeQuAk I think your example talks about a false negative. I think we can live with that since we'll never reach 100% coverage using those static checks and this warning is to point out obvious mistakes instead of trying to identify sneaky behavior. P3 is fine though, it's not a high priority. |
This issue has been automatically marked as stale because it has not had recent activity. If you think this bug should stay open, please comment on the issue with further details. Thank you for your contributions. |
Example:
https://reviewers.addons.mozilla.org/en-US/firefox/files/compare/1002571...991553/file/bgr.js#L12
The text was updated successfully, but these errors were encountered: