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

Unified Diff: chrome/test/data/media/eme_player_js/widevine_player.js

Issue 405733003: Update browser tests to support upcoming EME parameter type changes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 5 months 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
Index: chrome/test/data/media/eme_player_js/widevine_player.js
diff --git a/chrome/test/data/media/eme_player_js/widevine_player.js b/chrome/test/data/media/eme_player_js/widevine_player.js
index 11e8ec8607d8701544e1aff2ad5abfb875594636..95483ec12c44d24ffd0e9912bfc9d6d973f6f1ac 100644
--- a/chrome/test/data/media/eme_player_js/widevine_player.js
+++ b/chrome/test/data/media/eme_player_js/widevine_player.js
@@ -32,7 +32,10 @@ WidevinePlayer.prototype.onMessage = function(message) {
}
}
- Utils.sendRequest('POST', 'arraybuffer', message.message,
- this.testConfig.licenseServerURL, onSuccess,
+ Utils.sendRequest('POST',
+ 'arraybuffer',
+ Utils.convertToUint8Array(message.message),
ddorwin 2014/07/20 22:35:05 I'm offline, so I can't see the rest. Does send re
jrummell 2014/07/23 22:30:06 According to https://developer.mozilla.org/en-US/d
+ this.testConfig.licenseServerURL,
+ onSuccess,
this.testConfig.forceInvalidResponse);
};

Powered by Google App Engine
This is Rietveld 408576698