script: implement navigator.hardwareConcurrency (#31268)

Signed-off-by: syvb <me@iter.ca>
This commit is contained in:
Smitty 2024-02-07 13:41:58 -05:00 committed by GitHub
parent 044b94d5eb
commit 20404a72c0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
14 changed files with 32 additions and 40 deletions

View file

@ -143,9 +143,6 @@
[ApplicationCache interface: existence and properties of interface prototype object's "constructor" property]
expected: FAIL
[Navigator interface: attribute hardwareConcurrency]
expected: FAIL
[OffscreenCanvasRenderingContext2D interface: operation restore()]
expected: FAIL
@ -812,9 +809,6 @@
[DragEvent interface: existence and properties of interface object]
expected: FAIL
[Navigator interface: window.navigator must inherit property "hardwareConcurrency" with the proper type]
expected: FAIL
[ApplicationCache interface: operation update()]
expected: FAIL

View file

@ -266,9 +266,6 @@
[OffscreenCanvasRenderingContext2D interface: attribute lineDashOffset]
expected: FAIL
[WorkerNavigator interface: self.navigator must inherit property "hardwareConcurrency" with the proper type]
expected: FAIL
[ImageBitmapRenderingContext interface object name]
expected: FAIL
@ -386,9 +383,6 @@
[OffscreenCanvas interface: operation transferToImageBitmap()]
expected: FAIL
[WorkerNavigator interface: attribute hardwareConcurrency]
expected: FAIL
[OffscreenCanvasRenderingContext2D interface: operation arcTo(unrestricted double, unrestricted double, unrestricted double, unrestricted double, unrestricted double)]
expected: FAIL

View file

@ -1,16 +1,5 @@
[WorkerNavigator-hardware-concurrency.any.sharedworker.html]
expected: ERROR
[WorkerNavigator-hardware-concurrency]
expected: FAIL
[WorkerNavigator-hardware-concurrency.any.worker.html]
[Test worker navigator hardware concurrency.]
expected: FAIL
[WorkerNavigator-hardware-concurrency.any.serviceworker.html]
expected: ERROR
[WorkerNavigator-hardware-concurrency]
expected: FAIL

View file

@ -443,9 +443,6 @@
[CanvasRenderingContext2D interface: calling isPointInStroke(Path2D, unrestricted double, unrestricted double) on document.createElement("canvas").getContext("2d") with too few arguments must throw TypeError]
expected: FAIL
[Navigator interface: attribute hardwareConcurrency]
expected: FAIL
[ApplicationCache interface: constant CHECKING on interface object]
expected: FAIL
@ -809,9 +806,6 @@
[DragEvent interface: existence and properties of interface object]
expected: FAIL
[Navigator interface: window.navigator must inherit property "hardwareConcurrency" with the proper type]
expected: FAIL
[ElementInternals interface: existence and properties of interface prototype object's @@unscopables property]
expected: FAIL

View file

@ -266,9 +266,6 @@
[OffscreenCanvasRenderingContext2D interface: attribute lineDashOffset]
expected: FAIL
[WorkerNavigator interface: self.navigator must inherit property "hardwareConcurrency" with the proper type]
expected: FAIL
[ImageBitmapRenderingContext interface object name]
expected: FAIL
@ -398,9 +395,6 @@
[OffscreenCanvas interface: operation transferToImageBitmap()]
expected: FAIL
[WorkerNavigator interface: attribute hardwareConcurrency]
expected: FAIL
[OffscreenCanvasRenderingContext2D interface: operation arcTo(unrestricted double, unrestricted double, unrestricted double, unrestricted double, unrestricted double)]
expected: FAIL

View file

@ -3,7 +3,3 @@
[WorkerNavigator-hardware-concurrency.any.serviceworker.html]
expected: ERROR
[WorkerNavigator-hardware-concurrency.any.worker.html]
[Test worker navigator hardware concurrency.]
expected: FAIL