WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
112301
Add support for MediaSource::isTypeSupported()
https://bugs.webkit.org/show_bug.cgi?id=112301
Summary
Add support for MediaSource::isTypeSupported()
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
Details
Formatted Diff
Diff
Patch
(15.94 KB, patch)
2013-03-14 11:37 PDT
,
Aaron Colwell
no flags
Details
Formatted Diff
Diff
Rebase
(16.11 KB, patch)
2013-03-20 09:55 PDT
,
Aaron Colwell
no flags
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Aaron Colwell
Comment 1
2013-03-13 17:00:23 PDT
Created
attachment 193024
[details]
Patch
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
Created
attachment 193161
[details]
Patch
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
Created
attachment 194083
[details]
Rebase
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.
Top of Page
Format For Printing
XML
Clone This Bug