mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Auto merge of #18324 - ferjm:performance.workers, r=jdm
Make Performance Timeline API work in Workers - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes fix #18286 and #18308 This patch makes the Performance Timeline API work in workers, removes the exposure of `Performance.timing` in workers and sets the appropriate value of `Performance.now()` in workers. <!-- 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/18324) <!-- Reviewable:end -->
This commit is contained in:
commit
42de8e3d3f
20 changed files with 146 additions and 128 deletions
|
@ -1,17 +0,0 @@
|
|||
[basic.any.worker.html]
|
||||
type: testharness
|
||||
[self.performance.now() is a function that returns a number]
|
||||
expected: FAIL
|
||||
|
||||
[self.performance.now() returns a positive number]
|
||||
expected: FAIL
|
||||
|
||||
[self.performance.now() difference is not negative]
|
||||
expected: FAIL
|
||||
|
||||
[High resolution time has approximately the right relative magnitude]
|
||||
expected: FAIL
|
||||
|
||||
|
||||
[basic.any.html]
|
||||
type: testharness
|
|
@ -1,11 +0,0 @@
|
|||
[monotonic-clock.any.html]
|
||||
type: testharness
|
||||
|
||||
[monotonic-clock.any.worker.html]
|
||||
type: testharness
|
||||
[self.performance.now() returns a positive number]
|
||||
expected: FAIL
|
||||
|
||||
[self.performance.now() difference is not negative]
|
||||
expected: FAIL
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
[window-worker-time-origin.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[Worker time origin is approximately its creation time]
|
||||
expected: TIMEOUT
|
||||
|
|
@ -27996,7 +27996,7 @@
|
|||
"support"
|
||||
],
|
||||
"mozilla/interfaces.worker.js": [
|
||||
"5fb0da8a22a5afe00d1232c700720c080f5dff44",
|
||||
"fb5537ec0753e3a1c56dff957bcc1c0660dcb7b9",
|
||||
"testharness"
|
||||
],
|
||||
"mozilla/iterable.html": [
|
||||
|
|
|
@ -37,7 +37,6 @@ test_interfaces([
|
|||
"PerformanceObserver",
|
||||
"PerformanceObserverEntryList",
|
||||
"PerformancePaintTiming",
|
||||
"PerformanceTiming",
|
||||
"ProgressEvent",
|
||||
"Request",
|
||||
"Response",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue