Page 1 of 1

Im getting an error when my app opens while testing

Posted: Tue Feb 10, 2015 12:50 pm
by Vinny B

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 ]; 
  }

Im getting an error when my app opens while testing

Posted: Tue Feb 10, 2015 2:09 pm
by Ihor Didevych

Hi Vinny,

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


Im getting an error when my app opens while testing

Posted: Tue Feb 10, 2015 4:00 pm
by Vinny B

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.


Im getting an error when my app opens while testing

Posted: Wed Feb 11, 2015 9:47 am
by Maryna Brodina

Hello!

Sorry, do you need any help?


Im getting an error when my app opens while testing

Posted: Wed Feb 11, 2015 9:51 am
by Vinny B

No everything is good. Thanks Anyway