| commit | 905c7cbfeaac1cf3feb4c6056dd6f3dbaa06b074 | [log] [tgz] |
|---|---|---|
| author | Greggman <[email protected]> | Tue May 20 06:39:52 2025 |
| committer | GitHub <[email protected]> | Tue May 20 06:39:52 2025 |
| tree | 49d2e2a9f32cd13ab90b9747053b8677fede7480 | |
| parent | f5816ba68bc2ec4a0c30ef4dcea0b104f81ceb9e [diff] |
Add some tests related to GPUDevice extending EventTarget (#4389) * Test you can pass Event and CustomEvent through GPUDevice. * Test if you override a method on EventTarget it's called when you call the corresponding method on GPUDevice. * Test if you can pass GPUUncapturedErrorEvent through an EventTarget that is not GPUDevice Note: dawn.node fails these tests. It's not clear if NAPI makes this possible at all :(
This is the conformance test suite for WebGPU. It tests the behaviors defined by the WebGPU specification.
The contents of this test suite are considered normative; implementations must pass them to be WebGPU-conformant. Mismatches between the specification and tests are bugs.
This test suite can be embedded inside WPT or run in standalone.
Please read the introductory guidelines before contributing. Other documentation may be found in docs/ and in the helper index (source).
Read CONTRIBUTING.md on licensing.
For realtime communication about WebGPU spec and test, join the #WebGPU:matrix.org room on Matrix.