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

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

Issue 637523002: DevTools: use timing information for "disk cached" resources. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 2 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 | « Source/devtools/front_end/audits/AuditRules.js ('k') | Source/devtools/front_end/network/NetworkPanel.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 aa1d049593b28c748321599fa7ae42d278e2b7c8..46a15dc59d7657dc51fd5da99f3b1a5bf0122ea6 100644
--- a/Source/devtools/front_end/network/HAREntry.js
+++ b/Source/devtools/front_end/network/HAREntry.js
@@ -237,7 +237,7 @@ WebInspector.HAREntry.prototype = {
*/
get responseBodySize()
{
- if (this._request.cached || this._request.statusCode === 304)
+ if (this._request.cached() || this._request.statusCode === 304)
return 0;
if (!this._request.responseHeadersText)
return -1;
@@ -249,7 +249,7 @@ WebInspector.HAREntry.prototype = {
*/
get responseCompression()
{
- if (this._request.cached || this._request.statusCode === 304 || this._request.statusCode === 206)
+ if (this._request.cached() || this._request.statusCode === 304 || this._request.statusCode === 206)
return;
if (!this._request.responseHeadersText)
return;
« no previous file with comments | « Source/devtools/front_end/audits/AuditRules.js ('k') | Source/devtools/front_end/network/NetworkPanel.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698