There was an error while loading. Please reload this page.
1 parent 1e46e37 commit ecbfd75Copy full SHA for ecbfd75
1 file changed
src/js/tracker.js
@@ -591,7 +591,10 @@
591
// performance.timing so we cannot copy them using lodash.clone
592
var performanceTiming = {};
593
for (var field in performance.timing) {
594
- performanceTiming[field] = performance.timing[field];
+ // Don't copy the toJSON method
595
+ if (!lodash.isFunction(performance.timing[field])) {
596
+ performanceTiming[field] = performance.timing[field];
597
+ }
598
}
599
600
// Old Chrome versions add an unwanted requestEnd field
0 commit comments