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

Issue 1381463003: Add warning message for empty robustness. (Closed)

Created:
5 years, 2 months ago by xhwang
Modified:
5 years, 2 months ago
CC:
chromium-reviews, blink-reviews, feature-media-reviews_chromium.org, philipj_slow, mlamouri+watch-blink_chromium.org, eric.carlson_apple.com
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add warning message for empty robustness. Add a warning message when a. the key system is widevine, and b. any video capability passed into requestMediaKeySystemAccess() has empty robustness level. This warning message will be removed after issue 482277 is fixed. See the bug for more details. Also add UMA to report the empty robustness level. BUG=482277 TEST=Tested with clearkey and widevine. R=ddorwin@chromium.org, isherman@chromium.org Committed: https://chromium.googlesource.com/chromium/src/+/0f9748c2c6fe19897d5d8bd42ffcd5447e934a23

Patch Set 1 #

Patch Set 2 : drop hasAudioCapabilities check #

Total comments: 14

Patch Set 3 : comments addressed and add UMA #

Total comments: 6

Patch Set 4 : comments addressed #

Total comments: 4

Patch Set 5 : comments addressed #

Unified diffs Side-by-side diffs Delta from patch set Stats (+62 lines, -1 line) Patch
M third_party/WebKit/Source/modules/encryptedmedia/NavigatorRequestMediaKeySystemAccess.cpp View 1 2 3 6 chunks +47 lines, -1 line 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 2 chunks +15 lines, -0 lines 0 comments Download

Messages

Total messages: 25 (6 generated)
xhwang
PTAL
5 years, 2 months ago (2015-10-01 19:06:17 UTC) #2
sandersd (OOO until July 31)
https://chromiumcodereview.appspot.com/1381463003/diff/20001/third_party/WebKit/Source/modules/encryptedmedia/NavigatorRequestMediaKeySystemAccess.cpp File third_party/WebKit/Source/modules/encryptedmedia/NavigatorRequestMediaKeySystemAccess.cpp (right): https://chromiumcodereview.appspot.com/1381463003/diff/20001/third_party/WebKit/Source/modules/encryptedmedia/NavigatorRequestMediaKeySystemAccess.cpp#newcode90 third_party/WebKit/Source/modules/encryptedmedia/NavigatorRequestMediaKeySystemAccess.cpp:90: return (config.audioCapabilities.size() == 1 && config.audioCapabilities[0].robustness.isEmpty()) I'm not certain ...
5 years, 2 months ago (2015-10-01 20:40:24 UTC) #3
ddorwin
https://chromiumcodereview.appspot.com/1381463003/diff/20001/third_party/WebKit/Source/modules/encryptedmedia/NavigatorRequestMediaKeySystemAccess.cpp File third_party/WebKit/Source/modules/encryptedmedia/NavigatorRequestMediaKeySystemAccess.cpp (right): https://chromiumcodereview.appspot.com/1381463003/diff/20001/third_party/WebKit/Source/modules/encryptedmedia/NavigatorRequestMediaKeySystemAccess.cpp#newcode84 third_party/WebKit/Source/modules/encryptedmedia/NavigatorRequestMediaKeySystemAccess.cpp:84: return keySystem == "com.widevine.alpha"; This should be in Chromium, ...
5 years, 2 months ago (2015-10-01 21:23:47 UTC) #4
sandersd (OOO until July 31)
https://chromiumcodereview.appspot.com/1381463003/diff/20001/third_party/WebKit/Source/modules/encryptedmedia/NavigatorRequestMediaKeySystemAccess.cpp File third_party/WebKit/Source/modules/encryptedmedia/NavigatorRequestMediaKeySystemAccess.cpp (right): https://chromiumcodereview.appspot.com/1381463003/diff/20001/third_party/WebKit/Source/modules/encryptedmedia/NavigatorRequestMediaKeySystemAccess.cpp#newcode90 third_party/WebKit/Source/modules/encryptedmedia/NavigatorRequestMediaKeySystemAccess.cpp:90: return (config.audioCapabilities.size() == 1 && config.audioCapabilities[0].robustness.isEmpty()) On 2015/10/01 21:23:47, ...
5 years, 2 months ago (2015-10-01 21:34:45 UTC) #5
xhwang
PTAL again! https://chromiumcodereview.appspot.com/1381463003/diff/20001/third_party/WebKit/Source/modules/encryptedmedia/NavigatorRequestMediaKeySystemAccess.cpp File third_party/WebKit/Source/modules/encryptedmedia/NavigatorRequestMediaKeySystemAccess.cpp (right): https://chromiumcodereview.appspot.com/1381463003/diff/20001/third_party/WebKit/Source/modules/encryptedmedia/NavigatorRequestMediaKeySystemAccess.cpp#newcode84 third_party/WebKit/Source/modules/encryptedmedia/NavigatorRequestMediaKeySystemAccess.cpp:84: return keySystem == "com.widevine.alpha"; On 2015/10/01 21:23:47, ...
5 years, 2 months ago (2015-10-01 22:49:43 UTC) #6
ddorwin
https://codereview.chromium.org/1381463003/diff/40001/third_party/WebKit/Source/modules/encryptedmedia/NavigatorRequestMediaKeySystemAccess.cpp File third_party/WebKit/Source/modules/encryptedmedia/NavigatorRequestMediaKeySystemAccess.cpp (right): https://codereview.chromium.org/1381463003/diff/40001/third_party/WebKit/Source/modules/encryptedmedia/NavigatorRequestMediaKeySystemAccess.cpp#newcode147 third_party/WebKit/Source/modules/encryptedmedia/NavigatorRequestMediaKeySystemAccess.cpp:147: void MediaKeySystemAccessInitializer::requestSucceeded(WebContentDecryptionModuleAccess* access) Since we're not checking whether any ...
5 years, 2 months ago (2015-10-01 23:16:36 UTC) #7
xhwang
https://chromiumcodereview.appspot.com/1381463003/diff/40001/third_party/WebKit/Source/modules/encryptedmedia/NavigatorRequestMediaKeySystemAccess.cpp File third_party/WebKit/Source/modules/encryptedmedia/NavigatorRequestMediaKeySystemAccess.cpp (right): https://chromiumcodereview.appspot.com/1381463003/diff/40001/third_party/WebKit/Source/modules/encryptedmedia/NavigatorRequestMediaKeySystemAccess.cpp#newcode147 third_party/WebKit/Source/modules/encryptedmedia/NavigatorRequestMediaKeySystemAccess.cpp:147: void MediaKeySystemAccessInitializer::requestSucceeded(WebContentDecryptionModuleAccess* access) On 2015/10/01 23:16:36, ddorwin wrote: > ...
5 years, 2 months ago (2015-10-02 00:20:37 UTC) #8
xhwang
PTAL again
5 years, 2 months ago (2015-10-02 00:20:48 UTC) #9
ddorwin
LGTM. Possible nit. https://chromiumcodereview.appspot.com/1381463003/diff/60001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://chromiumcodereview.appspot.com/1381463003/diff/60001/tools/metrics/histograms/histograms.xml#newcode17533 tools/metrics/histograms/histograms.xml:17533: + specific to the Widevine key ...
5 years, 2 months ago (2015-10-02 01:19:04 UTC) #10
xhwang
isherman: Please OWNERS review histograms.xml
5 years, 2 months ago (2015-10-02 04:01:46 UTC) #12
xhwang
https://chromiumcodereview.appspot.com/1381463003/diff/60001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://chromiumcodereview.appspot.com/1381463003/diff/60001/tools/metrics/histograms/histograms.xml#newcode17533 tools/metrics/histograms/histograms.xml:17533: + specific to the Widevine key system. On 2015/10/02 ...
5 years, 2 months ago (2015-10-02 04:02:33 UTC) #13
Ilya Sherman
histograms lgtm % a nit: https://chromiumcodereview.appspot.com/1381463003/diff/60001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://chromiumcodereview.appspot.com/1381463003/diff/60001/tools/metrics/histograms/histograms.xml#newcode17528 tools/metrics/histograms/histograms.xml:17528: + enum="Boolean"> nit: Please ...
5 years, 2 months ago (2015-10-02 04:14:13 UTC) #14
xhwang
comments addressed
5 years, 2 months ago (2015-10-02 16:44:26 UTC) #15
xhwang
https://chromiumcodereview.appspot.com/1381463003/diff/60001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://chromiumcodereview.appspot.com/1381463003/diff/60001/tools/metrics/histograms/histograms.xml#newcode17528 tools/metrics/histograms/histograms.xml:17528: + enum="Boolean"> On 2015/10/02 04:14:12, Ilya Sherman wrote: > ...
5 years, 2 months ago (2015-10-02 16:45:07 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1381463003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1381463003/80001
5 years, 2 months ago (2015-10-02 17:50:31 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_android_rel_ng/builds/77147)
5 years, 2 months ago (2015-10-02 20:03:15 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1381463003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1381463003/80001
5 years, 2 months ago (2015-10-02 20:20:49 UTC) #23
commit-bot: I haz the power
Patchset 5 (id:??) landed as https://crrev.com/0f9748c2c6fe19897d5d8bd42ffcd5447e934a23 Cr-Commit-Position: refs/heads/master@{#352118}
5 years, 2 months ago (2015-10-02 20:34:14 UTC) #24
xhwang
5 years, 2 months ago (2015-10-02 20:34:29 UTC) #25
Message was sent while issue was closed.
Committed patchset #5 (id:80001) manually as
0f9748c2c6fe19897d5d8bd42ffcd5447e934a23 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698