Vinny B
Posts: 0
Joined: Fri Aug 22, 2014 2:22 pm

Im getting an error when my app opens while testing

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/.

Code

send: function( headers, complete ) {
var i,
xhr = options.xhr(),
id = ++xhrId;

Code: Select all

 xhr.open( options.type, options.url, options.async, options.username, options.password ); 

 // Apply custom fields if provided 
 if ( options.xhrFields ) { 
  for ( i in options.xhrFields ) { 
   xhr[ i ] = options.xhrFields[ i ]; 
  }
Ihor Didevych
Posts: 0
Joined: Wed Nov 19, 2014 7:55 pm

Im getting an error when my app opens while testing

Hi Vinny,

Could you clarify, when is the error occur? is it after execute service or event?

Vinny B
Posts: 0
Joined: Fri Aug 22, 2014 2:22 pm

Im getting an error when my app opens while testing

I get the error when I test the app in a browser under the console tab. I thought it was causing a bigger problem but it was not.

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Im getting an error when my app opens while testing

Hello!

Sorry, do you need any help?

Vinny B
Posts: 0
Joined: Fri Aug 22, 2014 2:22 pm

Im getting an error when my app opens while testing

No everything is good. Thanks Anyway

Return to “Issues”