jquery-1.10.2.min.js warning on chrome

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
8 лет назад
I am receiving following warning for jquery-1.10.2.min.js:23 in my website on chrome console. Any ideas what may trigger it?

Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check http://xhr.spec.whatwg.org/.
8 лет назад
See the top SO answer here:
http://stackoverflow.com/questions/24639335/javascript-console-log-causes-error-synchronous-xmlhttprequest-on-the-main-thr

Is it possible you're AJAXing in some content that contains a <script /> tag in it? In his case, JQuery seems to assumes you need the .JS file referenced and loads it on the main thread before continuing instead of asynchronously in a separate thread, which can lead to a poor user experience.
8 лет назад
I guess it happened after I added tawk to chat script on my script. Ty.
8 лет назад
No, actually it happens only on my product page. I will check which plugin is causing it.
8 лет назад
I found it! Nop-Ajax Filters cause that.
5 лет назад
Hi, did you solve the problem? Also I find this annoying result.
4 года назад
This warning still appears in 4.20 (beta) Admin pages
4 года назад
This warning still appears in 4.20 Admin pages

main.js:1001 [Deprecation] 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/.
window.XMLHttpRequest.open @ main.js:1001
4 года назад
I just created a work item for this.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.