diff options
| author | jmoenig <jens@moenig.org> | 2014-01-10 11:37:04 +0100 |
|---|---|---|
| committer | jmoenig <jens@moenig.org> | 2014-01-10 11:37:04 +0100 |
| commit | 3c4e27899c52d32acba275beb90744b35dde74c0 (patch) | |
| tree | bb05187cdbd24ab00bd2da6f4974712b2d6bf327 | |
| parent | fa88fdc761faa224d307e833f74163df48cedb0c (diff) | |
| download | snap-byow-3c4e27899c52d32acba275beb90744b35dde74c0.tar.gz snap-byow-3c4e27899c52d32acba275beb90744b35dde74c0.zip | |
Revert pull request #295 (xhr-headers)
breaks existing installations
| -rwxr-xr-x | history.txt | 4 | ||||
| -rw-r--r-- | threads.js | 7 |
2 files changed, 5 insertions, 6 deletions
diff --git a/history.txt b/history.txt index f0569ff..d536252 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 @@ -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; |
