Auto merge of #18028 - ferjm:performance.timeline, r=jdm

Performance Timeline API

[Performance Timeline API](https://www.w3.org/TR/performance-timeline-2/) implementation.

This API is required to allow DOM access to the [Paint Timing API](https://wicg.github.io/paint-timing/#example) metrics implemented in #17256. Unfortunately, I couldn't test it properly, as its usage depends on other APIs like the Paint Timing, User Timing, Resource Timing or Server Timing APIs. I'll work in the integration with the Paint Timing API next.

- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [ ] There are [WPTs](https://github.com/servo/servo/tree/master/tests/wpt/web-platform-tests/performance-timeline) for this API, however they depend on the implementation of the User Timing and the Resource Timing APIs, which I'll hopefully be implementing soon.

<!-- 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/18028)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2017-08-17 12:27:19 -05:00 committed by GitHub
commit 6988c7424d
18 changed files with 599 additions and 7 deletions

View file

@ -1,5 +1,6 @@
[nav2_test_document_replaced.html]
type: testharness
expected: TIMEOUT
[Navigation Timing 2 WPT]
expected: FAIL

View file

@ -27276,7 +27276,7 @@
"testharness"
],
"mozilla/interfaces.html": [
"c884fee8603f93099ffd0acc30f0ab0cbee5b5f8",
"7ac46204fb780c96344f166d34d0fb888c9e25c4",
"testharness"
],
"mozilla/interfaces.js": [
@ -27284,7 +27284,7 @@
"support"
],
"mozilla/interfaces.worker.js": [
"9b3a3c96ec539bb323a0def92c747996deaa7331",
"1474c6500ce1c4aef99d200dae5407324ddbdd4a",
"testharness"
],
"mozilla/iterable.html": [

View file

@ -159,6 +159,9 @@ test_interfaces([
"NodeList",
"PageTransitionEvent",
"Performance",
"PerformanceEntry",
"PerformanceObserver",
"PerformanceObserverEntryList",
"PerformanceTiming",
"Plugin",
"PluginArray",

View file

@ -34,6 +34,9 @@ test_interfaces([
"MessageEvent",
"Performance",
"PerformanceTiming",
"PerformanceEntry",
"PerformanceObserver",
"PerformanceObserverEntryList",
"ProgressEvent",
"Request",
"Response",