servo/components/script
bors-servo ced303b9cb 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 -->
2017-08-28 02:20:29 -05:00
..
docs Make #[dom_struct] a proc_macro attribute 2017-02-24 01:50:51 +01:00
dom Auto merge of #18176 - rtbo:perf_observer_buffered, r=ferjm 2017-08-28 02:20:29 -05:00
task_source order derivable traits lists 2017-08-23 21:38:44 +02:00
body.rs order derivable traits lists 2017-08-23 21:38:44 +02:00
build.rs order derivable traits lists 2017-08-23 21:38:44 +02:00
Cargo.toml First step toward iOS Support 2017-08-23 17:16:30 +02:00
clipboard_provider.rs make use of ScriptToConstellationChan 2017-08-15 08:22:09 +02:00
CMakeLists.txt Fix doc build by resurrecting generation of supported DOM APIs.h 2016-09-24 15:06:06 -04:00
devtools.rs Added some same-origin-domain checks. 2017-03-14 14:36:03 -05:00
document_loader.rs order derivable traits lists 2017-08-23 21:38:44 +02:00
fetch.rs Change RequestInit origin type to ImmutableOrigin 2017-07-16 21:44:33 +02:00
layout_image.rs Change RequestInit origin type to ImmutableOrigin 2017-07-16 21:44:33 +02:00
lib.rs Upgrade to rustc 1.21.0-nightly (13d94d5fa 2017-08-10) 2017-08-15 14:10:44 +02:00
mem.rs Rename Reflectable to DomObject. 2016-12-08 08:50:35 -10:00
microtask.rs order derivable traits lists 2017-08-23 21:38:44 +02:00
network_listener.rs Separate the async bluetooth handling from networking code. 2016-12-21 14:52:39 +01:00
script_runtime.rs Added Debug implementations. 2017-06-13 10:46:59 -05:00
script_thread.rs Add paint metrics to Performance Timeline API 2017-08-23 17:30:13 +02:00
serviceworker_manager.rs remove extra spaces after keywords 2017-07-20 00:45:02 +03:00
serviceworkerjob.rs order derivable traits lists 2017-08-23 21:38:44 +02:00
stylesheet_loader.rs Expose the source map URL on a style sheet 2017-08-17 06:51:30 -06:00
test.rs script: Move the layout_wrapper outside of script. 2017-07-15 16:41:12 +02:00
textinput.rs order derivable traits lists 2017-08-23 21:38:44 +02:00
timers.rs order derivable traits lists 2017-08-23 21:38:44 +02:00
unpremultiplytable.rs
webdriver_handlers.rs Replace downcast with is 2017-08-02 21:51:17 +02:00