blob: 55bc3072768ae27b62228001a9a9c2b3622f0b37 [file] [log] [blame]
CONSOLE ERROR: line 1: Uncaught 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 'self' 'unsafe-inline'".
CONSOLE ERROR: line 1: Uncaught 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 'self' 'unsafe-inline'".
This is a testharness.js-based test.
PASS eval() call on the worklet should be blocked because the script-src unsafe-eval directive is not specified.
PASS eval() call on the worklet should not be blocked because the script-src unsafe-eval directive allows it.
Harness: the test ran to completion.