Title: [284126] trunk/LayoutTests
Revision
284126
Author
[email protected]
Date
2021-10-13 14:37:15 -0700 (Wed, 13 Oct 2021)

Log Message

Add mp3 and aac web audio test
https://bugs.webkit.org/show_bug.cgi?id=231643
rdar://problem/84178398

Add MP3 / AAC webaudio decodeAudioData tests.
Existing tests were disabled by default, likely due to
https://bugs.webkit.org/show_bug.cgi?id=230974

Reviewed by Eric Carlson.

* platform/mac/TestExpectations:
* platform/wk2/TestExpectations:
* webaudio/decode-audio-data-basic-expected.txt:
* webaudio/decode-audio-data-basic.html:

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (284125 => 284126)


--- trunk/LayoutTests/ChangeLog	2021-10-13 21:33:00 UTC (rev 284125)
+++ trunk/LayoutTests/ChangeLog	2021-10-13 21:37:15 UTC (rev 284126)
@@ -1,3 +1,20 @@
+2021-10-13  Jean-Yves Avenard  <[email protected]>
+
+        Add mp3 and aac web audio test
+        https://bugs.webkit.org/show_bug.cgi?id=231643
+        rdar://problem/84178398
+
+        Add MP3 / AAC webaudio decodeAudioData tests.
+        Existing tests were disabled by default, likely due to
+        https://bugs.webkit.org/show_bug.cgi?id=230974
+
+        Reviewed by Eric Carlson.
+
+        * platform/mac/TestExpectations:
+        * platform/wk2/TestExpectations:
+        * webaudio/decode-audio-data-basic-expected.txt:
+        * webaudio/decode-audio-data-basic.html:
+
 2021-10-13  Sihui Liu  <[email protected]>
 
         Implement FileSystemHandle move()

Modified: trunk/LayoutTests/platform/mac/TestExpectations (284125 => 284126)


--- trunk/LayoutTests/platform/mac/TestExpectations	2021-10-13 21:33:00 UTC (rev 284125)
+++ trunk/LayoutTests/platform/mac/TestExpectations	2021-10-13 21:37:15 UTC (rev 284126)
@@ -2268,9 +2268,6 @@
 # rdar://80340581 ([ Monterey ] http/tests/preload/onload_event.html is a flaky failure)
 [ Monterey ] http/tests/preload/onload_event.html [ Pass Failure ]
 
-[ BigSur Monterey ] webaudio/Panner/hrtf-database.html [ Pass ]
-[ BigSur Monterey ] webaudio/codec-tests/aac/vbr-128kbps-44khz.html [ Pass ]
-
 # rdar://80347712 ([ Monterey ] media/video-src-blob-replay.html is a flaky timeout)
 [ Monterey ] media/video-src-blob-replay.html [ Timeout ]
 
@@ -2313,9 +2310,6 @@
 
 webkit.org/b/228640 [ Debug ] imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/credentialless/dedicated-worker.tentative.https.html [ Pass Failure ]
 
-#rdar://82003714 ([Star] webaudio/codec-tests/mp3/128kbps-44khz.html)
-webaudio/codec-tests/mp3/128kbps-44khz.html [ Pass Timeout Failure ]
-
 #rdar://82053210 ([Guard-Malloc] imported/w3c/web-platform-tests/mathml/relations/html5-tree/display-2.html is a flaky failure)
 imported/w3c/web-platform-tests/mathml/relations/html5-tree/display-2.html [ Pass ImageOnlyFailure ]
 

Modified: trunk/LayoutTests/platform/wk2/TestExpectations (284125 => 284126)


--- trunk/LayoutTests/platform/wk2/TestExpectations	2021-10-13 21:33:00 UTC (rev 284125)
+++ trunk/LayoutTests/platform/wk2/TestExpectations	2021-10-13 21:37:15 UTC (rev 284126)
@@ -224,11 +224,6 @@
 # webkit.org/b/221693
 media/encrypted-media/clearKey/clearKey-session-life-cycle.html [ Failure Crash ]
 
-# webkit.org/b/220805
-webaudio/Panner/hrtf-database.html [ Timeout ]
-webaudio/codec-tests/aac/vbr-128kbps-44khz.html [ Timeout ]
-webaudio/codec-tests/mp3/128kbps-44khz.html [ Timeout ]
-
 # webkit.org/b/221791
 # fast/canvas/webgl/tex-image-and-sub-image-2d-with-video-rgb565.html [ Failure ]
 # fast/canvas/webgl/tex-image-and-sub-image-2d-with-video-rgba4444.html [ Failure ]

Modified: trunk/LayoutTests/webaudio/decode-audio-data-basic-expected.txt (284125 => 284126)


--- trunk/LayoutTests/webaudio/decode-audio-data-basic-expected.txt	2021-10-13 21:33:00 UTC (rev 284125)
+++ trunk/LayoutTests/webaudio/decode-audio-data-basic-expected.txt	2021-10-13 21:37:15 UTC (rev 284126)
@@ -5,6 +5,8 @@
 
 PASS Passing a null array to AudioContext.decodeAudioData() threw a TypeError
 PASS The resources/media/24bit-44khz.wav test: successCallback has been called correctly.
+PASS The resources/media/128kbps-44khz.mp3 test: successCallback has been called correctly.
+PASS The resources/media/vbr-128kbps-44khz.m4a test: successCallback has been called correctly.
 PASS The resources/media/invalid-audio-file.txt test: errorCallback has been called correctly.
 PASS successfullyParsed is true
 

Modified: trunk/LayoutTests/webaudio/decode-audio-data-basic.html (284125 => 284126)


--- trunk/LayoutTests/webaudio/decode-audio-data-basic.html	2021-10-13 21:33:00 UTC (rev 284125)
+++ trunk/LayoutTests/webaudio/decode-audio-data-basic.html	2021-10-13 21:37:15 UTC (rev 284126)
@@ -23,6 +23,8 @@
 });
 
 var decodeCaseArray = [{url: "resources/media/24bit-44khz.wav", result: true},
+                       {url: "resources/media/128kbps-44khz.mp3", result: true},
+                       {url: "resources/media/vbr-128kbps-44khz.m4a", result: true},
                        {url: "resources/media/invalid-audio-file.txt", result: false}];
 
 function runDecodeTest(index) {
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to