Skip to content

Commit

Permalink
prefer step_timeout, over setTimeout
Browse files Browse the repository at this point in the history
  • Loading branch information
cvazac committed Oct 30, 2018
1 parent 364fb76 commit 2c9df3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/performance-timeline-utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,6 @@ function test_entries(actualEntries, expectedEntries) {
function delayedLoadListener(callback) {
window.addEventListener('load', function() {
// TODO(cvazac) Remove this setTimeout when spec enforces sync entries
setTimeout(callback, 0)
step_timeout(callback, 0)
})
}

0 comments on commit 2c9df3b

Please sign in to comment.