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

Issue 2652373002: EME: Fail requestMediaKeySystemAccess if no capabilities specified (Closed)

Created:
3 years, 11 months ago by jrummell
Modified:
3 years, 10 months ago
Reviewers:
xhwang, Torne, foolip
CC:
chromium-reviews, feature-media-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

EME: Fail requestMediaKeySystemAccess if no capabilities specified The EME spec requires that at least one of 'audioCapabilities' or 'videoCapabilities' must be specified. There has been a deprecation message for several releases, so enforce this now. BUG=616233 TEST=EME tests pass Review-Url: https://codereview.chromium.org/2652373002 Cr-Commit-Position: refs/heads/master@{#448438} Committed: https://chromium.googlesource.com/chromium/src/+/93830e41885b6183b52a7cc3e0fe2a4ebb37c910

Patch Set 1 #

Patch Set 2 : add tests #

Patch Set 3 : more test fixes #

Patch Set 4 : remove UseCounters #

Patch Set 5 : change Android codec #

Patch Set 6 : remove Android codec #

Patch Set 7 : multiple Android codecs #

Total comments: 8

Patch Set 8 : changes #

Total comments: 6

Patch Set 9 : more changes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+179 lines, -153 lines) Patch
M android_webview/javatests/src/org/chromium/android_webview/test/KeySystemTest.java View 1 2 3 4 5 6 7 8 2 chunks +10 lines, -2 lines 0 comments Download
M media/blink/key_system_config_selector.cc View 1 chunk +4 lines, -2 lines 0 comments Download
M media/blink/key_system_config_selector_unittest.cc View 1 2 3 4 5 6 7 8 34 chunks +107 lines, -68 lines 0 comments Download
M media/test/data/eme_player_js/player_utils.js View 1 2 1 chunk +15 lines, -20 lines 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/media/encrypted-media/encrypted-media-encrypted-event-different-origin.html View 1 2 3 1 chunk +4 lines, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/media/encrypted-media/encrypted-media-encrypted-event-same-origin.html View 1 2 3 1 chunk +4 lines, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/media/encrypted-media/encrypted-media-requestmediakeysystemaccess.html View 1 3 chunks +20 lines, -9 lines 0 comments Download
M third_party/WebKit/LayoutTests/media/encrypted-media/encrypted-media-syntax.html View 1 15 chunks +15 lines, -15 lines 0 comments Download
M third_party/WebKit/Source/core/frame/Deprecation.cpp View 1 2 3 1 chunk +0 lines, -8 lines 0 comments Download
M third_party/WebKit/Source/core/frame/UseCounter.h View 1 2 3 1 chunk +0 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/encryptedmedia/NavigatorRequestMediaKeySystemAccess.cpp View 1 2 3 3 chunks +0 lines, -25 lines 0 comments Download

Messages

Total messages: 45 (34 generated)
jrummell
Finally fixed all the tests. PTAL.
3 years, 10 months ago (2017-02-02 18:18:25 UTC) #30
xhwang
Great! Just a few comments, mostly on tests. https://codereview.chromium.org/2652373002/diff/120001/android_webview/javatests/src/org/chromium/android_webview/test/KeySystemTest.java File android_webview/javatests/src/org/chromium/android_webview/test/KeySystemTest.java (right): https://codereview.chromium.org/2652373002/diff/120001/android_webview/javatests/src/org/chromium/android_webview/test/KeySystemTest.java#newcode73 android_webview/javatests/src/org/chromium/android_webview/test/KeySystemTest.java:73: + ...
3 years, 10 months ago (2017-02-02 18:31:20 UTC) #31
jrummell
Updated. https://codereview.chromium.org/2652373002/diff/120001/android_webview/javatests/src/org/chromium/android_webview/test/KeySystemTest.java File android_webview/javatests/src/org/chromium/android_webview/test/KeySystemTest.java (right): https://codereview.chromium.org/2652373002/diff/120001/android_webview/javatests/src/org/chromium/android_webview/test/KeySystemTest.java#newcode73 android_webview/javatests/src/org/chromium/android_webview/test/KeySystemTest.java:73: + " .then(success, failure);" On 2017/02/02 18:31:20, xhwang_slow ...
3 years, 10 months ago (2017-02-02 20:03:24 UTC) #33
xhwang
https://codereview.chromium.org/2652373002/diff/140001/android_webview/javatests/src/org/chromium/android_webview/test/KeySystemTest.java File android_webview/javatests/src/org/chromium/android_webview/test/KeySystemTest.java (right): https://codereview.chromium.org/2652373002/diff/140001/android_webview/javatests/src/org/chromium/android_webview/test/KeySystemTest.java#newcode59 android_webview/javatests/src/org/chromium/android_webview/test/KeySystemTest.java:59: // as encrypted webm is only supported on Lollipop+. ...
3 years, 10 months ago (2017-02-02 23:12:49 UTC) #34
jrummell
Updated. https://codereview.chromium.org/2652373002/diff/140001/android_webview/javatests/src/org/chromium/android_webview/test/KeySystemTest.java File android_webview/javatests/src/org/chromium/android_webview/test/KeySystemTest.java (right): https://codereview.chromium.org/2652373002/diff/140001/android_webview/javatests/src/org/chromium/android_webview/test/KeySystemTest.java#newcode59 android_webview/javatests/src/org/chromium/android_webview/test/KeySystemTest.java:59: // as encrypted webm is only supported on ...
3 years, 10 months ago (2017-02-03 22:30:24 UTC) #35
xhwang
lgtm
3 years, 10 months ago (2017-02-03 22:47:44 UTC) #36
jrummell
+torne@ for OWNERS review of android_webview/ test +foolip@ for OWNERS review of third_party/WebKit/Source/core code (remove ...
3 years, 10 months ago (2017-02-04 00:33:28 UTC) #38
foolip
third_party/WebKit/ lgtm
3 years, 10 months ago (2017-02-05 22:58:32 UTC) #39
Torne
android_webview LGTM
3 years, 10 months ago (2017-02-06 12:13:21 UTC) #40
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2652373002/160001
3 years, 10 months ago (2017-02-06 20:52:03 UTC) #42
commit-bot: I haz the power
3 years, 10 months ago (2017-02-06 23:19:12 UTC) #45
Message was sent while issue was closed.
Committed patchset #9 (id:160001) as
https://chromium.googlesource.com/chromium/src/+/93830e41885b6183b52a7cc3e0fe...

Powered by Google App Engine
This is Rietveld 408576698