mirror of
https://github.com/zebrajr/ladybird.git
synced 2025-12-06 12:20:00 +01:00
LibWeb/EME: Add EncryptedMedia allowed allowed feature flag
This commit is contained in:
parent
b1c1e33bae
commit
d65f599f92
|
|
@ -4450,6 +4450,7 @@ bool Document::is_allowed_to_use_feature(PolicyControlledFeature feature) const
|
|||
return true;
|
||||
break;
|
||||
case PolicyControlledFeature::FocusWithoutUserActivation:
|
||||
case PolicyControlledFeature::EncryptedMedia:
|
||||
// FIXME: Implement allowlist for this.
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -158,6 +158,7 @@ struct ElementCreationOptions {
|
|||
|
||||
enum class PolicyControlledFeature : u8 {
|
||||
Autoplay,
|
||||
EncryptedMedia,
|
||||
FocusWithoutUserActivation,
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user