03:45
<EveryOS>
I am literally so stupid I keep misspelling EventTarget over and over again and then wondering why the class does not exist https://usercontent.irccloud-cdn.com/file/7yAD0TLl/image.png
07:13
<yoonus>
hi
07:14
<yoonus>
I am having trouble with my website while purchasing via paypal. I got the console error, what is it? Problem with Paypal or End User?
07:15
<yoonus>
[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/.
07:15
<yoonus>
send @ jquery-2.1.1.min.js:4
07:15
<yoonus>
Please help me out..
07:22
<yoonus>
Any reply??
07:25
<andreubotella>
hi
07:25
<andreubotella>
this IRC channel is for developing web standards, or at least helping people understand the standards, not for dev help
07:26
<andreubotella>
you got here because the link in the console warning points to the XHR spec -- ideally it should point to MDN instead
07:26
<andreubotella>
that said, it's quite odd for even old versions of jQuery to be using synchronous XHR
07:27
<andreubotella>
I'd try asking on stackOverflow
07:30
<andreubotella>
huh, now that I look at it, jQuery *does* let you do sync fetches
07:30
<andreubotella>
are you using $.ajax({async: false})?
07:31
<yoonus>
Thanks. I am not expert in Ajax. I used pre-made Ecommerce templates. Finally this error appeared after paypal configuration...
07:35
<andreubotella>
If the code on your site has async: false on the parameters to $.ajax, that's what's causing the warning
07:36
<andreubotella>
synchronous fetches will block the site from doing anything, even reacting to clicks or scrolling, until they're done -- which isn't good
07:36
<andreubotella>
but be aware that removing the async: false parameter might change the behavior of the rest of the code
07:37
<andreubotella>
if you have anything else, you should ask over on StackOverflow
07:38
<yoonus>
Thank you very much indeed for helping me..
08:34
<yoonus>
Yes. I used ajax({async: false}). Now I changed it to ajax({async: true}), But the problem still appears..
09:01
<lockywolf>
Hello, everyone. Who can fix a broken link at the blog?
09:01
<lockywolf>
http://diveintomark.org/archives/2002/05/30/rss_autodiscovery
09:02
<lockywolf>
https://blog.whatwg.org/feed-autodiscovery
09:02
<lockywolf>
Can be replaced with a "web archive" link, for example.
10:53
<annevk>
lockywolf: could you file an issue against whatwg/meta on GitHub? I’ll do it Monday unless someone beats me to it