mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Auto merge of #24097 - saschanaz:default-tojson, r=Manishearth
Add [Default] toJSON() to performance interfaces <!-- Please describe your changes on the following line: --> Enable `[Default] toJSON()` lines that were previously commented out. --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: --> - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes fix #21274 <!-- Either: --> - [x] There are tests for these changes <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- 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/24097) <!-- Reviewable:end -->
This commit is contained in:
commit
ae6d88f667
13 changed files with 218 additions and 104 deletions
|
@ -1,20 +1,3 @@
|
|||
[idlharness.any.html]
|
||||
[idlharness]
|
||||
expected: FAIL
|
||||
|
||||
[Performance interface: operation toJSON()]
|
||||
expected: FAIL
|
||||
|
||||
[Performance interface: performance must inherit property "toJSON()" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[Test default toJSON operation of Performance]
|
||||
expected: FAIL
|
||||
|
||||
[Performance interface: default toJSON operation on performance]
|
||||
expected: FAIL
|
||||
|
||||
|
||||
[idlharness.any.serviceworker.html]
|
||||
[idlharness]
|
||||
expected: FAIL
|
||||
|
@ -30,20 +13,3 @@
|
|||
[idlharness]
|
||||
expected: FAIL
|
||||
|
||||
|
||||
[idlharness.any.worker.html]
|
||||
[idlharness]
|
||||
expected: FAIL
|
||||
|
||||
[Performance interface: operation toJSON()]
|
||||
expected: FAIL
|
||||
|
||||
[Performance interface: performance must inherit property "toJSON()" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[Test default toJSON operation of Performance]
|
||||
expected: FAIL
|
||||
|
||||
[Performance interface: default toJSON operation on performance]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,2 +1,204 @@
|
|||
[idlharness.window.html]
|
||||
disabled: https://github.com/servo/servo/issues/21274
|
||||
[PerformanceNavigationTiming must be primary interface of performance.getEntriesByType("navigation")[0\]]
|
||||
expected: FAIL
|
||||
|
||||
[Stringification of performance.getEntriesByType("navigation")[0\]]
|
||||
expected: FAIL
|
||||
|
||||
[PerformanceNavigationTiming interface: performance.getEntriesByType("navigation")[0\] must inherit property "unloadEventStart" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[PerformanceNavigationTiming interface: performance.getEntriesByType("navigation")[0\] must inherit property "unloadEventEnd" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[PerformanceNavigationTiming interface: performance.getEntriesByType("navigation")[0\] must inherit property "domInteractive" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[PerformanceNavigationTiming interface: performance.getEntriesByType("navigation")[0\] must inherit property "domContentLoadedEventStart" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[PerformanceNavigationTiming interface: performance.getEntriesByType("navigation")[0\] must inherit property "domContentLoadedEventEnd" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[PerformanceNavigationTiming interface: performance.getEntriesByType("navigation")[0\] must inherit property "domComplete" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[PerformanceNavigationTiming interface: performance.getEntriesByType("navigation")[0\] must inherit property "loadEventStart" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[PerformanceNavigationTiming interface: performance.getEntriesByType("navigation")[0\] must inherit property "loadEventEnd" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[PerformanceNavigationTiming interface: performance.getEntriesByType("navigation")[0\] must inherit property "type" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[PerformanceNavigationTiming interface: performance.getEntriesByType("navigation")[0\] must inherit property "redirectCount" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[PerformanceNavigationTiming interface: performance.getEntriesByType("navigation")[0\] must inherit property "toJSON()" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[PerformanceNavigationTiming interface: default toJSON operation on performance.getEntriesByType("navigation")[0\]]
|
||||
expected: FAIL
|
||||
|
||||
[PerformanceTiming interface: existence and properties of interface object]
|
||||
expected: FAIL
|
||||
|
||||
[PerformanceTiming interface object length]
|
||||
expected: FAIL
|
||||
|
||||
[PerformanceTiming interface object name]
|
||||
expected: FAIL
|
||||
|
||||
[PerformanceTiming interface: existence and properties of interface prototype object]
|
||||
expected: FAIL
|
||||
|
||||
[PerformanceTiming interface: existence and properties of interface prototype object's "constructor" property]
|
||||
expected: FAIL
|
||||
|
||||
[PerformanceTiming interface: existence and properties of interface prototype object's @@unscopables property]
|
||||
expected: FAIL
|
||||
|
||||
[PerformanceTiming interface: attribute navigationStart]
|
||||
expected: FAIL
|
||||
|
||||
[PerformanceTiming interface: attribute unloadEventStart]
|
||||
expected: FAIL
|
||||
|
||||
[PerformanceTiming interface: attribute unloadEventEnd]
|
||||
expected: FAIL
|
||||
|
||||
[PerformanceTiming interface: attribute redirectStart]
|
||||
expected: FAIL
|
||||
|
||||
[PerformanceTiming interface: attribute redirectEnd]
|
||||
expected: FAIL
|
||||
|
||||
[PerformanceTiming interface: attribute fetchStart]
|
||||
expected: FAIL
|
||||
|
||||
[PerformanceTiming interface: attribute domainLookupStart]
|
||||
expected: FAIL
|
||||
|
||||
[PerformanceTiming interface: attribute domainLookupEnd]
|
||||
expected: FAIL
|
||||
|
||||
[PerformanceTiming interface: attribute connectStart]
|
||||
expected: FAIL
|
||||
|
||||
[PerformanceTiming interface: attribute connectEnd]
|
||||
expected: FAIL
|
||||
|
||||
[PerformanceTiming interface: attribute secureConnectionStart]
|
||||
expected: FAIL
|
||||
|
||||
[PerformanceTiming interface: attribute requestStart]
|
||||
expected: FAIL
|
||||
|
||||
[PerformanceTiming interface: attribute responseStart]
|
||||
expected: FAIL
|
||||
|
||||
[PerformanceTiming interface: attribute responseEnd]
|
||||
expected: FAIL
|
||||
|
||||
[PerformanceTiming interface: attribute domLoading]
|
||||
expected: FAIL
|
||||
|
||||
[PerformanceTiming interface: attribute domInteractive]
|
||||
expected: FAIL
|
||||
|
||||
[PerformanceTiming interface: attribute domContentLoadedEventStart]
|
||||
expected: FAIL
|
||||
|
||||
[PerformanceTiming interface: attribute domContentLoadedEventEnd]
|
||||
expected: FAIL
|
||||
|
||||
[PerformanceTiming interface: attribute domComplete]
|
||||
expected: FAIL
|
||||
|
||||
[PerformanceTiming interface: attribute loadEventStart]
|
||||
expected: FAIL
|
||||
|
||||
[PerformanceTiming interface: attribute loadEventEnd]
|
||||
expected: FAIL
|
||||
|
||||
[PerformanceTiming interface: operation toJSON()]
|
||||
expected: FAIL
|
||||
|
||||
[PerformanceTiming must be primary interface of performance.timing]
|
||||
expected: FAIL
|
||||
|
||||
[Stringification of performance.timing]
|
||||
expected: FAIL
|
||||
|
||||
[PerformanceTiming interface: performance.timing must inherit property "navigationStart" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[PerformanceTiming interface: performance.timing must inherit property "unloadEventStart" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[PerformanceTiming interface: performance.timing must inherit property "unloadEventEnd" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[PerformanceTiming interface: performance.timing must inherit property "redirectStart" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[PerformanceTiming interface: performance.timing must inherit property "redirectEnd" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[PerformanceTiming interface: performance.timing must inherit property "fetchStart" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[PerformanceTiming interface: performance.timing must inherit property "domainLookupStart" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[PerformanceTiming interface: performance.timing must inherit property "domainLookupEnd" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[PerformanceTiming interface: performance.timing must inherit property "connectStart" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[PerformanceTiming interface: performance.timing must inherit property "connectEnd" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[PerformanceTiming interface: performance.timing must inherit property "secureConnectionStart" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[PerformanceTiming interface: performance.timing must inherit property "requestStart" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[PerformanceTiming interface: performance.timing must inherit property "responseStart" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[PerformanceTiming interface: performance.timing must inherit property "responseEnd" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[PerformanceTiming interface: performance.timing must inherit property "domLoading" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[PerformanceTiming interface: performance.timing must inherit property "domInteractive" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[PerformanceTiming interface: performance.timing must inherit property "domContentLoadedEventStart" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[PerformanceTiming interface: performance.timing must inherit property "domContentLoadedEventEnd" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[PerformanceTiming interface: performance.timing must inherit property "domComplete" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[PerformanceTiming interface: performance.timing must inherit property "loadEventStart" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[PerformanceTiming interface: performance.timing must inherit property "loadEventEnd" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[PerformanceTiming interface: performance.timing must inherit property "toJSON()" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[PerformanceTiming interface: default toJSON operation on performance.timing]
|
||||
expected: FAIL
|
||||
|
||||
[Performance interface: attribute timing]
|
||||
expected: FAIL
|
||||
|
|
|
@ -7,18 +7,12 @@
|
|||
|
||||
|
||||
[idlharness.any.worker.html]
|
||||
[PerformanceEntry interface: operation toJSON()]
|
||||
expected: FAIL
|
||||
|
||||
[PerformanceObserver interface: operation takeRecords()]
|
||||
expected: FAIL
|
||||
|
||||
[PerformanceObserver interface: observer must inherit property "takeRecords()" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[PerformanceEntry interface: mark must inherit property "toJSON()" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[Test default toJSON operation of PerformanceMark]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -34,9 +28,6 @@
|
|||
[PerformanceMark interface object length]
|
||||
expected: FAIL
|
||||
|
||||
[PerformanceEntry interface: default toJSON operation on mark]
|
||||
expected: FAIL
|
||||
|
||||
[PerformanceObserver interface: operation observe(PerformanceObserverInit)]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -45,18 +36,12 @@
|
|||
[Untitled]
|
||||
expected: FAIL
|
||||
|
||||
[PerformanceEntry interface: operation toJSON()]
|
||||
expected: FAIL
|
||||
|
||||
[PerformanceObserver interface: operation takeRecords()]
|
||||
expected: FAIL
|
||||
|
||||
[PerformanceObserver interface: observer must inherit property "takeRecords()" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[PerformanceEntry interface: mark must inherit property "toJSON()" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[Test default toJSON operation of PerformanceMark]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -72,9 +57,6 @@
|
|||
[PerformanceMark interface object length]
|
||||
expected: FAIL
|
||||
|
||||
[PerformanceEntry interface: default toJSON operation on mark]
|
||||
expected: FAIL
|
||||
|
||||
[PerformanceObserver interface: operation observe(PerformanceObserverInit)]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,12 +0,0 @@
|
|||
[performanceentry-tojson.any.html]
|
||||
[performanceentry-tojson]
|
||||
expected: FAIL
|
||||
[Test toJSON() in PerformanceEntry]
|
||||
expected: FAIL
|
||||
|
||||
[performanceentry-tojson.any.worker.html]
|
||||
[performanceentry-tojson]
|
||||
expected: FAIL
|
||||
[Test toJSON() in PerformanceEntry]
|
||||
expected: FAIL
|
||||
|
|
@ -11,12 +11,6 @@
|
|||
[Stringification of resource]
|
||||
expected: FAIL
|
||||
|
||||
[Test default toJSON operation of PerformanceNavigationTiming]
|
||||
expected: FAIL
|
||||
|
||||
[PerformanceResourceTiming interface: resource must inherit property "toJSON()" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[PerformanceResourceTiming interface: resource must inherit property "decodedBodySize" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -26,9 +20,6 @@
|
|||
[PerformanceResourceTiming interface: resource must inherit property "encodedBodySize" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[PerformanceResourceTiming interface: operation toJSON()]
|
||||
expected: FAIL
|
||||
|
||||
[PerformanceResourceTiming must be primary interface of resource]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -61,9 +52,6 @@
|
|||
[PerformanceResourceTiming interface: attribute transferSize]
|
||||
expected: FAIL
|
||||
|
||||
[Test default toJSON operation of toJSON object]
|
||||
expected: FAIL
|
||||
|
||||
[PerformanceResourceTiming interface: resource must inherit property "secureConnectionStart" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -73,9 +61,6 @@
|
|||
[PerformanceResourceTiming interface: attribute decodedBodySize]
|
||||
expected: FAIL
|
||||
|
||||
[PerformanceResourceTiming interface: resource must inherit property "toJSON()" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[PerformanceResourceTiming interface: resource must inherit property "domainLookupEnd" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -88,9 +73,6 @@
|
|||
[PerformanceResourceTiming interface: resource must inherit property "encodedBodySize" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[PerformanceResourceTiming interface: operation toJSON()]
|
||||
expected: FAIL
|
||||
|
||||
[PerformanceResourceTiming interface: attribute secureConnectionStart]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,7 +0,0 @@
|
|||
[resource-timing-tojson.html]
|
||||
[Untitled]
|
||||
expected: FAIL
|
||||
|
||||
[Test toJSON() in PerformanceResourceTiming]
|
||||
expected: FAIL
|
||||
|
|
@ -12,9 +12,6 @@
|
|||
[Resource timing seems to work in workers]
|
||||
expected: FAIL
|
||||
|
||||
[performance.toJSON is available in workers]
|
||||
expected: FAIL
|
||||
|
||||
[performance.clearResourceTimings in workers]
|
||||
expected: FAIL
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue