Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use allow attribute for delegation in web serial WPT #25713

Merged
merged 2 commits into from Sep 25, 2020

Conversation

chromium-wpt-export-bot
Copy link
Collaborator

@chromium-wpt-export-bot chromium-wpt-export-bot commented Sep 23, 2020

With an upcoming change to Feature/Permissions Policy, the header
alone will no longer be sufficient to delegate permissions to use
powerful features in subframes. The iframe allow attribute must
be used in conjunction with it. The header can still be used to
block delegation.

This change updates the WebSerial WPTs to use the allow attribute
for delegation.

Bug: 1095641
Change-Id: I810cd5df06b89b0b5b2f2c160e0f9eac19dd67f3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2424655
Commit-Queue: Ian Clelland <iclelland@chromium.org>
Auto-Submit: Ian Clelland <iclelland@chromium.org>
Reviewed-by: Charlie Hu <chenleihu@google.com>
Cr-Commit-Position: refs/heads/master@{#809834}

Copy link
Collaborator

@wpt-pr-bot wpt-pr-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The review process for this patch is being conducted in the Chromium project.

With an upcoming change to Feature/Permissions Policy, the header
alone will no longer be sufficient to delegate permissions to use
powerful features in subframes. The iframe allow attribute must
be used in conjunction with it. The header can still be used to
block delegation.

This change updates the WebSerial WPTs to use the allow attribute
for delegation.

Bug: 1095641
Change-Id: I810cd5df06b89b0b5b2f2c160e0f9eac19dd67f3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2424655
Commit-Queue: Ian Clelland <iclelland@chromium.org>
Auto-Submit: Ian Clelland <iclelland@chromium.org>
Reviewed-by: Charlie Hu <chenleihu@google.com>
Cr-Commit-Position: refs/heads/master@{#809834}
@stephenmcgruer
Copy link
Contributor

Unclear if caused by this change but the test is running pretty close to the long timeout, so added a meta tag.

@chromium-wpt-export-bot chromium-wpt-export-bot merged commit 7ed2935 into master Sep 25, 2020
@chromium-wpt-export-bot chromium-wpt-export-bot deleted the chromium-export-cl-2424655 branch September 25, 2020 20:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants