Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
[WPE] Two clearkey tests failing since r226621
https://bugs.webkit.org/show_bug.cgi?id=181532 Patch by Yacine Bandou <yacine.bandou_ext@softathome.com> on 2018-01-16 Reviewed by Xabier Rodriguez-Calvar. Source/WebCore: Whith a fake initData, we can have a pssh size nul, thus we should check it. We saw this issue in the subtest "initData longer than 64Kb characters" in the clearkey-generate-request-disallowed-input layout test. * platform/encryptedmedia/clearkey/CDMClearKey.cpp: (WebCore::extractKeyidsLocationFromCencInitData): LayoutTests: * platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-generate-request-disallowed-input-expected.txt: * platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-unique-origin-expected.txt: Since r226621 initDataType "cenc" is supported in clearKey, so we should update the expected result of these tests. Canonical link: https://commits.webkit.org/197517@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@226965 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing
with
34 additions
and 1 deletion.
- +11 −0 LayoutTests/ChangeLog
- +3 −0 ...ed/w3c/web-platform-tests/encrypted-media/clearkey-generate-request-disallowed-input-expected.txt
- +2 −1 ...tform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-unique-origin-expected.txt
- +14 −0 Source/WebCore/ChangeLog
- +4 −0 Source/WebCore/platform/encryptedmedia/clearkey/CDMClearKey.cpp
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -1,5 +1,8 @@ | ||
|
||
FAIL org.w3.clearkey, temporary, cenc, initData longer than 64Kb characters assert_equals: expected "TypeError" but got "NotSupportedError" | ||
PASS org.w3.clearkey, temporary, keyids, initData longer than 64Kb characters | ||
FAIL org.w3.clearkey, temporary, cenc, invalid initdata (invalid pssh) assert_equals: expected "TypeError" but got "NotSupportedError" | ||
FAIL org.w3.clearkey, temporary, cenc, invalid initdata (not pssh) assert_equals: expected "TypeError" but got "NotSupportedError" | ||
FAIL org.w3.clearkey, temporary, keyids, invalid initdata (too short key ID) assert_unreached: generateRequest() succeeded unexpectedly Reached unreachable code | ||
FAIL org.w3.clearkey, temporary, keyids, invalid initdata (too long key ID) assert_unreached: generateRequest() succeeded unexpectedly Reached unreachable code | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -1,3 +1,4 @@ | ||
|
||
FAIL Unique origin is unable to create MediaKeys assert_equals: expected "failed" but got "allowed" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters