From 3c4e27899c52d32acba275beb90744b35dde74c0 Mon Sep 17 00:00:00 2001 From: jmoenig Date: Fri, 10 Jan 2014 11:37:04 +0100 Subject: [PATCH] Revert pull request #295 (xhr-headers) breaks existing installations --- history.txt | 4 ++++ threads.js | 7 +------ 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/history.txt b/history.txt index f0569ff7..d5362525 100755 --- a/history.txt +++ b/history.txt @@ -2064,3 +2064,7 @@ ______ * Morphic: Fixed updateReferences() (how could nobody notice so long?!) * XML: resolved unexpected assignment expressions (conform to the latest JSLint quibbles) * validated all source files against the latest JSLint version + +140110 +------ +* Threads: Revert pull request #295 (xhr-headers), breaks existing installations diff --git a/threads.js b/threads.js index 722ce6b9..d4a67324 100644 --- a/threads.js +++ b/threads.js @@ -83,7 +83,7 @@ ArgLabelMorph, localize, XML_Element, hex_sha512*/ // Global stuff //////////////////////////////////////////////////////// -modules.threads = '2014-January-09'; +modules.threads = '2014-January-10'; var ThreadManager; var Process; @@ -1772,11 +1772,6 @@ Process.prototype.reportURL = function (url) { if (!this.httpRequest) { this.httpRequest = new XMLHttpRequest(); this.httpRequest.open("GET", 'http://' + url, true); - this.httpRequest.setRequestHeader( - "X-Requested-With", - "XMLHttpRequest" - ); - this.httpRequest.setRequestHeader("X-Application", "Snap! 4.0"); this.httpRequest.send(null); } else if (this.httpRequest.readyState === 4) { response = this.httpRequest.responseText;