This is an automated email from the ASF dual-hosted git repository.

wusheng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/skywalking-client-js.git

commit 6d608a58f9bee7ef77ba1880a6a2eba514303a61
Author: Qiuxia Fan <[email protected]>
AuthorDate: Thu Aug 6 17:33:37 2020 +0800

    fix: data
---
 src/performance/perf.ts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/performance/perf.ts b/src/performance/perf.ts
index 4a62ed7..3087c07 100644
--- a/src/performance/perf.ts
+++ b/src/performance/perf.ts
@@ -47,7 +47,7 @@ class PagePerf {
         loadPage: timing.loadEventStart - timing.fetchStart, // Page full load 
time
         resTime: timing.loadEventStart - timing.domContentLoadedEventEnd, // 
Synchronous load resources in the page
         // Only valid for HTTPS
-        sslTime: location.protocol.includes('https') ? timing.connectEnd - 
timing.secureConnectionStart : null,
+        sslTime: location.protocol.includes('https') ? timing.connectEnd - 
timing.secureConnectionStart : undefined,
         ttlTime: timing.domInteractive - timing.fetchStart, // time to interact
         firstPackTime: timing.responseStart - timing.domainLookupStart, // 
first pack time
         fmpTime: 0, // First Meaningful Paint

Reply via email to