Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(743)

Unified Diff: third_party/WebKit/Source/devtools/front_end/sdk/HAREntry.js

Issue 1798173003: [DevTools] Added serverIPaddress to HAR output (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/devtools/front_end/sdk/HAREntry.js
diff --git a/third_party/WebKit/Source/devtools/front_end/sdk/HAREntry.js b/third_party/WebKit/Source/devtools/front_end/sdk/HAREntry.js
index ce3591f89d39f672504839da11266265bb3b1890..7d80c54737d232c6918757a8c9e10b33e7cb3664 100644
--- a/third_party/WebKit/Source/devtools/front_end/sdk/HAREntry.js
+++ b/third_party/WebKit/Source/devtools/front_end/sdk/HAREntry.js
@@ -55,7 +55,8 @@ WebInspector.HAREntry.prototype = {
request: this._buildRequest(),
response: this._buildResponse(),
cache: { }, // Not supported yet.
- timings: this._buildTimings()
+ timings: this._buildTimings(),
+ serverIPAddress: this._request.remoteAddress().split(':')[0]
pfeldman 2016/03/15 00:23:51 ":", also, we'd want a test with this.
};
if (this._request.connectionId !== "0")
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698