Comparing version 2.0.0-pre-H1GCS73N-incubating to 2.0.0-pre-H3FWTQKQ-incubating
@@ -5,3 +5,3 @@ { | ||
"author": "apache.org", | ||
"version": "2.0.0-pre-H1GCS73N-incubating", | ||
"version": "2.0.0-pre-H3FWTQKQ-incubating", | ||
"tags": [ "debug"], | ||
@@ -8,0 +8,0 @@ "licenses": |
@@ -1,2 +0,2 @@ | ||
weinre build 2.0.0-pre-H1GCS73N-incubating by Patrick Mueller | ||
git: 1356753525115913bb755b6695cfe370e8f223a6 [CB-540] [weinre] easily navigate to spot in DOM | ||
weinre build 2.0.0-pre-H3FWTQKQ-incubating by Patrick Mueller | ||
git: dd3e15617df037d480faeaae3f9b7c2627c7a146 [weinre] update README.md to add link to people.apache.org site |
@@ -23,4 +23,4 @@ /* | ||
Weinre.Versions = { | ||
weinre: "2.0.0-pre-H1GCS73N-incubating", | ||
build: "H1GCS73N", | ||
weinre: "2.0.0-pre-H3FWTQKQ-incubating", | ||
build: "H3FWTQKQ", | ||
}; |
@@ -167,16 +167,5 @@ ;modjewel.define("weinre/target/Target", function(require, exports, module) { var Binding, CSSStore, Callback, CheckForProblems, ElementHighlighter, Ex, HookLib, InjectedScriptHostImpl, MessageDispatcher, NetworkRequest, NodeStore, Target, Weinre, WeinreExtraClientCommandsImpl, WeinreTargetEventsImpl, WiCSSImpl, WiConsoleImpl, WiDOMImpl, WiDOMStorageImpl, WiDatabaseImpl, WiInspectorImpl, WiRuntimeImpl, currentTime; | ||
Weinre.cssStore = new CSSStore(); | ||
window.addEventListener("error", (function(e) { | ||
return Target.handleError(e); | ||
}), false); | ||
return NetworkRequest.installNativeHooks(); | ||
}; | ||
Target.handleError = function(event) { | ||
var filename, lineno, message; | ||
filename = event.filename || "[unknown filename]"; | ||
lineno = event.lineno || "[unknown lineno]"; | ||
message = event.message || "[unknown message]"; | ||
return console.error("error occurred: " + filename + ":" + lineno + ": " + message); | ||
}; | ||
Target.prototype.cb_webSocketOpened = function() { | ||
@@ -183,0 +172,0 @@ return Weinre.WeinreTargetCommands.registerTarget(window.location.href, Binding(this, this.cb_registerTarget)); |
@@ -147,4 +147,12 @@ ;modjewel.define("weinre/target/Timeline", function(require, exports, module) { var Ex, HookLib, HookSites, IDGenerator, Running, StackTrace, Timeline, TimelineRecordType, TimerIntervals, TimerTimeouts, Weinre, addStackTrace, addTimer, getXhrEventHandler, instrumentedTimerCode, removeTimer; | ||
Timeline.addRecord_XHRReadyStateChange = function(method, url, id, xhr) { | ||
var contentLength, record; | ||
var contentLength, contentType, record; | ||
if (!Timeline.isRunning()) return; | ||
try { | ||
contentLength = xhr.getResponseHeader("Content-Length"); | ||
contentLength = parseInt(contentLength); | ||
contentType = xhr.getResponseHeader("Content-Type"); | ||
} catch (e) { | ||
contentLength = 0; | ||
contentType = "unknown"; | ||
} | ||
record = {}; | ||
@@ -155,4 +163,2 @@ record.startTime = Date.now(); | ||
}; | ||
contentLength = xhr.getResponseHeader("Content-Length"); | ||
contentLength = parseInt(contentLength); | ||
if (xhr.readyState === XMLHttpRequest.OPENED) { | ||
@@ -170,3 +176,3 @@ record.type = TimelineRecordType.ResourceSendRequest; | ||
statusCode: xhr.status, | ||
mimeType: xhr.getResponseHeader("Content-Type"), | ||
mimeType: contentType, | ||
url: url | ||
@@ -243,2 +249,3 @@ }; | ||
var code, id; | ||
if (!this.userData) return; | ||
code = this.userData.code; | ||
@@ -272,2 +279,3 @@ if (typeof code !== "function") return; | ||
var code, id; | ||
if (!this.userData) return; | ||
code = this.userData.code; | ||
@@ -274,0 +282,0 @@ if (typeof code !== "function") return; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5226048
70683