You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This example from #7395 comment fails with the message that I am seeing on some of my tests. My web application does have a CSP.
The error message is: page.waitForFunction: EvalError: Refused to evaluate a string as JavaScript because 'unsafe-eval' is not an allowed source of script in the following Content Security Policy directive: "script-src github.githubassets.com".
After updating zone.js npm package from 0.11.4 to 0.11.7 in my Angular 12 application the following error message happens in quite a few tests when running Playwright. The application itself works but the Playwright tests fail.
page.waitForFunction: EvalError: Refused to evaluate a string as JavaScript because 'unsafe-eval' is not an allowed source of script in the following Content Security Policy directive: "default-src 'self'".
There is a previous issue #7395 that was closed but a reproduction was added after it was closed.
The text was updated successfully, but these errors were encountered:
Context:
System:
Binaries:
Languages:
Code Snippet
This example from #7395 comment fails with the message that I am seeing on some of my tests. My web application does have a CSP.
The error message is:
page.waitForFunction: EvalError: Refused to evaluate a string as JavaScript because 'unsafe-eval' is not an allowed source of script in the following Content Security Policy directive: "script-src github.githubassets.com".
Describe the bug
After updating zone.js npm package from 0.11.4 to 0.11.7 in my Angular 12 application the following error message happens in quite a few tests when running Playwright. The application itself works but the Playwright tests fail.
page.waitForFunction: EvalError: Refused to evaluate a string as JavaScript because 'unsafe-eval' is not an allowed source of script in the following Content Security Policy directive: "default-src 'self'".
There is a previous issue #7395 that was closed but a reproduction was added after it was closed.
The text was updated successfully, but these errors were encountered: