Auto merge of #18283 - ferjm:user.timing.api, r=jdm

User Timing API

- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #18109
- [X] There are tests for these changes. I enabled the peformance-timeline API WPTs but some of them are still failing because of implementation bugs or missing APIs (Resource Timing, for instance) the tests are dependent of. I'll file issues to fix them.

<!-- 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/18283)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2017-09-07 12:45:46 -05:00 committed by GitHub
commit 1e93749941
18 changed files with 272 additions and 13 deletions

View file

@ -45,6 +45,8 @@ skip: true
skip: true
[script_scheduling]
skip: false
[performance-timeline]
skip: false
[quirks-mode]
skip: false
[referrer-policy]

View file

@ -0,0 +1,17 @@
[case-sensitivity.any.worker.html]
type: testharness
[getEntriesByType values are case sensitive]
expected: FAIL
[getEntriesByName values are case sensitive]
expected: FAIL
[case-sensitivity.any.html]
type: testharness
[getEntriesByType values are case sensitive]
expected: FAIL
[getEntriesByName values are case sensitive]
expected: FAIL

View file

@ -0,0 +1,13 @@
[po-disconnect.any.html]
type: testharness
expected: TIMEOUT
[An observer disconnected after a mark must receive the mark]
expected: TIMEOUT
[po-disconnect.any.worker.html]
type: testharness
expected: TIMEOUT
[An observer disconnected after a mark must receive the mark]
expected: TIMEOUT

View file

@ -0,0 +1,5 @@
[po-navigation.html]
type: testharness
[navigation entry is observable]
expected: FAIL

View file

@ -0,0 +1,11 @@
[po-observe.any.worker.html]
type: testharness
[replace observer if already present]
expected: FAIL
[po-observe.any.html]
type: testharness
[replace observer if already present]
expected: FAIL

View file

@ -0,0 +1,5 @@
[po-resource.html]
type: testharness
[resource entries are observable]
expected: FAIL

View file

@ -28013,7 +28013,7 @@
"testharness"
],
"mozilla/interfaces.html": [
"a7ed38b6069caffd87d9573978e6ef9938d87753",
"66e66d3bdfa3bebd5bf3d711c0737fb394efe973",
"testharness"
],
"mozilla/interfaces.js": [
@ -28021,7 +28021,7 @@
"support"
],
"mozilla/interfaces.worker.js": [
"fb5537ec0753e3a1c56dff957bcc1c0660dcb7b9",
"c9dcc4f24540914b3be1ef18f13b721773eb76be",
"testharness"
],
"mozilla/iterable.html": [

View file

@ -161,6 +161,8 @@ test_interfaces([
"PageTransitionEvent",
"Performance",
"PerformanceEntry",
"PerformanceMark",
"PerformanceMeasure",
"PerformanceObserver",
"PerformanceObserverEntryList",
"PerformancePaintTiming",

View file

@ -34,6 +34,8 @@ test_interfaces([
"MessageEvent",
"Performance",
"PerformanceEntry",
"PerformanceMark",
"PerformanceMeasure",
"PerformanceObserver",
"PerformanceObserverEntryList",
"PerformancePaintTiming",