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

Unified Diff: Source/devtools/front_end/network/HAREntry.js

Issue 556363002: DevTools: NetworkRequest: convert connectionId to string (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 3 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 | Source/devtools/front_end/sdk/NetworkManager.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/network/HAREntry.js
diff --git a/Source/devtools/front_end/network/HAREntry.js b/Source/devtools/front_end/network/HAREntry.js
index ca6a2b8c41e4154d8a435f83534cfacb350d56ff..aa1d049593b28c748321599fa7ae42d278e2b7c8 100644
--- a/Source/devtools/front_end/network/HAREntry.js
+++ b/Source/devtools/front_end/network/HAREntry.js
@@ -58,8 +58,8 @@ WebInspector.HAREntry.prototype = {
timings: this._buildTimings()
};
- if (this._request.connectionId)
- entry.connection = String(this._request.connectionId);
+ if (this._request.connectionId !== "0")
+ entry.connection = this._request.connectionId;
var page = this._request.target().networkLog.pageLoadForRequest(this._request);
if (page)
entry.pageref = "page_" + page.id;
« no previous file with comments | « no previous file | Source/devtools/front_end/sdk/NetworkManager.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698