Bug 138307

Summary: [EFL] media/encrypted-media/encrypted-media-can-play-type.html fails
Product: WebKit Reporter: Éva Balázsfalvi <evab.u-szeged>
Component: Tools / TestsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED WONTFIX    
Severity: Normal CC: mcatanzaro
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   

Éva Balázsfalvi
Reported 2014-11-03 04:10:54 PST
--- /home/eva/webkit/WebKit/WebKitBuild/Release/layout-test-results/media/encrypted-media/encrypted-media-can-play-type-expected.txt +++ /home/eva/webkit/WebKit/WebKitBuild/Release/layout-test-results/media/encrypted-media/encrypted-media-can-play-type-actual.txt @@ -1,3 +1,4 @@ + Test Encrypted Media extension of HTMLMediaElement canPlayType() method. The test is designed to pass with any implementation regardless of supported media types and relies on the expected log to detect the expected results for some types. To get sufficient coverage, it is important that an implementation support clearkey encryption of at least one of the types below. @@ -33,24 +34,24 @@ EXPECTED (video.canPlayType('video/blahblah', 'com.example.invalid') == '') OK Empty key system parameters should not affect the result of video/mp4 types. -Result of video.canPlayType('video/mp4; Codecs="avc1.4D400C"'): '' -EXPECTED (video.canPlayType('video/mp4; Codecs="avc1.4D400C"', '') == '') OK -EXPECTED (video.canPlayType('video/mp4; Codecs="avc1.4D400C"', null) == '') OK -EXPECTED (video.canPlayType('video/mp4; Codecs="avc1.4D400C"', undefined) == '') OK +Result of video.canPlayType('video/mp4; Codecs="avc1.4D400C"'): 'probably' +EXPECTED (video.canPlayType('video/mp4; Codecs="avc1.4D400C"', '') == 'probably') OK +EXPECTED (video.canPlayType('video/mp4; Codecs="avc1.4D400C"', null) == 'probably') OK +EXPECTED (video.canPlayType('video/mp4; Codecs="avc1.4D400C"', undefined) == 'probably') OK There are currently no implementations supporting encryption of video/mp4. -EXPECTED (video.canPlayType('video/mp4; Codecs="avc1.4D400C"', 'webkit-org.w3.clearkey') == '') OK -EXPECTED (video.canPlayType('video/mp4; Codecs="avc1.4D400C"', 'WeBkIt-OrG.W3.ClEaRkEy') == '') OK -EXPECTED (video.canPlayType('video/mp4; Codecs="avc1.4D400C"', 'com.example.invalid') == '') OK +EXPECTED (video.canPlayType('video/mp4; Codecs="avc1.4D400C"', 'webkit-org.w3.clearkey') == ''), OBSERVED 'probably' FAIL +EXPECTED (video.canPlayType('video/mp4; Codecs="avc1.4D400C"', 'WeBkIt-OrG.W3.ClEaRkEy') == ''), OBSERVED 'probably' FAIL +EXPECTED (video.canPlayType('video/mp4; Codecs="avc1.4D400C"', 'com.example.invalid') == ''), OBSERVED 'probably' FAIL Empty key system parameters should not affect the result of audio/mpeg types. -Result of video.canPlayType('audio/mpeg'): '' -EXPECTED (video.canPlayType('audio/mpeg', '') == '') OK -EXPECTED (video.canPlayType('audio/mpeg', null) == '') OK -EXPECTED (video.canPlayType('audio/mpeg', undefined) == '') OK +Result of video.canPlayType('audio/mpeg'): 'maybe' +EXPECTED (video.canPlayType('audio/mpeg', '') == 'maybe') OK +EXPECTED (video.canPlayType('audio/mpeg', null) == 'maybe') OK +EXPECTED (video.canPlayType('audio/mpeg', undefined) == 'maybe') OK There are currently no implementations supporting encryption of audio/mpeg. -EXPECTED (video.canPlayType('audio/mpeg', 'webkit-org.w3.clearkey') == '') OK -EXPECTED (video.canPlayType('audio/mpeg', 'WeBkIt-OrG.W3.ClEaRkEy') == '') OK -EXPECTED (video.canPlayType('audio/mpeg', 'com.example.invalid') == '') OK +EXPECTED (video.canPlayType('audio/mpeg', 'webkit-org.w3.clearkey') == ''), OBSERVED 'maybe' FAIL +EXPECTED (video.canPlayType('audio/mpeg', 'WeBkIt-OrG.W3.ClEaRkEy') == ''), OBSERVED 'maybe' FAIL +EXPECTED (video.canPlayType('audio/mpeg', 'com.example.invalid') == ''), OBSERVED 'maybe' FAIL Empty key system parameters should not affect the result of audio/wav types. Result of video.canPlayType('audio/wav'): 'maybe' @@ -58,9 +59,9 @@ EXPECTED (video.canPlayType('audio/wav', null) == 'maybe') OK EXPECTED (video.canPlayType('audio/wav', undefined) == 'maybe') OK There are currently no implementations supporting encryption of audio/wav. -EXPECTED (video.canPlayType('audio/wav', 'webkit-org.w3.clearkey') == '') OK -EXPECTED (video.canPlayType('audio/wav', 'WeBkIt-OrG.W3.ClEaRkEy') == '') OK -EXPECTED (video.canPlayType('audio/wav', 'com.example.invalid') == '') OK +EXPECTED (video.canPlayType('audio/wav', 'webkit-org.w3.clearkey') == ''), OBSERVED 'maybe' FAIL +EXPECTED (video.canPlayType('audio/wav', 'WeBkIt-OrG.W3.ClEaRkEy') == ''), OBSERVED 'maybe' FAIL +EXPECTED (video.canPlayType('audio/wav', 'com.example.invalid') == ''), OBSERVED 'maybe' FAIL Empty key system parameters should not affect the result of video/webm types. Result of video.canPlayType('video/webm'): 'maybe' @@ -70,6 +71,6 @@ All implementations that support WebM and Encrypted Media support encrypted WebM. EXPECTED (video.canPlayType('video/webm', 'webkit-org.w3.clearkey') == 'maybe') OK EXPECTED (video.canPlayType('video/webm', 'WeBkIt-OrG.W3.ClEaRkEy') == 'maybe') OK -EXPECTED (video.canPlayType('video/webm', 'com.example.invalid') == '') OK +EXPECTED (video.canPlayType('video/webm', 'com.example.invalid') == ''), OBSERVED 'maybe' FAIL END OF TEST
Attachments
Michael Catanzaro
Comment 1 2017-03-11 10:35:28 PST
Closing this bug because the EFL port has been removed from trunk. If you feel this bug applies to a different upstream WebKit port and was closed in error, please either update the title and reopen the bug, or leave a comment to request this.
Note You need to log in before you can comment on or make changes to this bug.