[EME] Add layout test for InitData and InitDataType in WebM encrypted event
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 4 Sep 2018 10:27:20 +0000 (10:27 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 4 Sep 2018 10:27:20 +0000 (10:27 +0000)
commitc550ce41b0d7548af31bb2e2859bbefc9fdc8210
tree82aff8fdd40199fc23e1522f6816a3772b21ba0e
parent535d8b71d84d864666382b5864512394ce41c53c
[EME] Add layout test for InitData and InitDataType in WebM encrypted event
https://bugs.webkit.org/show_bug.cgi?id=189196

Patch by Yacine Bandou <yacine.bandou@softathome.com> on 2018-09-04
Reviewed by Xabier Rodriguez-Calvar.

This commit adds a new layoutTest in order to test the reception of the encrypted WebM
event with an expected initData and initDataType fields.

* media/content/encrypted/VideoClearKeyWebM.webm: Added.
    This is a simple encrypted video.
    It has been encrypted with webm_crypt see https://github.com/webmproject/webm-tools.
    #webm_crypt  -i VideoWebM.webm -audio false -video true -video_options base_file=bear.key,content_id="0123456789012345" -o VideoClearKeyWebM.webm
* media/encrypted-media/clearKey/clearKey-encrypted-webm-event-mse-expected.txt: Added.
* media/encrypted-media/clearKey/clearKey-encrypted-webm-event-mse.html: Added.
* media/encrypted-media/medias-enc.js:
* platform/gtk/TestExpectations:
* platform/mac/TestExpectations:
* platform/wpe/TestExpectations:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@235609 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/media/content/encrypted/VideoClearKeyWebM.webm [new file with mode: 0644]
LayoutTests/media/encrypted-media/clearKey/clearKey-encrypted-webm-event-mse-expected.txt [new file with mode: 0644]
LayoutTests/media/encrypted-media/clearKey/clearKey-encrypted-webm-event-mse.html [new file with mode: 0644]
LayoutTests/media/encrypted-media/medias-enc.js
LayoutTests/platform/gtk/TestExpectations
LayoutTests/platform/mac/TestExpectations
LayoutTests/platform/wpe/TestExpectations