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 #65

Open
Sulpher opened this issue Aug 11, 2020 · 4 comments
Open

Synchronous XMLHttpRequest #65

Sulpher opened this issue Aug 11, 2020 · 4 comments

Comments

@Sulpher
Copy link

Sulpher commented Aug 11, 2020

Проверка lighthouse 6 ругается: (https://lh6.loading.express/)

Рано или поздно устаревшие API будут удалены из браузера - https://web.dev/deprecations/?utm_source=lighthouse&utm_medium=cli

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/.
ругается на это:
https://domain.ru/media/plg_system_jlsitemap_cron/js/cron.min.js?d6303bc30b17b3055d462193f7bc66e3

chrome_v1j2RrAXmC

@denysdesign
Copy link

Почему не заюзать fetch()?

@Septdir
Copy link
Member

Septdir commented Aug 11, 2020

Почему не заюзать fetch()?

Нет совместимости.

@Septdir
Copy link
Member

Septdir commented Aug 11, 2020

Так что вот вам на выбор.
Переделать на ajax joomla где тоже самое.
Либо ждать joomla 4 где нет поддержки ie

@Sulpher
Copy link
Author

Sulpher commented Feb 27, 2021

в Joomla 4 сейчас та же ошибка.
нужно теперь патчить компонент?

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

3 participants