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