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

Issue 1761603002: media: Handle "encrypted" event in pipeline_integration_fuzzertest. (Closed)

Created:
4 years, 9 months ago by xhwang
Modified:
4 years, 9 months ago
Reviewers:
DaleCurtis, ddorwin
CC:
chromium-reviews, feature-media-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

media: Handle "encrypted" event in pipeline_integration_fuzzertest. Set the EncryptedMediaInitDataCB to handle "encrypted" event. In the callback we'll simply stop the test and error out. BUG=584119 TEST=No more CHECK fire. Committed: https://crrev.com/b7fa6915f0e6bef0cd0d55e6da203e0c7f921efe Cr-Commit-Position: refs/heads/master@{#379101}

Patch Set 1 #

Total comments: 5

Patch Set 2 : comments addressed #

Total comments: 1

Patch Set 3 : rebase only #

Total comments: 6

Patch Set 4 : comments addressed #

Total comments: 2

Patch Set 5 : comments addressed #

Unified diffs Side-by-side diffs Delta from patch set Stats (+37 lines, -5 lines) Patch
M media/test/pipeline_integration_fuzzertest.cc View 1 2 3 4 2 chunks +21 lines, -0 lines 0 comments Download
M media/test/pipeline_integration_test_base.h View 1 2 3 3 chunks +11 lines, -5 lines 0 comments Download
M media/test/pipeline_integration_test_base.cc View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 28 (9 generated)
xhwang
PTAL
4 years, 9 months ago (2016-03-02 21:34:14 UTC) #3
ddorwin
It's not clear why this is a problem. Are there platforms or upcoming tests that ...
4 years, 9 months ago (2016-03-02 21:42:12 UTC) #5
xhwang
comment only https://chromiumcodereview.appspot.com/1761603002/diff/1/media/test/pipeline_integration_test_base.cc File media/test/pipeline_integration_test_base.cc (right): https://chromiumcodereview.appspot.com/1761603002/diff/1/media/test/pipeline_integration_test_base.cc#newcode78 media/test/pipeline_integration_test_base.cc:78: if (encrypted_media_init_data_cb_.is_null()) { On 2016/03/02 21:42:12, ddorwin ...
4 years, 9 months ago (2016-03-02 23:22:41 UTC) #6
xhwang
Sorry it should be "otherwise the test will timeout".
4 years, 9 months ago (2016-03-02 23:25:21 UTC) #7
DaleCurtis
Defer to David since he has opinions here :) lgtm otherwise. https://chromiumcodereview.appspot.com/1761603002/diff/1/media/test/pipeline_integration_test_base.cc File media/test/pipeline_integration_test_base.cc (right): ...
4 years, 9 months ago (2016-03-03 00:17:59 UTC) #8
xhwang
Per offline discussion with ddorwin. I'll try to move the code added to the fuzzer ...
4 years, 9 months ago (2016-03-03 00:38:47 UTC) #9
xhwang
comments addressed
4 years, 9 months ago (2016-03-03 06:17:17 UTC) #10
xhwang
PTAL again! https://chromiumcodereview.appspot.com/1761603002/diff/20001/media/test/pipeline_integration_test_base.h File media/test/pipeline_integration_test_base.h (right): https://chromiumcodereview.appspot.com/1761603002/diff/20001/media/test/pipeline_integration_test_base.h#newcode95 media/test/pipeline_integration_test_base.h:95: I moved these to "public" so that ...
4 years, 9 months ago (2016-03-03 06:23:42 UTC) #13
xhwang
rebase only
4 years, 9 months ago (2016-03-03 17:29:10 UTC) #14
ddorwin
Thanks for changing the approach! LGTM with comments. https://chromiumcodereview.appspot.com/1761603002/diff/40001/media/test/pipeline_integration_fuzzertest.cc File media/test/pipeline_integration_fuzzertest.cc (right): https://chromiumcodereview.appspot.com/1761603002/diff/40001/media/test/pipeline_integration_fuzzertest.cc#newcode22 media/test/pipeline_integration_fuzzertest.cc:22: test->OnError(media::PIPELINE_ERROR_INITIALIZATION_FAILED); ...
4 years, 9 months ago (2016-03-03 17:47:47 UTC) #15
xhwang
comments addressed
4 years, 9 months ago (2016-03-03 19:40:19 UTC) #16
xhwang
https://chromiumcodereview.appspot.com/1761603002/diff/40001/media/test/pipeline_integration_fuzzertest.cc File media/test/pipeline_integration_fuzzertest.cc (right): https://chromiumcodereview.appspot.com/1761603002/diff/40001/media/test/pipeline_integration_fuzzertest.cc#newcode22 media/test/pipeline_integration_fuzzertest.cc:22: test->OnError(media::PIPELINE_ERROR_INITIALIZATION_FAILED); On 2016/03/03 17:47:47, ddorwin wrote: > LOG(WARNING) with ...
4 years, 9 months ago (2016-03-03 19:41:32 UTC) #17
ddorwin
https://chromiumcodereview.appspot.com/1761603002/diff/40001/media/test/pipeline_integration_fuzzertest.cc File media/test/pipeline_integration_fuzzertest.cc (right): https://chromiumcodereview.appspot.com/1761603002/diff/40001/media/test/pipeline_integration_fuzzertest.cc#newcode22 media/test/pipeline_integration_fuzzertest.cc:22: test->OnError(media::PIPELINE_ERROR_INITIALIZATION_FAILED); On 2016/03/03 19:41:32, xhwang wrote: > On 2016/03/03 ...
4 years, 9 months ago (2016-03-03 19:46:21 UTC) #18
xhwang
comments addressed
4 years, 9 months ago (2016-03-03 21:13:05 UTC) #19
xhwang
Thanks for the comment. Please take a look again. https://chromiumcodereview.appspot.com/1761603002/diff/40001/media/test/pipeline_integration_fuzzertest.cc File media/test/pipeline_integration_fuzzertest.cc (right): https://chromiumcodereview.appspot.com/1761603002/diff/40001/media/test/pipeline_integration_fuzzertest.cc#newcode22 media/test/pipeline_integration_fuzzertest.cc:22: ...
4 years, 9 months ago (2016-03-03 21:13:31 UTC) #20
ddorwin
lgtm
4 years, 9 months ago (2016-03-03 21:16:02 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1761603002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1761603002/80001
4 years, 9 months ago (2016-03-03 21:17:02 UTC) #24
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 9 months ago (2016-03-03 21:50:55 UTC) #26
commit-bot: I haz the power
4 years, 9 months ago (2016-03-03 21:52:18 UTC) #28
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/b7fa6915f0e6bef0cd0d55e6da203e0c7f921efe
Cr-Commit-Position: refs/heads/master@{#379101}

Powered by Google App Engine
This is Rietveld 408576698