Page 1 of 3

Synchronous XMLHttpRequest deprecated error

Posted: Mon Jan 26, 2015 10:09 pm
by Jakub

This week I started getting the error belo in Chrom Console while debugging.
everything worked fine last week and I was able to debug, Now none of my Console commands show up just this. Has anything changed?

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

It bombs in target-script-min.js at this row: result = func.apply(this, arguments);

getHookedFunction = function(func, hookSite) {
var hookedFunction;
hookedFunction = function() {
var result;
callBeforeHooks(hookSite, this, arguments);
try {
result = func.apply(this, arguments);
} catch (e) {
callExceptHooks(hookSite, this, arguments, e);
throw e;
} finally {
callAfterHooks(hookSite, this, arguments, result);
}
return result;
};


Synchronous XMLHttpRequest deprecated error

Posted: Tue Jan 27, 2015 5:49 pm
by Alena Prykhodko

Hello,

No worries.
This is a request for Weinre debugger that couldn't be sent because you was debugging your app. Just ignore it.


Synchronous XMLHttpRequest deprecated error

Posted: Tue Jan 27, 2015 5:56 pm
by Jakub

The problem is that none of my console results show up in the window. It looks like the console stops processing anything after this error.
I can't even drill into the DOM objects.


Synchronous XMLHttpRequest deprecated error

Posted: Tue Jan 27, 2015 6:11 pm
by Alena Prykhodko

Please send a screenshot of your error with opened stacktrace.


Synchronous XMLHttpRequest deprecated error

Posted: Wed Apr 01, 2015 10:49 am
by philomath l

I too got this error in firefox-35, only in firefox-35.....Its working fine in other versions of firefox(28,33)...

In the release notes of the firefox-35 they mentioned few methods are deprecated in firefox-35. Is the error is because of this..?

Any thoughts..?

Thanks for the help in advance.


Synchronous XMLHttpRequest deprecated error

Posted: Thu Apr 02, 2015 6:13 pm
by Evgene Karachevtsev

Hello philomath l,

Perhaps this can be the reason, could you please clarify do you get this issue in other browsers, for example chrome?


Synchronous XMLHttpRequest deprecated error

Posted: Fri Apr 03, 2015 12:03 pm
by philomath l

Hello Evgene Karachevtsev,

Nope, I didn't face this issue anywhere except firefox-35. It looks good in IE11 and chrome.

Following message thrown from the debugger of the Firefox-35 Browser :

The character encoding of a framed document was not declared. The document may appear different if
viewed without the document framing it.

The character encoding of a framed document was not declared. The document may appear different if
viewed without the document framing it.

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

Use of document.load forbidden on Documents that come from other Windows. Only the Window in which
a Document was created is allowed to call .load on that Document. Preferably, use XMLHttpRequest
instead.


Synchronous XMLHttpRequest deprecated error

Posted: Sat Apr 04, 2015 3:34 am
by Evgene Karachevtsev

Philomath,

We'll investigate this issue, but it may take some time. Until that we suggest you to use some other browser.


Synchronous XMLHttpRequest deprecated error

Posted: Sun Apr 05, 2015 3:32 am
by philomath l

Yeah Sure,sounds good. Hope to get resolution here.


Synchronous XMLHttpRequest deprecated error

Posted: Sat May 02, 2015 12:05 pm
by Istvan

Hi

My problem is same
"
jquery-2.1.1.js:8554

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

In the chrome dev. tools consol

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

?