Comparing version 2.0.0-pre-H41DGW8S-incubating to 2.0.0-pre-H8EOSCLN-incubating
@@ -5,3 +5,3 @@ { | ||
"author": "apache.org", | ||
"version": "2.0.0-pre-H41DGW8S-incubating", | ||
"version": "2.0.0-pre-H8EOSCLN-incubating", | ||
"tags": [ "debug"], | ||
@@ -8,0 +8,0 @@ "licenses": |
@@ -1,2 +0,2 @@ | ||
weinre build 2.0.0-pre-H41DGW8S-incubating by Patrick Mueller | ||
weinre build 2.0.0-pre-H8EOSCLN-incubating by Patrick Mueller | ||
git: 4d3b995fd084c037e7eea2c430e174d3e3ef1e4c [CB-984] [weinre] weinre broken with node 0.8 |
@@ -23,4 +23,4 @@ /* | ||
Weinre.Versions = { | ||
weinre: "2.0.0-pre-H41DGW8S-incubating", | ||
build: "H41DGW8S", | ||
weinre: "2.0.0-pre-H8EOSCLN-incubating", | ||
build: "H8EOSCLN", | ||
}; |
@@ -54,3 +54,8 @@ ;modjewel.define("weinre/target/NetworkRequest", function(require, exports, module) { // Generated by CoffeeScript 1.3.3 | ||
var description, sourceString, status, statusText, success, time; | ||
sourceString = this.xhr.responseText; | ||
sourceString = ""; | ||
try { | ||
sourceString = this.xhr.responseText; | ||
} catch (e) { | ||
} | ||
Weinre.wi.NetworkNotify.setInitialContent(this.id, sourceString, "XHR"); | ||
@@ -196,9 +201,13 @@ time = Date.now() / 1000.0; | ||
} | ||
switch (xhr.readyState) { | ||
case 2: | ||
return nr.handleHeadersReceived(); | ||
case 3: | ||
return nr.handleLoading(); | ||
case 4: | ||
return nr.handleDone(); | ||
try { | ||
switch (xhr.readyState) { | ||
case 2: | ||
return nr.handleHeadersReceived(); | ||
case 3: | ||
return nr.handleLoading(); | ||
case 4: | ||
return nr.handleDone(); | ||
} | ||
} catch (e) { | ||
} | ||
@@ -205,0 +214,0 @@ }; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
5235776
71444