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

Synchronous XMLHttpRequest on the main thread is deprecated #90

Open
zhe1ka opened this issue Jan 6, 2021 · 0 comments
Open

Synchronous XMLHttpRequest on the main thread is deprecated #90

zhe1ka opened this issue Jan 6, 2021 · 0 comments

Comments

@zhe1ka
Copy link

zhe1ka commented Jan 6, 2021

when i have several open tabs and when the connection is going to be disconnected in the tabs which aren't in focus I have the warning:

"Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check https://xhr.spec.whatwg.org/."

together with that i see the comment in the code that this behaviour is intended. The biggest problem that time-to-time it blocks the page (which is not in focus) completely for seconds or minutes. Can it be changed to async way of executing somehow?

image

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

No branches or pull requests

1 participant