[Picture-in-Picture] Update feature policy default allowlist to *.
This CL reflects updated spec which changes Picture-in-Picture feature
to be allowed by default to documents in child frames.
Bug: 806249
Change-Id: I7c7a3a073b30ad5118aa634b0c0b1f3ac60d2e7a
Reviewed-on: https://chromium-review.googlesource.com/926104
Reviewed-by: Mounir Lamouri <mlamouri@chromium.org>
Reviewed-by: Ian Clelland <iclelland@chromium.org>
Commit-Queue: Mounir Lamouri <mlamouri@chromium.org>
Cr-Commit-Position: refs/heads/master@{#538145}
diff --git a/feature-policy/picture-in-picture-default-feature-policy.https.sub.html b/feature-policy/picture-in-picture-default-feature-policy.https.sub.html
index 6f82016..94cec08 100644
--- a/feature-policy/picture-in-picture-default-feature-policy.https.sub.html
+++ b/feature-policy/picture-in-picture-default-feature-policy.https.sub.html
@@ -11,7 +11,7 @@
const same_origin_src = '/feature-policy/resources/feature-policy-picture-in-picture.html';
const cross_origin_src = 'https://{{domains[www]}}:{{ports[https][0]}}' +
same_origin_src;
- const header = 'Default "picture-in-picture" feature policy ["self"]';
+ const header = 'Default "picture-in-picture" feature policy [*]';
async_test(t => {
isPictureInPictureAllowed().then(t.step_func_done((result) => {
@@ -26,8 +26,8 @@
async_test(t => {
test_feature_availability('picture-in-picture', t, cross_origin_src,
- expect_feature_unavailable_default,);
- }, header + ' disallows cross-origin iframes.');
+ expect_feature_available_default,);
+ }, header + ' allows cross-origin iframes.');
</script>
</body>