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
Comment 1 by horo@chromium.org
, Jan 11Status: Duplicate (was: Untriaged)