Update web-platform-tests to revision cfada7e6cb379699fa94c7ed8fcb97082327e10c

This commit is contained in:
WPT Sync Bot 2019-07-31 10:22:21 +00:00
parent 87e7e3d429
commit 06b00da16b
179 changed files with 6103 additions and 1186 deletions

View file

@ -137,7 +137,7 @@
;
should(() => {
buffer.copyFromChannel(x, 0, -1);
}, '5: buffer.copyFromChannel(x, 0, -1)').throw(DOMException, 'IndexSizeError');
}, '5: buffer.copyFromChannel(x, 0, -1)').notThrow();
should(
() => {
buffer.copyFromChannel(x, 0, bufferLength);
@ -192,7 +192,7 @@
.throw(DOMException, 'IndexSizeError');
should(() => {
buffer.copyToChannel(x, 0, -1);
}, '4: buffer.copyToChannel(x, 0, -1)').throw(DOMException, 'IndexSizeError');
}, '4: buffer.copyToChannel(x, 0, -1)').notThrow();
should(
() => {
buffer.copyToChannel(x, 0, bufferLength);

View file

@ -57,6 +57,8 @@
const twoTrackSource = ac.createMediaStreamSource(twoTrackMediaStream);
const analyser = ac.createAnalyser();
// Don't do smoothing so that the frequency data changes quickly
analyser.smoothingTimeConstant = 0;
twoTrackSource.connect(analyser);