Skip to content

Conversation

@aslushnikov
Copy link
Contributor

This patch introduces page.setBypassCSP method that allows clients
to ignore Content-Security-Policy for a given page.

Fixes #1229.

This patch introduces `page.setBypassCSP` method that allows clients
to ignore Content-Security-Policy for a given page.

Fixes puppeteer#1229.
docs/api.md Outdated
- `enabled` <[boolean]> sets by-passing of page's Content-Security-Policy.
- returns: <[Promise]>

Toggles by-passing page's Content-Security-Policy.
Copy link
Contributor

Choose a reason for hiding this comment

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

Bypassing I think

@aslushnikov aslushnikov merged commit 35e34db into puppeteer:master Apr 6, 2018
aslushnikov referenced this pull request Apr 6, 2018
This roll includes:
- https://crrev.com/548598 - DevTools: implement Page.setBypassCSP method
- https://crrev.com/548690 - DevTools: introduce Page.navigatedWithinDocument event

References #1229, #257.
@TomasHubelbauer
Copy link

Is there a way to tell when this will land? It's not a part of any milestone and I don't think there is a roadmap for this yet, right? So probably Subscribe to this issue and that's it?

@aslushnikov
Copy link
Contributor Author

@TomasHubelbauer you can find the next release date in the very top of docs/api.md.

We'll release this on April 12 in version 1.3.0.

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.

3 participants