Skip to content
This repository has been archived by the owner on Jun 24, 2022. It is now read-only.

Commit

Permalink
[EME] Remove MediaKeySessionType::persistent-usage-record
Browse files Browse the repository at this point in the history
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.
w3c/encrypted-media#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:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@209983 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
[email protected] committed Dec 19, 2016
1 parent 41dc4cc commit 13fc74c
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 3 deletions.
20 changes: 20 additions & 0 deletions Source/WebCore/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
2016-12-19 Zan Dobersek <[email protected]>

[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 <[email protected]>

[GTK] GLXBadFBConfig error when creating an OpenGL context
Expand Down
1 change: 0 additions & 1 deletion Source/WebCore/Modules/encryptedmedia/CDM.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,6 @@ bool CDM::isPersistentType(MediaKeySessionType sessionType)
// ↳ "temporary"
return false;
case MediaKeySessionType::PersistentLicense:
case MediaKeySessionType::PersistentUsageRecord:
// ↳ "persistent-license"
return true;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ namespace WebCore {

enum class MediaKeySessionType {
Temporary,
PersistentUsageRecord,
PersistentLicense
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,5 @@
]
enum MediaKeySessionType {
"temporary",
"persistent-usage-record",
"persistent-license"
};

0 comments on commit 13fc74c

Please sign in to comment.