diff --git a/Source/WebCore/ChangeLog b/Source/WebCore/ChangeLog index f7d703800dd0f..cd8056d07fa8c 100644 --- a/Source/WebCore/ChangeLog +++ b/Source/WebCore/ChangeLog @@ -1,3 +1,23 @@ +2016-12-19 Zan Dobersek + + [EME] Remove MediaKeySessionType::persistent-usage-record + https://bugs.webkit.org/show_bug.cgi?id=166012 + + Reviewed by Xabier Rodriguez-Calvar. + + Remove the "persistent-usage-record" value from the MediaKeySessionType. + This was removed from the spec as an at-risk feature. + https://github.com/w3c/encrypted-media/issues/353 + + No non-imported tests need to be updated. This is still present in the + tests imported from the W3C's web-platform-tests repository, but the + tests haven't yet been updated upstream. + + * Modules/encryptedmedia/CDM.cpp: + (WebCore::CDM::isPersistentType): + * Modules/encryptedmedia/MediaKeySessionType.h: + * Modules/encryptedmedia/MediaKeySessionType.idl: + 2016-12-19 Miguel Gomez [GTK] GLXBadFBConfig error when creating an OpenGL context diff --git a/Source/WebCore/Modules/encryptedmedia/CDM.cpp b/Source/WebCore/Modules/encryptedmedia/CDM.cpp index 14292196da408..ba62517299954 100644 --- a/Source/WebCore/Modules/encryptedmedia/CDM.cpp +++ b/Source/WebCore/Modules/encryptedmedia/CDM.cpp @@ -176,7 +176,6 @@ bool CDM::isPersistentType(MediaKeySessionType sessionType) // ↳ "temporary" return false; case MediaKeySessionType::PersistentLicense: - case MediaKeySessionType::PersistentUsageRecord: // ↳ "persistent-license" return true; } diff --git a/Source/WebCore/Modules/encryptedmedia/MediaKeySessionType.h b/Source/WebCore/Modules/encryptedmedia/MediaKeySessionType.h index f31c87c1a34fd..3ba9d54df6933 100644 --- a/Source/WebCore/Modules/encryptedmedia/MediaKeySessionType.h +++ b/Source/WebCore/Modules/encryptedmedia/MediaKeySessionType.h @@ -34,7 +34,6 @@ namespace WebCore { enum class MediaKeySessionType { Temporary, - PersistentUsageRecord, PersistentLicense }; diff --git a/Source/WebCore/Modules/encryptedmedia/MediaKeySessionType.idl b/Source/WebCore/Modules/encryptedmedia/MediaKeySessionType.idl index bf500d5f24760..f237969562d69 100644 --- a/Source/WebCore/Modules/encryptedmedia/MediaKeySessionType.idl +++ b/Source/WebCore/Modules/encryptedmedia/MediaKeySessionType.idl @@ -29,6 +29,5 @@ ] enum MediaKeySessionType { "temporary", - "persistent-usage-record", "persistent-license" };