From 799f5019c98adec4c2417ca49a608843d5cfcf80 Mon Sep 17 00:00:00 2001 From: Chun-Min Chang Date: Thu, 3 Oct 2024 22:02:28 +0000 Subject: [PATCH] Make AAC-w/o-description WPT a mozilla-specific WPT Due to the ongoing discussion in issue 832 [1], which has not yet reached a consensus among all parties, the AAC-without-description WPT introduced in the previous patch should be relocated to the *mozilla* folder under WPT. This ensures that the test remains specific to Mozilla and avoids unintentionally causing failures in other browers' test suites. [1] https://github.com/w3c/webcodecs/issues/832 Differential Revision: https://phabricator.services.mozilla.com/D222712 bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1917721 gecko-commit: c81481c06eac3165b72e7bb2c3040a48b3994a0a gecko-reviewers: media-playback-reviewers, padenot --- .../audioDecoder-codec-specific.https.any.js | 26 ------------------- 1 file changed, 26 deletions(-) diff --git a/webcodecs/audioDecoder-codec-specific.https.any.js b/webcodecs/audioDecoder-codec-specific.https.any.js index fbef67b918d05e..6a4793c62c908f 100644 --- a/webcodecs/audioDecoder-codec-specific.https.any.js +++ b/webcodecs/audioDecoder-codec-specific.https.any.js @@ -2,7 +2,6 @@ // META: script=/webcodecs/utils.js // META: variant=?adts_aac // META: variant=?mp4_aac -// META: variant=?mp4_raw_aac_no_desc // META: variant=?mp3 // META: variant=?opus // META: variant=?pcm_alaw @@ -71,30 +70,6 @@ const MP4_AAC_DATA = { duration: 21333 }; -// By spec, if the description is absent, the bitstream defaults to ADTS format. -// However, this is added to ensure compatibility and handle potential misuse cases. -const MP4_AAC_DATA_NO_DESCRIPTION = { - src: 'sfx-aac.mp4', - config: { - codec: 'mp4a.40.2', - sampleRate: 48000, - numberOfChannels: 1, - }, - chunks: [ - {offset: 44, size: 241}, - {offset: 285, size: 273}, - {offset: 558, size: 251}, - {offset: 809, size: 118}, - {offset: 927, size: 223}, - {offset: 1150, size: 141}, - {offset: 1291, size: 217}, - {offset: 1508, size: 159}, - {offset: 1667, size: 209}, - {offset: 1876, size: 176}, - ], - duration: 21333 -}; - const OPUS_DATA = { src: 'sfx-opus.ogg', config: { @@ -187,7 +162,6 @@ promise_setup(async () => { '?adts_aac': ADTS_AAC_DATA, '?mp3': MP3_DATA, '?mp4_aac': MP4_AAC_DATA, - '?mp4_raw_aac_no_desc': MP4_AAC_DATA_NO_DESCRIPTION, '?opus': OPUS_DATA, '?pcm_alaw': PCM_ALAW_DATA, '?pcm_ulaw': PCM_ULAW_DATA,