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

Unified Diff: media/test/data/eme_player_js/clearkey_player.js

Issue 2426813002: EME: Close existing sessions on CDM failure (Closed)
Patch Set: rename result (+rebase) Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « media/mojo/clients/mojo_cdm.cc ('k') | media/test/data/eme_player_js/globals.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/test/data/eme_player_js/clearkey_player.js
diff --git a/media/test/data/eme_player_js/clearkey_player.js b/media/test/data/eme_player_js/clearkey_player.js
index 369a6ab37433d4ca3f12273a3ca34c0f466d2187..05cab2f013b41f46c8fe9d937599a82c77ec196a 100644
--- a/media/test/data/eme_player_js/clearkey_player.js
+++ b/media/test/data/eme_player_js/clearkey_player.js
@@ -27,7 +27,7 @@ ClearKeyPlayer.prototype.onMessage = function(message) {
message.target.update(jwkSet).catch(function(error) {
// Ignore the error if a crash is expected. This ensures that the decoder
// actually detects and reports the error.
- if (this.testConfig.keySystem != 'org.chromium.externalclearkey.crash') {
+ if (this.testConfig.keySystem != CRASH_TEST_KEYSYSTEM) {
Utils.failTest(error, EME_UPDATE_FAILED);
}
});
« no previous file with comments | « media/mojo/clients/mojo_cdm.cc ('k') | media/test/data/eme_player_js/globals.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698