We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0905864 commit b9f542fCopy full SHA for b9f542f
lighthouse-core/runner.js
@@ -186,9 +186,12 @@ class Runner {
186
// resolution.
187
.map(entry => {
188
return /** @type {PerformanceEntry} */ ({
189
- ...entry,
190
- duration: parseFloat(entry.duration.toFixed(2)),
+ // Don't spread entry because browser PerformanceEntries can't be spread.
+ // https://github.com/GoogleChrome/lighthouse/issues/8638
191
startTime: parseFloat(entry.startTime.toFixed(2)),
192
+ name: entry.name,
193
+ duration: parseFloat(entry.duration.toFixed(2)),
194
+ entryType: entry.entryType,
195
});
196
197
const runnerEntry = timingEntries.find(e => e.name === 'lh:runner:run');
0 commit comments