Fail | No violation reported for Function with TrustedScript. | assert_equals: no violation reported expected 0 but got 1 at no_trusted_type_violation_for (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/trusted-types/support/csp-violations.js:67:3)
at async Test.<anonymous> (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/trusted-types/support/trusted-types-reporting-for-function-constructor.js:10:5) Asserts runFail | assert_equals(1, 0, "no violation reported")
at no_trusted_type_violation_for ( /trusted-types/support/csp-violations.js:67:3) |
|
Fail | No violation reported for Function with multiple TrustedScript args. | assert_equals: no violation reported expected 0 but got 1 at no_trusted_type_violation_for (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/trusted-types/support/csp-violations.js:67:3)
at async Test.<anonymous> (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/trusted-types/support/trusted-types-reporting-for-function-constructor.js:16:5) Asserts runFail | assert_equals(1, 0, "no violation reported")
at no_trusted_type_violation_for ( /trusted-types/support/csp-violations.js:67:3) |
|
Pass | Violation report for Function with plain string. | 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/support/trusted-types-reporting-for-function-constructor.js:25:5) | Pass | assert_equals("trusted-types-sink", "trusted-types-sink")
at Test.<anonymous> ( /trusted-types/support/trusted-types-reporting-for-function-constructor.js:26:5) | Pass | assert_equals(null, null)
at clipSampleIfNeeded ( /trusted-types/support/csp-violations.js:85:3) | Pass | assert_equals("Function|(\n) {\nreturn;;;;;;;;;;;;;;;;;;;;;;;;;;;;", "Function|(\n) {\nreturn;;;;;;;;;;;;;;;;;;;;;;;;;;;;")
at Test.<anonymous> ( /trusted-types/support/trusted-types-reporting-for-function-constructor.js:27:5) |
|
Fail | No violation reported for AsyncFunction with TrustedScript. | assert_equals: no violation reported expected 0 but got 1 at no_trusted_type_violation_for (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/trusted-types/support/csp-violations.js:67:3)
at async Test.<anonymous> (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/trusted-types/support/trusted-types-reporting-for-function-constructor.js:10:5) Asserts runFail | assert_equals(1, 0, "no violation reported")
at no_trusted_type_violation_for ( /trusted-types/support/csp-violations.js:67:3) |
|
Fail | No violation reported for AsyncFunction with multiple TrustedScript args. | assert_equals: no violation reported expected 0 but got 1 at no_trusted_type_violation_for (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/trusted-types/support/csp-violations.js:67:3)
at async Test.<anonymous> (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/trusted-types/support/trusted-types-reporting-for-function-constructor.js:16:5) Asserts runFail | assert_equals(1, 0, "no violation reported")
at no_trusted_type_violation_for ( /trusted-types/support/csp-violations.js:67:3) |
|
Fail | Violation report for AsyncFunction with plain string. | assert_equals: expected "Function|(\n) {\nreturn;;;;;;;;;;;;;;;;;;;;;;;;;;;;" but got "eval|(async function anonymous(\n) {\nreturn;;;" at Test.<anonymous> (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/trusted-types/support/trusted-types-reporting-for-function-constructor.js:27:5) 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/support/trusted-types-reporting-for-function-constructor.js:25:5) | Pass | assert_equals("trusted-types-sink", "trusted-types-sink")
at Test.<anonymous> ( /trusted-types/support/trusted-types-reporting-for-function-constructor.js:26:5) | Pass | assert_equals(null, null)
at clipSampleIfNeeded ( /trusted-types/support/csp-violations.js:85:3) | Fail | assert_equals("eval|(async function anonymous(\n) {\nreturn;;;", "Function|(\n) {\nreturn;;;;;;;;;;;;;;;;;;;;;;;;;;;;")
at Test.<anonymous> ( /trusted-types/support/trusted-types-reporting-for-function-constructor.js:27:5) |
|
Fail | No violation reported for GeneratorFunction with TrustedScript. | assert_equals: no violation reported expected 0 but got 1 at no_trusted_type_violation_for (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/trusted-types/support/csp-violations.js:67:3)
at async Test.<anonymous> (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/trusted-types/support/trusted-types-reporting-for-function-constructor.js:10:5) Asserts runFail | assert_equals(1, 0, "no violation reported")
at no_trusted_type_violation_for ( /trusted-types/support/csp-violations.js:67:3) |
|
Fail | No violation reported for GeneratorFunction with multiple TrustedScript args. | assert_equals: no violation reported expected 0 but got 1 at no_trusted_type_violation_for (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/trusted-types/support/csp-violations.js:67:3)
at async Test.<anonymous> (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/trusted-types/support/trusted-types-reporting-for-function-constructor.js:16:5) Asserts runFail | assert_equals(1, 0, "no violation reported")
at no_trusted_type_violation_for ( /trusted-types/support/csp-violations.js:67:3) |
|
Fail | Violation report for GeneratorFunction with plain string. | assert_equals: expected "Function|(\n) {\nreturn;;;;;;;;;;;;;;;;;;;;;;;;;;;;" but got "eval|(function* anonymous(\n) {\nreturn;;;;;;;;" at Test.<anonymous> (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/trusted-types/support/trusted-types-reporting-for-function-constructor.js:27:5) 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/support/trusted-types-reporting-for-function-constructor.js:25:5) | Pass | assert_equals("trusted-types-sink", "trusted-types-sink")
at Test.<anonymous> ( /trusted-types/support/trusted-types-reporting-for-function-constructor.js:26:5) | Pass | assert_equals(null, null)
at clipSampleIfNeeded ( /trusted-types/support/csp-violations.js:85:3) | Fail | assert_equals("eval|(function* anonymous(\n) {\nreturn;;;;;;;;", "Function|(\n) {\nreturn;;;;;;;;;;;;;;;;;;;;;;;;;;;;")
at Test.<anonymous> ( /trusted-types/support/trusted-types-reporting-for-function-constructor.js:27:5) |
|
Fail | No violation reported for AsyncGeneratorFunction with TrustedScript. | assert_equals: no violation reported expected 0 but got 1 at no_trusted_type_violation_for (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/trusted-types/support/csp-violations.js:67:3)
at async Test.<anonymous> (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/trusted-types/support/trusted-types-reporting-for-function-constructor.js:10:5) Asserts runFail | assert_equals(1, 0, "no violation reported")
at no_trusted_type_violation_for ( /trusted-types/support/csp-violations.js:67:3) |
|
Fail | No violation reported for AsyncGeneratorFunction with multiple TrustedScript args. | assert_equals: no violation reported expected 0 but got 1 at no_trusted_type_violation_for (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/trusted-types/support/csp-violations.js:67:3)
at async Test.<anonymous> (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/trusted-types/support/trusted-types-reporting-for-function-constructor.js:16:5) Asserts runFail | assert_equals(1, 0, "no violation reported")
at no_trusted_type_violation_for ( /trusted-types/support/csp-violations.js:67:3) |
|
Fail | Violation report for AsyncGeneratorFunction with plain string. | assert_equals: expected "Function|(\n) {\nreturn;;;;;;;;;;;;;;;;;;;;;;;;;;;;" but got "eval|(async function* anonymous(\n) {\nreturn;;" at Test.<anonymous> (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/trusted-types/support/trusted-types-reporting-for-function-constructor.js:27:5) 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/support/trusted-types-reporting-for-function-constructor.js:25:5) | Pass | assert_equals("trusted-types-sink", "trusted-types-sink")
at Test.<anonymous> ( /trusted-types/support/trusted-types-reporting-for-function-constructor.js:26:5) | Pass | assert_equals(null, null)
at clipSampleIfNeeded ( /trusted-types/support/csp-violations.js:85:3) | Fail | assert_equals("eval|(async function* anonymous(\n) {\nreturn;;", "Function|(\n) {\nreturn;;;;;;;;;;;;;;;;;;;;;;;;;;;;")
at Test.<anonymous> ( /trusted-types/support/trusted-types-reporting-for-function-constructor.js:27:5) |
|