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 request's client instead of the source browsing context to get a navigation initiator's CSP list #365

Merged
merged 1 commit into from
Nov 19, 2018

Conversation

andypaicu
Copy link
Collaborator

@andypaicu andypaicu commented Nov 12, 2018

Fixes #360
Also unblocks: #364

@bzbarsky: does this approach seem reasonable?


Preview | Diff

Copy link
Member

@mikewest mikewest left a comment

Choose a reason for hiding this comment

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

This looks right to me. We don't need source if we can grab the client from the request, and poke at its policy list. @annevk will know more about the intended lifetime of the client than I do, but I think we have to be able to assume it's alive at the points where you're poking at it.

LGTM.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants