Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 615a7b1e9c76e3c57b7ac4fa1e427d2144e450f1
https://github.com/WebKit/WebKit/commit/615a7b1e9c76e3c57b7ac4fa1e427d2144e450f1
Author: Jean-Yves Avenard <[email protected]>
Date: 2026-06-03 (Wed, 03 Jun 2026)
Changed paths:
M LayoutTests/platform/glib/TestExpectations
M LayoutTests/platform/ios/TestExpectations
A LayoutTests/webaudio/decode-audio-data-ogg-opus-expected.txt
A LayoutTests/webaudio/decode-audio-data-ogg-opus.html
A LayoutTests/webaudio/decode-audio-data-ogg-vorbis-expected.txt
A LayoutTests/webaudio/decode-audio-data-ogg-vorbis.html
A LayoutTests/webaudio/resources/media/opus.ogg
M Source/WebCore/platform/audio/cocoa/AudioFileReaderCocoa.mm
Log Message:
-----------
Regression(309140@main): [Spotify] I can’t see my Spotify 20 year summary
https://bugs.webkit.org/show_bug.cgi?id=316172
rdar://177004515
Reviewed by Youenn Fablet.
The issue was similar as what 304530@main fixed.
In 309140@main we transitioned from using an AudioToolbox's AudioFile to
and AVFoundation' AVURLAssetReader.
The AVURLAssetReader required being provided with the mimetype as AVF doesn't
do any sniffing.
The MIMESniffer returned "application/ogg" while AVFoundation expected
"audio/ogg".
Fly-by fix: We had code to handle the fallback to trying to find a mimetype via
the AudioFile's
own sniffer, but it didn't handle Ogg content either as those are declared
in private headers only. We extend the support to quicktime, E-AC3 and Ogg.
Tests: webaudio/decode-audio-data-ogg-opus.html
webaudio/decode-audio-data-ogg-vorbis.html
* LayoutTests/webaudio/decode-audio-data-ogg-opus-expected.txt: Added.
* LayoutTests/webaudio/decode-audio-data-ogg-opus.html: Added.
* LayoutTests/webaudio/decode-audio-data-ogg-vorbis-expected.txt: Added.
* LayoutTests/webaudio/decode-audio-data-ogg-vorbis.html: Added.
* LayoutTests/webaudio/resources/media/opus.ogg: Added.
* Source/WebCore/platform/audio/cocoa/AudioFileReaderCocoa.mm:
(WebCore::mimeTypeFor):
(WebCore::AudioFileReader::demuxAVFData const):
Canonical link: https://commits.webkit.org/314462@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications