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 anos atrás
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 anos atrás
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 anos atrás
I guess it happened after I added tawk to chat script on my script. Ty.
8 anos atrás
No, actually it happens only on my product page. I will check which plugin is causing it.
8 anos atrás
I found it! Nop-Ajax Filters cause that.
5 anos atrás
Hi, did you solve the problem? Also I find this annoying result.
4 anos atrás
This warning still appears in 4.20 (beta) Admin pages
4 anos atrás
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 anos atrás
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.