[WPE] Enable ENCRYPTED_MEDIA for build-webkit builds
authorzandobersek@gmail.com <zandobersek@gmail.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 9 Jun 2017 09:09:15 +0000 (09:09 +0000)
committerzandobersek@gmail.com <zandobersek@gmail.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 9 Jun 2017 09:09:15 +0000 (09:09 +0000)
https://bugs.webkit.org/show_bug.cgi?id=173103

Reviewed by Xabier Rodriguez-Calvar.

.:

* Source/cmake/OptionsWPE.cmake: Expose the ENABLE_ENCRYPTED_MEDIA
configuration option, keeping it disabled by default.

LayoutTests/imported/w3c:

* web-platform-tests/encrypted-media/idlharness-expected.txt:
Update the idlharness.html baseline. All the test cases pass.

Source/WebCore:

* Modules/encryptedmedia/CDM.cpp:
(WebCore::CDM::getSupportedCapabilitiesForAudioVideoType):
Pass the ParsedContentType's mime type string to the explicit ContentType
constructor and assign that to the MediaEngineSupportParameters' type
member.

Tools:

* Scripts/webkitperl/FeatureList.pm: Enable ENCRYPTED_MEDIA flag
when building the WPE port through build-webkit.

LayoutTests:

Enable the imported W3C tests covering Encrypted Media API for the WPE port,
but only tests that use the ClearKey key system. WPE-specific baselines for
those tests are also added, despite the test cases universally failing. This
will allow us to spot any change in behavior that's introduced.

* platform/wpe/TestExpectations: Skip tests that test PlayReady or Widevine key systems.
* platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-check-initdata-type-expected.txt: Added.
* platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-events-expected.txt: Added.
* platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-events-session-closed-event-expected.txt: Added.
* platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-generate-request-disallowed-input-expected.txt: Added.
* platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-invalid-license-expected.txt: Added.
* platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-keystatuses-expected.txt: Added.
* platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-keystatuses-multiple-sessions-expected.txt: Added.
* platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-destroy-persistent-license-expected.txt: Added.
* platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-persistent-license-events-expected.txt: Added.
* platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-persistent-license-expected.txt: Added.
* platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-persistent-usage-record-events-expected.txt: Added.
* platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-persistent-usage-record-expected.txt: Added.
* platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-retrieve-destroy-persistent-license-expected.txt: Added.
* platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-retrieve-persistent-license-expected.txt: Added.
* platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-retrieve-persistent-usage-record-expected.txt: Added.
* platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-temporary-clear-encrypted-expected.txt: Added.
* platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-temporary-encrypted-clear-expected.txt: Added.
* platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-temporary-encrypted-clear-sources-expected.txt: Added.
* platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-temporary-events-expected.txt: Added.
* platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-temporary-expected.txt: Added.
* platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-temporary-multikey-expected.txt: Added.
* platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-temporary-multikey-sequential-expected.txt: Added.
* platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-temporary-multikey-sequential-readyState-expected.txt: Added.
* platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-temporary-multisession-expected.txt: Added.
* platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-temporary-setMediaKeys-after-src-expected.txt: Added.
* platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-temporary-setMediaKeys-after-update-expected.txt: Added.
* platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-temporary-setMediaKeys-immediately-expected.txt: Added.
* platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-temporary-setMediaKeys-onencrypted-expected.txt: Added.
* platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-temporary-two-videos-expected.txt: Added.
* platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-temporary-waitingforkey-expected.txt: Added.
* platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-requestmediakeysystemaccess-expected.txt: Added.
* platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-reset-src-after-setmediakeys-expected.txt: Added.
* platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-setmediakeys-again-after-playback-expected.txt: Added.
* platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-setmediakeys-again-after-resetting-src-expected.txt: Added.
* platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-setmediakeys-at-same-time-expected.txt: Added.
* platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-setmediakeys-expected.txt: Added.
* platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-setmediakeys-multiple-times-with-different-mediakeys-expected.txt: Added.
* platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-setmediakeys-multiple-times-with-the-same-mediakeys-expected.txt: Added.
* platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-setmediakeys-to-multiple-video-elements-expected.txt: Added.
* platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-syntax-mediakeys-expected.txt: Added.
* platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-syntax-mediakeysession-expected.txt: Added.
* platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-syntax-mediakeysystemaccess-expected.txt: Added.
* platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-unique-origin-expected.txt: Added.
* platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-update-disallowed-input-expected.txt: Added.
* platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-waiting-for-a-key-expected.txt: Added.
* platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-not-callable-after-createsession-expected.txt: Added.
* platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-update-non-ascii-input-expected.txt: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@217973 268f45cc-cd09-0410-ab3c-d52691b4dbfc

57 files changed:
ChangeLog
LayoutTests/ChangeLog
LayoutTests/imported/w3c/ChangeLog
LayoutTests/imported/w3c/web-platform-tests/encrypted-media/idlharness-expected.txt
LayoutTests/platform/wpe/TestExpectations
LayoutTests/platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-check-initdata-type-expected.txt [new file with mode: 0644]
LayoutTests/platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-events-expected.txt [new file with mode: 0644]
LayoutTests/platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-events-session-closed-event-expected.txt [new file with mode: 0644]
LayoutTests/platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-generate-request-disallowed-input-expected.txt [new file with mode: 0644]
LayoutTests/platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-invalid-license-expected.txt [new file with mode: 0644]
LayoutTests/platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-keystatuses-expected.txt [new file with mode: 0644]
LayoutTests/platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-keystatuses-multiple-sessions-expected.txt [new file with mode: 0644]
LayoutTests/platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-destroy-persistent-license-expected.txt [new file with mode: 0644]
LayoutTests/platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-persistent-license-events-expected.txt [new file with mode: 0644]
LayoutTests/platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-persistent-license-expected.txt [new file with mode: 0644]
LayoutTests/platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-persistent-usage-record-events-expected.txt [new file with mode: 0644]
LayoutTests/platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-persistent-usage-record-expected.txt [new file with mode: 0644]
LayoutTests/platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-retrieve-destroy-persistent-license-expected.txt [new file with mode: 0644]
LayoutTests/platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-retrieve-persistent-license-expected.txt [new file with mode: 0644]
LayoutTests/platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-retrieve-persistent-usage-record-expected.txt [new file with mode: 0644]
LayoutTests/platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-temporary-clear-encrypted-expected.txt [new file with mode: 0644]
LayoutTests/platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-temporary-encrypted-clear-expected.txt [new file with mode: 0644]
LayoutTests/platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-temporary-encrypted-clear-sources-expected.txt [new file with mode: 0644]
LayoutTests/platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-temporary-events-expected.txt [new file with mode: 0644]
LayoutTests/platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-temporary-expected.txt [new file with mode: 0644]
LayoutTests/platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-temporary-multikey-expected.txt [new file with mode: 0644]
LayoutTests/platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-temporary-multikey-sequential-expected.txt [new file with mode: 0644]
LayoutTests/platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-temporary-multikey-sequential-readyState-expected.txt [new file with mode: 0644]
LayoutTests/platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-temporary-multisession-expected.txt [new file with mode: 0644]
LayoutTests/platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-temporary-setMediaKeys-after-src-expected.txt [new file with mode: 0644]
LayoutTests/platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-temporary-setMediaKeys-after-update-expected.txt [new file with mode: 0644]
LayoutTests/platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-temporary-setMediaKeys-immediately-expected.txt [new file with mode: 0644]
LayoutTests/platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-temporary-setMediaKeys-onencrypted-expected.txt [new file with mode: 0644]
LayoutTests/platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-temporary-two-videos-expected.txt [new file with mode: 0644]
LayoutTests/platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-temporary-waitingforkey-expected.txt [new file with mode: 0644]
LayoutTests/platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-requestmediakeysystemaccess-expected.txt [new file with mode: 0644]
LayoutTests/platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-reset-src-after-setmediakeys-expected.txt [new file with mode: 0644]
LayoutTests/platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-setmediakeys-again-after-playback-expected.txt [new file with mode: 0644]
LayoutTests/platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-setmediakeys-again-after-resetting-src-expected.txt [new file with mode: 0644]
LayoutTests/platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-setmediakeys-at-same-time-expected.txt [new file with mode: 0644]
LayoutTests/platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-setmediakeys-expected.txt [new file with mode: 0644]
LayoutTests/platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-setmediakeys-multiple-times-with-different-mediakeys-expected.txt [new file with mode: 0644]
LayoutTests/platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-setmediakeys-multiple-times-with-the-same-mediakeys-expected.txt [new file with mode: 0644]
LayoutTests/platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-setmediakeys-to-multiple-video-elements-expected.txt [new file with mode: 0644]
LayoutTests/platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-syntax-mediakeys-expected.txt [new file with mode: 0644]
LayoutTests/platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-syntax-mediakeysession-expected.txt [new file with mode: 0644]
LayoutTests/platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-syntax-mediakeysystemaccess-expected.txt [new file with mode: 0644]
LayoutTests/platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-unique-origin-expected.txt [new file with mode: 0644]
LayoutTests/platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-update-disallowed-input-expected.txt [new file with mode: 0644]
LayoutTests/platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-waiting-for-a-key-expected.txt [new file with mode: 0644]
LayoutTests/platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-not-callable-after-createsession-expected.txt [new file with mode: 0644]
LayoutTests/platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-update-non-ascii-input-expected.txt [new file with mode: 0644]
Source/WebCore/ChangeLog
Source/WebCore/Modules/encryptedmedia/CDM.cpp
Source/cmake/OptionsWPE.cmake
Tools/ChangeLog
Tools/Scripts/webkitperl/FeatureList.pm

index ffc6863..3f1045c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2017-06-09  Zan Dobersek  <zdobersek@igalia.com>
+
+        [WPE] Enable ENCRYPTED_MEDIA for build-webkit builds
+        https://bugs.webkit.org/show_bug.cgi?id=173103
+
+        Reviewed by Xabier Rodriguez-Calvar.
+
+        * Source/cmake/OptionsWPE.cmake: Expose the ENABLE_ENCRYPTED_MEDIA
+        configuration option, keeping it disabled by default.
+
 2017-06-09  Xabier Rodriguez Calvar  <calvaris@igalia.com>
 
         [GStreamer][EME] Remove the legacy code that was not even official and is deprecated
index 03ec562..b558125 100644 (file)
@@ -1,5 +1,66 @@
 2017-06-09  Zan Dobersek  <zdobersek@igalia.com>
 
+        [WPE] Enable ENCRYPTED_MEDIA for build-webkit builds
+        https://bugs.webkit.org/show_bug.cgi?id=173103
+
+        Reviewed by Xabier Rodriguez-Calvar.
+
+        Enable the imported W3C tests covering Encrypted Media API for the WPE port,
+        but only tests that use the ClearKey key system. WPE-specific baselines for
+        those tests are also added, despite the test cases universally failing. This
+        will allow us to spot any change in behavior that's introduced.
+
+        * platform/wpe/TestExpectations: Skip tests that test PlayReady or Widevine key systems.
+        * platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-check-initdata-type-expected.txt: Added.
+        * platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-events-expected.txt: Added.
+        * platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-events-session-closed-event-expected.txt: Added.
+        * platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-generate-request-disallowed-input-expected.txt: Added.
+        * platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-invalid-license-expected.txt: Added.
+        * platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-keystatuses-expected.txt: Added.
+        * platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-keystatuses-multiple-sessions-expected.txt: Added.
+        * platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-destroy-persistent-license-expected.txt: Added.
+        * platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-persistent-license-events-expected.txt: Added.
+        * platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-persistent-license-expected.txt: Added.
+        * platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-persistent-usage-record-events-expected.txt: Added.
+        * platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-persistent-usage-record-expected.txt: Added.
+        * platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-retrieve-destroy-persistent-license-expected.txt: Added.
+        * platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-retrieve-persistent-license-expected.txt: Added.
+        * platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-retrieve-persistent-usage-record-expected.txt: Added.
+        * platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-temporary-clear-encrypted-expected.txt: Added.
+        * platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-temporary-encrypted-clear-expected.txt: Added.
+        * platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-temporary-encrypted-clear-sources-expected.txt: Added.
+        * platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-temporary-events-expected.txt: Added.
+        * platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-temporary-expected.txt: Added.
+        * platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-temporary-multikey-expected.txt: Added.
+        * platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-temporary-multikey-sequential-expected.txt: Added.
+        * platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-temporary-multikey-sequential-readyState-expected.txt: Added.
+        * platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-temporary-multisession-expected.txt: Added.
+        * platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-temporary-setMediaKeys-after-src-expected.txt: Added.
+        * platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-temporary-setMediaKeys-after-update-expected.txt: Added.
+        * platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-temporary-setMediaKeys-immediately-expected.txt: Added.
+        * platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-temporary-setMediaKeys-onencrypted-expected.txt: Added.
+        * platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-temporary-two-videos-expected.txt: Added.
+        * platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-temporary-waitingforkey-expected.txt: Added.
+        * platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-requestmediakeysystemaccess-expected.txt: Added.
+        * platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-reset-src-after-setmediakeys-expected.txt: Added.
+        * platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-setmediakeys-again-after-playback-expected.txt: Added.
+        * platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-setmediakeys-again-after-resetting-src-expected.txt: Added.
+        * platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-setmediakeys-at-same-time-expected.txt: Added.
+        * platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-setmediakeys-expected.txt: Added.
+        * platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-setmediakeys-multiple-times-with-different-mediakeys-expected.txt: Added.
+        * platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-setmediakeys-multiple-times-with-the-same-mediakeys-expected.txt: Added.
+        * platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-setmediakeys-to-multiple-video-elements-expected.txt: Added.
+        * platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-syntax-mediakeys-expected.txt: Added.
+        * platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-syntax-mediakeysession-expected.txt: Added.
+        * platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-syntax-mediakeysystemaccess-expected.txt: Added.
+        * platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-unique-origin-expected.txt: Added.
+        * platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-update-disallowed-input-expected.txt: Added.
+        * platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-waiting-for-a-key-expected.txt: Added.
+        * platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-not-callable-after-createsession-expected.txt: Added.
+        * platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-update-non-ascii-input-expected.txt: Added.
+
+2017-06-09  Zan Dobersek  <zdobersek@igalia.com>
+
         [WPE] Enable MEDIA_SOURCE for build-webkit builds
         https://bugs.webkit.org/show_bug.cgi?id=173136
 
index 19a841a..b217258 100644 (file)
@@ -1,3 +1,13 @@
+2017-06-09  Zan Dobersek  <zdobersek@igalia.com>
+
+        [WPE] Enable ENCRYPTED_MEDIA for build-webkit builds
+        https://bugs.webkit.org/show_bug.cgi?id=173103
+
+        Reviewed by Xabier Rodriguez-Calvar.
+
+        * web-platform-tests/encrypted-media/idlharness-expected.txt:
+        Update the idlharness.html baseline. All the test cases pass.
+
 2017-06-07  Chris Dumez  <cdumez@apple.com>
 
         CSSStyleRule.style / CSSPageRule.style / CSSKeyframeRule.style should be settable
index 16dc345..1987889 100644 (file)
@@ -30,9 +30,7 @@ PASS MediaKeySession interface: existence and properties of interface prototype
 PASS MediaKeySession interface: existence and properties of interface prototype object's "constructor" property 
 PASS MediaKeySession interface: attribute sessionId 
 PASS MediaKeySession interface: attribute expiration 
-FAIL MediaKeySession interface: attribute closed assert_throws: getting property on prototype object must throw TypeError function "function () {
-    [native code]
-}" did not throw
+PASS MediaKeySession interface: attribute closed 
 PASS MediaKeySession interface: attribute keyStatuses 
 PASS MediaKeySession interface: attribute onkeystatuseschange 
 PASS MediaKeySession interface: attribute onmessage 
@@ -46,9 +44,15 @@ PASS MediaKeyStatusMap interface object length
 PASS MediaKeyStatusMap interface object name 
 PASS MediaKeyStatusMap interface: existence and properties of interface prototype object 
 PASS MediaKeyStatusMap interface: existence and properties of interface prototype object's "constructor" property 
+PASS Testing Symbol.iterator property of iterable interface MediaKeyStatusMap 
+PASS Testing pair iterable interface MediaKeyStatusMap 
 PASS MediaKeyStatusMap interface: attribute size 
 PASS MediaKeyStatusMap interface: operation has(BufferSource) 
 PASS MediaKeyStatusMap interface: operation get(BufferSource) 
+PASS MediaKeyStatusMap interface: operation entries() 
+PASS MediaKeyStatusMap interface: operation keys() 
+PASS MediaKeyStatusMap interface: operation values() 
+PASS MediaKeyStatusMap interface: operation forEach(function,any) 
 PASS MediaKeyMessageEvent interface: existence and properties of interface object 
 PASS MediaKeyMessageEvent interface object length 
 PASS MediaKeyMessageEvent interface object name 
index 3c8cd52..4eed133 100644 (file)
@@ -545,3 +545,55 @@ webkit.org/b/172816 media/media-source/media-source-paint-to-canvas.html [ Timeo
 webkit.org/b/168373 media/media-source/media-source-resize.html [ Failure ]
 webkit.org/b/165394 media/media-source/media-source-seek-detach-crash.html [ Timeout ]
 webkit.org/b/168373 media/media-source/only-bcp47-language-tags-accepted-as-valid.html [ Timeout ]
+
+# ENABLE_ENCRYPTED_MEDIA
+imported/w3c/web-platform-tests/encrypted-media [ Pass ]
+imported/w3c/web-platform-tests/encrypted-media/drm-check-initdata-type.html [ Skip ]
+imported/w3c/web-platform-tests/encrypted-media/drm-events.html [ Skip ]
+imported/w3c/web-platform-tests/encrypted-media/drm-events-session-closed-event.html [ Skip ]
+imported/w3c/web-platform-tests/encrypted-media/drm-expiration.html [ Skip ]
+imported/w3c/web-platform-tests/encrypted-media/drm-generate-request-disallowed-input.html [ Skip ]
+imported/w3c/web-platform-tests/encrypted-media/drm-invalid-license.html [ Skip ]
+imported/w3c/web-platform-tests/encrypted-media/drm-keystatuses.html [ Skip ]
+imported/w3c/web-platform-tests/encrypted-media/drm-keystatuses-multiple-sessions.html [ Skip ]
+imported/w3c/web-platform-tests/encrypted-media/drm-mp4-onencrypted.html [ Skip ]
+imported/w3c/web-platform-tests/encrypted-media/drm-mp4-playback-destroy-persistent-license.html [ Skip ]
+imported/w3c/web-platform-tests/encrypted-media/drm-mp4-playback-persistent-license-events.html [ Skip ]
+imported/w3c/web-platform-tests/encrypted-media/drm-mp4-playback-persistent-license.html [ Skip ]
+imported/w3c/web-platform-tests/encrypted-media/drm-mp4-playback-persistent-usage-record-events.html [ Skip ]
+imported/w3c/web-platform-tests/encrypted-media/drm-mp4-playback-persistent-usage-record.html [ Skip ]
+imported/w3c/web-platform-tests/encrypted-media/drm-mp4-playback-retrieve-destroy-persistent-license.html [ Skip ]
+imported/w3c/web-platform-tests/encrypted-media/drm-mp4-playback-retrieve-persistent-license.html [ Skip ]
+imported/w3c/web-platform-tests/encrypted-media/drm-mp4-playback-retrieve-persistent-usage-record.html [ Skip ]
+imported/w3c/web-platform-tests/encrypted-media/drm-mp4-playback-temporary-clear-encrypted.html [ Skip ]
+imported/w3c/web-platform-tests/encrypted-media/drm-mp4-playback-temporary-encrypted-clear.html [ Skip ]
+imported/w3c/web-platform-tests/encrypted-media/drm-mp4-playback-temporary-encrypted-clear-sources.html [ Skip ]
+imported/w3c/web-platform-tests/encrypted-media/drm-mp4-playback-temporary-events.html [ Skip ]
+imported/w3c/web-platform-tests/encrypted-media/drm-mp4-playback-temporary-expired.html [ Skip ]
+imported/w3c/web-platform-tests/encrypted-media/drm-mp4-playback-temporary.html [ Skip ]
+imported/w3c/web-platform-tests/encrypted-media/drm-mp4-playback-temporary-multikey.html [ Skip ]
+imported/w3c/web-platform-tests/encrypted-media/drm-mp4-playback-temporary-multikey-sequential.html [ Skip ]
+imported/w3c/web-platform-tests/encrypted-media/drm-mp4-playback-temporary-multikey-sequential-readyState.html [ Skip ]
+imported/w3c/web-platform-tests/encrypted-media/drm-mp4-playback-temporary-multisession.html [ Skip ]
+imported/w3c/web-platform-tests/encrypted-media/drm-mp4-playback-temporary-setMediaKeys-after-src.html [ Skip ]
+imported/w3c/web-platform-tests/encrypted-media/drm-mp4-playback-temporary-setMediaKeys-after-update.html [ Skip ]
+imported/w3c/web-platform-tests/encrypted-media/drm-mp4-playback-temporary-setMediaKeys-immediately.html [ Skip ]
+imported/w3c/web-platform-tests/encrypted-media/drm-mp4-playback-temporary-setMediaKeys-onencrypted.html [ Skip ]
+imported/w3c/web-platform-tests/encrypted-media/drm-mp4-playback-temporary-two-videos.html [ Skip ]
+imported/w3c/web-platform-tests/encrypted-media/drm-mp4-playback-temporary-waitingforkey.html [ Skip ]
+imported/w3c/web-platform-tests/encrypted-media/drm-mp4-requestmediakeysystemaccess.html [ Skip ]
+imported/w3c/web-platform-tests/encrypted-media/drm-mp4-reset-src-after-setmediakeys.html [ Skip ]
+imported/w3c/web-platform-tests/encrypted-media/drm-mp4-setmediakeys-again-after-playback.html [ Skip ]
+imported/w3c/web-platform-tests/encrypted-media/drm-mp4-setmediakeys-again-after-resetting-src.html [ Skip ]
+imported/w3c/web-platform-tests/encrypted-media/drm-mp4-setmediakeys-at-same-time.html [ Skip ]
+imported/w3c/web-platform-tests/encrypted-media/drm-mp4-setmediakeys.html [ Skip ]
+imported/w3c/web-platform-tests/encrypted-media/drm-mp4-setmediakeys-multiple-times-with-different-mediakeys.html [ Skip ]
+imported/w3c/web-platform-tests/encrypted-media/drm-mp4-setmediakeys-multiple-times-with-the-same-mediakeys.html [ Skip ]
+imported/w3c/web-platform-tests/encrypted-media/drm-mp4-setmediakeys-to-multiple-video-elements.html [ Skip ]
+imported/w3c/web-platform-tests/encrypted-media/drm-mp4-syntax-mediakeysession.html [ Skip ]
+imported/w3c/web-platform-tests/encrypted-media/drm-mp4-syntax-mediakeys.html [ Skip ]
+imported/w3c/web-platform-tests/encrypted-media/drm-mp4-syntax-mediakeysystemaccess.html [ Skip ]
+imported/w3c/web-platform-tests/encrypted-media/drm-mp4-unique-origin.html [ Skip ]
+imported/w3c/web-platform-tests/encrypted-media/drm-mp4-waiting-for-a-key.html [ Skip ]
+imported/w3c/web-platform-tests/encrypted-media/drm-not-callable-after-createsession.html [ Skip ]
+imported/w3c/web-platform-tests/encrypted-media/drm-temporary-license-type.html [ Skip ]
diff --git a/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-check-initdata-type-expected.txt b/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-check-initdata-type-expected.txt
new file mode 100644 (file)
index 0000000..cd61114
--- /dev/null
@@ -0,0 +1,5 @@
+
+PASS org.w3.clearkey support for "webm". 
+PASS org.w3.clearkey support for "cenc". 
+PASS org.w3.clearkey support for "keyids". 
+
diff --git a/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-events-expected.txt b/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-events-expected.txt
new file mode 100644 (file)
index 0000000..d45714e
--- /dev/null
@@ -0,0 +1,4 @@
+CONSOLE MESSAGE: line 272: Unhandled Promise Rejection: TypeError: undefined is not an object (evaluating 'contentitem.audio')
+
+FAIL Encrypted Media Extensions: Events with Clear Key undefined is not an object (evaluating 'contentitem.audio')
+
diff --git a/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-events-session-closed-event-expected.txt b/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-events-session-closed-event-expected.txt
new file mode 100644 (file)
index 0000000..cec11a6
--- /dev/null
@@ -0,0 +1,3 @@
+
+FAIL org.w3.clearkey test MediaKeySession closed event. assert_unreached: Error: NotSupportedError Reached unreachable code
+
diff --git a/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-generate-request-disallowed-input-expected.txt b/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-generate-request-disallowed-input-expected.txt
new file mode 100644 (file)
index 0000000..8928f77
--- /dev/null
@@ -0,0 +1,4 @@
+
+Harness Error (TIMEOUT), message = null
+
+
diff --git a/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-invalid-license-expected.txt b/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-invalid-license-expected.txt
new file mode 100644 (file)
index 0000000..9e65e14
--- /dev/null
@@ -0,0 +1,3 @@
+
+FAIL Update with invalid Clear Key license assert_unreached: Error: NotSupportedError Reached unreachable code
+
diff --git a/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-keystatuses-expected.txt b/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-keystatuses-expected.txt
new file mode 100644 (file)
index 0000000..677e477
--- /dev/null
@@ -0,0 +1,4 @@
+CONSOLE MESSAGE: line 163: Unhandled Promise Rejection: TypeError: undefined is not an object (evaluating 'contentitem.keys')
+
+FAIL Encrypted Media Extensions: Verify MediaKeySession.keyStatuses with multiple sessions, Clear Key undefined is not an object (evaluating 'contentitem.keys')
+
diff --git a/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-keystatuses-multiple-sessions-expected.txt b/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-keystatuses-multiple-sessions-expected.txt
new file mode 100644 (file)
index 0000000..fdc6970
--- /dev/null
@@ -0,0 +1,4 @@
+CONSOLE MESSAGE: line 199: Unhandled Promise Rejection: TypeError: undefined is not an object (evaluating 'contentitem.keys')
+
+FAIL Encrypted Media Extensions: Verify MediaKeySession.keyStatuses with multiple sessions, Clear Key undefined is not an object (evaluating 'contentitem.keys')
+
diff --git a/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-destroy-persistent-license-expected.txt b/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-destroy-persistent-license-expected.txt
new file mode 100644 (file)
index 0000000..c53c4f3
--- /dev/null
@@ -0,0 +1,3 @@
+
+FAIL org.w3.clearkey, persistent-license, mp4, playback, destroy and acknowledge assert_unreached: NotSupportedError (DOM Exception 9): The operation is not supported. Reached unreachable code
+
diff --git a/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-persistent-license-events-expected.txt b/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-persistent-license-events-expected.txt
new file mode 100644 (file)
index 0000000..6d6f535
--- /dev/null
@@ -0,0 +1,3 @@
+
+FAIL org.w3.clearkey, persistent-license, mp4, playback, check events assert_unreached: NotSupportedError (DOM Exception 9): The operation is not supported. Reached unreachable code
+
diff --git a/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-persistent-license-expected.txt b/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-persistent-license-expected.txt
new file mode 100644 (file)
index 0000000..f70dd29
--- /dev/null
@@ -0,0 +1,3 @@
+
+FAIL org.w3.clearkey, persistent-license, mp4playback assert_unreached: NotSupportedError (DOM Exception 9): The operation is not supported. Reached unreachable code
+
diff --git a/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-persistent-usage-record-events-expected.txt b/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-persistent-usage-record-events-expected.txt
new file mode 100644 (file)
index 0000000..15b1ba9
--- /dev/null
@@ -0,0 +1,3 @@
+
+FAIL org.w3.clearkey, persistent-usage-record, mp4, playback, check events assert_unreached: NotSupportedError (DOM Exception 9): The operation is not supported. Reached unreachable code
+
diff --git a/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-persistent-usage-record-expected.txt b/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-persistent-usage-record-expected.txt
new file mode 100644 (file)
index 0000000..de03249
--- /dev/null
@@ -0,0 +1,3 @@
+
+FAIL org.w3.clearkey, persistent-usage-record, mp4playback assert_unreached: NotSupportedError (DOM Exception 9): The operation is not supported. Reached unreachable code
+
diff --git a/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-retrieve-destroy-persistent-license-expected.txt b/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-retrieve-destroy-persistent-license-expected.txt
new file mode 100644 (file)
index 0000000..de8b92c
--- /dev/null
@@ -0,0 +1,3 @@
+
+FAIL org.w3.clearkey, persistent-license, mp4, playback, retrieve, playback and destroy assert_unreached: NotSupportedError (DOM Exception 9): The operation is not supported. Reached unreachable code
+
diff --git a/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-retrieve-persistent-license-expected.txt b/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-retrieve-persistent-license-expected.txt
new file mode 100644 (file)
index 0000000..b409bf3
--- /dev/null
@@ -0,0 +1,3 @@
+
+FAIL org.w3.clearkey, persistent-license, mp4, playback, retrieve and playback assert_unreached: NotSupportedError (DOM Exception 9): The operation is not supported. Reached unreachable code
+
diff --git a/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-retrieve-persistent-usage-record-expected.txt b/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-retrieve-persistent-usage-record-expected.txt
new file mode 100644 (file)
index 0000000..d44af8b
--- /dev/null
@@ -0,0 +1,3 @@
+
+FAIL org.w3.clearkey, persistent-usage-record, mp4, playback, retrieve in new window assert_unreached: NotSupportedError (DOM Exception 9): The operation is not supported. Reached unreachable code
+
diff --git a/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-temporary-clear-encrypted-expected.txt b/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-temporary-clear-encrypted-expected.txt
new file mode 100644 (file)
index 0000000..a23c24f
--- /dev/null
@@ -0,0 +1,3 @@
+
+FAIL org.w3.clearkey, temporary, mp4, playback, single key, clear then encrypted content assert_unreached: NotSupportedError (DOM Exception 9): The operation is not supported. Reached unreachable code
+
diff --git a/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-temporary-encrypted-clear-expected.txt b/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-temporary-encrypted-clear-expected.txt
new file mode 100644 (file)
index 0000000..d0585eb
--- /dev/null
@@ -0,0 +1,3 @@
+
+FAIL org.w3.clearkey, temporary, mp4, playback, single key, encrypted then clear content assert_unreached: NotSupportedError (DOM Exception 9): The operation is not supported. Reached unreachable code
+
diff --git a/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-temporary-encrypted-clear-sources-expected.txt b/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-temporary-encrypted-clear-sources-expected.txt
new file mode 100644 (file)
index 0000000..94fef24
--- /dev/null
@@ -0,0 +1,3 @@
+
+FAIL org.w3.clearkey, temporary, mp4, playback, encrypted and clear sources assert_unreached: NotSupportedError (DOM Exception 9): The operation is not supported. Reached unreachable code
+
diff --git a/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-temporary-events-expected.txt b/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-temporary-events-expected.txt
new file mode 100644 (file)
index 0000000..ae3842e
--- /dev/null
@@ -0,0 +1,3 @@
+
+FAIL org.w3.clearkey, temporary, mp4, playback, check events assert_unreached: NotSupportedError (DOM Exception 9): The operation is not supported. Reached unreachable code
+
diff --git a/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-temporary-expected.txt b/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-temporary-expected.txt
new file mode 100644 (file)
index 0000000..88d59b7
--- /dev/null
@@ -0,0 +1,3 @@
+
+FAIL org.w3.clearkey, temporary, mp4, playback, single key assert_unreached: NotSupportedError (DOM Exception 9): The operation is not supported. Reached unreachable code
+
diff --git a/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-temporary-multikey-expected.txt b/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-temporary-multikey-expected.txt
new file mode 100644 (file)
index 0000000..bd9fdfd
--- /dev/null
@@ -0,0 +1,3 @@
+
+FAIL org.w3.clearkey, temporary, mp4, playback, multikey audio/video assert_unreached: NotSupportedError (DOM Exception 9): The operation is not supported. Reached unreachable code
+
diff --git a/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-temporary-multikey-sequential-expected.txt b/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-temporary-multikey-sequential-expected.txt
new file mode 100644 (file)
index 0000000..08da48d
--- /dev/null
@@ -0,0 +1,3 @@
+
+FAIL org.w3.clearkey, successful playback, temporary, mp4, multiple keys, sequential assert_unreached: NotSupportedError (DOM Exception 9): The operation is not supported. Reached unreachable code
+
diff --git a/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-temporary-multikey-sequential-readyState-expected.txt b/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-temporary-multikey-sequential-readyState-expected.txt
new file mode 100644 (file)
index 0000000..3e4c266
--- /dev/null
@@ -0,0 +1,3 @@
+
+FAIL org.w3.clearkey, successful playback, temporary, mp4, multiple keys, sequential, readyState assert_unreached: NotSupportedError (DOM Exception 9): The operation is not supported. Reached unreachable code
+
diff --git a/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-temporary-multisession-expected.txt b/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-temporary-multisession-expected.txt
new file mode 100644 (file)
index 0000000..db595f0
--- /dev/null
@@ -0,0 +1,3 @@
+
+FAIL org.w3.clearkey, temporary, mp4, playback with multiple sessions, multikey video assert_unreached: NotSupportedError (DOM Exception 9): The operation is not supported. Reached unreachable code
+
diff --git a/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-temporary-setMediaKeys-after-src-expected.txt b/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-temporary-setMediaKeys-after-src-expected.txt
new file mode 100644 (file)
index 0000000..3ad9e8e
--- /dev/null
@@ -0,0 +1,3 @@
+
+FAIL org.w3.clearkey, temporary, mp4, playback, setMediaKeys after setting video.src assert_unreached: NotSupportedError (DOM Exception 9): The operation is not supported. Reached unreachable code
+
diff --git a/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-temporary-setMediaKeys-after-update-expected.txt b/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-temporary-setMediaKeys-after-update-expected.txt
new file mode 100644 (file)
index 0000000..c0d04eb
--- /dev/null
@@ -0,0 +1,3 @@
+
+FAIL org.w3.clearkey, temporary, mp4, playback, setMediaKeys after updating session assert_unreached: NotSupportedError (DOM Exception 9): The operation is not supported. Reached unreachable code
+
diff --git a/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-temporary-setMediaKeys-immediately-expected.txt b/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-temporary-setMediaKeys-immediately-expected.txt
new file mode 100644 (file)
index 0000000..85edaa1
--- /dev/null
@@ -0,0 +1,3 @@
+
+FAIL org.w3.clearkey, temporary, mp4, playback, setMediaKeys first assert_unreached: NotSupportedError (DOM Exception 9): The operation is not supported. Reached unreachable code
+
diff --git a/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-temporary-setMediaKeys-onencrypted-expected.txt b/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-temporary-setMediaKeys-onencrypted-expected.txt
new file mode 100644 (file)
index 0000000..ef57d1d
--- /dev/null
@@ -0,0 +1,3 @@
+
+FAIL org.w3.clearkey, temporary, mp4, playback, setMediaKeys in encrypted event assert_unreached: NotSupportedError (DOM Exception 9): The operation is not supported. Reached unreachable code
+
diff --git a/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-temporary-two-videos-expected.txt b/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-temporary-two-videos-expected.txt
new file mode 100644 (file)
index 0000000..54d4f80
--- /dev/null
@@ -0,0 +1,3 @@
+
+FAIL org.w3.clearkey, temporary, mp4, playback two videos assert_unreached: NotSupportedError (DOM Exception 9): The operation is not supported. Reached unreachable code
+  
diff --git a/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-temporary-waitingforkey-expected.txt b/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-temporary-waitingforkey-expected.txt
new file mode 100644 (file)
index 0000000..d295928
--- /dev/null
@@ -0,0 +1,3 @@
+
+FAIL org.w3.clearkey, successful playback, temporary, mp4, waitingforkey event, 1 key assert_unreached: NotSupportedError (DOM Exception 9): The operation is not supported. Reached unreachable code
+
diff --git a/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-requestmediakeysystemaccess-expected.txt b/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-requestmediakeysystemaccess-expected.txt
new file mode 100644 (file)
index 0000000..1d92c14
--- /dev/null
@@ -0,0 +1,60 @@
+
+PASS org.w3.clearkey, requestMediaKeySystemAccess: Empty Key System should result in TypeError 
+PASS org.w3.clearkey, requestMediaKeySystemAccess: Unsupported Key System should result in NotSupportedError 
+PASS org.w3.clearkey, requestMediaKeySystemAccess: Key System ending in "." should result in NotSupportedError 
+PASS org.w3.clearkey, requestMediaKeySystemAccess: Capitalized Key System should result in NotSupportedError 
+PASS org.w3.clearkey, requestMediaKeySystemAccess: Non-ASCII Key System should result in NotSupportedError 
+PASS org.w3.clearkey, requestMediaKeySystemAccess: Root domain of Key System alone should result in NotSupportedError 
+PASS org.w3.clearkey, requestMediaKeySystemAccess: Root domain of Key System, with dot should result in NotSupportedError 
+PASS org.w3.clearkey, requestMediaKeySystemAccess: Domain of Key System along should result in NotSupportedError 
+PASS org.w3.clearkey, requestMediaKeySystemAccess: Domain of Key System, with dot should result in NotSupportedError 
+PASS org.w3.clearkey, requestMediaKeySystemAccess: Child of Key System should result in NotSupportedError 
+PASS org.w3.clearkey, requestMediaKeySystemAccess: Prefixed Key System should result in NotSupportedError 
+PASS org.w3.clearkey, requestMediaKeySystemAccess: Missing characters in middle of Key System name should result in NotSupportedError 
+PASS org.w3.clearkey, requestMediaKeySystemAccess: Missing characters at end of Key System name should result in NotSupportedError 
+PASS org.w3.clearkey, requestMediaKeySystemAccess: Leading space in Key System name should result in NotSupportedError 
+PASS org.w3.clearkey, requestMediaKeySystemAccess: Extra space in Key System name should result in NotSupportedError 
+PASS org.w3.clearkey, requestMediaKeySystemAccess: Trailing space in Key System name should result in NotSupportedError 
+PASS org.w3.clearkey, requestMediaKeySystemAccess: Leading dot in Key System name should result in NotSupportedError 
+PASS org.w3.clearkey, requestMediaKeySystemAccess: Extra dot in middle of Key System name should result in NotSupportedError 
+PASS org.w3.clearkey, requestMediaKeySystemAccess: Trailing dot in Key System name should result in NotSupportedError 
+PASS org.w3.clearkey, requestMediaKeySystemAccess: Key System name is case sensitive should result in NotSupportedError 
+PASS org.w3.clearkey, requestMediaKeySystemAccess: Empty supportedConfigurations should result in TypeError 
+FAIL Empty configuration promise_test: Unhandled rejection with value: object "NotSupportedError (DOM Exception 9): The operation is not supported."
+FAIL Basic supported configuration promise_test: Unhandled rejection with value: object "NotSupportedError (DOM Exception 9): The operation is not supported."
+FAIL Partially supported configuration promise_test: Unhandled rejection with value: object "NotSupportedError (DOM Exception 9): The operation is not supported."
+FAIL Supported audio codec promise_test: Unhandled rejection with value: object "NotSupportedError (DOM Exception 9): The operation is not supported."
+FAIL ContentType formatting must be preserved promise_test: Unhandled rejection with value: object "NotSupportedError (DOM Exception 9): The operation is not supported."
+PASS org.w3.clearkey, requestMediaKeySystemAccess: Unsupported audio codec ('audio/webm; codecs=fake') should result in NotSupportedError 
+PASS org.w3.clearkey, requestMediaKeySystemAccess: Unsupported video codec () should result in NotSupportedError 
+PASS org.w3.clearkey, requestMediaKeySystemAccess: Mismatched audio container/codec ('audio/webm; codecs=mp4a','audio/webm; codecs=mp4a.40.2') should result in NotSupportedError 
+PASS org.w3.clearkey, requestMediaKeySystemAccess: Video codec specified in audio field ('video/mp4;codecs="avc1.4d401e"') should result in NotSupportedError 
+PASS org.w3.clearkey, requestMediaKeySystemAccess: Audio codec specified in video field ('audio/mp4;codecs="mp4a.40.2"') should result in NotSupportedError 
+PASS org.w3.clearkey, requestMediaKeySystemAccess: Mismatched audio container/codec ('audio/webm; codecs=avc1','audio/webm; codecs=avc1.42e01e') should result in NotSupportedError 
+PASS org.w3.clearkey, requestMediaKeySystemAccess: Mismatched audio container/codec ('audio/mp4; codecs=vorbis') should result in NotSupportedError 
+FAIL Two configurations, one supported promise_test: Unhandled rejection with value: object "NotSupportedError (DOM Exception 9): The operation is not supported."
+FAIL Two configurations, both supported promise_test: Unhandled rejection with value: object "NotSupportedError (DOM Exception 9): The operation is not supported."
+PASS org.w3.clearkey, requestMediaKeySystemAccess: Audio MIME type does not support video codecs (webm) ('audio/webm; codecs="vp8,vorbis"','audio/webm; codecs="vorbis, vp8"','audio/webm; codecs="vp8"') should result in NotSupportedError 
+PASS org.w3.clearkey, requestMediaKeySystemAccess: Audio MIME type does not support video codecs (mp4) ('audio/mp4; codecs="avc1"','audio/mp4; codecs="avc1.4d401e"') should result in NotSupportedError 
+PASS org.w3.clearkey, requestMediaKeySystemAccess: Video MIME type does not support audio codecs (webm) ('video/webm; codecs="vp8,vorbis"','video/webm; codecs="vorbis, vp8"','video/webm; codecs="vorbis"') should result in NotSupportedError 
+PASS org.w3.clearkey, requestMediaKeySystemAccess: Video MIME type does not support audio codecs (mp4) ('video/mp4; codecs="mp4a"','video/mp4; codecs="mp4a.40.2"') should result in NotSupportedError 
+PASS org.w3.clearkey, requestMediaKeySystemAccess: WebM audio does not support AVC1/AAC ('audio/webm; codecs="aac"','audio/webm; codecs="avc1"','audio/webm; codecs="vp8,aac"') should result in NotSupportedError 
+PASS org.w3.clearkey, requestMediaKeySystemAccess: WebM video does not support AVC1/AAC ('video/webm; codecs="aac"','video/webm; codecs="avc1"','video/webm; codecs="vp8,aac"') should result in NotSupportedError 
+FAIL Leading space in contentType promise_test: Unhandled rejection with value: object "NotSupportedError (DOM Exception 9): The operation is not supported."
+FAIL Space before ; in contentType promise_test: Unhandled rejection with value: object "NotSupportedError (DOM Exception 9): The operation is not supported."
+FAIL Trailing space in contentType promise_test: Unhandled rejection with value: object "NotSupportedError (DOM Exception 9): The operation is not supported."
+FAIL Space at start of codecs parameter promise_test: Unhandled rejection with value: object "NotSupportedError (DOM Exception 9): The operation is not supported."
+FAIL Space at end of codecs parameter promise_test: Unhandled rejection with value: object "NotSupportedError (DOM Exception 9): The operation is not supported."
+FAIL Video/ promise_test: Unhandled rejection with value: object "NotSupportedError (DOM Exception 9): The operation is not supported."
+FAIL Codecs= promise_test: Unhandled rejection with value: object "NotSupportedError (DOM Exception 9): The operation is not supported."
+FAIL Upper case MIME type promise_test: Unhandled rejection with value: object "NotSupportedError (DOM Exception 9): The operation is not supported."
+FAIL CODECS= promise_test: Unhandled rejection with value: object "NotSupportedError (DOM Exception 9): The operation is not supported."
+PASS org.w3.clearkey, requestMediaKeySystemAccess: Unrecognized foo with webm ('video/webm; foo="bar"') should result in NotSupportedError 
+PASS org.w3.clearkey, requestMediaKeySystemAccess: Unrecognized foo with mp4 ('video/mp4; foo="bar"') should result in NotSupportedError 
+PASS org.w3.clearkey, requestMediaKeySystemAccess: Unrecognized foo with codecs ('video/mp4;codecs="avc1.4d401e"; foo="bar"') should result in NotSupportedError 
+PASS org.w3.clearkey, requestMediaKeySystemAccess: contentType: 'fake' should result in NotSupportedError 
+PASS org.w3.clearkey, requestMediaKeySystemAccess: contentType: 'audio/fake' should result in NotSupportedError 
+PASS org.w3.clearkey, requestMediaKeySystemAccess: contentType: 'video/fake' should result in NotSupportedError 
+PASS org.w3.clearkey, requestMediaKeySystemAccess: contentType: 'video/mp4;codecs="AVC1.4D401E"' should result in NotSupportedError 
+PASS org.w3.clearkey, requestMediaKeySystemAccess: contentType: 'video/mp4;codecs=",avc1.4d401e"' should result in NotSupportedError 
+
diff --git a/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-reset-src-after-setmediakeys-expected.txt b/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-reset-src-after-setmediakeys-expected.txt
new file mode 100644 (file)
index 0000000..a25d114
--- /dev/null
@@ -0,0 +1,3 @@
+
+FAIL Reset src after setMediaKeys(). assert_unreached: NotSupportedError (DOM Exception 9): The operation is not supported. Reached unreachable code
+
diff --git a/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-setmediakeys-again-after-playback-expected.txt b/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-setmediakeys-again-after-playback-expected.txt
new file mode 100644 (file)
index 0000000..9d851a1
--- /dev/null
@@ -0,0 +1,3 @@
+
+PASS org.w3.clearkey, setmediakeys again after playback 
+
diff --git a/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-setmediakeys-again-after-resetting-src-expected.txt b/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-setmediakeys-again-after-resetting-src-expected.txt
new file mode 100644 (file)
index 0000000..52f5b96
--- /dev/null
@@ -0,0 +1,3 @@
+
+FAIL org.w3.clearkey, setmediakeys again after resetting src assert_unreached: NotSupportedError (DOM Exception 9): The operation is not supported. Reached unreachable code
+
diff --git a/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-setmediakeys-at-same-time-expected.txt b/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-setmediakeys-at-same-time-expected.txt
new file mode 100644 (file)
index 0000000..4b1a7fc
--- /dev/null
@@ -0,0 +1,4 @@
+CONSOLE MESSAGE: line 272: Unhandled Promise Rejection: TypeError: undefined is not an object (evaluating 'contentitem.audio')
+
+FAIL Encrypted Media Extensions: setMediaKeys multiple at same time with Clear Key undefined is not an object (evaluating 'contentitem.audio')
+
diff --git a/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-setmediakeys-expected.txt b/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-setmediakeys-expected.txt
new file mode 100644 (file)
index 0000000..d953684
--- /dev/null
@@ -0,0 +1,4 @@
+CONSOLE MESSAGE: line 272: Unhandled Promise Rejection: TypeError: undefined is not an object (evaluating 'contentitem.audio')
+
+FAIL Encrypted Media Extensions: setMediaKeys with Clear Key undefined is not an object (evaluating 'contentitem.audio')
+
diff --git a/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-setmediakeys-multiple-times-with-different-mediakeys-expected.txt b/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-setmediakeys-multiple-times-with-different-mediakeys-expected.txt
new file mode 100644 (file)
index 0000000..2520d22
--- /dev/null
@@ -0,0 +1,3 @@
+
+FAIL org.w3.clearkey, setmediakeys multiple times with different mediakeys assert_equals: expected (undefined) undefined but got (object) null
+
diff --git a/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-setmediakeys-multiple-times-with-the-same-mediakeys-expected.txt b/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-setmediakeys-multiple-times-with-the-same-mediakeys-expected.txt
new file mode 100644 (file)
index 0000000..cd8284d
--- /dev/null
@@ -0,0 +1,3 @@
+
+FAIL org.w3.clearkey, setmediakeys multiple times with the same mediakeys assert_unreached: NotSupportedError (DOM Exception 9): The operation is not supported. Reached unreachable code
+
diff --git a/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-setmediakeys-to-multiple-video-elements-expected.txt b/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-setmediakeys-to-multiple-video-elements-expected.txt
new file mode 100644 (file)
index 0000000..6a454ba
--- /dev/null
@@ -0,0 +1,5 @@
+CONSOLE MESSAGE: line 272: Unhandled Promise Rejection: TypeError: undefined is not an object (evaluating 'contentitem.audio')
+
+FAIL Encrypted Media Extensions: setMediaKeys to multiple video elements with Clear Key undefined is not an object (evaluating 'contentitem.audio')
+
+
diff --git a/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-syntax-mediakeys-expected.txt b/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-syntax-mediakeys-expected.txt
new file mode 100644 (file)
index 0000000..da08c49
--- /dev/null
@@ -0,0 +1,5 @@
+
+FAIL org.w3.clearkey test MediaKeys attribute syntax assert_true: initDataType should be supported expected true got false
+FAIL org.w3.clearkey test MediaKeys setServerCertificate() exceptions. assert_true: initDataType not supported expected true got false
+FAIL org.w3.clearkey test MediaKeys setServerCertificate() syntax with non-empty certificate. assert_true: initDataType not supported expected true got false
+
diff --git a/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-syntax-mediakeysession-expected.txt b/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-syntax-mediakeysession-expected.txt
new file mode 100644 (file)
index 0000000..511c294
--- /dev/null
@@ -0,0 +1,9 @@
+
+FAIL org.w3.clearkey test MediaKeySession generateRequest() exceptions. assert_true: initDataType not supported expected true got false
+FAIL org.w3.clearkey test MediaKeySession load() exceptions. assert_true: initDataType not supported expected true got false
+FAIL org.w3.clearkey test if MediaKeySession generateRequest() resolves for various sessions assert_true: initDataType should be supported expected true got false
+FAIL org.w3.clearkey test MediaKeySession update() exceptions. assert_true: initDataType not supported expected true got false
+FAIL org.w3.clearkey test MediaKeySession close() exceptions. assert_true: initDataType not supported expected true got false
+FAIL org.w3.clearkey test MediaKeySession remove() exceptions. assert_true: initDataType not supported expected true got false
+FAIL org.w3.clearkey test MediaKeySession attribute syntax. assert_true: initDataType not supported expected true got false
+
diff --git a/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-syntax-mediakeysystemaccess-expected.txt b/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-syntax-mediakeysystemaccess-expected.txt
new file mode 100644 (file)
index 0000000..9c5ca18
--- /dev/null
@@ -0,0 +1,4 @@
+
+PASS org.w3.clearkey test requestMediaKeySystemAccess() exceptions. 
+FAIL org.w3.clearkey test MediaKeySystemAccess attribute syntax. assert_true: initDataType not supported expected true got false
+
diff --git a/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-unique-origin-expected.txt b/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-unique-origin-expected.txt
new file mode 100644 (file)
index 0000000..4722622
--- /dev/null
@@ -0,0 +1,3 @@
+
+FAIL Unique origin is unable to create MediaKeys promise_test: Unhandled rejection with value: object "NotSupportedError (DOM Exception 9): The operation is not supported."
+
diff --git a/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-update-disallowed-input-expected.txt b/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-update-disallowed-input-expected.txt
new file mode 100644 (file)
index 0000000..a83c6ca
--- /dev/null
@@ -0,0 +1,3 @@
+
+FAIL update() with invalid response (longer than 64Kb characters) should fail. assert_equals: expected "TypeError" but got "NotSupportedError"
+
diff --git a/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-waiting-for-a-key-expected.txt b/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-waiting-for-a-key-expected.txt
new file mode 100644 (file)
index 0000000..52f991b
--- /dev/null
@@ -0,0 +1,3 @@
+
+FAIL Waiting for a key. assert_unreached: Error: NotSupportedError Reached unreachable code
+
diff --git a/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-not-callable-after-createsession-expected.txt b/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-not-callable-after-createsession-expected.txt
new file mode 100644 (file)
index 0000000..65effe8
--- /dev/null
@@ -0,0 +1,5 @@
+
+FAIL org.w3.clearkey, temporary, update() immediately after createSession() promise_test: Unhandled rejection with value: object "NotSupportedError (DOM Exception 9): The operation is not supported."
+FAIL org.w3.clearkey, temporary, close() immediately after createSession() promise_test: Unhandled rejection with value: object "NotSupportedError (DOM Exception 9): The operation is not supported."
+FAIL org.w3.clearkey, temporary, remove() immediately after createSession() promise_test: Unhandled rejection with value: object "NotSupportedError (DOM Exception 9): The operation is not supported."
+
diff --git a/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-update-non-ascii-input-expected.txt b/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-update-non-ascii-input-expected.txt
new file mode 100644 (file)
index 0000000..2583125
--- /dev/null
@@ -0,0 +1,3 @@
+
+FAIL org.w3.clearkey test handling of non-ASCII responses for update() assert_unreached: Error: NotSupportedError Reached unreachable code
+
index ab7c3f6..62c9e2f 100644 (file)
@@ -1,3 +1,16 @@
+2017-06-09  Zan Dobersek  <zdobersek@igalia.com>
+
+        [WPE] Enable ENCRYPTED_MEDIA for build-webkit builds
+        https://bugs.webkit.org/show_bug.cgi?id=173103
+
+        Reviewed by Xabier Rodriguez-Calvar.
+
+        * Modules/encryptedmedia/CDM.cpp:
+        (WebCore::CDM::getSupportedCapabilitiesForAudioVideoType):
+        Pass the ParsedContentType's mime type string to the explicit ContentType
+        constructor and assign that to the MediaEngineSupportParameters' type
+        member.
+
 2017-06-08  Ryosuke Niwa  <rniwa@webkit.org>
 
         Move TreeScope::adoptIfNeeded to Node and rename it to setTreeScopeRecursively
index c5ce7cc..a9883c2 100644 (file)
@@ -488,7 +488,7 @@ std::optional<Vector<MediaKeySystemMediaCapability>> CDM::getSupportedCapabiliti
         //       combination of container, media types, robustness and local accumulated configuration in combination
         //       with restrictions:
         MediaEngineSupportParameters parameters;
-        parameters.type = contentType;
+        parameters.type = ContentType(contentType.mimeType());
         if (!MediaPlayer::supportsType(parameters, nullptr)) {
             // Try with Media Source:
             parameters.isMediaSource = true;
index f877b00..dc5caaf 100644 (file)
@@ -17,6 +17,7 @@ WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_CSS_REGIONS PUBLIC ON)
 WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_CSS_SELECTORS_LEVEL4 PUBLIC ON)
 WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_DATABASE_PROCESS PRIVATE ON)
 WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_DEVICE_ORIENTATION PUBLIC OFF)
+WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_ENCRYPTED_MEDIA PUBLIC OFF)
 WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_GAMEPAD PUBLIC OFF)
 WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_GEOLOCATION PUBLIC OFF)
 WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_INDEXED_DATABASE PRIVATE ON)
index 63aafb8..5acc2bf 100644 (file)
@@ -1,5 +1,15 @@
 2017-06-09  Zan Dobersek  <zdobersek@igalia.com>
 
+        [WPE] Enable ENCRYPTED_MEDIA for build-webkit builds
+        https://bugs.webkit.org/show_bug.cgi?id=173103
+
+        Reviewed by Xabier Rodriguez-Calvar.
+
+        * Scripts/webkitperl/FeatureList.pm: Enable ENCRYPTED_MEDIA flag
+        when building the WPE port through build-webkit.
+
+2017-06-09  Zan Dobersek  <zdobersek@igalia.com>
+
         [WPE] Enable MEDIA_SOURCE for build-webkit builds
         https://bugs.webkit.org/show_bug.cgi?id=173136
 
index b23ba3f..693782b 100644 (file)
@@ -215,7 +215,7 @@ my @features = (
       define => "ENABLE_DOWNLOAD_ATTRIBUTE", default => isGtk(), value => \$downloadAttributeSupport },
 
     { option => "encrypted-media", desc => "Toggle EME V3 support",
-      define => "ENABLE_ENCRYPTED_MEDIA", default => 0, value => \$encryptedMediaSupport },
+      define => "ENABLE_ENCRYPTED_MEDIA", default => isWPE(), value => \$encryptedMediaSupport },
 
     { option => "fetch-api", desc => "Toggle Fetch API support",
       define => "ENABLE_FETCH_API", default => 1, value => \$fetchAPISupport },