blob: c957f55fb3759eebff6ad9a72440cf8827692c5e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
export const description = `
Tests for GPUDevice.onuncapturederror.
`;
import { Fixture } from '../../../common/framework/fixture.js';
import { makeTestGroup } from '../../../common/framework/test_group.js';
export const g = makeTestGroup(Fixture);
g.test('constructor')
.desc(
`GPUUncapturedErrorEvent constructor options (also tests constructing GPUOutOfMemoryError/GPUValidationError)`
)
.unimplemented();
g.test('iff_uncaptured')
.desc(
`{validation, out-of-memory} error should fire uncapturederror iff not captured by a scope.`
)
.unimplemented();
g.test('only_original_device_is_event_target')
.desc(
`Original GPUDevice objects are EventTargets and have onuncapturederror, but
deserialized GPUDevices do not.`
)
.unimplemented();
g.test('uncapturederror_from_non_originating_thread')
.desc(
`Uncaptured errors on any thread should always propagate to the original GPUDevice object
(since deserialized ones don't have EventTarget/onuncapturederror).`
)
.unimplemented();
|