diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2017-08-28 02:20:29 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-28 02:20:29 -0500 |
commit | ced303b9cbc193b5ebf221cbf2048ac1e7d0d552 (patch) | |
tree | ceca2265dc1112a66fae7ccdafa6a35508cd0417 /components/profile | |
parent | 478da86bb94fad9738ec368174caf849e2c6d72d (diff) | |
parent | e186b52b048e1da55b6d76e814ce3725000659e0 (diff) | |
download | servo-ced303b9cbc193b5ebf221cbf2048ac1e7d0d552.tar.gz servo-ced303b9cbc193b5ebf221cbf2048ac1e7d0d552.zip |
Auto merge of #18176 - rtbo:perf_observer_buffered, r=ferjm
PerformanceObserverInit.buffered
Per #18108, add `buffered` flag in the `PerformanceObserverInit` dict.
Per W3C spec, when `buffered` is set, `PerformanceObserver.observe()` method adds the entries buffered in the `Performance` instance into the observer's entry buffer.
One step is the implementation of the [filter by name and type](https://w3c.github.io/performance-timeline/#filter-buffer-by-name-and-type) algorithm. Don't think that the sort operation is useful in this case, but the spec states that this algorithm is to be used.
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #18108
- [X] These changes do not require tests (yet) because the timeline API is not powered.
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/18176)
<!-- Reviewable:end -->
Diffstat (limited to 'components/profile')
0 files changed, 0 insertions, 0 deletions