Diff
Modified: trunk/LayoutTests/imported/w3c/ChangeLog (266475 => 266476)
--- trunk/LayoutTests/imported/w3c/ChangeLog 2020-09-02 17:38:55 UTC (rev 266475)
+++ trunk/LayoutTests/imported/w3c/ChangeLog 2020-09-02 18:32:03 UTC (rev 266476)
@@ -1,5 +1,31 @@
2020-09-02 Chris Dumez <cdu...@apple.com>
+ OfflineAudioContext incorrectly renders at beginning of output buffer after resuming
+ https://bugs.webkit.org/show_bug.cgi?id=216078
+
+ Reviewed by Geoff Garen.
+
+ Rebaseline WPT tests now that more checks are passing.
+
+ * web-platform-tests/webaudio/the-audio-api/the-audionode-interface/audionode-disconnect-audioparam-expected.txt:
+ * web-platform-tests/webaudio/the-audio-api/the-audioparam-interface/adding-events-expected.txt:
+ * web-platform-tests/webaudio/the-audio-api/the-audioparam-interface/retrospective-exponentialRampToValueAtTime-expected.txt:
+ * web-platform-tests/webaudio/the-audio-api/the-audioparam-interface/retrospective-linearRampToValueAtTime-expected.txt:
+ * web-platform-tests/webaudio/the-audio-api/the-audioparam-interface/retrospective-setTargetAtTime-expected.txt:
+ * web-platform-tests/webaudio/the-audio-api/the-audioparam-interface/retrospective-setValueAtTime-expected.txt:
+ * web-platform-tests/webaudio/the-audio-api/the-audioparam-interface/retrospective-setValueCurveAtTime-expected.txt:
+ * web-platform-tests/webaudio/the-audio-api/the-biquadfilternode-interface/no-dezippering-expected.txt:
+ * web-platform-tests/webaudio/the-audio-api/the-channelmergernode-interface/audiochannelmerger-disconnect-expected.txt:
+ * web-platform-tests/webaudio/the-audio-api/the-delaynode-interface/no-dezippering-expected.txt:
+ * web-platform-tests/webaudio/the-audio-api/the-gainnode-interface/no-dezippering-expected.txt:
+ * web-platform-tests/webaudio/the-audio-api/the-pannernode-interface/automation-changes-expected.txt:
+ * web-platform-tests/webaudio/the-audio-api/the-pannernode-interface/panner-automation-basic-expected.txt:
+ * web-platform-tests/webaudio/the-audio-api/the-pannernode-interface/panner-equalpower-expected.txt:
+ * web-platform-tests/webaudio/the-audio-api/the-stereopanner-interface/no-dezippering-expected.txt:
+ * web-platform-tests/webaudio/the-audio-api/the-waveshapernode-interface/waveshaper-copy-curve-expected.txt:
+
+2020-09-02 Chris Dumez <cdu...@apple.com>
+
Implement event convergence for AudioParam.setTargetAtTime()
https://bugs.webkit.org/show_bug.cgi?id=216064
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/webaudio/the-audio-api/the-audionode-interface/audionode-disconnect-audioparam-expected.txt (266475 => 266476)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/webaudio/the-audio-api/the-audionode-interface/audionode-disconnect-audioparam-expected.txt 2020-09-02 17:38:55 UTC (rev 266475)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webaudio/the-audio-api/the-audionode-interface/audionode-disconnect-audioparam-expected.txt 2020-09-02 18:32:03 UTC (rev 266476)
@@ -5,19 +5,19 @@
PASS Executing "exceptions"
PASS Audit report
PASS > [disconnect(AudioParam)]
-FAIL X Channel #0 expected to have the value sequence of [2.25,1.5] but got 3 values, [1.5,2.25,0], instead of 2. assert_true: expected true got false
-FAIL X The index of value change is not equal to 11136. Got 0. assert_true: expected true got false
-FAIL < [disconnect(AudioParam)] 2 out of 2 assertions were failed. assert_true: expected true got false
+PASS Channel #0 contains all the expected values in the correct order: [2.25,1.5].
+PASS The index of value change is equal to 11136.
+PASS < [disconnect(AudioParam)] All assertions passed. (total 2 assertions)
PASS > [disconnect(AudioParam, output)]
-FAIL X Channel #0 expected to have the value sequence of [3,1.5] but got 3 values, [1.5,3,0], instead of 2. assert_true: expected true got false
-FAIL X The index of value change in channel #0 is not equal to 11136. Got 0. assert_true: expected true got false
-FAIL X Channel #1 expected to have the value sequence of [6,3] but got 3 values, [3,6,0], instead of 2. assert_true: expected true got false
-FAIL X The index of value change in channel #1 is not equal to 11136. Got 0. assert_true: expected true got false
-FAIL < [disconnect(AudioParam, output)] 4 out of 4 assertions were failed. assert_true: expected true got false
+PASS Channel #0 contains all the expected values in the correct order: [3,1.5].
+PASS The index of value change in channel #0 is equal to 11136.
+PASS Channel #1 contains all the expected values in the correct order: [6,3].
+PASS The index of value change in channel #1 is equal to 11136.
+PASS < [disconnect(AudioParam, output)] All assertions passed. (total 4 assertions)
PASS > [exceptions]
PASS gain1.disconnect(gain3.gain) threw InvalidAccessError: "The given destination is not connected".
PASS splitter.disconnect(gain1.gain, 1) threw InvalidAccessError: "The given destination is not connected".
PASS splitter.disconnect(gain1.gain, 2) threw IndexSizeError: "output index is out of bounds".
PASS < [exceptions] All assertions passed. (total 3 assertions)
-FAIL # AUDIT TASK RUNNER FINISHED: 2 out of 3 tasks were failed. assert_true: expected true got false
+PASS # AUDIT TASK RUNNER FINISHED: 3 tasks ran successfully.
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/webaudio/the-audio-api/the-audioparam-interface/adding-events-expected.txt (266475 => 266476)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/webaudio/the-audio-api/the-audioparam-interface/adding-events-expected.txt 2020-09-02 17:38:55 UTC (rev 266475)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webaudio/the-audio-api/the-audioparam-interface/adding-events-expected.txt 2020-09-02 18:32:03 UTC (rev 266476)
@@ -6,40 +6,16 @@
PASS > [linearRamp] Insert linearRamp after running for some time
PASS linearRamp: setValueAtTime(1, 0.0078125) did not throw an exception.
PASS linearRamp: At time 0.0625 scheduling linearRampToValueAtTime(2, 0.1328125) did not throw an exception.
-FAIL X linearRamp: output[0:511]: Expected 1 for all values but found 512 unexpected values:
- Index Actual
- [0] 1.4375
- [1] 1.4384765625
- [2] 1.439453125
- [3] 1.4404296875
- ...and 508 more errors. assert_true: expected true got false
+PASS linearRamp: output[0:511] contains only the constant 1.
PASS linearRamp: output[512:576] equals [...] with an element-wise tolerance of {"absoluteThreshold":0,"relativeThreshold":0}.
-FAIL X linearRamp: output[1088:]: Expected 2 for all values but found 512 unexpected values:
- Index Actual
- [6592] 0
- [6593] 0
- [6594] 0
- [6595] 0
- ...and 508 more errors. assert_true: expected true got false
-FAIL < [linearRamp] 2 out of 5 assertions were failed. assert_true: expected true got false
+PASS linearRamp: output[1088:] contains only the constant 2.
+PASS < [linearRamp] All assertions passed. (total 5 assertions)
PASS > [expoRamp] Insert expoRamp after running for some time
PASS expoRamp: setValueAtTime(1, 0.0078125) did not throw an exception.
PASS expoRamp: At time 0.0625 scheduling exponentialRampToValueAtTime(2, 0.1328125) did not throw an exception.
-FAIL X expoRamp: output[0:511]: Expected 1 for all values but found 512 unexpected values:
- Index Actual
- [0] 1.3542555570602417
- [1] 1.3551725149154663
- [2] 1.3560900688171387
- [3] 1.3570083379745483
- ...and 508 more errors. assert_true: expected true got false
+PASS expoRamp: output[0:511] contains only the constant 1.
PASS expoRamp: output[512:576] equals [...] with an element-wise tolerance of {"absoluteThreshold":0,"relativeThreshold":0}.
-FAIL X expoRamp: output[1088:]: Expected 2 for all values but found 512 unexpected values:
- Index Actual
- [6592] 0
- [6593] 0
- [6594] 0
- [6595] 0
- ...and 508 more errors. assert_true: expected true got false
-FAIL < [expoRamp] 2 out of 5 assertions were failed. assert_true: expected true got false
-FAIL # AUDIT TASK RUNNER FINISHED: 2 out of 2 tasks were failed. assert_true: expected true got false
+PASS expoRamp: output[1088:] contains only the constant 2.
+PASS < [expoRamp] All assertions passed. (total 5 assertions)
+PASS # AUDIT TASK RUNNER FINISHED: 2 tasks ran successfully.
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/webaudio/the-audio-api/the-audioparam-interface/retrospective-exponentialRampToValueAtTime-expected.txt (266475 => 266476)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/webaudio/the-audio-api/the-audioparam-interface/retrospective-exponentialRampToValueAtTime-expected.txt 2020-09-02 17:38:55 UTC (rev 266475)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webaudio/the-audio-api/the-audioparam-interface/retrospective-exponentialRampToValueAtTime-expected.txt 2020-09-02 18:32:03 UTC (rev 266476)
@@ -3,27 +3,15 @@
PASS Executing "test"
PASS Audit report
PASS > [test] Test exponentialRampToValue with end time in the past
-FAIL X Test[0:127]: Expected 1 for all values but found 128 unexpected values:
- Index Actual
- [0] 0.10086537897586823
- [1] 0.10087895393371582
- [2] 0.10089252889156342
- [3] 0.10090611129999161
- ...and 124 more errors. assert_true: expected true got false
-FAIL X Reference[0:127]: Expected 1 for all values but found 128 unexpected values:
- Index Actual
- [0] 0.10000000149011612
- [1] 0.10001351684331894
- [2] 0.10002703964710236
- [3] 0.10004056245088577
- ...and 124 more errors. assert_true: expected true got false
-FAIL X Test[128:] expected to be equal to the array [0.10174515098333359,0.10175890475511551,0.10177265852689743,0.10178641974925995,0.10180018097162247,0.10181394219398499,0.1018277034163475,0.10184147208929062,0.10185524076223373,0.10186900943517685,0.10188277810811996,0.10189655423164368,0.10191033035516739,0.1019241064786911,0.10193788260221481,0.10195166617631912...] but differs in 16128 places:
+PASS Test[0:127] contains only the constant 1.
+PASS Reference[0:127] contains only the constant 1.
+FAIL X Test[128:] expected to be equal to the array [0.10000000149011612,0.10001351684331894,0.10002703964710236,0.10004056245088577,0.10005408525466919,0.1000676080584526,0.10008113831281662,0.10009466856718063,0.10010819882154465,0.10012172907590866,0.10013526678085327,0.10014880448579788,0.10016234219074249,0.1001758798956871,0.10018942505121231,0.10020297020673752...] but differs in 16256 places:
Index Actual Expected
- [0] 1.0261867195367813e-1 1.0174515098333359e-1
- [1] 1.0263248533010483e-1 1.0175890475511551e-1
- [2] 1.0264629870653152e-1 1.0177265852689743e-1
- [3] 1.0266011208295822e-1 1.0178641974925995e-1
- ...and 16124 more errors. assert_true: expected true got false
-FAIL < [test] 3 out of 3 assertions were failed. assert_true: expected true got false
+ [0] 1.0086537897586823e-1 1.0000000149011612e-1
+ [1] 1.0087895393371582e-1 1.0001351684331894e-1
+ [2] 1.0089252889156342e-1 1.0002703964710236e-1
+ [3] 1.0090611129999161e-1 1.0004056245088577e-1
+ ...and 16252 more errors. assert_true: expected true got false
+FAIL < [test] 1 out of 3 assertions were failed. assert_true: expected true got false
FAIL # AUDIT TASK RUNNER FINISHED: 1 out of 1 tasks were failed. assert_true: expected true got false
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/webaudio/the-audio-api/the-audioparam-interface/retrospective-linearRampToValueAtTime-expected.txt (266475 => 266476)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/webaudio/the-audio-api/the-audioparam-interface/retrospective-linearRampToValueAtTime-expected.txt 2020-09-02 17:38:55 UTC (rev 266475)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webaudio/the-audio-api/the-audioparam-interface/retrospective-linearRampToValueAtTime-expected.txt 2020-09-02 18:32:03 UTC (rev 266476)
@@ -3,27 +3,15 @@
PASS Executing "test"
PASS Audit report
PASS > [test] Test linearRampToValue with end time in the past
-FAIL X Test[0:127]: Expected 1 for all values but found 128 unexpected values:
- Index Actual
- [0] 0.10313725471496582
- [1] 0.10318627953529358
- [2] 0.10323529690504074
- [3] 0.1032843142747879
- ...and 124 more errors. assert_true: expected true got false
-FAIL X Reference[0:127]: Expected 1 for all values but found 128 unexpected values:
- Index Actual
- [0] 0.10000000149011612
- [1] 0.1000492125749588
- [2] 0.10009842365980148
- [3] 0.10014764219522476
- ...and 124 more errors. assert_true: expected true got false
-FAIL X Test[128:] expected to be equal to the array [0.10629921406507492,0.1063484251499176,0.10639763623476028,0.10644685477018356,0.10649606585502625,0.10654527693986893,0.10659448802471161,0.10664369910955429,0.10669291764497757,0.10674212872982025,0.10679133981466293,0.10684055089950562,0.1068897619843483,0.10693898051977158,0.10698819160461426,0.10703740268945694...] but differs in 16128 places:
+PASS Test[0:127] contains only the constant 1.
+PASS Reference[0:127] contains only the constant 1.
+FAIL X Test[128:] expected to be equal to the array [0.10000000149011612,0.1000492125749588,0.10009842365980148,0.10014764219522476,0.10019685328006744,0.10024606436491013,0.10029527544975281,0.10034448653459549,0.10039370507001877,0.10044291615486145,0.10049212723970413,0.10054133832454681,0.1005905494093895,0.10063976794481277,0.10068897902965546,0.10073819011449814...] but differs in 16256 places:
Index Actual Expected
- [0] 1.0941176861524582e-1 1.0629921406507492e-1
- [1] 1.0946078598499298e-1 1.0634842514991760e-1
- [2] 1.0950980335474014e-1 1.0639763623476028e-1
- [3] 1.0955882817506790e-1 1.0644685477018356e-1
- ...and 16124 more errors. assert_true: expected true got false
-FAIL < [test] 3 out of 3 assertions were failed. assert_true: expected true got false
+ [0] 1.0313725471496582e-1 1.0000000149011612e-1
+ [1] 1.0318627953529358e-1 1.0004921257495880e-1
+ [2] 1.0323529690504074e-1 1.0009842365980148e-1
+ [3] 1.0328431427478790e-1 1.0014764219522476e-1
+ ...and 16252 more errors. assert_true: expected true got false
+FAIL < [test] 1 out of 3 assertions were failed. assert_true: expected true got false
FAIL # AUDIT TASK RUNNER FINISHED: 1 out of 1 tasks were failed. assert_true: expected true got false
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/webaudio/the-audio-api/the-audioparam-interface/retrospective-setTargetAtTime-expected.txt (266475 => 266476)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/webaudio/the-audio-api/the-audioparam-interface/retrospective-setTargetAtTime-expected.txt 2020-09-02 17:38:55 UTC (rev 266475)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webaudio/the-audio-api/the-audioparam-interface/retrospective-setTargetAtTime-expected.txt 2020-09-02 18:32:03 UTC (rev 266476)
@@ -3,21 +3,9 @@
PASS Executing "test"
PASS Audit report
PASS > [test] Test setTargetAtTime with start time in the past
-FAIL X Test[0:127]: Expected 1 for all values but found 127 unexpected values:
- Index Actual
- [1] 0.9994508624076843
- [2] 0.9989020228385925
- [3] 0.9983535408973694
- [4] 0.9978054165840149
- ...and 123 more errors. assert_true: expected true got false
-FAIL X Reference[0:127]: Expected 1 for all values but found 127 unexpected values:
- Index Actual
- [1] 0.9994508624076843
- [2] 0.9989020228385925
- [3] 0.9983535408973694
- [4] 0.9978054165840149
- ...and 123 more errors. assert_true: expected true got false
-PASS Test[128:] is identical to the array [0.9323640465736389,0.9318561553955078,0.9313485622406006,0.930841326713562,0.9303343892097473,0.9298277497291565,0.9293214082717896,0.9288153648376465,0.9283096790313721,0.9278042912483215,0.9272992014884949,0.9267944097518921,0.9262899160385132,0.9257857203483582,0.9252818822860718,0.9247783422470093...].
-FAIL < [test] 2 out of 3 assertions were failed. assert_true: expected true got false
-FAIL # AUDIT TASK RUNNER FINISHED: 1 out of 1 tasks were failed. assert_true: expected true got false
+PASS Test[0:127] contains only the constant 1.
+PASS Reference[0:127] contains only the constant 1.
+PASS Test[128:] is identical to the array [1,0.9994508624076843,0.9989020228385925,0.9983535408973694,0.9978054165840149,0.9972575902938843,0.9967101216316223,0.9961629509925842,0.9956161379814148,0.995069682598114,0.9945235252380371,0.9939777255058289,0.9934322237968445,0.9928870797157288,0.9923422932624817,0.9917978048324585...].
+PASS < [test] All assertions passed. (total 3 assertions)
+PASS # AUDIT TASK RUNNER FINISHED: 1 tasks ran successfully.
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/webaudio/the-audio-api/the-audioparam-interface/retrospective-setValueAtTime-expected.txt (266475 => 266476)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/webaudio/the-audio-api/the-audioparam-interface/retrospective-setValueAtTime-expected.txt 2020-09-02 17:38:55 UTC (rev 266475)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webaudio/the-audio-api/the-audioparam-interface/retrospective-setValueAtTime-expected.txt 2020-09-02 18:32:03 UTC (rev 266476)
@@ -3,27 +3,15 @@
PASS Executing "test"
PASS Audit report
PASS > [test] Test setValueAtTime with startTime in the past
-FAIL X Test[0:127]: Expected 1 for all values but found 128 unexpected values:
- Index Actual
- [0] 63.7490234375
- [1] 64.74510192871094
- [2] 65.74118041992188
- [3] 66.73725891113281
- ...and 124 more errors. assert_true: expected true got false
-FAIL X Reference[0:127]: Expected 1 for all values but found 127 unexpected values:
- Index Actual
- [0] 0
- [2] 2
- [3] 3
- [4] 4
- ...and 123 more errors. assert_true: expected true got false
-FAIL X Test[128:] expected to be equal to the array [128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143...] but differs in 16128 places:
+PASS Test[0:127] contains only the constant 1.
+PASS Reference[0:127] contains only the constant 1.
+FAIL X Test[128:] expected to be equal to the array [0,1,2,3,4,5,6,7,8,8.999999046325684,10,11,12,12.999999046325684,14,15...] but differs in 16256 places:
Index Actual Expected
- [0] 1.9124707031250000e+2 1.2800000000000000e+2
- [1] 1.9224314880371094e+2 1.2900000000000000e+2
- [2] 1.9323922729492188e+2 1.3000000000000000e+2
- [3] 1.9423530578613281e+2 1.3100000000000000e+2
- ...and 16124 more errors. assert_true: expected true got false
-FAIL < [test] 3 out of 3 assertions were failed. assert_true: expected true got false
+ [0] 6.3749023437500000e+1 0.0000000000000000e+0
+ [1] 6.4745101928710938e+1 1.0000000000000000e+0
+ [2] 6.5741180419921875e+1 2.0000000000000000e+0
+ [3] 6.6737258911132813e+1 3.0000000000000000e+0
+ ...and 16252 more errors. assert_true: expected true got false
+FAIL < [test] 1 out of 3 assertions were failed. assert_true: expected true got false
FAIL # AUDIT TASK RUNNER FINISHED: 1 out of 1 tasks were failed. assert_true: expected true got false
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/webaudio/the-audio-api/the-audioparam-interface/retrospective-setValueCurveAtTime-expected.txt (266475 => 266476)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/webaudio/the-audio-api/the-audioparam-interface/retrospective-setValueCurveAtTime-expected.txt 2020-09-02 17:38:55 UTC (rev 266475)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webaudio/the-audio-api/the-audioparam-interface/retrospective-setValueCurveAtTime-expected.txt 2020-09-02 18:32:03 UTC (rev 266476)
@@ -7,10 +7,10 @@
PASS Reference[0:127] contains only the constant 1.
FAIL X Test[128:] expected to be equal to the array [1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1...] but differs in 64 places:
Index Actual Expected
- [3904] 1.0000000149011612e-1 1.0000000000000000e+0
- [3905] 1.0000000149011612e-1 1.0000000000000000e+0
- [3906] 1.0000000149011612e-1 1.0000000000000000e+0
- [3907] 1.0000000149011612e-1 1.0000000000000000e+0
+ [4032] 1.0000000149011612e-1 1.0000000000000000e+0
+ [4033] 1.0000000149011612e-1 1.0000000000000000e+0
+ [4034] 1.0000000149011612e-1 1.0000000000000000e+0
+ [4035] 1.0000000149011612e-1 1.0000000000000000e+0
...and 60 more errors. assert_true: expected true got false
FAIL < [test] 1 out of 3 assertions were failed. assert_true: expected true got false
FAIL # AUDIT TASK RUNNER FINISHED: 1 out of 1 tasks were failed. assert_true: expected true got false
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/webaudio/the-audio-api/the-biquadfilternode-interface/no-dezippering-expected.txt (266475 => 266476)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/webaudio/the-audio-api/the-biquadfilternode-interface/no-dezippering-expected.txt 2020-09-02 17:38:55 UTC (rev 266475)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webaudio/the-audio-api/the-biquadfilternode-interface/no-dezippering-expected.txt 2020-09-02 18:32:03 UTC (rev 266476)
@@ -11,7 +11,7 @@
PASS At time 0, frequency is equal to 350.
PASS At time 0.015625, frequency is equal to 800.
PASS At time 0.0546875, frequency is equal to 200.
-PASS Output from frequency setter equals [0.7863562107086182,0.9676619172096252,1.135772466659546,1.2858248949050903,1.4133929014205933,1.514617681503296,1.5863232612609863,1.626111388206482,1.6324357986450195,1.6046509742736816,1.543036699295044,1.4487942457199097,1.3240190744400024,1.171645164489746,0.9953677654266357,0.799542248249054...] with an element-wise tolerance of {"absoluteThreshold":0.0000030399,"relativeThreshold":0}.
+PASS Output from frequency setter equals [0,0.17418307065963745,0.355204313993454,0.5364867448806763,0.711405873298645,0.8735066652297974,1.0167138576507568,1.135528326034546,1.2252027988433838,1.2818962335586548,1.3027971982955933,1.286213994026184,1.2316339015960693,1.1397417783737183,1.012405276298523,0.8526221513748169...] with an element-wise tolerance of {"absoluteThreshold":0.0000030399,"relativeThreshold":0}.
PASS Output from frequency setter matches setValueAtTime output is true.
PASS < [Test 0] All assertions passed. (total 5 assertions)
PASS > [Test 1] No dezippering for detune
@@ -18,7 +18,7 @@
PASS At time 0, detune is equal to 33.
PASS At time 0.015625, detune is equal to 1000.
PASS At time 0.0390625, detune is equal to -400.
-PASS Output from detune setter equals [1.1476609706878662,1.1561954021453857,1.1371567249298096,1.089133620262146,1.0115339756011963,0.9046297073364258,0.7695767283439636,0.6084088087081909,0.42400479316711426,0.22002874314785004,0.000846129609271884,-0.2285824567079544,-0.46282681822776794,-0.6961303949356079,-0.9225640892982483,-1.1361898183822632...] with an element-wise tolerance of {"absoluteThreshold":0.0000040532,"relativeThreshold":0}.
+PASS Output from detune setter equals [0,0.1731616109609604,0.3515752851963043,0.529510498046875,0.7010406851768494,0.8602386713027954,1.001375675201416,1.1191176176071167,1.20871102809906,1.266155481338501,1.288353443145752,1.2732324600219727,1.219840168952942,1.1284005641937256,1.0003381967544556,0.8382605910301208...] with an element-wise tolerance of {"absoluteThreshold":0.0000040532,"relativeThreshold":0}.
PASS Output from detune setter matches setValueAtTime output is true.
PASS < [Test 1] All assertions passed. (total 5 assertions)
PASS > [Test 2] No dezippering for Q
@@ -25,7 +25,7 @@
PASS At time 0, Q is equal to 5.
PASS At time 0.015625, Q is equal to 10.
PASS At time 0.0625, Q is equal to -10.
-PASS Output from Q setter equals [0,-0.16793830692768097,-0.3311063051223755,-0.48486924171447754,-0.6248595118522644,-0.7471005916595459,-0.8481203317642212,-0.925049364566803,-0.9757022261619568,-0.9986401796340942,-0.9932120442390442,-0.9595714211463928,-0.898674488067627,-0.812250554561615,-0.7027547955513,-0.5732971429824829...] with an element-wise tolerance of {"absoluteThreshold":0,"relativeThreshold":0}.
+PASS Output from Q setter equals [0,0.16793830692768097,0.3311063051223755,0.48486924171447754,0.6248595118522644,0.7471005916595459,0.8481203317642212,0.925049364566803,0.9757022261619568,0.9986401796340942,0.9932120442390442,0.9595714211463928,0.898674488067627,0.812250554561615,0.7027547955513,0.5732971429824829...] with an element-wise tolerance of {"absoluteThreshold":0,"relativeThreshold":0}.
PASS Output from Q setter matches setValueAtTime output is true.
PASS < [Test 2] All assertions passed. (total 5 assertions)
PASS > [Test 3] No dezippering for gain
@@ -32,31 +32,19 @@
PASS At time 0, gain is equal to 1.
PASS At time 0.015625, gain is equal to 5.
PASS At time 0.046875, gain is equal to -0.3.
-PASS Output from gain setter equals [-0.8448672294616699,-1.0345356464385986,-1.1866061687469482,-1.2994732856750488,-1.3723911046981812,-1.4054863452911377,-1.3997505903244019,-1.3570139408111572,-1.2798986434936523,-1.1717536449432373,-1.0365720987319946,-0.8788917064666748,-0.7036844491958618,-0.5162312388420105,-0.32199203968048096,-0.12646934390068054...] with an element-wise tolerance of {"absoluteThreshold":0.0000019074,"relativeThreshold":0}.
+PASS Output from gain setter equals [0,0.1691558063030243,0.3357764184474945,0.494800329208374,0.6413879990577698,0.7710639238357544,0.8798481225967407,0.9643722772598267,1.0219773054122925,1.0507917404174805,1.0497864484786987,1.018802523612976,0.9585590958595276,0.8706297278404236,0.7573992609977722,0.6219938397407532...] with an element-wise tolerance of {"absoluteThreshold":0.0000019074,"relativeThreshold":0}.
PASS Output from gain setter matches setValueAtTime output is true.
PASS < [Test 3] All assertions passed. (total 5 assertions)
PASS > [Test 4] No dezippering of frequency vs JS filter
-FAIL X Output from lowpass filter does not equal [-0.0030010484624654055,-0.014069896191358566,-0.03340204805135727,-0.057291410863399506,-0.08216430246829987,-0.10470064729452133,-0.12194095551967621,-0.13137663900852203,-0.13102173805236816,-0.11946460604667664,-0.0958988144993782,-0.06013302132487297,-0.012580174021422863,0.04577299579977989,0.1134147197008133,0.18837322294712067...] with an element-wise tolerance of {"absoluteThreshold":5.9607e-7,"relativeThreshold":0}.
- Index Actual Expected AbsError RelError Test threshold
- [0] -2.6259824633598328e-1 -3.0010484624654055e-3 2.5959719787351787e-1 8.6502167865778134e+1 5.9607000000000002e-7
- [1] -4.1444510221481323e-1 -1.4069896191358566e-2 4.0037520602345467e-1 2.8456159205307902e+1 5.9607000000000002e-7
- [2] -5.4386252164840698e-1 -3.3402048051357269e-2 5.1046047359704971e-1 1.5282310617965461e+1 5.9607000000000002e-7
- [3] -6.3592869043350220e-1 -5.7291410863399506e-2 5.7863727957010269e-1 1.0099895793276124e+1 5.9607000000000002e-7
- [4] -6.8090450763702393e-1 -8.2164302468299866e-2 5.9874020516872406e-1 7.2871087221817090e+0 5.9607000000000002e-7
- ...and 466 more errors.
- Max AbsError of 1.3125416338443756e+0 at index of 70.
- [70] -9.5660090446472168e-1 3.5594072937965393e-1 1.3125416338443756e+0 3.6875286403214362e+0 5.9607000000000002e-7
- Max RelError of 6.9710276579259323e+2 at index of 203.
- [203] 1.1701503992080688e+0 1.6761864535510540e-3 1.1684742127545178e+0 6.9710276579259323e+2 5.9607000000000002e-7
- assert_true: expected true got false
-FAIL X Output matches JS filter results is not true. Got false. assert_true: expected true got false
-FAIL < [Test 4] 2 out of 2 assertions were failed. assert_true: expected true got false
+PASS Output from lowpass filter equals [0,0.0007127508870325983,0.00416393531486392,0.012737087905406952,0.02830197848379612,0.052167076617479324,0.08505348861217499,0.12709030508995056,0.17783066630363464,0.23628735542297363,0.300986111164093,0.37003448605537415,0.44120365381240845,0.5120202302932739,0.5798649191856384,0.6420748233795166...] with an element-wise tolerance of {"absoluteThreshold":5.9607e-7,"relativeThreshold":0}.
+PASS Output matches JS filter results is true.
+PASS < [Test 4] All assertions passed. (total 2 assertions)
PASS > [Test 5] Test with modulation
PASS Modulation: At time 0, frequency is equal to 350.
PASS Modulation: At time 0.015625, frequency is equal to 10.
PASS Modulation: At time 0.0625, frequency is equal to -10.
-PASS Modulation: Output from frequency setter equals [0,-0.16793830692768097,-0.3311063051223755,-0.48486924171447754,-0.6248595118522644,-0.7471005916595459,-0.8481203317642212,-0.925049364566803,-0.9757022261619568,-0.9986494779586792,-0.993241012096405,-0.9595934748649597,-0.8985906839370728,-0.811859130859375,-0.7017874717712402,-0.5712356567382812...] with an element-wise tolerance of {"absoluteThreshold":0,"relativeThreshold":0}.
+PASS Modulation: Output from frequency setter equals [0,0.16927164793014526,0.33648183941841125,0.49675366282463074,0.6454263925552368,0.7780178189277649,0.8904138803482056,0.9789462089538574,1.0408978462219238,1.074761152267456,1.0793912410736084,1.0543262958526611,1.0000829696655273,0.9177277684211731,0.8092652559280396,0.6773678660392761...] with an element-wise tolerance of {"absoluteThreshold":0,"relativeThreshold":0}.
PASS Modulation: Output from frequency setter matches setValueAtTime output is true.
PASS < [Test 5] All assertions passed. (total 5 assertions)
-FAIL # AUDIT TASK RUNNER FINISHED: 1 out of 6 tasks were failed. assert_true: expected true got false
+PASS # AUDIT TASK RUNNER FINISHED: 6 tasks ran successfully.
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/webaudio/the-audio-api/the-channelmergernode-interface/audiochannelmerger-disconnect-expected.txt (266475 => 266476)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/webaudio/the-audio-api/the-channelmergernode-interface/audiochannelmerger-disconnect-expected.txt 2020-09-02 17:38:55 UTC (rev 266475)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webaudio/the-audio-api/the-channelmergernode-interface/audiochannelmerger-disconnect-expected.txt 2020-09-02 18:32:03 UTC (rev 266476)
@@ -3,15 +3,9 @@
PASS Executing "silent-disconnect"
PASS Audit report
PASS > [silent-disconnect]
-FAIL X Channel #0: Expected 1 for all values but found 10914 unexpected values:
- Index Actual
- [11136] 0
- [11137] 0
- [11138] 0
- [11139] 0
- ...and 10910 more errors. assert_true: expected true got false
-PASS Channel #1 contains all the expected values in the correct order: [1,0].
-PASS The index of first zero in the channel #1 is equal to 11136.
-FAIL < [silent-disconnect] 1 out of 3 assertions were failed. assert_true: expected true got false
+PASS Channel #0 contains only the constant 1.
+FAIL X Channel #1 expected to have the value sequence of [1,0] but got 1 values, [1], instead of 2. assert_true: expected true got false
+FAIL X The index of first zero in the channel #1 is not equal to 11136. Got -1. assert_true: expected true got false
+FAIL < [silent-disconnect] 2 out of 3 assertions were failed. assert_true: expected true got false
FAIL # AUDIT TASK RUNNER FINISHED: 1 out of 1 tasks were failed. assert_true: expected true got false
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/webaudio/the-audio-api/the-delaynode-interface/no-dezippering-expected.txt (266475 => 266476)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/webaudio/the-audio-api/the-delaynode-interface/no-dezippering-expected.txt 2020-09-02 17:38:55 UTC (rev 266475)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webaudio/the-audio-api/the-delaynode-interface/no-dezippering-expected.txt 2020-09-02 18:32:03 UTC (rev 266476)
@@ -5,35 +5,17 @@
PASS Executing "test2"
PASS Audit report
PASS > [test0] Test DelayNode has no dezippering
-FAIL X output[0:63]: Expected 0 for all values but found 64 unexpected values:
- Index Actual
- [0] 113
- [1] 114
- [2] 115
- [3] 116
- ...and 60 more errors. assert_true: expected true got false
-FAIL X output[64:127] expected to be equal to the array [1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16...] but differs in 64 places:
- Index Actual Expected
- [0] 1.7700000000000000e+2 1.0000000000000000e+0
- [1] 1.7800000000000000e+2 2.0000000000000000e+0
- [2] 1.7900000000000000e+2 3.0000000000000000e+0
- [3] 1.8000000000000000e+2 4.0000000000000000e+0
- ...and 60 more errors. assert_true: expected true got false
-FAIL X output[128:] expected to be equal to the array [113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128...] but differs in 16256 places:
- Index Actual Expected
- [0] 2.4100000000000000e+2 1.1300000000000000e+2
- [1] 2.4200000000000000e+2 1.1400000000000000e+2
- [2] 2.4300000000000000e+2 1.1500000000000000e+2
- [3] 2.4400000000000000e+2 1.1600000000000000e+2
- ...and 16252 more errors. assert_true: expected true got false
-FAIL < [test0] 3 out of 3 assertions were failed. assert_true: expected true got false
+PASS output[0:63] contains only the constant 0.
+PASS output[64:127] is identical to the array [1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16...].
+PASS output[128:] is identical to the array [113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128...].
+PASS < [test0] All assertions passed. (total 3 assertions)
PASS > [test1] Test value setter and setValueAtTime
-PASS .value setter output equals [0.5214688181877136,0.5697038173675537,0.616049587726593,0.660352349281311,0.7024649381637573,0.7422480583190918,0.7795694470405579,0.81430584192276,0.8463413715362549,0.8755701780319214,0.9018954038619995,0.9252294898033142,0.9454952478408813,0.96262526512146,0.9765629768371582,0.987261950969696...] with an element-wise tolerance of {"absoluteThreshold":0.000065819,"relativeThreshold":0}.
+PASS .value setter output equals [0,0,0,0,0.15114448964595795,0.3147895336151123,0.46949297189712524,0.6108605265617371,0.7348765134811401,0.8380183577537537,0.9173564910888672,0.9706369638442993,0.9963464140892029,0.9937548637390137,0.9629355072975159,0.9047641754150391...] with an element-wise tolerance of {"absoluteThreshold":0.000065819,"relativeThreshold":0}.
PASS .value setter output matches setValueAtTime output is true.
PASS < [test1] All assertions passed. (total 2 assertions)
PASS > [test2] Test value setter and modulation
-PASS With modulation: .value setter output equals [0.5214566588401794,-0.5851858854293823,-0.9781315922737122,-0.2492080181837082,0.7155246138572693,0.9808593392372131,0.4836493134498596,-0.24869835376739502,-0.770362913608551,-0.9790927767753601,-0.9903184175491333,-0.9490256309509277,-0.9418102502822876,-0.9788252711296082,-0.9951662421226501,-0.8529807329177856...] with an element-wise tolerance of {"absoluteThreshold":0,"relativeThreshold":0}.
+PASS With modulation: .value setter output equals [0,0,0,0,0,0,0,0,0,0.9986401796340942,0.9932120442390442,0.9595714211463928,0.898674488067627,0.812250554561615,0.7027547955513,0.5732971429824829...] with an element-wise tolerance of {"absoluteThreshold":0,"relativeThreshold":0}.
PASS With modulation: .value setter output matches setValueAtTime output is true.
PASS < [test2] All assertions passed. (total 2 assertions)
-FAIL # AUDIT TASK RUNNER FINISHED: 1 out of 3 tasks were failed. assert_true: expected true got false
+PASS # AUDIT TASK RUNNER FINISHED: 3 tasks ran successfully.
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/webaudio/the-audio-api/the-gainnode-interface/no-dezippering-expected.txt (266475 => 266476)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/webaudio/the-audio-api/the-gainnode-interface/no-dezippering-expected.txt 2020-09-02 17:38:55 UTC (rev 266475)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webaudio/the-audio-api/the-gainnode-interface/no-dezippering-expected.txt 2020-09-02 18:32:03 UTC (rev 266476)
@@ -5,28 +5,16 @@
PASS Executing "test3"
PASS Audit report
PASS > [test0] Dezippering of GainNode removed
-FAIL X output[0:127]: Expected 1 for all values but found 128 unexpected values:
- Index Actual
- [0] 0.5
- [1] 0.5
- [2] 0.5
- [3] 0.5
- ...and 124 more errors. assert_true: expected true got false
-FAIL X output[128:]: Expected 0.5 for all values but found 128 unexpected values:
- Index Actual
- [768] 0
- [769] 0
- [770] 0
- [771] 0
- ...and 124 more errors. assert_true: expected true got false
-FAIL < [test0] 2 out of 2 assertions were failed. assert_true: expected true got false
+PASS output[0:127] contains only the constant 1.
+PASS output[128:] contains only the constant 0.5.
+PASS < [test0] All assertions passed. (total 2 assertions)
PASS > [test2] Compare value setter and setValueAtTime
-PASS .value setter output is identical to the array [-0.03759972006082535,-0.05467035621404648,-0.07155975699424744,-0.0882117748260498,-0.10457140952348709,-0.12058408558368683,-0.13619694113731384,-0.1513580083847046,-0.16601718962192535,-0.18012580275535583,-0.19363702833652496,-0.20650623738765717,-0.21869038045406342,-0.23014938831329346,-0.24084503948688507,-0.25074201822280884...].
+PASS .value setter output is identical to the array [0,0.057564035058021545,0.11493717133998871,0.17192906141281128,0.22835084795951843,0.2840152382850647,0.3387378752231598,0.39233696460723877,0.44463497400283813,0.4954586327075958,0.5446387529373169,0.5920130610466003,0.6374237537384033,0.6807206869125366,0.7217600345611572,0.7604058980941772...].
PASS .value setter output matches setValueAtTime output is true.
PASS < [test2] All assertions passed. (total 2 assertions)
PASS > [test3] Automation effects
-PASS With modulation: .value setter output is identical to the array [-0.03759991005063057,-0.07845700532197952,-0.13329683244228363,-0.2007361203432083,-0.2788574993610382,-0.3652743101119995,-0.45721668004989624,-0.5516262650489807,-0.6452678442001343,-0.7348412275314331,-0.8171004056930542,-0.8889712691307068,-0.9476582407951355,-0.9907503128051758,-1.016305923461914,-1.0229262113571167...].
+PASS With modulation: .value setter output is identical to the array [0,0.06507764756679535,0.14468508958816528,0.2377234548330307,0.34252625703811646,0.45691272616386414,0.5782617330551147,0.7035987377166748,0.8297000527381897,0.9532026648521423,1.0707192420959473,1.178961157798767,1.2748475074768066,1.3556175231933594,1.418926477432251,1.462929368019104...].
PASS With modulation: .value setter output matches setValueAtTime output is true.
PASS < [test3] All assertions passed. (total 2 assertions)
-FAIL # AUDIT TASK RUNNER FINISHED: 1 out of 3 tasks were failed. assert_true: expected true got false
+PASS # AUDIT TASK RUNNER FINISHED: 3 tasks ran successfully.
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/webaudio/the-audio-api/the-pannernode-interface/automation-changes-expected.txt (266475 => 266476)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/webaudio/the-audio-api/the-pannernode-interface/automation-changes-expected.txt 2020-09-02 17:38:55 UTC (rev 266475)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webaudio/the-audio-api/the-pannernode-interface/automation-changes-expected.txt 2020-09-02 18:32:03 UTC (rev 266476)
@@ -5,44 +5,22 @@
PASS Executing "Listener.setPosition"
PASS Audit report
PASS > [Set Listener.positionX.value]
-FAIL X listenr.positionX.value: output0[0:511] does not equal [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0...] with an element-wise tolerance of {"absoluteThreshold":1e-16,"relativeThreshold":0}.
- Index Actual Expected AbsError RelError Test threshold
- [0] -6.6275805234909058e-1 0.0000000000000000e+0 6.6275805234909058e-1 Infinity 9.9999999999999998e-17
- [1] -6.7584729194641113e-1 0.0000000000000000e+0 6.7584729194641113e-1 Infinity 9.9999999999999998e-17
- [2] -6.8669539690017700e-1 0.0000000000000000e+0 6.8669539690017700e-1 Infinity 9.9999999999999998e-17
- [3] -6.9526576995849609e-1 0.0000000000000000e+0 6.9526576995849609e-1 Infinity 9.9999999999999998e-17
- [4] -7.0153087377548218e-1 0.0000000000000000e+0 7.0153087377548218e-1 Infinity 9.9999999999999998e-17
- ...and 507 more errors.
- Max AbsError of 7.0710676908493042e-1 at index of 388.
- [388] 7.0710676908493042e-1 0.0000000000000000e+0 7.0710676908493042e-1 Infinity 9.9999999999999998e-17
- Max RelError of Infinity at index of 0.
- assert_true: expected true got false
-PASS listenr.positionX.value: output1[0:511] is not constantly 0 (contains 512 different values).
-PASS listenr.positionX.value: output0[512:] is not constantly 0 (contains 1024 different values).
-PASS listenr.positionX.value: output1[512:] equals [0.4620392918586731,0.43046051263809204,0.39745423197746277,0.36312979459762573,0.3276011645793915,0.2909860908985138,0.253405898809433,0.21498534083366394,0.17585192620754242,0.1361350566148758,0.09596699476242065,0.055480558425188065,0.014810215681791306,-0.0259094275534153,-0.06654296815395355,-0.1069558784365654...] with an element-wise tolerance of {"absoluteThreshold":0,"relativeThreshold":0}.
-FAIL < [Set Listener.positionX.value] 1 out of 4 assertions were failed. assert_true: expected true got false
+PASS listenr.positionX.value: output0[0:511] equals [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0...] with an element-wise tolerance of {"absoluteThreshold":1e-16,"relativeThreshold":0}.
+PASS listenr.positionX.value: output1[0:511] is not constantly 0 (contains 511 different values).
+PASS listenr.positionX.value: output0[512:] is not constantly 0 (contains 1535 different values).
+PASS listenr.positionX.value: output1[512:] equals [-0.7071067690849304,-0.6970641016960144,-0.6672213077545166,-0.6184261441230774,-0.5520645976066589,-0.4700216054916382,-0.3746277987957001,-0.2685924768447876,-0.15492798388004303,-0.03686270862817764,0.08224964886903763,0.19902576506137848,0.3101485073566437,0.4124614894390106,0.5030585527420044,0.5793662071228027...] with an element-wise tolerance of {"absoluteThreshold":0,"relativeThreshold":0}.
+PASS < [Set Listener.positionX.value] All assertions passed. (total 4 assertions)
PASS > [Listener.positionX.setValue]
PASS listener.positionX.setValueATTime: output0[0:511] equals [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0...] with an element-wise tolerance of {"absoluteThreshold":1e-16,"relativeThreshold":0}.
PASS listener.positionX.setValueATTime: output1[0:511] is not constantly 0 (contains 511 different values).
-PASS listener.positionX.setValueATTime: output0[512:] is not constantly 0 (contains 1536 different values).
-PASS listener.positionX.setValueATTime: output1[512:] equals [-0.6627580523490906,-0.6758472919464111,-0.686695396900177,-0.6952657699584961,-0.7015308737754822,-0.705469012260437,-0.7070678472518921,-0.706321656703949,-0.7032331228256226,-0.6978124976158142,-0.6900774240493774,-0.6800540089607239,-0.6677749752998352,-0.6532816886901855,-0.6366216540336609,-0.6178506016731262...] with an element-wise tolerance of {"absoluteThreshold":0,"relativeThreshold":0}.
+PASS listener.positionX.setValueATTime: output0[512:] is not constantly 0 (contains 1535 different values).
+PASS listener.positionX.setValueATTime: output1[512:] equals [-0.7071067690849304,-0.6970641016960144,-0.6672213077545166,-0.6184261441230774,-0.5520645976066589,-0.4700216054916382,-0.3746277987957001,-0.2685924768447876,-0.15492798388004303,-0.03686270862817764,0.08224964886903763,0.19902576506137848,0.3101485073566437,0.4124614894390106,0.5030585527420044,0.5793662071228027...] with an element-wise tolerance of {"absoluteThreshold":0,"relativeThreshold":0}.
PASS < [Listener.positionX.setValue] All assertions passed. (total 4 assertions)
PASS > [Listener.setPosition]
-FAIL X listener.setPostion: output0[0:511] does not equal [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0...] with an element-wise tolerance of {"absoluteThreshold":1e-16,"relativeThreshold":0}.
- Index Actual Expected AbsError RelError Test threshold
- [0] -6.6275805234909058e-1 0.0000000000000000e+0 6.6275805234909058e-1 Infinity 9.9999999999999998e-17
- [1] -6.7584729194641113e-1 0.0000000000000000e+0 6.7584729194641113e-1 Infinity 9.9999999999999998e-17
- [2] -6.8669539690017700e-1 0.0000000000000000e+0 6.8669539690017700e-1 Infinity 9.9999999999999998e-17
- [3] -6.9526576995849609e-1 0.0000000000000000e+0 6.9526576995849609e-1 Infinity 9.9999999999999998e-17
- [4] -7.0153087377548218e-1 0.0000000000000000e+0 7.0153087377548218e-1 Infinity 9.9999999999999998e-17
- ...and 507 more errors.
- Max AbsError of 7.0710676908493042e-1 at index of 388.
- [388] 7.0710676908493042e-1 0.0000000000000000e+0 7.0710676908493042e-1 Infinity 9.9999999999999998e-17
- Max RelError of Infinity at index of 0.
- assert_true: expected true got false
-PASS listener.setPostion: output1[0:511] is not constantly 0 (contains 512 different values).
-PASS listener.setPostion: output0[512:] is not constantly 0 (contains 1024 different values).
-PASS listener.setPostion: output1[512:] equals [0.4620392918586731,0.43046051263809204,0.39745423197746277,0.36312979459762573,0.3276011645793915,0.2909860908985138,0.253405898809433,0.21498534083366394,0.17585192620754242,0.1361350566148758,0.09596699476242065,0.055480558425188065,0.014810215681791306,-0.0259094275534153,-0.06654296815395355,-0.1069558784365654...] with an element-wise tolerance of {"absoluteThreshold":0,"relativeThreshold":0}.
-FAIL < [Listener.setPosition] 1 out of 4 assertions were failed. assert_true: expected true got false
-FAIL # AUDIT TASK RUNNER FINISHED: 2 out of 3 tasks were failed. assert_true: expected true got false
+PASS listener.setPostion: output0[0:511] equals [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0...] with an element-wise tolerance of {"absoluteThreshold":1e-16,"relativeThreshold":0}.
+PASS listener.setPostion: output1[0:511] is not constantly 0 (contains 511 different values).
+PASS listener.setPostion: output0[512:] is not constantly 0 (contains 1535 different values).
+PASS listener.setPostion: output1[512:] equals [-0.7071067690849304,-0.6970641016960144,-0.6672213077545166,-0.6184261441230774,-0.5520645976066589,-0.4700216054916382,-0.3746277987957001,-0.2685924768447876,-0.15492798388004303,-0.03686270862817764,0.08224964886903763,0.19902576506137848,0.3101485073566437,0.4124614894390106,0.5030585527420044,0.5793662071228027...] with an element-wise tolerance of {"absoluteThreshold":0,"relativeThreshold":0}.
+PASS < [Listener.setPosition] All assertions passed. (total 4 assertions)
+PASS # AUDIT TASK RUNNER FINISHED: 3 tasks ran successfully.
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/webaudio/the-audio-api/the-pannernode-interface/panner-automation-basic-expected.txt (266475 => 266476)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/webaudio/the-audio-api/the-pannernode-interface/panner-automation-basic-expected.txt 2020-09-02 17:38:55 UTC (rev 266475)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webaudio/the-audio-api/the-pannernode-interface/panner-automation-basic-expected.txt 2020-09-02 18:32:03 UTC (rev 266476)
@@ -18,132 +18,132 @@
PASS Executing "up setter"
PASS Audit report
PASS > [Stereo panner.positionX]
-PASS Stereo panner.positionX.value frame [0, 128) channel 0 contains only the constant 6.123233968888981e-21.
-PASS Stereo panner.positionX.value frame [0, 128) channel 1 contains only the constant 0.00029999998514540493.
-PASS Stereo panner.positionX.value frame [128, 256) channel 0 contains only the constant 0.
-PASS Stereo panner.positionX.value frame [128, 256) channel 1 contains only the constant 0.
-PASS Stereo panner.positionX: Output at frame 128 channel 0 is not equal to 6.123233968888981e-21.
-PASS Stereo panner.positionX: Output at frame 128 channel 1 is not equal to 0.00029999998514540493.
+PASS Stereo panner.positionX.value frame [0, 128) channel 0 contains only the constant 6.123234262925839e-17.
+PASS Stereo panner.positionX.value frame [0, 128) channel 1 contains only the constant 3.
+PASS Stereo panner.positionX.value frame [128, 256) channel 0 contains only the constant 6.123233968888981e-21.
+PASS Stereo panner.positionX.value frame [128, 256) channel 1 contains only the constant 0.00029999998514540493.
+PASS Stereo panner.positionX: Output at frame 128 channel 0 is not equal to 6.123234262925839e-17.
+PASS Stereo panner.positionX: Output at frame 128 channel 1 is not equal to 3.
PASS < [Stereo panner.positionX] All assertions passed. (total 6 assertions)
PASS > [Mono panner.positionX]
-PASS Mono panner.positionX.value frame [0, 128) channel 0 contains only the constant 6.123233968888981e-21.
-PASS Mono panner.positionX.value frame [0, 128) channel 1 contains only the constant 0.00009999999747378752.
-PASS Mono panner.positionX.value frame [128, 256) channel 0 contains only the constant 0.
-PASS Mono panner.positionX.value frame [128, 256) channel 1 contains only the constant 0.
-PASS Mono panner.positionX: Output at frame 128 channel 0 is not equal to 6.123233968888981e-21.
-PASS Mono panner.positionX: Output at frame 128 channel 1 is not equal to 0.00009999999747378752.
+PASS Mono panner.positionX.value frame [0, 128) channel 0 contains only the constant 6.123234262925839e-17.
+PASS Mono panner.positionX.value frame [0, 128) channel 1 contains only the constant 1.
+PASS Mono panner.positionX.value frame [128, 256) channel 0 contains only the constant 6.123233968888981e-21.
+PASS Mono panner.positionX.value frame [128, 256) channel 1 contains only the constant 0.00009999999747378752.
+PASS Mono panner.positionX: Output at frame 128 channel 0 is not equal to 6.123234262925839e-17.
+PASS Mono panner.positionX: Output at frame 128 channel 1 is not equal to 1.
PASS < [Mono panner.positionX] All assertions passed. (total 6 assertions)
PASS > [Stereo panner.positionY]
-PASS Stereo panner.positionY.value frame [0, 128) channel 0 contains only the constant 0.00009999999747378752.
-PASS Stereo panner.positionY.value frame [0, 128) channel 1 contains only the constant 0.00019999999494757503.
-PASS Stereo panner.positionY.value frame [128, 256) channel 0 contains only the constant 0.
-PASS Stereo panner.positionY.value frame [128, 256) channel 1 contains only the constant 0.
-PASS Stereo panner.positionY: Output at frame 128 channel 0 is not equal to 0.00009999999747378752.
-PASS Stereo panner.positionY: Output at frame 128 channel 1 is not equal to 0.00019999999494757503.
+PASS Stereo panner.positionY.value frame [0, 128) channel 0 contains only the constant 1.
+PASS Stereo panner.positionY.value frame [0, 128) channel 1 contains only the constant 2.
+PASS Stereo panner.positionY.value frame [128, 256) channel 0 contains only the constant 0.00009999999747378752.
+PASS Stereo panner.positionY.value frame [128, 256) channel 1 contains only the constant 0.00019999999494757503.
+PASS Stereo panner.positionY: Output at frame 128 channel 0 is not equal to 1.
+PASS Stereo panner.positionY: Output at frame 128 channel 1 is not equal to 2.
PASS < [Stereo panner.positionY] All assertions passed. (total 6 assertions)
PASS > [Mono panner.positionY]
-PASS Mono panner.positionY.value frame [0, 128) channel 0 contains only the constant 0.00007071067375363782.
-PASS Mono panner.positionY.value frame [0, 128) channel 1 contains only the constant 0.00007071067375363782.
-PASS Mono panner.positionY.value frame [128, 256) channel 0 contains only the constant 0.
-PASS Mono panner.positionY.value frame [128, 256) channel 1 contains only the constant 0.
-PASS Mono panner.positionY: Output at frame 128 channel 0 is not equal to 0.00007071067375363782.
-PASS Mono panner.positionY: Output at frame 128 channel 1 is not equal to 0.00007071067375363782.
+PASS Mono panner.positionY.value frame [0, 128) channel 0 contains only the constant 0.7071067690849304.
+PASS Mono panner.positionY.value frame [0, 128) channel 1 contains only the constant 0.7071067690849304.
+PASS Mono panner.positionY.value frame [128, 256) channel 0 contains only the constant 0.00007071067375363782.
+PASS Mono panner.positionY.value frame [128, 256) channel 1 contains only the constant 0.00007071067375363782.
+PASS Mono panner.positionY: Output at frame 128 channel 0 is not equal to 0.7071067690849304.
+PASS Mono panner.positionY: Output at frame 128 channel 1 is not equal to 0.7071067690849304.
PASS < [Mono panner.positionY] All assertions passed. (total 6 assertions)
PASS > [Stereo panner.positionZ]
-PASS Stereo panner.positionZ.value frame [0, 128) channel 0 contains only the constant 0.00009999999747378752.
-PASS Stereo panner.positionZ.value frame [0, 128) channel 1 contains only the constant 0.00019999999494757503.
-PASS Stereo panner.positionZ.value frame [128, 256) channel 0 contains only the constant 0.
-PASS Stereo panner.positionZ.value frame [128, 256) channel 1 contains only the constant 0.
-PASS Stereo panner.positionZ: Output at frame 128 channel 0 is not equal to 0.00009999999747378752.
-PASS Stereo panner.positionZ: Output at frame 128 channel 1 is not equal to 0.00019999999494757503.
+PASS Stereo panner.positionZ.value frame [0, 128) channel 0 contains only the constant 1.
+PASS Stereo panner.positionZ.value frame [0, 128) channel 1 contains only the constant 2.
+PASS Stereo panner.positionZ.value frame [128, 256) channel 0 contains only the constant 0.00009999999747378752.
+PASS Stereo panner.positionZ.value frame [128, 256) channel 1 contains only the constant 0.00019999999494757503.
+PASS Stereo panner.positionZ: Output at frame 128 channel 0 is not equal to 1.
+PASS Stereo panner.positionZ: Output at frame 128 channel 1 is not equal to 2.
PASS < [Stereo panner.positionZ] All assertions passed. (total 6 assertions)
PASS > [Mono panner.positionZ]
-PASS Mono panner.positionZ.value frame [0, 128) channel 0 contains only the constant 0.00007071067375363782.
-PASS Mono panner.positionZ.value frame [0, 128) channel 1 contains only the constant 0.00007071067375363782.
-PASS Mono panner.positionZ.value frame [128, 256) channel 0 contains only the constant 0.
-PASS Mono panner.positionZ.value frame [128, 256) channel 1 contains only the constant 0.
-PASS Mono panner.positionZ: Output at frame 128 channel 0 is not equal to 0.00007071067375363782.
-PASS Mono panner.positionZ: Output at frame 128 channel 1 is not equal to 0.00007071067375363782.
+PASS Mono panner.positionZ.value frame [0, 128) channel 0 contains only the constant 0.7071067690849304.
+PASS Mono panner.positionZ.value frame [0, 128) channel 1 contains only the constant 0.7071067690849304.
+PASS Mono panner.positionZ.value frame [128, 256) channel 0 contains only the constant 0.00007071067375363782.
+PASS Mono panner.positionZ.value frame [128, 256) channel 1 contains only the constant 0.00007071067375363782.
+PASS Mono panner.positionZ: Output at frame 128 channel 0 is not equal to 0.7071067690849304.
+PASS Mono panner.positionZ: Output at frame 128 channel 1 is not equal to 0.7071067690849304.
PASS < [Mono panner.positionZ] All assertions passed. (total 6 assertions)
PASS > [Stereo listener.positionX]
-PASS Stereo listener.positionX.value frame [0, 128) channel 0 contains only the constant 0.00030002999119460583.
-PASS Stereo listener.positionX.value frame [0, 128) channel 1 contains only the constant 5.326854929377234e-11.
-PASS Stereo listener.positionX.value frame [128, 256) channel 0 contains only the constant 0.
-PASS Stereo listener.positionX.value frame [128, 256) channel 1 contains only the constant 0.
-PASS Stereo listener.positionX: Output at frame 128 channel 0 is not equal to 0.00030002999119460583.
-PASS Stereo listener.positionX: Output at frame 128 channel 1 is not equal to 5.326854929377234e-11.
+PASS Stereo listener.positionX.value frame [0, 128) channel 0 contains only the constant 1.
+PASS Stereo listener.positionX.value frame [0, 128) channel 1 contains only the constant 2.
+PASS Stereo listener.positionX.value frame [128, 256) channel 0 contains only the constant 0.00030002999119460583.
+PASS Stereo listener.positionX.value frame [128, 256) channel 1 contains only the constant 5.326854929377234e-11.
+PASS Stereo listener.positionX: Output at frame 128 channel 0 is not equal to 1.
+PASS Stereo listener.positionX: Output at frame 128 channel 1 is not equal to 2.
PASS < [Stereo listener.positionX] All assertions passed. (total 6 assertions)
PASS > [Mono listener.positionX]
-PASS Mono listener.positionX.value frame [0, 128) channel 0 contains only the constant 0.00010001000191550702.
-PASS Mono listener.positionX.value frame [0, 128) channel 1 contains only the constant 1.3317137323443085e-11.
-PASS Mono listener.positionX.value frame [128, 256) channel 0 contains only the constant 0.
-PASS Mono listener.positionX.value frame [128, 256) channel 1 contains only the constant 0.
-PASS Mono listener.positionX: Output at frame 128 channel 0 is not equal to 0.00010001000191550702.
-PASS Mono listener.positionX: Output at frame 128 channel 1 is not equal to 1.3317137323443085e-11.
+PASS Mono listener.positionX.value frame [0, 128) channel 0 contains only the constant 0.7071067690849304.
+PASS Mono listener.positionX.value frame [0, 128) channel 1 contains only the constant 0.7071067690849304.
+PASS Mono listener.positionX.value frame [128, 256) channel 0 contains only the constant 0.00010001000191550702.
+PASS Mono listener.positionX.value frame [128, 256) channel 1 contains only the constant 1.3317137323443085e-11.
+PASS Mono listener.positionX: Output at frame 128 channel 0 is not equal to 0.7071067690849304.
+PASS Mono listener.positionX: Output at frame 128 channel 1 is not equal to 0.7071067690849304.
PASS < [Mono listener.positionX] All assertions passed. (total 6 assertions)
PASS > [Stereo listener.positionY]
-PASS Stereo listener.positionY.value frame [0, 128) channel 0 contains only the constant 0.0000707106664776802.
-PASS Stereo listener.positionY.value frame [0, 128) channel 1 contains only the constant 0.00027071067597717047.
-PASS Stereo listener.positionY.value frame [128, 256) channel 0 contains only the constant 0.
-PASS Stereo listener.positionY.value frame [128, 256) channel 1 contains only the constant 0.
-PASS Stereo listener.positionY: Output at frame 128 channel 0 is not equal to 0.0000707106664776802.
-PASS Stereo listener.positionY: Output at frame 128 channel 1 is not equal to 0.00027071067597717047.
+PASS Stereo listener.positionY.value frame [0, 128) channel 0 contains only the constant 0.40824827551841736.
+PASS Stereo listener.positionY.value frame [0, 128) channel 1 contains only the constant 1.5629488229751587.
+PASS Stereo listener.positionY.value frame [128, 256) channel 0 contains only the constant 0.0000707106664776802.
+PASS Stereo listener.positionY.value frame [128, 256) channel 1 contains only the constant 0.00027071067597717047.
+PASS Stereo listener.positionY: Output at frame 128 channel 0 is not equal to 0.40824827551841736.
+PASS Stereo listener.positionY: Output at frame 128 channel 1 is not equal to 1.5629488229751587.
PASS < [Stereo listener.positionY] All assertions passed. (total 6 assertions)
PASS > [Mono listener.positionY]
-PASS Mono listener.positionY.value frame [0, 128) channel 0 contains only the constant 0.00003826833926723339.
-PASS Mono listener.positionY.value frame [0, 128) channel 1 contains only the constant 0.00009238795610144734.
-PASS Mono listener.positionY.value frame [128, 256) channel 0 contains only the constant 0.
-PASS Mono listener.positionY.value frame [128, 256) channel 1 contains only the constant 0.
-PASS Mono listener.positionY: Output at frame 128 channel 0 is not equal to 0.00003826833926723339.
-PASS Mono listener.positionY: Output at frame 128 channel 1 is not equal to 0.00009238795610144734.
+PASS Mono listener.positionY.value frame [0, 128) channel 0 contains only the constant 0.22094237804412842.
+PASS Mono listener.positionY.value frame [0, 128) channel 1 contains only the constant 0.5334020853042603.
+PASS Mono listener.positionY.value frame [128, 256) channel 0 contains only the constant 0.00003826833926723339.
+PASS Mono listener.positionY.value frame [128, 256) channel 1 contains only the constant 0.00009238795610144734.
+PASS Mono listener.positionY: Output at frame 128 channel 0 is not equal to 0.22094237804412842.
+PASS Mono listener.positionY: Output at frame 128 channel 1 is not equal to 0.5334020853042603.
PASS < [Mono listener.positionY] All assertions passed. (total 6 assertions)
PASS > [Stereo listener.positionZ]
-PASS Stereo listener.positionZ.value frame [0, 128) channel 0 contains only the constant 0.00010001000191550702.
-PASS Stereo listener.positionZ.value frame [0, 128) channel 1 contains only the constant 0.00020003000099677593.
-PASS Stereo listener.positionZ.value frame [128, 256) channel 0 contains only the constant 0.
-PASS Stereo listener.positionZ.value frame [128, 256) channel 1 contains only the constant 0.
-PASS Stereo listener.positionZ: Output at frame 128 channel 0 is not equal to 0.00010001000191550702.
-PASS Stereo listener.positionZ: Output at frame 128 channel 1 is not equal to 0.00020003000099677593.
+PASS Stereo listener.positionZ.value frame [0, 128) channel 0 contains only the constant 6.123234262925839e-17.
+PASS Stereo listener.positionZ.value frame [0, 128) channel 1 contains only the constant 3.
+PASS Stereo listener.positionZ.value frame [128, 256) channel 0 contains only the constant 0.00010001000191550702.
+PASS Stereo listener.positionZ.value frame [128, 256) channel 1 contains only the constant 0.00020003000099677593.
+PASS Stereo listener.positionZ: Output at frame 128 channel 0 is not equal to 6.123234262925839e-17.
+PASS Stereo listener.positionZ: Output at frame 128 channel 1 is not equal to 3.
PASS < [Stereo listener.positionZ] All assertions passed. (total 6 assertions)
PASS > [Mono listener.positionZ]
-PASS Mono listener.positionZ.value frame [0, 128) channel 0 contains only the constant 0.00007071421714499593.
-PASS Mono listener.positionZ.value frame [0, 128) channel 1 contains only the constant 0.0000707212820998393.
-PASS Mono listener.positionZ.value frame [128, 256) channel 0 contains only the constant 0.
-PASS Mono listener.positionZ.value frame [128, 256) channel 1 contains only the constant 0.
-PASS Mono listener.positionZ: Output at frame 128 channel 0 is not equal to 0.00007071421714499593.
-PASS Mono listener.positionZ: Output at frame 128 channel 1 is not equal to 0.0000707212820998393.
+PASS Mono listener.positionZ.value frame [0, 128) channel 0 contains only the constant 6.123234262925839e-17.
+PASS Mono listener.positionZ.value frame [0, 128) channel 1 contains only the constant 1.
+PASS Mono listener.positionZ.value frame [128, 256) channel 0 contains only the constant 0.00007071421714499593.
+PASS Mono listener.positionZ.value frame [128, 256) channel 1 contains only the constant 0.0000707212820998393.
+PASS Mono listener.positionZ: Output at frame 128 channel 0 is not equal to 6.123234262925839e-17.
+PASS Mono listener.positionZ: Output at frame 128 channel 1 is not equal to 1.
PASS < [Mono listener.positionZ] All assertions passed. (total 6 assertions)
PASS > [setPosition]
-PASS setPosition.value frame [0, 128) channel 0 contains only the constant 0.000124290119856596.
-PASS setPosition.value frame [0, 128) channel 1 contains only the constant 0.0002424988488201052.
-PASS setPosition.value frame [128, 256) channel 0 contains only the constant 0.
-PASS setPosition.value frame [128, 256) channel 1 contains only the constant 0.
-PASS setPosition: Output at frame 128 channel 0 is not equal to 0.000124290119856596.
-PASS setPosition: Output at frame 128 channel 1 is not equal to 0.0002424988488201052.
+PASS setPosition.value frame [0, 128) channel 0 contains only the constant 0.40824827551841736.
+PASS setPosition.value frame [0, 128) channel 1 contains only the constant 1.5629488229751587.
+PASS setPosition.value frame [128, 256) channel 0 contains only the constant 0.000124290119856596.
+PASS setPosition.value frame [128, 256) channel 1 contains only the constant 0.0002424988488201052.
+PASS setPosition: Output at frame 128 channel 0 is not equal to 0.40824827551841736.
+PASS setPosition: Output at frame 128 channel 1 is not equal to 1.5629488229751587.
PASS < [setPosition] All assertions passed. (total 6 assertions)
PASS > [orientation setter]
-PASS panner.orientation{XYZ}.value frame [0, 128) channel 0 contains only the constant 0.07899458706378937.
-PASS panner.orientation{XYZ}.value frame [0, 128) channel 1 contains only the constant 0.15798917412757874.
-PASS panner.orientation{XYZ}.value frame [128, 256) channel 0 contains only the constant 0.
-PASS panner.orientation{XYZ}.value frame [128, 256) channel 1 contains only the constant 0.
-PASS panner.orientation{XYZ}: Output at frame 128 channel 0 is not equal to 0.07899458706378937.
-PASS panner.orientation{XYZ}: Output at frame 128 channel 1 is not equal to 0.15798917412757874.
+PASS panner.orientation{XYZ}.value frame [0, 128) channel 0 contains only the constant 0.5005000233650208.
+PASS panner.orientation{XYZ}.value frame [0, 128) channel 1 contains only the constant 1.0010000467300415.
+PASS panner.orientation{XYZ}.value frame [128, 256) channel 0 contains only the constant 0.07899458706378937.
+PASS panner.orientation{XYZ}.value frame [128, 256) channel 1 contains only the constant 0.15798917412757874.
+PASS panner.orientation{XYZ}: Output at frame 128 channel 0 is not equal to 0.5005000233650208.
+PASS panner.orientation{XYZ}: Output at frame 128 channel 1 is not equal to 1.0010000467300415.
PASS < [orientation setter] All assertions passed. (total 6 assertions)
PASS > [forward setter]
-PASS listener.forward{XYZ}.value frame [0, 128) channel 0 contains only the constant 0.5133963823318481.
-PASS listener.forward{XYZ}.value frame [0, 128) channel 1 contains only the constant 1.0009169578552246.
-PASS listener.forward{XYZ}.value frame [128, 256) channel 0 contains only the constant 0.
-PASS listener.forward{XYZ}.value frame [128, 256) channel 1 contains only the constant 0.
-PASS listener.forward{XYZ}: Output at frame 128 channel 0 is not equal to 0.5133963823318481.
-PASS listener.forward{XYZ}: Output at frame 128 channel 1 is not equal to 1.0009169578552246.
+PASS listener.forward{XYZ}.value frame [0, 128) channel 0 contains only the constant 0.5005000233650208.
+PASS listener.forward{XYZ}.value frame [0, 128) channel 1 contains only the constant 1.0010000467300415.
+PASS listener.forward{XYZ}.value frame [128, 256) channel 0 contains only the constant 0.5133963823318481.
+PASS listener.forward{XYZ}.value frame [128, 256) channel 1 contains only the constant 1.0009169578552246.
+PASS listener.forward{XYZ}: Output at frame 128 channel 0 is not equal to 0.5005000233650208.
+PASS listener.forward{XYZ}: Output at frame 128 channel 1 is not equal to 1.0010000467300415.
PASS < [forward setter] All assertions passed. (total 6 assertions)
PASS > [up setter]
-PASS listener.up{XYZ}.value frame [0, 128) channel 0 contains only the constant 0.14477059245109558.
-PASS listener.up{XYZ}.value frame [0, 128) channel 1 contains only the constant 0.4569823741912842.
-PASS listener.up{XYZ}.value frame [128, 256) channel 0 contains only the constant 0.
-PASS listener.up{XYZ}.value frame [128, 256) channel 1 contains only the constant 0.
-PASS listener.up{XYZ}: Output at frame 128 channel 0 is not equal to 0.14477059245109558.
-PASS listener.up{XYZ}: Output at frame 128 channel 1 is not equal to 0.4569823741912842.
+PASS listener.up{XYZ}.value frame [0, 128) channel 0 contains only the constant 0.12537500262260437.
+PASS listener.up{XYZ}.value frame [0, 128) channel 1 contains only the constant 0.47998911142349243.
+PASS listener.up{XYZ}.value frame [128, 256) channel 0 contains only the constant 0.14477059245109558.
+PASS listener.up{XYZ}.value frame [128, 256) channel 1 contains only the constant 0.4569823741912842.
+PASS listener.up{XYZ}: Output at frame 128 channel 0 is not equal to 0.12537500262260437.
+PASS listener.up{XYZ}: Output at frame 128 channel 1 is not equal to 0.47998911142349243.
PASS < [up setter] All assertions passed. (total 6 assertions)
PASS # AUDIT TASK RUNNER FINISHED: 16 tasks ran successfully.
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/webaudio/the-audio-api/the-pannernode-interface/panner-equalpower-expected.txt (266475 => 266476)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/webaudio/the-audio-api/the-pannernode-interface/panner-equalpower-expected.txt 2020-09-02 17:38:55 UTC (rev 266475)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webaudio/the-audio-api/the-pannernode-interface/panner-equalpower-expected.txt 2020-09-02 18:32:03 UTC (rev 266476)
@@ -11,10 +11,10 @@
PASS Error in right channel gain values is less than or equal to 0.0000011597.
PASS < [test] All assertions passed. (total 4 assertions)
PASS > [mono source=listener] Source and listener at the same position
-PASS Mono: Left and right channels is identical to the array [0,0.040703918784856796,0.08127285540103912,0.12157220393419266,0.16146843135356903,0.20082910358905792,0.23952384293079376,0.2774241268634796,0.3144043982028961,0.35034215450286865,0.385117769241333,0.4186164438724518,0.4507266581058502,0.48134222626686096,0.5103614330291748,0.5376881957054138...].
+PASS Mono: Left and right channels is identical to the array [0,0.11875031888484955,0.23412750661373138,0.3428543210029602,0.4418424069881439,0.5282799005508423,0.5997116565704346,0.6541087031364441,0.6899256706237793,0.7061452269554138,0.7023069858551025,0.6785194873809814,0.6354588270187378,0.5743478536605835,0.49692267179489136,0.40538230538368225...].
PASS < [mono source=listener] All assertions passed. (total 1 assertions)
PASS > [stereo source=listener] Source and listener at the same position
-PASS Stereo: Left and right channels is identical to the array [0,0.057564035058021545,0.11493717133998871,0.17192906141281128,0.22835084795951843,0.2840152382850647,0.3387378752231598,0.39233696460723877,0.44463497400283813,0.4954586327075958,0.5446387529373169,0.5920130610466003,0.6374237537384033,0.6807206869125366,0.7217600345611572,0.7604058980941772...].
+PASS Stereo: Left and right channels is identical to the array [0,0.16793830692768097,0.3311063051223755,0.48486924171447754,0.6248595118522644,0.7471005916595459,0.8481203317642212,0.925049364566803,0.9757022261619568,0.9986401796340942,0.9932120442390442,0.9595714211463928,0.898674488067627,0.812250554561615,0.7027547955513,0.5732971429824829...].
PASS < [stereo source=listener] All assertions passed. (total 1 assertions)
PASS # AUDIT TASK RUNNER FINISHED: 3 tasks ran successfully.
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/webaudio/the-audio-api/the-stereopanner-interface/no-dezippering-expected.txt (266475 => 266476)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/webaudio/the-audio-api/the-stereopanner-interface/no-dezippering-expected.txt 2020-09-02 17:38:55 UTC (rev 266475)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webaudio/the-audio-api/the-stereopanner-interface/no-dezippering-expected.txt 2020-09-02 18:32:03 UTC (rev 266476)
@@ -7,70 +7,34 @@
PASS Executing "test mono input automation"
PASS Audit report
PASS > [test mono input] Test StereoPanner with mono input has no dezippering
-FAIL X Mono: Left channel, pan = -1: : Expected 1 for all values but found 256 unexpected values:
- Index Actual
- [0] 6.123234262925839e-17
- [1] 6.123234262925839e-17
- [2] 6.123234262925839e-17
- [3] 6.123234262925839e-17
- ...and 252 more errors. assert_true: expected true got false
-FAIL X Mono: Right channel, pan = -1:: Expected 0 for all values but found 256 unexpected values:
- Index Actual
- [0] 1
- [1] 1
- [2] 1
- [3] 1
- ...and 252 more errors. assert_true: expected true got false
+PASS Mono: Left channel, pan = -1: contains only the constant 1.
+PASS Mono: Right channel, pan = -1: contains only the constant 0.
PASS Mono: Left channel, pan = 1: equals [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0...] with an element-wise tolerance of {"absoluteThreshold":6.1233e-17,"relativeThreshold":0}.
-FAIL X Mono: Right channel, pan = 1:: Expected 1 for all values but found 256 unexpected values:
- Index Actual
- [15872] 0
- [15873] 0
- [15874] 0
- [15875] 0
- ...and 252 more errors. assert_true: expected true got false
-FAIL < [test mono input] 3 out of 4 assertions were failed. assert_true: expected true got false
+PASS Mono: Right channel, pan = 1: contains only the constant 1.
+PASS < [test mono input] All assertions passed. (total 4 assertions)
PASS > [test stereo input] Test StereoPanner with stereo input has no dezippering
-FAIL X Stereo: Left channel, pan = -1: : Expected 3 for all values but found 256 unexpected values:
- Index Actual
- [0] 6.123234262925839e-17
- [1] 6.123234262925839e-17
- [2] 6.123234262925839e-17
- [3] 6.123234262925839e-17
- ...and 252 more errors. assert_true: expected true got false
-FAIL X Stereo: Right channel, pan = -1:: Expected 0 for all values but found 256 unexpected values:
- Index Actual
- [0] 3
- [1] 3
- [2] 3
- [3] 3
- ...and 252 more errors. assert_true: expected true got false
+PASS Stereo: Left channel, pan = -1: contains only the constant 3.
+PASS Stereo: Right channel, pan = -1: contains only the constant 0.
PASS Stereo: Left channel, pan = 1: equals [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0...] with an element-wise tolerance of {"absoluteThreshold":6.1233e-17,"relativeThreshold":0}.
-FAIL X Stereo: Right channel, pan = 1:: Expected 3 for all values but found 256 unexpected values:
- Index Actual
- [15872] 0
- [15873] 0
- [15874] 0
- [15875] 0
- ...and 252 more errors. assert_true: expected true got false
-FAIL < [test stereo input] 3 out of 4 assertions were failed. assert_true: expected true got false
+PASS Stereo: Right channel, pan = 1: contains only the constant 3.
+PASS < [test stereo input] All assertions passed. (total 4 assertions)
PASS > [test mono input setValue] Test StereoPanner with mono input value setter vs setValueAtTime
-PASS Mono Left .value setter output is identical to the array [-0.028300216421484947,-0.04114878550171852,-0.053860947489738464,-0.06639444082975388,-0.07870785892009735,-0.09076013416051865,-0.10251147300004959,-0.11392276734113693,-0.12495630979537964,-0.13557545840740204,-0.14574496448040009,-0.15543124079704285,-0.1646018922328949,-0.1732267439365387,-0.1812770515680313,-0.18872623145580292...].
+PASS Mono Left .value setter output is identical to the array [0,0.049081407487392426,0.09800004959106445,0.1465936303138733,0.19470110535621643,0.2421627938747406,0.2888215184211731,0.3345222473144531,0.37911364436149597,0.42244791984558105,0.4643808901309967,0.5047740936279297,0.5434930920600891,0.580409824848175,0.6154016256332397,0.6483526229858398...].
PASS Mono Left .value setter output matches setValueAtTime output is true.
-PASS Mono Right .value setter output is identical to the array [-0.122095488011837,-0.1775280088186264,-0.23237203061580658,-0.2864452004432678,-0.33956894278526306,-0.3915660083293915,-0.44226476550102234,-0.4914964437484741,-0.5390984416007996,-0.5849125385284424,-0.6287867426872253,-0.6705762147903442,-0.710141122341156,-0.747351348400116,-0.782082736492157,-0.814220666885376...].
+PASS Mono Right .value setter output is identical to the array [0,0.030077125877141953,0.06005450710654259,0.08983268588781357,0.11931298673152924,0.1483975499868393,0.17699004709720612,0.20499549806118011,0.2323211282491684,0.25887641310691833,0.284572958946228,0.3093259632587433,0.33305299282073975,0.3556755781173706,0.3771185874938965,0.3973109722137451...].
PASS Mono Right .value setter output matches setValueAtTime output is true.
PASS < [test mono input setValue] All assertions passed. (total 4 assertions)
PASS > [test stereo input setValue] Test StereoPanner with mono input value setter vs setValueAtTime
-PASS Stereo Left .value setter output is identical to the array [0.25859054923057556,0.2199704945087433,0.17894035577774048,0.13594961166381836,0.09146952629089355,0.04598725214600563,0.0000010709162552302587,-0.0459851436316967,-0.09146743267774582,-0.13594762980937958,-0.17893831431865692,-0.21996863186359406,-0.2585888206958771,-0.2943759262561798,-0.32693782448768616,-0.3559175431728363...].
+PASS Stereo Left .value setter output is identical to the array [0,0.11938263475894928,0.237604022026062,0.3535158336162567,0.465994268655777,0.5739527940750122,0.676354169845581,0.7722209692001343,0.86064612865448,0.9408031702041626,1.0119554996490479,1.0734635591506958,1.124791145324707,1.1655123233795166,1.1953164339065552,1.2140096426010132...].
PASS Stereo Left .value setter output matches setValueAtTime output is true.
-PASS Stereo Right .value setter output is identical to the array [0.5278493165969849,0.48173511028289795,0.43066614866256714,0.3755251467227936,0.31723907589912415,0.25676751136779785,0.1950928419828415,0.13320933282375336,0.07211104035377502,0.01278146356344223,-0.043818745762109756,-0.09676152467727661,-0.14516164362430573,-0.18818864226341248,-0.2250741422176361,-0.2551209628582001...].
+PASS Stereo Right .value setter output is identical to the array [0,0.029152963310480118,0.058274563401937485,0.08733388036489487,0.11629968136548996,0.14514093101024628,0.17382672429084778,0.2023264616727829,0.23060937225818634,0.25864559412002563,0.2864046096801758,0.31385698914527893,0.340973436832428,0.36772462725639343,0.3940820097923279,0.4200175404548645...].
PASS Stereo Right .value setter output matches setValueAtTime output is true.
PASS < [test stereo input setValue] All assertions passed. (total 4 assertions)
PASS > [test mono input automation] Test StereoPanner with mono input and automation
-PASS Modulated Stereo Left .value setter output is identical to the array [0.5877871513366699,0.511900007724762,0.43011096119880676,0.3434051275253296,0.2528183162212372,0.15942318737506866,0.06431935727596283,-0.03138017654418945,-0.1265600323677063,-0.22011728584766388,-0.31097108125686646,-0.3980771601200104,-0.4804368317127228,-0.5571109652519226,-0.6272279620170593,-0.6899943351745605...].
+PASS Modulated Stereo Left .value setter output is identical to the array [0,0.11878011375665665,0.23518341779708862,0.3480488657951355,0.45624399185180664,0.5586780905723572,0.6543135643005371,0.7421775460243225,0.8213712573051453,0.8910811543464661,0.9505879878997803,0.9992733001708984,1.0366266965866089,1.0622519254684448,1.0758721828460693,1.0773311853408813...].
PASS Modulated Stereo Left .value setter output matches setValueAtTime output is true.
-PASS Modulated Stereo Right .value setter output is identical to the array [3.479795509520045e-7,0.030479563400149345,0.061084818094968796,0.09178794175386429,0.1225593239068985,0.1533685177564621,0.18418386578559875,0.21497322618961334,0.24570252001285553,0.27633801102638245,0.30684351921081543,0.3371830880641937,0.3673195540904999,0.39721453189849854,0.42682918906211853,0.45612409710884094...].
+PASS Modulated Stereo Right .value setter output is identical to the array [0,0.02945219911634922,0.05944587662816048,0.08991032838821411,0.12077294290065765,0.1519598513841629,0.18339622020721436,0.21500645577907562,0.24671413004398346,0.27844321727752686,0.3101167678833008,0.3416588306427002,0.3729937672615051,0.4040463864803314,0.4347427487373352,0.46501049399375916...].
PASS Modulated Stereo Right .value setter output matches setValueAtTime output is true.
PASS < [test mono input automation] All assertions passed. (total 4 assertions)
-FAIL # AUDIT TASK RUNNER FINISHED: 2 out of 5 tasks were failed. assert_true: expected true got false
+PASS # AUDIT TASK RUNNER FINISHED: 5 tasks ran successfully.
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/webaudio/the-audio-api/the-waveshapernode-interface/waveshaper-copy-curve-expected.txt (266475 => 266476)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/webaudio/the-audio-api/the-waveshapernode-interface/waveshaper-copy-curve-expected.txt 2020-09-02 17:38:55 UTC (rev 266475)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webaudio/the-audio-api/the-waveshapernode-interface/waveshaper-copy-curve-expected.txt 2020-09-02 18:32:03 UTC (rev 266476)
@@ -4,7 +4,7 @@
PASS Audit report
PASS > [test copying] Modifying curve should not modify WaveShaper
PASS Modifying curve array at time 0.016 did not throw an exception.
-PASS Output of WaveShaper with modified curve is identical to the array [-0.0756523609161377,-0.11659121513366699,-0.155839204788208,-0.20866751670837402,-0.2606172561645508,-0.2944837808609009,-0.34542036056518555,-0.4115844964981079,-0.4145416021347046,-0.5117456912994385,-0.5245202779769897,-0.5778524875640869,-0.6312663555145264,-0.6895406246185303,-0.6796438694000244,-0.8224917650222778...].
+PASS Output of WaveShaper with modified curve is identical to the array [0,-0.011839985847473145,-0.036469101905822754,-0.04256999492645264,-0.0631263256072998,-0.07990908622741699,-0.09035038948059082,-0.10996413230895996,-0.12694740295410156,-0.13453292846679688,-0.16149556636810303,-0.16771447658538818,-0.18593168258666992,-0.20641660690307617,-0.21283376216888428,-0.23612117767333984...].
PASS < [test copying] All assertions passed. (total 2 assertions)
PASS # AUDIT TASK RUNNER FINISHED: 1 tasks ran successfully.
Modified: trunk/LayoutTests/webaudio/offlineaudiocontext-suspend-resume-graph-manipulation-expected.txt (266475 => 266476)
--- trunk/LayoutTests/webaudio/offlineaudiocontext-suspend-resume-graph-manipulation-expected.txt 2020-09-02 17:38:55 UTC (rev 266475)
+++ trunk/LayoutTests/webaudio/offlineaudiocontext-suspend-resume-graph-manipulation-expected.txt 2020-09-02 18:32:03 UTC (rev 266476)
@@ -8,14 +8,8 @@
PASS Context is suspended is equal to 25600.
PASS Disconnecting a constant buffer at 25600 frame did not throw an exception.
PASS Buffer frame [0, 12800) contains only the constant 0.
-FAIL X Buffer frame [12800, 25600): Expected 1 for all values but found 12800 unexpected values:
- Index Actual
- [0] 0
- [1] 0
- [2] 0
- [3] 0
- ...and 12796 more errors. assert_true: expected true got false
+PASS Buffer frame [12800, 25600) contains only the constant 1.
PASS Buffer frame [25600, 38400) contains only the constant 0.
-FAIL < [test] 1 out of 7 assertions were failed. assert_true: expected true got false
-FAIL # AUDIT TASK RUNNER FINISHED: 1 out of 1 tasks were failed. assert_true: expected true got false
+PASS < [test] All assertions passed. (total 7 assertions)
+PASS # AUDIT TASK RUNNER FINISHED: 1 tasks ran successfully.
Modified: trunk/Source/WebCore/ChangeLog (266475 => 266476)
--- trunk/Source/WebCore/ChangeLog 2020-09-02 17:38:55 UTC (rev 266475)
+++ trunk/Source/WebCore/ChangeLog 2020-09-02 18:32:03 UTC (rev 266476)
@@ -1,3 +1,19 @@
+2020-09-02 Chris Dumez <cdu...@apple.com>
+
+ OfflineAudioContext incorrectly renders at beginning of output buffer after resuming
+ https://bugs.webkit.org/show_bug.cgi?id=216078
+
+ Reviewed by Geoff Garen.
+
+ OfflineAudioContext incorrectly renders at beginning of output buffer after resuming,
+ instead of rendering where it left off.
+
+ No new tests, rebaselined existing tests.
+
+ * Modules/webaudio/OfflineAudioDestinationNode.cpp:
+ (WebCore::OfflineAudioDestinationNode::offlineRender):
+ * Modules/webaudio/OfflineAudioDestinationNode.h:
+
2020-09-02 Sihui Liu <sihui_...@apple.com>
REGRESSION (r264661): Crashes in WebCore::wrap<WebCore::Blob> in CloneDeserializer
Modified: trunk/Source/WebCore/Modules/webaudio/OfflineAudioDestinationNode.cpp (266475 => 266476)
--- trunk/Source/WebCore/Modules/webaudio/OfflineAudioDestinationNode.cpp 2020-09-02 17:38:55 UTC (rev 266475)
+++ trunk/Source/WebCore/Modules/webaudio/OfflineAudioDestinationNode.cpp 2020-09-02 18:32:03 UTC (rev 266476)
@@ -142,7 +142,6 @@
// Render until we're finished.
unsigned numberOfChannels = m_renderTarget->numberOfChannels();
- unsigned n = 0;
while (m_framesToProcess > 0) {
if (context().shouldSuspend())
return OfflineRenderResult::Suspended;
@@ -155,10 +154,10 @@
for (unsigned channelIndex = 0; channelIndex < numberOfChannels; ++channelIndex) {
const float* source = m_renderBus->channel(channelIndex)->data();
float* destination = m_renderTarget->channelData(channelIndex)->data();
- memcpy(destination + n, source, sizeof(float) * framesAvailableToCopy);
+ memcpy(destination + m_destinationOffset, source, sizeof(float) * framesAvailableToCopy);
}
- n += framesAvailableToCopy;
+ m_destinationOffset += framesAvailableToCopy;
m_framesToProcess -= framesAvailableToCopy;
}
Modified: trunk/Source/WebCore/Modules/webaudio/OfflineAudioDestinationNode.h (266475 => 266476)
--- trunk/Source/WebCore/Modules/webaudio/OfflineAudioDestinationNode.h 2020-09-02 17:38:55 UTC (rev 266475)
+++ trunk/Source/WebCore/Modules/webaudio/OfflineAudioDestinationNode.h 2020-09-02 18:32:03 UTC (rev 266476)
@@ -76,6 +76,7 @@
// Rendering thread.
RefPtr<Thread> m_renderThread;
size_t m_framesToProcess;
+ size_t m_destinationOffset { 0 };
bool m_startedRendering { false };
};