Re: [whatwg/xhr] Abandon hope of removing sync XHR from the web platform? (#20)

 I tried goofing around with the Promise technique before without success.  

  
 I am passing ASP data through the web page to the ASP - JS page that needs 
to be there, but I suppose I could pass the data through the URL in the XHR 
call.  
  
 It is a lot easier to use one line to call the code synchronously in the 
head of the page and then pass the ASP data in the onload event.  
  
 <script 
language="JavaScript">$.ajax({type:"GET",url:"code.asp",dataType:"script",as
ync:false})</script>
  
 Using ajax to load the ASP-JS page may seem unnecessary, but I have my 
reasons for it.
  
  People are saying the browser will hang if the requested resource is not 
there.   In this case, the web page and the js page are coming from the 
same place.  If the server was down, the web page wouldn't load in the 
first place.

  
 This has worked for 10 years with no problem.   
  
 As they say - "If it's not broke, don't fix it".   So, unless the folks 
who are trying to change this succeed, I will leave it as is.
  

    




-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/xhr/issues/20#issuecomment-304714794

Received on Monday, 29 May 2017 18:51:57 UTC