puppeteer/new-docs/puppeteer.protocol.runtime.evaluaterequest.allowunsafeevalblockedbycsp.md
Johan Bay e89e264a16
feat(chromium): roll Chromium to r782078 (#6250)
This corresponds to Chromium 85.0.4182.0.

This roll includes: 
- Enable SameSiteByDefaultCookies and CookiesWithoutSameSiteMustBeSecure
   https://crrev.com/c/2231445
- [FlexNG] Enable FlexNG by default
   https://crrev.com/c/2216595

Closes #6151.
2020-07-20 17:17:06 +02:00

839 B

Home > puppeteer > Protocol > Runtime > EvaluateRequest > allowUnsafeEvalBlockedByCSP

Protocol.Runtime.EvaluateRequest.allowUnsafeEvalBlockedByCSP property

The Content Security Policy (CSP) for the target might block 'unsafe-eval' which includes eval(), Function(), setTimeout() and setInterval() when called with non-callable arguments. This flag bypasses CSP for this evaluation and allows unsafe-eval. Defaults to true.

Signature:

allowUnsafeEvalBlockedByCSP?: boolean;