Skip to content

Commit

Permalink
core(navigate): only observe longtasks in PerfObserver (#12545)
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickhulce authored May 25, 2021
1 parent 836fd19 commit 8b46b65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lighthouse-core/gather/driver/wait-for-condition.js
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ function registerPerformanceObserverInPage() {
}
});

observer.observe({entryTypes: ['longtask'], buffered: true});
observer.observe({type: 'longtask', buffered: true});
}

/**
Expand Down

0 comments on commit 8b46b65

Please sign in to comment.