Title: [270903] trunk/LayoutTests/imported/w3c
Revision
270903
Author
[email protected]
Date
2020-12-16 12:42:28 -0800 (Wed, 16 Dec 2020)

Log Message

REGRESSION (r270806): [iOS] imported/w3c/web-platform-tests/webaudio/the-audio-api/the-pannernode-interface/panner-distance-clamping.html is frequently failing
https://bugs.webkit.org/show_bug.cgi?id=219897
<rdar://problem/72346130>

Reviewed by Alex Christensen.

Merge https://github.com/web-platform-tests/wpt/pull/26926 to address test flakiness.

* web-platform-tests/webaudio/the-audio-api/the-pannernode-interface/panner-distance-clamping.html:

Modified Paths

Diff

Modified: trunk/LayoutTests/imported/w3c/ChangeLog (270902 => 270903)


--- trunk/LayoutTests/imported/w3c/ChangeLog	2020-12-16 20:41:32 UTC (rev 270902)
+++ trunk/LayoutTests/imported/w3c/ChangeLog	2020-12-16 20:42:28 UTC (rev 270903)
@@ -1,3 +1,15 @@
+2020-12-16  Chris Dumez  <[email protected]>
+
+        REGRESSION (r270806): [iOS] imported/w3c/web-platform-tests/webaudio/the-audio-api/the-pannernode-interface/panner-distance-clamping.html is frequently failing
+        https://bugs.webkit.org/show_bug.cgi?id=219897
+        <rdar://problem/72346130>
+
+        Reviewed by Alex Christensen.
+
+        Merge https://github.com/web-platform-tests/wpt/pull/26926 to address test flakiness.
+
+        * web-platform-tests/webaudio/the-audio-api/the-pannernode-interface/panner-distance-clamping.html:
+
 2020-12-15  Sihui Liu  <[email protected]>
 
         Add webkit- prefix to SpeechRecognition

Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/webaudio/the-audio-api/the-pannernode-interface/panner-distance-clamping.html (270902 => 270903)


--- trunk/LayoutTests/imported/w3c/web-platform-tests/webaudio/the-audio-api/the-pannernode-interface/panner-distance-clamping.html	2020-12-16 20:41:32 UTC (rev 270902)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webaudio/the-audio-api/the-pannernode-interface/panner-distance-clamping.html	2020-12-16 20:42:28 UTC (rev 270903)
@@ -84,86 +84,80 @@
         }, prefix + leastPositiveDoubleFloat).notThrow();
       }
 
-      audit.define('min-distance', (task, should) => {
+      audit.define('min-distance', async (task, should) => {
         // Test clamping of panner distance to refDistance for all of the
         // distance models.  The actual distance is arbitrary as long as it's
         // less than refDistance.  We test default and non-default values for
         // the panner's refDistance and maxDistance.
         // correctly.
-        Promise
-            .all([
-              runTest(should, {
-                distance: 0.01,
-                distanceModel: 'linear',
-              }),
-              runTest(should, {
-                distance: 0.01,
-                distanceModel: 'exponential',
-              }),
-              runTest(should, {
-                distance: 0.01,
-                distanceModel: 'inverse',
-              }),
-              runTest(should, {
-                distance: 2,
-                distanceModel: 'linear',
-                maxDistance: 1000,
-                refDistance: 10,
-              }),
-              runTest(should, {
-                distance: 2,
-                distanceModel: 'exponential',
-                maxDistance: 1000,
-                refDistance: 10,
-              }),
-              runTest(should, {
-                distance: 2,
-                distanceModel: 'inverse',
-                maxDistance: 1000,
-                refDistance: 10,
-              }),
-            ])
-            .then(() => task.done());
+        await runTest(should, {
+          distance: 0.01,
+          distanceModel: 'linear',
+        });
+        await runTest(should, {
+          distance: 0.01,
+          distanceModel: 'exponential',
+        });
+        await runTest(should, {
+          distance: 0.01,
+          distanceModel: 'inverse',
+        });
+        await runTest(should, {
+          distance: 2,
+          distanceModel: 'linear',
+          maxDistance: 1000,
+          refDistance: 10,
+        });
+        await runTest(should, {
+          distance: 2,
+          distanceModel: 'exponential',
+          maxDistance: 1000,
+          refDistance: 10,
+        });
+        await runTest(should, {
+          distance: 2,
+          distanceModel: 'inverse',
+          maxDistance: 1000,
+          refDistance: 10,
+        });
+        task.done();
       });
 
-      audit.define('max-distance', (task, should) => {
+      audit.define('max-distance', async (task, should) => {
         // Like the "min-distance" task, but for clamping to the max
         // distance. The actual distance is again arbitrary as long as it is
         // greater than maxDistance.
-        Promise
-            .all([
-              runTest(should, {
-                distance: 20000,
-                distanceModel: 'linear',
-              }),
-              runTest(should, {
-                distance: 21000,
-                distanceModel: 'exponential',
-              }),
-              runTest(should, {
-                distance: 23000,
-                distanceModel: 'inverse',
-              }),
-              runTest(should, {
-                distance: 5000,
-                distanceModel: 'linear',
-                maxDistance: 1000,
-                refDistance: 10,
-              }),
-              runTest(should, {
-                distance: 5000,
-                distanceModel: 'exponential',
-                maxDistance: 1000,
-                refDistance: 10,
-              }),
-              runTest(should, {
-                distance: 5000,
-                distanceModel: 'inverse',
-                maxDistance: 1000,
-                refDistance: 10,
-              }),
-            ])
-            .then(() => task.done());
+        await runTest(should, {
+          distance: 20000,
+          distanceModel: 'linear',
+        });
+        await runTest(should, {
+          distance: 21000,
+          distanceModel: 'exponential',
+        });
+        await runTest(should, {
+          distance: 23000,
+          distanceModel: 'inverse',
+        });
+        await runTest(should, {
+          distance: 5000,
+          distanceModel: 'linear',
+          maxDistance: 1000,
+          refDistance: 10,
+        });
+        await runTest(should, {
+          distance: 5000,
+          distanceModel: 'exponential',
+          maxDistance: 1000,
+          refDistance: 10,
+        });
+        await runTest(should, {
+          distance: 5000,
+          distanceModel: 'inverse',
+          maxDistance: 1000,
+          refDistance: 10,
+        });
+        task.done();
       });
 
       function runTest(should, options) {
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to