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 634243005: Improve reliability of EME tests (Closed)

Created:
6 years, 2 months ago by jrummell
Modified:
6 years, 2 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

Improve reliability of EME tests The logs for these EME tests expect all the "onencrypted" events to occur before the "message" event is received. Modify the tests to create the session on the second event rather than the first, to avoid the "message" event occasionally happening before the second "onencrypted" event". BUG=407993 TEST=modified tests still pass Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=183833

Patch Set 1 #

Total comments: 6

Patch Set 2 : Update comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+32 lines, -19 lines) Patch
M LayoutTests/media/encrypted-media/encrypted-media-lifetime-reload.html View 1 2 chunks +8 lines, -5 lines 0 comments Download
M LayoutTests/media/encrypted-media/encrypted-media-playback-setmediakeys-after-src.html View 1 2 chunks +8 lines, -5 lines 0 comments Download
M LayoutTests/media/encrypted-media/encrypted-media-playback-setmediakeys-before-src.html View 1 2 chunks +8 lines, -4 lines 0 comments Download
M LayoutTests/media/encrypted-media/encrypted-media-waiting-for-a-key.html View 1 2 chunks +8 lines, -5 lines 0 comments Download

Messages

Total messages: 9 (2 generated)
jrummell
PTAL. Fixes one set of tests for the EVENT(...) messages occurring in different orders.
6 years, 2 months ago (2014-10-14 17:48:24 UTC) #2
sandersd (OOO until July 31)
lgtm. May be worth changing the comments to say audio/video so that it's clear why ...
6 years, 2 months ago (2014-10-14 18:10:55 UTC) #3
ddorwin
https://codereview.chromium.org/634243005/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/634243005/diff/1/LayoutTests/media/encrypted-media/encrypted-media-lifetime-reload.html#newcode31 LayoutTests/media/encrypted-media/encrypted-media-lifetime-reload.html:31: // create a shared session once. To avoid timing ...
6 years, 2 months ago (2014-10-15 23:36:20 UTC) #4
jrummell
Updated the comments. https://codereview.chromium.org/634243005/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/634243005/diff/1/LayoutTests/media/encrypted-media/encrypted-media-lifetime-reload.html#newcode31 LayoutTests/media/encrypted-media/encrypted-media-lifetime-reload.html:31: // create a shared session once. ...
6 years, 2 months ago (2014-10-16 00:43:45 UTC) #5
ddorwin
lgtm
6 years, 2 months ago (2014-10-16 15:59:20 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/634243005/20001
6 years, 2 months ago (2014-10-16 17:23:53 UTC) #8
commit-bot: I haz the power
6 years, 2 months ago (2014-10-16 19:15:29 UTC) #9
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as 183833

Powered by Google App Engine
This is Rietveld 408576698