Pass | Trusted Type violation report: evaluating a string violates both script-src and trusted-types. | Asserts runPass | assert_equals(1, 1, "a single violation reported")
at trusted_type_violation_for ( /trusted-types/support/csp-violations.js:58:3) | Pass | assert_true(true, "EvalError exception reported")
at trusted_type_violation_for ( /trusted-types/support/csp-violations.js:59:3) | Pass | assert_true(true)
at Test.<anonymous> ( /trusted-types/trusted-types-eval-reporting-no-unsafe-eval.html:29:5) | Pass | assert_equals(null, null)
at clipSampleIfNeeded ( /trusted-types/support/csp-violations.js:85:3) | Pass | assert_equals("eval|script_run_beacon=\"should not run\"", "eval|script_run_beacon=\"should not run\"")
at Test.<anonymous> ( /trusted-types/trusted-types-eval-reporting-no-unsafe-eval.html:30:5) | Pass | assert_equals("never_overwritten", "never_overwritten")
at Test.<anonymous> ( /trusted-types/trusted-types-eval-reporting-no-unsafe-eval.html:31:5) |
|
Pass | Trusted Type violation report: evaluating a Trusted Script violates script-src. | Asserts runPass | assert_equals(1, 1, "a single violation reported")
at trusted_type_violation_for ( /trusted-types/support/csp-violations.js:58:3) | Pass | assert_true(true, "EvalError exception reported")
at trusted_type_violation_for ( /trusted-types/support/csp-violations.js:59:3) | Pass | assert_equals("script-src", "script-src")
at Test.<anonymous> ( /trusted-types/trusted-types-eval-reporting-no-unsafe-eval.html:39:5) | Pass | assert_equals(null, null)
at clipSampleIfNeeded ( /trusted-types/support/csp-violations.js:85:3) | Pass | assert_equals("script_run_beacon=\"i ran\"", "script_run_beacon=\"i ran\"")
at Test.<anonymous> ( /trusted-types/trusted-types-eval-reporting-no-unsafe-eval.html:40:5) | Pass | assert_not_equals("never_overwritten", "i ran")
at Test.<anonymous> ( /trusted-types/trusted-types-eval-reporting-no-unsafe-eval.html:41:5) | Pass | assert_equals("never_overwritten", "never_overwritten")
at Test.<anonymous> ( /trusted-types/trusted-types-eval-reporting-no-unsafe-eval.html:42:5) |
|
Pass | Trusted Type violation report: script-src restrictions apply after the default policy runs. | Asserts runPass | assert_equals(1, 1, "a single violation reported")
at trusted_type_violation_for ( /trusted-types/support/csp-violations.js:58:3) | Pass | assert_true(true, "EvalError exception reported")
at trusted_type_violation_for ( /trusted-types/support/csp-violations.js:59:3) | Pass | assert_equals("script-src", "script-src")
at Test.<anonymous> ( /trusted-types/trusted-types-eval-reporting-no-unsafe-eval.html:53:5) | Pass | assert_equals(null, null)
at clipSampleIfNeeded ( /trusted-types/support/csp-violations.js:85:3) | Pass | assert_equals("script_run_beacon=\"should not run\"", "script_run_beacon=\"should not run\"")
at Test.<anonymous> ( /trusted-types/trusted-types-eval-reporting-no-unsafe-eval.html:54:5) | Pass | assert_not_equals("never_overwritten", "should not run")
at Test.<anonymous> ( /trusted-types/trusted-types-eval-reporting-no-unsafe-eval.html:55:5) | Pass | assert_equals("never_overwritten", "never_overwritten")
at Test.<anonymous> ( /trusted-types/trusted-types-eval-reporting-no-unsafe-eval.html:56:5) |
|