Skip to content

Commit

Permalink
fix(har): fix bug for hardata
Browse files Browse the repository at this point in the history
  • Loading branch information
CHWYH committed Oct 17, 2018
1 parent 33ee7c7 commit 4076025
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/tsw/util/auto-report/download.js
Original file line number Diff line number Diff line change
Expand Up @@ -291,8 +291,8 @@ const initRequestHar = function (request) {
requestHaz.pageref = request.sid;
requestHaz.timings = {
'blocked': 0,
'dns': request.timestamps.dns,
'connect': request.timestamps.TCPConnectTime,
'dns': (request.timestamps && request.timestamps.dns) || -1,
'connect': (request.timestamps && request.timestamps.TCPConnectTime) || -1,
'send': 20,
'wait': 38,
'receive': 12,
Expand Down

0 comments on commit 4076025

Please sign in to comment.