A MIME type can have various parameters after the type which add extra meaning, but WebKit doesn't deal with them. Open http://hsivonen.iki.fi/test/moz/video-selection/source-mp4-ogg-params.html, which contains: <video controls autoplay> <source src='html5-test.mp4' type='video/mp4; codecs="avc1.42E01E, mp4a.40.2"'> <source src='html5-test.ogg' type='application/ogg; codecs="theora, vorbis"'> FAIL: This is fallback text. </video> In Safari, WebKit should display 'html5-test.mp4', but it does not because the MIME type registry doesn't match 'video/mp4; codecs="avc1.42E01E, mp4a.40.2"'.
Created attachment 22749 [details] Patch to strip parameters from the MIME type before checking with the type registry
<rdar://6137931>
Comment on attachment 22749 [details] Patch to strip parameters from the MIME type before checking with the type registry You've got some tabs in the patch- you should replace those with spaces. You also want to generate and checkin results for the test, and make a ChangeLog entry for the LayoutTests directory.
Created attachment 22751 [details] Revised patch
Committed revision 35729.