diff --git a/lighthouse-core/runner.js b/lighthouse-core/runner.js index 29bdaadf0501..3838016f2581 100644 --- a/lighthouse-core/runner.js +++ b/lighthouse-core/runner.js @@ -186,9 +186,12 @@ class Runner { // resolution. .map(entry => { return /** @type {PerformanceEntry} */ ({ - ...entry, - duration: parseFloat(entry.duration.toFixed(2)), + // Don't spread entry because browser PerformanceEntries can't be spread. + // https://github.com/GoogleChrome/lighthouse/issues/8638 startTime: parseFloat(entry.startTime.toFixed(2)), + name: entry.name, + duration: parseFloat(entry.duration.toFixed(2)), + entryType: entry.entryType, }); }); const runnerEntry = timingEntries.find(e => e.name === 'lh:runner:run');