mirror of
https://github.com/servo/servo.git
synced 2025-09-11 15:38:24 +01:00
Update web-platform-tests to revision 2b7dace05fc1869398ee24f84fda4c0e4c0455ae
This commit is contained in:
parent
b23125d590
commit
6c901de216
844 changed files with 19802 additions and 3093 deletions
|
@ -30,7 +30,7 @@
|
|||
should(() => convolver.buffer = buffer, message).notThrow();
|
||||
} else {
|
||||
should(() => convolver.buffer = buffer, message)
|
||||
.throw('NotSupportedError');
|
||||
.throw(DOMException, 'NotSupportedError');
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
|
||||
should(() => {
|
||||
convolver.buffer = audioBuffer;
|
||||
}, 'Set buffer a second time').throw('InvalidStateError');
|
||||
}, 'Set buffer a second time').throw(DOMException, 'InvalidStateError');
|
||||
|
||||
should(() => {
|
||||
convolver.buffer = null;
|
||||
|
@ -40,7 +40,7 @@
|
|||
should(() => {
|
||||
convolver.buffer = audioBuffer;
|
||||
}, 'Set buffer to non-null to verify to throw an error')
|
||||
.throw('InvalidStateError');
|
||||
.throw(DOMException, 'InvalidStateError');
|
||||
|
||||
task.done();
|
||||
});
|
||||
|
|
|
@ -46,12 +46,15 @@
|
|||
|
||||
audit.define('test AudioNodeOptions', (task, should) => {
|
||||
testAudioNodeOptions(should, context, 'ConvolverNode', {
|
||||
channelCount:
|
||||
{value: 2, isFixed: true, errorType: 'NotSupportedError'},
|
||||
channelCount: {
|
||||
value: 2,
|
||||
isFixed: true,
|
||||
exceptionType: 'NotSupportedError'
|
||||
},
|
||||
channelCountMode: {
|
||||
value: 'clamped-max',
|
||||
isFixed: true,
|
||||
errorType: 'NotSupportedError'
|
||||
exceptionType: 'NotSupportedError'
|
||||
},
|
||||
});
|
||||
task.done();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue