Update web-platform-tests to revision abd18b3e018d25ed668d179c905b7869dca5e239

This commit is contained in:
WPT Sync Bot 2018-07-19 21:07:28 -04:00
parent 908a642063
commit 158f7eec0e
117 changed files with 2997 additions and 434 deletions

View file

@ -32,11 +32,15 @@
bufferSource.buffer = toneBuffer;
window.context = context;
should(() => context.createDelay(180)).throw();
should(() => context.createDelay(0)).throw();
should(() => context.createDelay(-1)).throw();
should(() => context.createDelay(NaN)).throw();
;
should(() => context.createDelay(180)).throw("NotSupportedError",
"Delay length cannot be 180 seconds or more");
should(() => context.createDelay(0)).throw("NotSupportedError",
"Delay length cannot be 0");
should(() => context.createDelay(-1)).throw("NotSupportedError",
"Delay length cannot be negative");
should(() => context.createDelay(NaN)).throw(TypeError,
"Delay length cannot be a NaN");
let delay = context.createDelay(179);
delay.delayTime.value = delayTimeSeconds;
window.delay = delay;