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

Issue 397463005: Change EME WebIDL to use ArrayBuffer/ArrayBufferView. (Closed)

Created:
6 years, 5 months ago by jrummell
Modified:
6 years, 5 months ago
CC:
blink-reviews, feature-media-reviews_chromium.org, philipj_slow, eric.carlson_apple.com
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Project:
blink
Visibility:
Public.

Description

Change EME WebIDL to use ArrayBuffer/ArrayBufferView. Now that the spec specifies that data should be passed using ArrayBuffer/ArrayBufferView, change the IDL to match. BUG=358271 TEST=Updated EME layouts tests pass Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=178978

Patch Set 1 #

Total comments: 18

Patch Set 2 : createSession() with ArrayBuffer #

Patch Set 3 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+76 lines, -42 lines) Patch
M LayoutTests/media/encrypted-media/encrypted-media-lifetime-reload.html View 1 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/media/encrypted-media/encrypted-media-playback-multiple-sessions.html View 1 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/media/encrypted-media/encrypted-media-playback-setmediakeys-after-src.html View 1 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/media/encrypted-media/encrypted-media-playback-setmediakeys-before-src.html View 1 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/media/encrypted-media/encrypted-media-utils.js View 1 1 chunk +2 lines, -0 lines 0 comments Download
M LayoutTests/media/encrypted-media/encrypted-media-waiting-for-a-key.html View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/modules/encryptedmedia/MediaKeyMessageEvent.h View 1 2 3 chunks +4 lines, -3 lines 0 comments Download
M Source/modules/encryptedmedia/MediaKeyMessageEvent.cpp View 1 2 1 chunk +0 lines, -2 lines 0 comments Download
M Source/modules/encryptedmedia/MediaKeyMessageEvent.idl View 1 chunk +1 line, -1 line 0 comments Download
M Source/modules/encryptedmedia/MediaKeySession.h View 1 2 3 chunks +5 lines, -2 lines 0 comments Download
M Source/modules/encryptedmedia/MediaKeySession.cpp View 1 2 16 chunks +32 lines, -19 lines 0 comments Download
M Source/modules/encryptedmedia/MediaKeySession.idl View 1 chunk +2 lines, -1 line 0 comments Download
M Source/modules/encryptedmedia/MediaKeys.h View 1 2 2 chunks +4 lines, -1 line 0 comments Download
M Source/modules/encryptedmedia/MediaKeys.cpp View 1 2 4 chunks +19 lines, -7 lines 0 comments Download
M Source/modules/encryptedmedia/MediaKeys.idl View 1 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 16 (0 generated)
jrummell
PTAL.
6 years, 5 months ago (2014-07-16 21:40:47 UTC) #1
ddorwin
Thanks. C++ looking good overall. I'll have to re-review the test files after the general ...
6 years, 5 months ago (2014-07-16 22:34:58 UTC) #2
jrummell
Updated so createSession() takes ArrayBuffer as well. https://codereview.chromium.org/397463005/diff/1/LayoutTests/media/encrypted-media/encrypted-media-lifetime-reload.html File LayoutTests/media/encrypted-media/encrypted-media-lifetime-reload.html (right): https://codereview.chromium.org/397463005/diff/1/LayoutTests/media/encrypted-media/encrypted-media-lifetime-reload.html#newcode50 LayoutTests/media/encrypted-media/encrypted-media-lifetime-reload.html:50: var keyId ...
6 years, 5 months ago (2014-07-18 21:56:01 UTC) #3
ddorwin
Thanks. The test changes are much more straightforward. LGTM
6 years, 5 months ago (2014-07-24 22:20:44 UTC) #4
jrummell
The CQ bit was checked by jrummell@chromium.org
6 years, 5 months ago (2014-07-25 20:53:11 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jrummell@chromium.org/397463005/20001
6 years, 5 months ago (2014-07-25 20:53:17 UTC) #6
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 5 months ago (2014-07-25 20:53:36 UTC) #7
commit-bot: I haz the power
Failed to apply patch for Source/modules/encryptedmedia/MediaKeyMessageEvent.cpp: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 5 months ago (2014-07-25 20:53:37 UTC) #8
jrummell
The CQ bit was checked by jrummell@chromium.org
6 years, 5 months ago (2014-07-25 22:37:20 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jrummell@chromium.org/397463005/40001
6 years, 5 months ago (2014-07-25 22:37:57 UTC) #10
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_blink_dbg on tryserver.blink ...
6 years, 5 months ago (2014-07-25 23:54:01 UTC) #11
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 5 months ago (2014-07-26 00:32:51 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: mac_blink_rel on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/mac_blink_rel/builds/17180)
6 years, 5 months ago (2014-07-26 00:32:52 UTC) #13
jrummell
The CQ bit was checked by jrummell@chromium.org
6 years, 5 months ago (2014-07-26 00:40:22 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jrummell@chromium.org/397463005/40001
6 years, 5 months ago (2014-07-26 00:40:51 UTC) #15
commit-bot: I haz the power
6 years, 5 months ago (2014-07-26 05:12:51 UTC) #16
Message was sent while issue was closed.
Change committed as 178978

Powered by Google App Engine
This is Rietveld 408576698