Title: [239373] trunk/Source/WebCore
Revision
239373
Author
calva...@igalia.com
Date
2018-12-19 00:55:54 -0800 (Wed, 19 Dec 2018)

Log Message

[EME] MediaKeySystemConfiguration distinctiveIdentifier and persistentState should default to optional
https://bugs.webkit.org/show_bug.cgi?id=192815

Reviewed by Jer Noble.

https://www.w3.org/TR/encrypted-media/#dom-mediakeysystemconfiguration
says that distinctiveIdentifier and persistentState default to
optional. Our implementation does not define a default leaving it
to the first option of the enum, which currently is Required.

* platform/encryptedmedia/CDMKeySystemConfiguration.h:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (239372 => 239373)


--- trunk/Source/WebCore/ChangeLog	2018-12-19 08:00:27 UTC (rev 239372)
+++ trunk/Source/WebCore/ChangeLog	2018-12-19 08:55:54 UTC (rev 239373)
@@ -1,3 +1,17 @@
+2018-12-19  Xabier Rodriguez Calvar  <calva...@igalia.com>
+
+        [EME] MediaKeySystemConfiguration distinctiveIdentifier and persistentState should default to optional
+        https://bugs.webkit.org/show_bug.cgi?id=192815
+
+        Reviewed by Jer Noble.
+
+        https://www.w3.org/TR/encrypted-media/#dom-mediakeysystemconfiguration
+        says that distinctiveIdentifier and persistentState default to
+        optional. Our implementation does not define a default leaving it
+        to the first option of the enum, which currently is Required.
+
+        * platform/encryptedmedia/CDMKeySystemConfiguration.h:
+
 2018-12-19  Rob Buis  <rb...@igalia.com>
 
         Merge parseAccessControlExposeHeadersAllowList into parseAccessControlAllowList

Modified: trunk/Source/WebCore/platform/encryptedmedia/CDMKeySystemConfiguration.h (239372 => 239373)


--- trunk/Source/WebCore/platform/encryptedmedia/CDMKeySystemConfiguration.h	2018-12-19 08:00:27 UTC (rev 239372)
+++ trunk/Source/WebCore/platform/encryptedmedia/CDMKeySystemConfiguration.h	2018-12-19 08:55:54 UTC (rev 239373)
@@ -45,8 +45,8 @@
     Vector<String> initDataTypes;
     Vector<CDMMediaCapability> audioCapabilities;
     Vector<CDMMediaCapability> videoCapabilities;
-    CDMRequirement distinctiveIdentifier;
-    CDMRequirement persistentState;
+    CDMRequirement distinctiveIdentifier { CDMRequirement::Optional };
+    CDMRequirement persistentState { CDMRequirement::Optional };
     Vector<CDMSessionType> sessionTypes;
 };
 
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to