Changeset 215056 in webkit


Ignore:
Timestamp:
Apr 6, 2017 1:38:38 PM (7 years ago)
Author:
commit-queue@webkit.org
Message:

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.
Location:
trunk/LayoutTests
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r215054 r215056  
     12017-04-06  Youenn Fablet  <youenn@apple.com>
     2
     3        LayoutTest fast/mediastream/getUserMedia-webaudio.html is flaky
     4        https://bugs.webkit.org/show_bug.cgi?id=167513
     5
     6        Reviewed by Eric Carlson.
     7
     8        * fast/mediastream/getUserMedia-webaudio.html: Removing unecessary flaky check.
     9
    1102017-04-06  Zalan Bujtas  <zalan@apple.com>
    211
  • trunk/LayoutTests/fast/mediastream/getUserMedia-webaudio.html

    r211253 r215056  
    2121            var script = audioContext.createScriptProcessor(2048, 1, 1);
    2222            script.onaudioprocess = (event) => {
    23                 var sum = 0.0;
    2423                var squaredSum = 0.0;
    2524                event.inputBuffer.getChannelData(0).forEach((value) => {
    26                     sum += value;
    2725                    squaredSum += value * value;
    2826                });
    29                 if (Math.abs(sum) > 5)
    30                     errorTest("sum is not below 1");
    3127                // Mock source should send some bips with sufficient energy to finish the test
    3228                if (squaredSum > 30) {
Note: See TracChangeset for help on using the changeset viewer.