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

feat: provide the frame URL with permission requests and checks #19204

Conversation

trop[bot]
Copy link
Contributor

@trop trop bot commented Jul 11, 2019

Backport of #18773

See that PR for details.

Notes: Added requestingUrl and isMainFrame properties to the permission request and permission check handlers details objects so that apps can check the origin of the requesting frame rather than the root frame.

* feat: provide the frame URL with permission requests and checks

Also provides a handy isMainFrame property to determine if it is an
iframe making the request

* chore: refactor to use base::Value

* chore: use Set<Type>Key over SetPath
@codebytere codebytere merged commit 4e1c358 into 4-2-x Jul 12, 2019
@release-clerk
Copy link

release-clerk bot commented Jul 12, 2019

Release Notes Persisted

Added requestingUrl and isMainFrame properties to the permission request and permission check handlers details objects so that apps can check the origin of the requesting frame rather than the root frame.

@codebytere codebytere deleted the trop/4-2-x-bp-feat-provide-the-frame-url-with-permission-requests-and-checks--1562835630765 branch July 12, 2019 01:48
@codebytere
Copy link
Member

This feature was merged following a Releases Working Group vote.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4-2-x backport This is a backport PR new-pr 🌱 PR opened in the last 24 hours
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants