Update web-platform-tests to revision 2b7dace05fc1869398ee24f84fda4c0e4c0455ae

This commit is contained in:
WPT Sync Bot 2018-08-31 21:37:12 +00:00 committed by Tom Servo
parent b23125d590
commit 6c901de216
844 changed files with 19802 additions and 3093 deletions

View file

@ -30,7 +30,7 @@
should(() => convolver.buffer = buffer, message).notThrow();
} else {
should(() => convolver.buffer = buffer, message)
.throw('NotSupportedError');
.throw(DOMException, 'NotSupportedError');
}
}

View file

@ -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();
});

View file

@ -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();