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

XHR using sync warning #40

Closed
TheJaredWilcurt opened this issue Jan 6, 2016 · 2 comments
Closed

XHR using sync warning #40

TheJaredWilcurt opened this issue Jan 6, 2016 · 2 comments

Comments

@TheJaredWilcurt
Copy link

https://xhr.spec.whatwg.org/#sync-warning

Synchronous XMLHttpRequest outside of workers is in the process of being removed from the web platform as it has detrimental effects to the end user's experience.

Despite there being many, many cases in which synchronous results are preferred and would not be detrimental to the user's experience, clearly, this nonsense is happening anyway. So... why not put a link to a page offering alternative solutions to how to use Async XHR in a manner that satisfies the common needs of what Sync XHR would be used for. Rather than just saying "don't do that", you should say "do this instead". Don't take things away without offering replacements.

@caitp
Copy link

caitp commented Jan 6, 2016

See #20, this may not actually be able to happen, unfortunately

@annevk
Copy link
Member

annevk commented Jan 6, 2016

If you have some suggestions I'd be happy to consider them, but generally a specification is not a tutorial for writing decent apps.

@annevk annevk closed this as completed Jan 12, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants