Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(378)

Issue 876863006: Make canPlayType()'s keySystem argument depend on PrefixedEncryptedMedia (Closed)

Created:
5 years, 11 months ago by philipj_slow
Modified:
5 years, 10 months ago
Reviewers:
ddorwin
CC:
blink-reviews, nessy, arv+blink, gasubic, fs, eric.carlson_apple.com, feature-media-reviews_chromium.org, dglazkov+blink, blink-reviews-html_chromium.org, Inactive, vcarbune.chromium
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Make canPlayType()'s keySystem argument depend on PrefixedEncryptedMedia The argument is no longer marked as optional, as that would make it ambiguous with the single-argument canPlayType(). BUG=452098 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=189099

Patch Set 1 #

Total comments: 7

Patch Set 2 : Move CanPlayTypeKeySystem deprecation to IDL #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -4 lines) Patch
M Source/core/html/HTMLMediaElement.cpp View 1 1 chunk +0 lines, -3 lines 0 comments Download
M Source/core/html/HTMLMediaElement.idl View 1 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 11 (2 generated)
philipj_slow
PTAL
5 years, 11 months ago (2015-01-27 09:01:44 UTC) #2
ddorwin
LGTM with comments. Thank you! https://codereview.chromium.org/876863006/diff/1/Source/core/html/HTMLMediaElement.idl File Source/core/html/HTMLMediaElement.idl (right): https://codereview.chromium.org/876863006/diff/1/Source/core/html/HTMLMediaElement.idl#newcode49 Source/core/html/HTMLMediaElement.idl:49: DOMString canPlayType(DOMString type); Does ...
5 years, 11 months ago (2015-01-27 18:40:02 UTC) #3
ddorwin
https://codereview.chromium.org/876863006/diff/1/Source/core/html/HTMLMediaElement.idl File Source/core/html/HTMLMediaElement.idl (right): https://codereview.chromium.org/876863006/diff/1/Source/core/html/HTMLMediaElement.idl#newcode50 Source/core/html/HTMLMediaElement.idl:50: [RuntimeEnabled=PrefixedEncryptedMedia] DOMString canPlayType(DOMString type, [TreatUndefinedAs=NullString] DOMString? keySystem); Should we ...
5 years, 11 months ago (2015-01-27 18:40:48 UTC) #4
philipj_slow
https://codereview.chromium.org/876863006/diff/1/Source/core/html/HTMLMediaElement.idl File Source/core/html/HTMLMediaElement.idl (right): https://codereview.chromium.org/876863006/diff/1/Source/core/html/HTMLMediaElement.idl#newcode49 Source/core/html/HTMLMediaElement.idl:49: DOMString canPlayType(DOMString type); On 2015/01/27 18:40:01, ddorwin wrote: > ...
5 years, 10 months ago (2015-01-28 06:10:27 UTC) #5
philipj_slow
Move CanPlayTypeKeySystem deprecation to IDL
5 years, 10 months ago (2015-01-28 06:11:23 UTC) #6
philipj_slow
I'll land this now. For reference, here's the diff of the generated code: --- a/V8HTMLMediaElement.cpp ...
5 years, 10 months ago (2015-01-28 06:12:35 UTC) #7
philipj_slow
https://codereview.chromium.org/876863006/diff/1/Source/core/html/HTMLMediaElement.idl File Source/core/html/HTMLMediaElement.idl (right): https://codereview.chromium.org/876863006/diff/1/Source/core/html/HTMLMediaElement.idl#newcode50 Source/core/html/HTMLMediaElement.idl:50: [RuntimeEnabled=PrefixedEncryptedMedia] DOMString canPlayType(DOMString type, [TreatUndefinedAs=NullString] DOMString? keySystem); On 2015/01/28 ...
5 years, 10 months ago (2015-01-28 06:46:26 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/876863006/20001
5 years, 10 months ago (2015-01-28 06:47:01 UTC) #10
commit-bot: I haz the power
5 years, 10 months ago (2015-01-28 09:09:59 UTC) #11
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=189099

Powered by Google App Engine
This is Rietveld 408576698