Forum Moderators: open

Message Too Old, No Replies

Synchronous XMLHttpRequest on the main thread is deprecated

         

toplisek

2:30 pm on Dec 2, 2015 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience.

How to fix this issue or updated jQuery script (1.11.) will remove such warning?
As I understand it is related to jQuery version and /or js issues.

Need help. Thank you.

Andy Langton

3:27 pm on Dec 2, 2015 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



This would depend on your code, as there are a number of reasons for this. Are you getting HTML content via AJAX that includes a <script> element? Which lines of code trigger the error?

toplisek

10:30 am on Dec 3, 2015 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



It is code inside jQuery 1.11.2.
Line number 4.

It seems not HTML content.