mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 19:35:51 +00:00
7f2cafcb86
From the following table, we can know the feature policy have no any effect for the autoplay result. That is, if the document has been gesture activated, we want to playback, regardless of the status of the feature policy. If the site has denied autoplay permission via feature policy, if the user gesture activates (clicks play) we still want to be able to play. Therefore, we can remove `feature-policy` checking. | gesture activated | autoplay feature policy status | allowed to play | |-------------------|--------------------------------|-----------------| | activated | allowed | true | | not activated | not allowed | false | | activated | not allowed | true | | not activated | allowed | false | Differential Revision: https://phabricator.services.mozilla.com/D18098 --HG-- extra : moz-landing-system : lando |
||
---|---|---|
.. | ||
test | ||
Feature.cpp | ||
Feature.h | ||
FeaturePolicy.cpp | ||
FeaturePolicy.h | ||
FeaturePolicyParser.cpp | ||
FeaturePolicyParser.h | ||
FeaturePolicyUtils.cpp | ||
FeaturePolicyUtils.h | ||
moz.build |