w3c / performance-timeline

Performance Timeline
https://w3c.github.io/performance-timeline/
Other
111 stars 27 forks source link

Fix observe() with buffered flag #159

Closed npm1 closed 4 years ago

npm1 commented 4 years ago

Fixes https://github.com/w3c/performance-timeline/issues/158. This PR fixes observe() so that the task that dispatched PerformanceObserver callbacks is queued whenever the buffered flag is used. This lets an observer receive buffered entries even if no other entries are later queued into the performance timeline.


Preview | Diff