Changeset 225899 in webkit


Ignore:
Timestamp:
Dec 14, 2017 3:43:10 AM (6 years ago)
Author:
commit-queue@webkit.org
Message:

[EME] Add layout test for InitData and InitDataType in CENC encrypted event
https://bugs.webkit.org/show_bug.cgi?id=180430

Patch by Yacine Bandou <yacine.bandou_ext@softathome.com> on 2017-12-14
Reviewed by Xabier Rodriguez-Calvar.

This commit adds new layout tests in order to test the reception of the encrypted CENC
event with an expected initData and initDataType fields.

  • media/content/encrypted/VideoClearKeyCenc.mp4: Added.

This is a simple encrypted video file used for regular playback.
It has been encrypted with BENTO4. https://www.bento4.com/

  • media/content/encrypted/segments/VideoClearKeyCenc-seg-0.mp4: Added.

This is a simple encrypted video fragment used in MSE playback.
It has been fragmented and encrypted with BENTO4. https://www.bento4.com/

  • media/encrypted-media/clearKey/clearKey-encrypted-cenc-event-expected.txt: Added.
  • media/encrypted-media/clearKey/clearKey-encrypted-cenc-event-mse-expected.txt: Added.
  • media/encrypted-media/clearKey/clearKey-encrypted-cenc-event-mse.html: Added.

This is a test with MSE.

  • media/encrypted-media/clearKey/clearKey-encrypted-cenc-event.html: Added.

This is a test with a regular playback.

  • media/encrypted-media/medias-enc.js: Added.

This JavaScrit file lists the encrypted media wich will be used in encrypted-media tests.
It gives all necessary informations about the encrypted media: path of the file or
the path of the segments in MSE case, mimeType, initDataType and the encryption keys.

  • media/media-source/media-source-loader-simple.js: Added.

This JavaScript file provides a simple MSE implementation, reads the segments of the media and appends them
in the appropriate SourceBuffer.

  • platform/gtk/TestExpectations:
  • platform/mac-elcapitan/TestExpectations:
  • platform/mac-wk2/TestExpectations:
  • platform/mac/TestExpectations:
  • platform/wpe/TestExpectations:
Location:
trunk/LayoutTests
Files:
11 added
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r225897 r225899  
     12017-12-14  Yacine Bandou  <yacine.bandou_ext@softathome.com>
     2
     3        [EME] Add layout test for InitData and InitDataType in CENC encrypted event
     4        https://bugs.webkit.org/show_bug.cgi?id=180430
     5
     6        Reviewed by Xabier Rodriguez-Calvar.
     7
     8        This commit adds new layout tests in order to test the reception of the encrypted CENC
     9        event with an expected initData and initDataType fields.
     10
     11        * media/content/encrypted/VideoClearKeyCenc.mp4: Added.
     12            This is a simple encrypted video file used for regular playback.
     13            It has been encrypted with BENTO4. https://www.bento4.com/
     14
     15        * media/content/encrypted/segments/VideoClearKeyCenc-seg-0.mp4: Added.
     16            This is a simple encrypted video fragment used in MSE playback.
     17            It has been fragmented and encrypted with BENTO4. https://www.bento4.com/
     18
     19        * media/encrypted-media/clearKey/clearKey-encrypted-cenc-event-expected.txt: Added.
     20        * media/encrypted-media/clearKey/clearKey-encrypted-cenc-event-mse-expected.txt: Added.
     21        * media/encrypted-media/clearKey/clearKey-encrypted-cenc-event-mse.html: Added.
     22            This is a test with MSE.
     23
     24        * media/encrypted-media/clearKey/clearKey-encrypted-cenc-event.html: Added.
     25            This is a test with a regular playback.
     26
     27        * media/encrypted-media/medias-enc.js: Added.
     28            This JavaScrit file lists the encrypted media wich will be used in encrypted-media tests.
     29            It gives all necessary informations about the encrypted media: path of the file or
     30            the path of the segments in MSE case, mimeType, initDataType and the encryption keys.
     31
     32        * media/media-source/media-source-loader-simple.js: Added.
     33            This JavaScript file provides a simple MSE implementation, reads the segments of the media and appends them
     34            in the appropriate SourceBuffer.
     35
     36        * platform/gtk/TestExpectations:
     37        * platform/mac-elcapitan/TestExpectations:
     38        * platform/mac-wk2/TestExpectations:
     39        * platform/mac/TestExpectations:
     40        * platform/wpe/TestExpectations:
     41
    1422017-12-14  Frederic Wang  <fwang@igalia.com>
    243
  • trunk/LayoutTests/platform/gtk/TestExpectations

    r225846 r225899  
    14061406webkit.org/b/104809 media/track/track-cues-pause-on-exit.html [ Timeout Pass ]
    14071407
     1408webkit.org/b/180071 media/encrypted-media/clearKey/clearKey-encrypted-cenc-event.html [ Failure ]
     1409webkit.org/b/180071 media/encrypted-media/clearKey/clearKey-encrypted-cenc-event-mse.html [ Failure ]
     1410
    14081411# This test also crashes after the FTL merge
    14091412webkit.org/b/106415 webkit.org/b/119255 fast/workers/worker-close-more.html [ Timeout Crash Pass ]
  • trunk/LayoutTests/platform/mac-elcapitan/TestExpectations

    r224139 r225899  
    99media/modern-media-controls/media-controller/media-controller-inline-to-fullscreen-to-pip-to-inline.html [ Skip ]
    1010
     11media/encrypted-media/clearKey/clearKey-encrypted-cenc-event-mse.html [ Failure ]
     12
    1113webkit.org/b/176229 imported/w3c/web-platform-tests/IndexedDB/idbobjectstore-query-exception-order.html [ Pass Failure ]
    1214
  • trunk/LayoutTests/platform/mac-wk2/TestExpectations

    r225886 r225899  
    518518media/video-background-tab-playback.html [ Pass Failure ]
    519519
     520media/encrypted-media/clearKey/clearKey-encrypted-cenc-event-mse.html [ Failure ]
     521
    520522webkit.org/b/140607 http/tests/navigation/navigation-interrupted-by-fragment.html [ Pass Timeout ]
    521523
  • trunk/LayoutTests/platform/mac/TestExpectations

    r225869 r225899  
    13581358media/encrypted-media/mock-MediaKeySession-update.html [ Skip ]
    13591359
     1360media/encrypted-media/clearKey/clearKey-encrypted-cenc-event.html [ Skip ]
     1361
    13601362webkit.org/b/162507 http/tests/media/hls/hls-video-resize.html [ Pass Failure ]
    13611363
  • trunk/LayoutTests/platform/wpe/TestExpectations

    r225846 r225899  
    963963media/encrypted-media/encrypted-media-v2-syntax.html [ Skip ]
    964964
     965webkit.org/b/180071 media/encrypted-media/clearKey/clearKey-encrypted-cenc-event.html [ Failure ]
     966webkit.org/b/180071 media/encrypted-media/clearKey/clearKey-encrypted-cenc-event-mse.html [ Failure ]
     967
    965968webkit.org/b/172815 imported/w3c/i18n/bidi/bidi-plaintext-011.html [ Pass ImageOnlyFailure ]
    966969
Note: See TracChangeset for help on using the changeset viewer.