-
Notifications
You must be signed in to change notification settings - Fork 137
Closed
Description
Chrome Version 84.0.4147.135 is reporting:
JavaScriptServlet:99 [Deprecation] Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check https://xhr.spec.whatwg.org/.
in the hijackStandard() method:
/** hook using standards based prototype **/
function hijackStandard() {
XMLHttpRequest.prototype._open = XMLHttpRequest.prototype.open;
XMLHttpRequest.prototype.open = function(method, url, async, user, pass) {
this.url = url;
this._open.apply(this, arguments); \\ <-- here
};
XMLHttpRequest.prototype._send = XMLHttpRequest.prototype.send;
XMLHttpRequest.prototype.send = function(data) {
if(this.onsend != null) {
this.onsend.apply(this, arguments);
}
this._send.apply(this, arguments);
};
}
Is this something that can be cleaned up?
Metadata
Metadata
Assignees
Labels
No labels