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

Issue 1996863002: media: Use bundled Widevine CDM in encrypted media browser tests (Closed)

Created:
4 years, 7 months ago by xhwang
Modified:
4 years, 7 months ago
CC:
chromium-reviews, markusheintz_, msramek+watch_chromium.org, raymes+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

media: Use bundled Widevine CDM in encrypted media browser tests - Provide option to enable component update in browser tests - Enable component update in encrypted media related browser tests to pick up the bundled Widevine CDM. - Remove code that manually registers Widevine CDM. - Enable more tests that wasn't possible when CDM is manually registered. BUG=613442, 582622, 613581 Committed: https://crrev.com/3be44be552846983cf371256718ce8ec81c565b4 Cr-Commit-Position: refs/heads/master@{#395922}

Patch Set 1 #

Total comments: 1

Patch Set 2 : #

Total comments: 1

Patch Set 3 : #

Total comments: 10

Patch Set 4 : add if-def #

Total comments: 3

Patch Set 5 : new approach #

Total comments: 2

Patch Set 6 : comments addressed #

Unified diffs Side-by-side diffs Delta from patch set Stats (+80 lines, -53 lines) Patch
M chrome/browser/content_settings/content_settings_browsertest.cc View 1 2 3 4 3 chunks +10 lines, -7 lines 0 comments Download
M chrome/browser/media/encrypted_media_browsertest.cc View 1 2 3 4 4 chunks +10 lines, -9 lines 0 comments Download
M chrome/browser/media/encrypted_media_supported_types_browsertest.cc View 1 2 3 4 7 chunks +19 lines, -20 lines 0 comments Download
M chrome/test/base/in_process_browser_test.h View 1 2 3 4 5 chunks +17 lines, -14 lines 0 comments Download
M chrome/test/base/in_process_browser_test.cc View 1 2 3 4 3 chunks +2 lines, -3 lines 0 comments Download
M chrome/test/base/test_launcher_utils.h View 1 2 3 4 5 1 chunk +7 lines, -0 lines 0 comments Download
M chrome/test/base/test_launcher_utils.cc View 1 2 3 4 1 chunk +15 lines, -0 lines 0 comments Download

Messages

Total messages: 65 (24 generated)
xhwang
This is not really used in this CL, but will be necessary for my next ...
4 years, 7 months ago (2016-05-20 05:34:46 UTC) #2
xhwang
https://chromiumcodereview.appspot.com/1996863002/diff/1/chrome/browser/content_settings/content_settings_browsertest.cc File chrome/browser/content_settings/content_settings_browsertest.cc (right): https://chromiumcodereview.appspot.com/1996863002/diff/1/chrome/browser/content_settings/content_settings_browsertest.cc#newcode324 chrome/browser/content_settings/content_settings_browsertest.cc:324: PepperContentSettingsSpecialCasesTest() { enable_component_update(); } This just shows how this ...
4 years, 7 months ago (2016-05-20 05:35:36 UTC) #3
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1996863002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1996863002/1
4 years, 7 months ago (2016-05-20 05:39:57 UTC) #5
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-05-20 06:19:10 UTC) #7
xhwang
This will be the CL to update tests after Widevine CDM is bundled. PTAL https://chromiumcodereview.appspot.com/1996863002/diff/20001/chrome/test/base/in_process_browser_test.cc ...
4 years, 7 months ago (2016-05-20 16:41:22 UTC) #11
ddorwin
https://chromiumcodereview.appspot.com/1996863002/diff/40001/chrome/browser/content_settings/content_settings_browsertest.cc File chrome/browser/content_settings/content_settings_browsertest.cc (right): https://chromiumcodereview.appspot.com/1996863002/diff/40001/chrome/browser/content_settings/content_settings_browsertest.cc#newcode324 chrome/browser/content_settings/content_settings_browsertest.cc:324: PepperContentSettingsSpecialCasesTest() { enable_component_update(); } Ditto with next comment, especially ...
4 years, 7 months ago (2016-05-20 16:56:15 UTC) #12
waffles
lgtm https://codereview.chromium.org/1996863002/diff/40001/chrome/test/base/test_launcher_utils.h File chrome/test/base/test_launcher_utils.h (right): https://codereview.chromium.org/1996863002/diff/40001/chrome/test/base/test_launcher_utils.h#newcode23 chrome/test/base/test_launcher_utils.h:23: bool enable_component_update = false); Not sure how people ...
4 years, 7 months ago (2016-05-20 20:02:54 UTC) #14
xhwang
https://chromiumcodereview.appspot.com/1996863002/diff/40001/chrome/browser/content_settings/content_settings_browsertest.cc File chrome/browser/content_settings/content_settings_browsertest.cc (right): https://chromiumcodereview.appspot.com/1996863002/diff/40001/chrome/browser/content_settings/content_settings_browsertest.cc#newcode324 chrome/browser/content_settings/content_settings_browsertest.cc:324: PepperContentSettingsSpecialCasesTest() { enable_component_update(); } On 2016/05/20 16:56:15, ddorwin wrote: ...
4 years, 7 months ago (2016-05-20 21:23:28 UTC) #15
ddorwin
lgtm https://chromiumcodereview.appspot.com/1996863002/diff/40001/chrome/browser/media/encrypted_media_supported_types_browsertest.cc File chrome/browser/media/encrypted_media_supported_types_browsertest.cc (right): https://chromiumcodereview.appspot.com/1996863002/diff/40001/chrome/browser/media/encrypted_media_supported_types_browsertest.cc#newcode675 chrome/browser/media/encrypted_media_supported_types_browsertest.cc:675: #if !defined(WIDEVINE_CDM_AVAILABLE) On 2016/05/20 21:23:28, xhwang wrote: > ...
4 years, 7 months ago (2016-05-20 21:27:55 UTC) #16
xhwang
phajdan.jr@chromium.org: Please OWNERS review chrome/test/* changes.
4 years, 7 months ago (2016-05-20 23:52:28 UTC) #18
xhwang
thestig: Please OWNERS review chrome/browser changes.
4 years, 7 months ago (2016-05-20 23:53:05 UTC) #20
Lei Zhang
lgtm
4 years, 7 months ago (2016-05-20 23:57:21 UTC) #21
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1996863002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1996863002/60001
4 years, 7 months ago (2016-05-23 14:48:33 UTC) #23
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-05-23 15:52:28 UTC) #25
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1996863002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1996863002/60001
4 years, 7 months ago (2016-05-23 21:26:10 UTC) #27
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-05-23 21:30:12 UTC) #29
xhwang
TBRing phajdan.jr@chromium.org for minor changes in chrome/test/*
4 years, 7 months ago (2016-05-24 17:43:53 UTC) #31
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1996863002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1996863002/60001
4 years, 7 months ago (2016-05-24 17:44:58 UTC) #33
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-05-24 19:59:32 UTC) #35
Paweł Hajdan Jr.
I'm attending a workshop that makes me respond slower. I prefer this change not to ...
4 years, 7 months ago (2016-05-24 20:45:40 UTC) #36
xhwang
https://codereview.chromium.org/1996863002/diff/60001/chrome/test/base/in_process_browser_test.h File chrome/test/base/in_process_browser_test.h (right): https://codereview.chromium.org/1996863002/diff/60001/chrome/test/base/in_process_browser_test.h#newcode230 chrome/test/base/in_process_browser_test.h:230: void PrepareTestCommandLine(base::CommandLine* command_line); On 2016/05/24 20:45:40, Paweł Hajdan Jr. ...
4 years, 7 months ago (2016-05-24 21:16:30 UTC) #38
xhwang
On 2016/05/24 21:16:30, xhwang wrote: > https://codereview.chromium.org/1996863002/diff/60001/chrome/test/base/in_process_browser_test.h > File chrome/test/base/in_process_browser_test.h (right): > > https://codereview.chromium.org/1996863002/diff/60001/chrome/test/base/in_process_browser_test.h#newcode230 > ...
4 years, 7 months ago (2016-05-24 21:18:10 UTC) #39
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1996863002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1996863002/80001
4 years, 7 months ago (2016-05-25 06:42:26 UTC) #41
xhwang
Paweł Hajdan Jr.: PTAL again! https://chromiumcodereview.appspot.com/1996863002/diff/60001/chrome/test/base/in_process_browser_test.h File chrome/test/base/in_process_browser_test.h (right): https://chromiumcodereview.appspot.com/1996863002/diff/60001/chrome/test/base/in_process_browser_test.h#newcode230 chrome/test/base/in_process_browser_test.h:230: void PrepareTestCommandLine(base::CommandLine* command_line); On ...
4 years, 7 months ago (2016-05-25 06:42:38 UTC) #42
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-05-25 08:03:13 UTC) #44
commit-bot: I haz the power
Dry run: None
4 years, 7 months ago (2016-05-25 08:03:24 UTC) #45
xhwang
On 2016/05/25 08:03:24, commit-bot: I haz the power wrote: > Dry run: None Actually I ...
4 years, 7 months ago (2016-05-25 16:05:14 UTC) #46
Paweł Hajdan Jr.
LGTM w/comment https://codereview.chromium.org/1996863002/diff/80001/chrome/test/base/test_launcher_utils.cc File chrome/test/base/test_launcher_utils.cc (right): https://codereview.chromium.org/1996863002/diff/80001/chrome/test/base/test_launcher_utils.cc#newcode75 chrome/test/base/test_launcher_utils.cc:75: void RemoveCommandLineSwitch(const base::CommandLine& in_command_line, The base place ...
4 years, 7 months ago (2016-05-25 16:15:12 UTC) #47
xhwang
comments addressed
4 years, 7 months ago (2016-05-25 16:22:45 UTC) #48
xhwang
https://codereview.chromium.org/1996863002/diff/80001/chrome/test/base/test_launcher_utils.cc File chrome/test/base/test_launcher_utils.cc (right): https://codereview.chromium.org/1996863002/diff/80001/chrome/test/base/test_launcher_utils.cc#newcode75 chrome/test/base/test_launcher_utils.cc:75: void RemoveCommandLineSwitch(const base::CommandLine& in_command_line, On 2016/05/25 16:15:11, Paweł Hajdan ...
4 years, 7 months ago (2016-05-25 16:23:14 UTC) #49
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1996863002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1996863002/100001
4 years, 7 months ago (2016-05-25 16:23:57 UTC) #52
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 7 months ago (2016-05-25 17:25:02 UTC) #54
commit-bot: I haz the power
Patchset 6 (id:??) landed as https://crrev.com/3be44be552846983cf371256718ce8ec81c565b4 Cr-Commit-Position: refs/heads/master@{#395922}
4 years, 7 months ago (2016-05-25 17:27:00 UTC) #56
Nico
The clang/win bots doing official builds have been failing browser_tests (widevine-related stuff) after this went ...
4 years, 7 months ago (2016-05-26 14:56:31 UTC) #58
xhwang
On 2016/05/26 14:56:31, Nico wrote: > The clang/win bots doing official builds have been failing ...
4 years, 7 months ago (2016-05-26 15:56:00 UTC) #59
Nico
On 2016/05/26 15:56:00, xhwang wrote: > On 2016/05/26 14:56:31, Nico wrote: > > The clang/win ...
4 years, 7 months ago (2016-05-26 17:56:10 UTC) #60
xhwang
On 2016/05/26 17:56:10, Nico wrote: > On 2016/05/26 15:56:00, xhwang wrote: > > On 2016/05/26 ...
4 years, 7 months ago (2016-05-26 18:50:30 UTC) #61
Nico
I don't know of public bots that build official and run tests (hence the "guessing" ...
4 years, 7 months ago (2016-05-26 18:53:03 UTC) #62
xhwang
On 2016/05/26 18:53:03, Nico wrote: > I don't know of public bots that build official ...
4 years, 7 months ago (2016-05-26 18:58:25 UTC) #63
xhwang
On 2016/05/26 18:58:25, xhwang wrote: > On 2016/05/26 18:53:03, Nico wrote: > > I don't ...
4 years, 7 months ago (2016-05-26 20:06:15 UTC) #64
Nico
4 years, 7 months ago (2016-05-26 20:09:26 UTC) #65
Message was sent while issue was closed.
happens on both the 32-bit and the 64-bit official bot.

Powered by Google App Engine
This is Rietveld 408576698