Jakub
Posts: 0
Joined: Fri Dec 05, 2014 10:53 pm

Synchronous XMLHttpRequest deprecated error

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

Alena Prykhodko
Posts: 0
Joined: Tue Apr 09, 2013 7:36 am

Synchronous XMLHttpRequest deprecated error

Hello,

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

Jakub
Posts: 0
Joined: Fri Dec 05, 2014 10:53 pm

Synchronous XMLHttpRequest deprecated error

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.

Alena Prykhodko
Posts: 0
Joined: Tue Apr 09, 2013 7:36 am

Synchronous XMLHttpRequest deprecated error

Please send a screenshot of your error with opened stacktrace.

philomath l
Posts: 0
Joined: Wed Apr 01, 2015 10:49 am

Synchronous XMLHttpRequest deprecated error

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.

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

Synchronous XMLHttpRequest deprecated error

Hello philomath l,

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

philomath l
Posts: 0
Joined: Wed Apr 01, 2015 10:49 am

Synchronous XMLHttpRequest deprecated error

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.

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

Synchronous XMLHttpRequest deprecated error

Philomath,

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

philomath l
Posts: 0
Joined: Wed Apr 01, 2015 10:49 am

Synchronous XMLHttpRequest deprecated error

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

Istvan
Posts: 0
Joined: Mon Oct 13, 2014 1:48 pm

Synchronous XMLHttpRequest deprecated error

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 );

?

Return to “Issues”