New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 920867 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 917017
Owner:
Closed: Jan 11
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

Uninitialized value of elapsed_time in NEL report is sent.

Project Member Reported by horo@chromium.org, Jan 11

Issue description

Chrome Version: TOT

What steps will reproduce the problem?
(1) Add "console.log(JSON.stringify(json));" in reportExists() of nel.sub.js
(2) Run sends-report-on-404.https.html test.
(3) See the console log.

What is the expected result?

The NEL report is shown with a valid elapsed_time.

What happens instead?

An uninitialized value is elapsed_time is shown.
example: -416835691


This is because elapsed_time of NetworkErrorLoggingService::RequestDetails  is set only when |stream_| is available in HttpNetworkTransaction::GenerateNetworkErrorLoggingReport().

https://chromium.googlesource.com/chromium/src/+/684d87f/net/http/http_network_transaction.cc#1422
 
Mergedinto: 917017
Status: Duplicate (was: Untriaged)

Sign in to add a comment