OLD | NEW |
1 PASS document.inlineScriptHasRun is undefined | 1 CONSOLE ERROR: Refused to load the script 'http://127.0.0.1:8000/htmlimports/res
ources/external-script.js' because it violates the following Content Security Po
licy directive: "script-src http://localhost:8000". |
2 PASS document.externalScriptHasRun is undefined | |
3 PASS document.corsExternalScriptHasRun is true | |
4 PASS document.evalFromInlineHasRun is undefined | |
5 PASS document.evalFromExternalHasRun is undefined | |
6 FAIL document.evalFromCorsExternalHasRun should be undefined (of type undefined)
. Was true (of type boolean). | |
7 PASS successfullyParsed is true | |
8 | 2 |
9 TEST COMPLETE | 3 CONSOLE ERROR: Refused to evaluate a string as JavaScript because 'unsafe-eval'
is not an allowed source of script in the following Content Security Policy dire
ctive: "script-src http://localhost:8000". |
10 | 4 |
| 5 CONSOLE ERROR: line 2: Uncaught EvalError: Refused to evaluate a string as JavaS
cript because 'unsafe-eval' is not an allowed source of script in the following
Content Security Policy directive: "script-src http://localhost:8000". |
| 6 |
| 7 CONSOLE ERROR: line 6: Refused to execute inline script because it violates the
following Content Security Policy directive: "script-src http://localhost:8000".
Either the 'unsafe-inline' keyword, a hash ('sha256-...'), or a nonce ('nonce-.
..') is required to enable inline execution. |
| 8 |
| 9 CONSOLE MESSAGE: line 7: PASS |
| 10 CONSOLE MESSAGE: line 7: PASS |
| 11 CONSOLE MESSAGE: line 7: PASS |
| 12 CONSOLE MESSAGE: line 7: PASS |
| 13 CONSOLE MESSAGE: line 7: PASS |
| 14 CONSOLE MESSAGE: line 7: PASS |
| 15 |
OLD | NEW |