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

Issue 11469040: EME v0.1: Report defaultURL in KeyMessage. (Closed)

Created:
8 years ago by ddorwin
Modified:
8 years ago
CC:
chromium-reviews, feature-media-reviews_chromium.org, darin-cc_chromium.org
Visibility:
Public.

Description

EME v0.1: Report defaultURL in KeyMessage. Only valid URLs will be reported. BUG=164656 TEST=The keymessage event for external Clear Key includes a fixed URL. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=173251

Patch Set 1 : #

Total comments: 4

Patch Set 2 : Updates and added test #

Total comments: 6

Patch Set 3 : feedback #

Total comments: 2

Patch Set 4 : Fixed c&p error and added new check for defaultURL #

Unified diffs Side-by-side diffs Delta from patch set Stats (+82 lines, -21 lines) Patch
M content/test/data/media/encrypted_media_player.html View 1 1 chunk +4 lines, -2 lines 0 comments Download
M content/test/data/media/encrypted_media_utils.js View 1 2 3 4 chunks +54 lines, -8 lines 0 comments Download
M webkit/media/crypto/ppapi/clear_key_cdm.cc View 1 2 2 chunks +13 lines, -6 lines 0 comments Download
M webkit/media/webmediaplayer_impl.h View 1 1 chunk +1 line, -1 line 0 comments Download
M webkit/media/webmediaplayer_impl.cc View 1 1 chunk +3 lines, -2 lines 0 comments Download
M webkit/media/webmediaplayer_proxy.cc View 1 1 chunk +7 lines, -2 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
ddorwin
Small CL for the Chromium side of https://bugs.webkit.org/show_bug.cgi?id=104284. I will land this after the DEPS ...
8 years ago (2012-12-08 00:02:35 UTC) #1
xhwang
lgtm % nit https://codereview.chromium.org/11469040/diff/3001/webkit/media/webmediaplayer_proxy.cc File webkit/media/webmediaplayer_proxy.cc (right): https://codereview.chromium.org/11469040/diff/3001/webkit/media/webmediaplayer_proxy.cc#newcode172 webkit/media/webmediaplayer_proxy.cc:172: << "Invalid URL in default_url: " ...
8 years ago (2012-12-08 01:16:44 UTC) #2
ddorwin
https://codereview.chromium.org/11469040/diff/3001/webkit/media/webmediaplayer_proxy.cc File webkit/media/webmediaplayer_proxy.cc (right): https://codereview.chromium.org/11469040/diff/3001/webkit/media/webmediaplayer_proxy.cc#newcode172 webkit/media/webmediaplayer_proxy.cc:172: << "Invalid URL in default_url: " << default_url.c_str(); On ...
8 years ago (2012-12-08 01:20:58 UTC) #3
scherkus (not reviewing)
lgtm but I'm confused about your c_str() https://codereview.chromium.org/11469040/diff/3001/webkit/media/webmediaplayer_proxy.cc File webkit/media/webmediaplayer_proxy.cc (right): https://codereview.chromium.org/11469040/diff/3001/webkit/media/webmediaplayer_proxy.cc#newcode172 webkit/media/webmediaplayer_proxy.cc:172: << "Invalid ...
8 years ago (2012-12-11 21:07:43 UTC) #4
ddorwin
Added tests and modified the implementation a bit. This includes a rebase and new files, ...
8 years ago (2012-12-14 20:52:27 UTC) #5
scherkus (not reviewing)
lgtm w/ nits https://codereview.chromium.org/11469040/diff/9001/content/test/data/media/encrypted_media_utils.js File content/test/data/media/encrypted_media_utils.js (right): https://codereview.chromium.org/11469040/diff/9001/content/test/data/media/encrypted_media_utils.js#newcode37 content/test/data/media/encrypted_media_utils.js:37: 'http://test.externalclearkey.chromium.org/'; indent 2 more spaces https://codereview.chromium.org/11469040/diff/9001/content/test/data/media/encrypted_media_utils.js#newcode150 ...
8 years ago (2012-12-14 21:45:26 UTC) #6
ddorwin
Thanks. https://codereview.chromium.org/11469040/diff/9001/content/test/data/media/encrypted_media_utils.js File content/test/data/media/encrypted_media_utils.js (right): https://codereview.chromium.org/11469040/diff/9001/content/test/data/media/encrypted_media_utils.js#newcode37 content/test/data/media/encrypted_media_utils.js:37: 'http://test.externalclearkey.chromium.org/'; On 2012/12/14 21:45:26, scherkus wrote: > indent ...
8 years ago (2012-12-14 21:55:16 UTC) #7
shadi
LGTM % nit https://codereview.chromium.org/11469040/diff/17002/content/test/data/media/encrypted_media_utils.js File content/test/data/media/encrypted_media_utils.js (right): https://codereview.chromium.org/11469040/diff/17002/content/test/data/media/encrypted_media_utils.js#newcode132 content/test/data/media/encrypted_media_utils.js:132: failTest('keymessage without a sessionId: ' + ...
8 years ago (2012-12-14 22:01:20 UTC) #8
ddorwin
Thanks. Added a new check. CQing. https://codereview.chromium.org/11469040/diff/17002/content/test/data/media/encrypted_media_utils.js File content/test/data/media/encrypted_media_utils.js (right): https://codereview.chromium.org/11469040/diff/17002/content/test/data/media/encrypted_media_utils.js#newcode132 content/test/data/media/encrypted_media_utils.js:132: failTest('keymessage without a ...
8 years ago (2012-12-14 22:10:56 UTC) #9
commit-bot: I haz the power
8 years ago (2012-12-14 22:13:08 UTC) #10

Powered by Google App Engine
This is Rietveld 408576698