Skip to content
Permalink
Browse files
LayoutTest fast/mediastream/getUserMedia-webaudio.html is flaky
https://bugs.webkit.org/show_bug.cgi?id=167513

Patch by Youenn Fablet <youenn@apple.com> on 2017-04-06
Reviewed by Eric Carlson.

* fast/mediastream/getUserMedia-webaudio.html: Removing unecessary flaky check.

Canonical link: https://commits.webkit.org/187485@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@215056 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
youennf authored and webkit-commit-queue committed Apr 6, 2017
1 parent 5efe772 commit 6803a2fcfa5b3e840886c9eea16ac35a769971b3
Showing 2 changed files with 9 additions and 4 deletions.
@@ -1,3 +1,12 @@
2017-04-06 Youenn Fablet <youenn@apple.com>

LayoutTest fast/mediastream/getUserMedia-webaudio.html is flaky
https://bugs.webkit.org/show_bug.cgi?id=167513

Reviewed by Eric Carlson.

* fast/mediastream/getUserMedia-webaudio.html: Removing unecessary flaky check.

2017-04-06 Zalan Bujtas <zalan@apple.com>

Simple line layout: Hittest always returns the first renderer in the block.
@@ -20,14 +20,10 @@
var audioContext = new webkitAudioContext();
var script = audioContext.createScriptProcessor(2048, 1, 1);
script.onaudioprocess = (event) => {
var sum = 0.0;
var squaredSum = 0.0;
event.inputBuffer.getChannelData(0).forEach((value) => {
sum += value;
squaredSum += value * value;
});
if (Math.abs(sum) > 5)
errorTest("sum is not below 1");
// Mock source should send some bips with sufficient energy to finish the test
if (squaredSum > 30) {
source.disconnect(script);

0 comments on commit 6803a2f

Please sign in to comment.