Include audio/vnd.wave as a valid mime-type for wav files.
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 21 Jun 2017 16:04:51 +0000 (16:04 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 21 Jun 2017 16:04:51 +0000 (16:04 +0000)
commit30dd0aaec6caa1c118486484388e4d244712dc74
treec5cf6621bfb7b371be90275dc8c597fd708126b1
parent9af37a399a544ba99421232b9efb9b73ab6f7ff9
Include audio/vnd.wave as a valid mime-type for wav files.
https://bugs.webkit.org/show_bug.cgi?id=173635
rdar://problem/32656568

Patch by Jeremy Jones <jeremyj@apple.com> on 2017-06-21
Reviewed by Eric Carlson.

audio/vnd.wave is a valid mime-type for wav files per https://tools.ietf.org/html/rfc2361

Updated test and test results:
LayoutTests/media/media-can-play-wav-audio.html

* platform/MIMETypeRegistry.cpp:
(WebCore::initializeSupportedImageMIMETypes):
(WebCore::mimeTypeAssociationMap):
* platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.cpp:
(WebCore::MediaPlayerPrivateAVFoundation::staticMIMETypeList):
* platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
(WebCore::mimeTypeSet):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@218634 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/media/media-can-play-wav-audio-expected.txt
LayoutTests/media/media-can-play-wav-audio.html
LayoutTests/platform/mac/media/media-can-play-wav-audio-expected.txt
LayoutTests/platform/win/media/media-can-play-wav-audio-expected.txt
Source/WebCore/ChangeLog
Source/WebCore/platform/MIMETypeRegistry.cpp
Source/WebCore/platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.cpp
Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp