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

Unified Diff: third_party/WebKit/LayoutTests/media/encrypted-media/encrypted-media-generate-request-disallowed-input.html

Issue 2228213002: EME: Specify the correct size for PSSH boxes in tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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: third_party/WebKit/LayoutTests/media/encrypted-media/encrypted-media-generate-request-disallowed-input.html
diff --git a/third_party/WebKit/LayoutTests/media/encrypted-media/encrypted-media-generate-request-disallowed-input.html b/third_party/WebKit/LayoutTests/media/encrypted-media/encrypted-media-generate-request-disallowed-input.html
index ff73eec3f1e586369896b8bc45a3de8cb4f25c84..a973ac640be884a8b2936ec06ba88d61887b81ec 100644
--- a/third_party/WebKit/LayoutTests/media/encrypted-media/encrypted-media-generate-request-disallowed-input.html
+++ b/third_party/WebKit/LayoutTests/media/encrypted-media/encrypted-media-generate-request-disallowed-input.html
@@ -66,13 +66,13 @@
0x00, 0x00, 0x00, 0x00 // datasize
]);
return test_session('cenc', initData);
- }, 'generateRequest() with invalid pssh data.');
+ }, 'generateRequest() with invalid pssh box size.');
promise_test(function()
{
// Invalid data as type = 'psss'.
var initData = new Uint8Array([
- 0x00, 0x00, 0x00, 0x00, // size = 0
+ 0x00, 0x00, 0x00, 0x20, // size = 0
ddorwin 2016/08/11 00:16:18 The comment was not updated. This is fixed in http
0x70, 0x73, 0x73, 0x73, // 'psss'
0x00, // version = 0
0x00, 0x00, 0x00, // flags
« no previous file with comments | « media/cdm/cenc_utils_unittest.cc ('k') | third_party/WebKit/LayoutTests/media/encrypted-media/encrypted-media-utils.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698