Bug 112301

Summary: Add support for MediaSource::isTypeSupported()
Product: WebKit Reporter: Aaron Colwell <acolwell>
Component: MediaAssignee: Aaron Colwell <acolwell>
Status: RESOLVED FIXED    
Severity: Normal CC: abarth, dglazkov, eric.carlson, esprehn+autocc, feature-media-reviews, fishd, jamesr, jer.noble, ojan.autocc, peter+ews, tkent+wkapi, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch
none
Rebase none

Aaron Colwell
Reported 2013-03-13 16:54:18 PDT
Add support for MediaSource::isTypeSupported()
Attachments
Patch (15.94 KB, patch)
2013-03-13 17:00 PDT, Aaron Colwell
no flags
Patch (15.94 KB, patch)
2013-03-14 11:37 PDT, Aaron Colwell
no flags
Rebase (16.11 KB, patch)
2013-03-20 09:55 PDT, Aaron Colwell
no flags
Aaron Colwell
Comment 1 2013-03-13 17:00:23 PDT
WebKit Review Bot
Comment 2 2013-03-13 17:04:57 PDT
Please wait for approval from abarth@webkit.org, dglazkov@chromium.org, fishd@chromium.org, jamesr@chromium.org or tkent@chromium.org before submitting, as this patch contains changes to the Chromium public API. See also https://trac.webkit.org/wiki/ChromiumWebKitAPI.
Darin Fisher (:fishd, Google)
Comment 3 2013-03-13 17:18:00 PDT
Comment on attachment 193024 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=193024&action=review We usually put MIME-type related queries on WebMIMERegistry. However, I notice that this is not a function on WebCore::MIMERegistry, although I suppose it could be. > Source/WebKit/chromium/src/MediaSourcePrivateImpl.cpp:46 > + return WebKit::webKitPlatformSupport()->isTypeSupportedForMediaSource(type, codecs); nit: webKitPlatformSupport() is deprecated. You should be using WebKit::Platform::current() instead.
Aaron Colwell
Comment 4 2013-03-14 11:37:48 PDT
WebKit Review Bot
Comment 5 2013-03-14 11:50:01 PDT
Comment on attachment 193161 [details] Patch Attachment 193161 [details] did not pass chromium-ews (chromium-xvfb): Output: http://webkit-commit-queue.appspot.com/results/17194230
WebKit Review Bot
Comment 6 2013-03-14 11:56:08 PDT
Comment on attachment 193161 [details] Patch Attachment 193161 [details] did not pass cr-linux-debug-ews (chromium-xvfb): Output: http://webkit-commit-queue.appspot.com/results/17036857
Darin Fisher (:fishd, Google)
Comment 7 2013-03-14 11:57:08 PDT
Comment on attachment 193161 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=193161&action=review > Source/Platform/chromium/public/WebMimeRegistry.h:54 > + tangent: is it possible to resolve the above FIXME now?
Darin Fisher (:fishd, Google)
Comment 8 2013-03-14 11:58:09 PDT
Comment on attachment 193161 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=193161&action=review > Source/Platform/chromium/public/WebMimeRegistry.h:55 > + virtual bool supportsMediaSourceMIMEType(const WebKit::WebString& mimeType, const WebKit::WebString& codecs) = 0; note: we typically provide default implementations for interfaces that are intended to be implemented by chromium. that way, the webkit side can land first.
Aaron Colwell
Comment 9 2013-03-14 12:01:45 PDT
Comment on attachment 193161 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=193161&action=review >> Source/Platform/chromium/public/WebMimeRegistry.h:54 >> + > > tangent: is it possible to resolve the above FIXME now? Yes. I'll do this in a separate patch. >> Source/Platform/chromium/public/WebMimeRegistry.h:55 >> + virtual bool supportsMediaSourceMIMEType(const WebKit::WebString& mimeType, const WebKit::WebString& codecs) = 0; > > note: we typically provide default implementations for interfaces that are intended to be implemented by chromium. that way, the webkit side can land first. I can do that, but then the LayoutTest will fail. Should I add TestExpectation line for this and file a bug to remove it once the Chromium side lands?
Peter Beverloo (cr-android ews)
Comment 10 2013-03-14 12:19:06 PDT
Comment on attachment 193161 [details] Patch Attachment 193161 [details] did not pass cr-android-ews (chromium-android): Output: http://webkit-commit-queue.appspot.com/results/17134605
Aaron Colwell
Comment 11 2013-03-20 09:55:47 PDT
WebKit Review Bot
Comment 12 2013-03-20 10:24:58 PDT
Comment on attachment 194083 [details] Rebase Clearing flags on attachment: 194083 Committed r146360: <http://trac.webkit.org/changeset/146360>
WebKit Review Bot
Comment 13 2013-03-20 10:25:03 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.