Pass | Function constructor with mixed plain and trusted strings, mask #0 | Asserts runPass | assert_throws_js(function "function EvalError() { [native code] }", function "_ => new_function_with_maybe_trusted_args(mask, "Function")")
at Test.<anonymous> ( /trusted-types/eval-function-constructor.html:47:7) |
|
Pass | AsyncFunction constructor with mixed plain and trusted strings, mask #0 | Asserts runPass | assert_throws_js(function "function EvalError() { [native code] }", function "_ => new_function_with_maybe_trusted_args(mask, "AsyncFunction")")
at Test.<anonymous> ( /trusted-types/eval-function-constructor.html:51:7) |
|
Pass | GeneratorFunction constructor with mixed plain and trusted strings, mask #0 | Asserts runPass | assert_throws_js(function "function EvalError() { [native code] }", function "_ => new_function_with_maybe_trusted_args(mask, "GeneratorFunction")")
at Test.<anonymous> ( /trusted-types/eval-function-constructor.html:55:7) |
|
Pass | AsyncGeneratorFunction constructor with mixed plain and trusted strings, mask #0 | Asserts runPass | assert_throws_js(function "function EvalError() { [native code] }", function "_ => new_function_with_maybe_trusted_args(mask, "AsyncGeneratorFunction")")
at Test.<anonymous> ( /trusted-types/eval-function-constructor.html:59:7) |
|
Pass | Function constructor with mixed plain and trusted strings, mask #1 | Asserts runPass | assert_throws_js(function "function EvalError() { [native code] }", function "_ => new_function_with_maybe_trusted_args(mask, "Function")")
at Test.<anonymous> ( /trusted-types/eval-function-constructor.html:47:7) |
|
Pass | AsyncFunction constructor with mixed plain and trusted strings, mask #1 | Asserts runPass | assert_throws_js(function "function EvalError() { [native code] }", function "_ => new_function_with_maybe_trusted_args(mask, "AsyncFunction")")
at Test.<anonymous> ( /trusted-types/eval-function-constructor.html:51:7) |
|
Pass | GeneratorFunction constructor with mixed plain and trusted strings, mask #1 | Asserts runPass | assert_throws_js(function "function EvalError() { [native code] }", function "_ => new_function_with_maybe_trusted_args(mask, "GeneratorFunction")")
at Test.<anonymous> ( /trusted-types/eval-function-constructor.html:55:7) |
|
Pass | AsyncGeneratorFunction constructor with mixed plain and trusted strings, mask #1 | Asserts runPass | assert_throws_js(function "function EvalError() { [native code] }", function "_ => new_function_with_maybe_trusted_args(mask, "AsyncGeneratorFunction")")
at Test.<anonymous> ( /trusted-types/eval-function-constructor.html:59:7) |
|
Pass | Function constructor with mixed plain and trusted strings, mask #2 | Asserts runPass | assert_throws_js(function "function EvalError() { [native code] }", function "_ => new_function_with_maybe_trusted_args(mask, "Function")")
at Test.<anonymous> ( /trusted-types/eval-function-constructor.html:47:7) |
|
Pass | AsyncFunction constructor with mixed plain and trusted strings, mask #2 | Asserts runPass | assert_throws_js(function "function EvalError() { [native code] }", function "_ => new_function_with_maybe_trusted_args(mask, "AsyncFunction")")
at Test.<anonymous> ( /trusted-types/eval-function-constructor.html:51:7) |
|
Pass | GeneratorFunction constructor with mixed plain and trusted strings, mask #2 | Asserts runPass | assert_throws_js(function "function EvalError() { [native code] }", function "_ => new_function_with_maybe_trusted_args(mask, "GeneratorFunction")")
at Test.<anonymous> ( /trusted-types/eval-function-constructor.html:55:7) |
|
Pass | AsyncGeneratorFunction constructor with mixed plain and trusted strings, mask #2 | Asserts runPass | assert_throws_js(function "function EvalError() { [native code] }", function "_ => new_function_with_maybe_trusted_args(mask, "AsyncGeneratorFunction")")
at Test.<anonymous> ( /trusted-types/eval-function-constructor.html:59:7) |
|
Pass | Function constructor with mixed plain and trusted strings, mask #3 | Asserts runPass | assert_throws_js(function "function EvalError() { [native code] }", function "_ => new_function_with_maybe_trusted_args(mask, "Function")")
at Test.<anonymous> ( /trusted-types/eval-function-constructor.html:47:7) |
|
Pass | AsyncFunction constructor with mixed plain and trusted strings, mask #3 | Asserts runPass | assert_throws_js(function "function EvalError() { [native code] }", function "_ => new_function_with_maybe_trusted_args(mask, "AsyncFunction")")
at Test.<anonymous> ( /trusted-types/eval-function-constructor.html:51:7) |
|
Pass | GeneratorFunction constructor with mixed plain and trusted strings, mask #3 | Asserts runPass | assert_throws_js(function "function EvalError() { [native code] }", function "_ => new_function_with_maybe_trusted_args(mask, "GeneratorFunction")")
at Test.<anonymous> ( /trusted-types/eval-function-constructor.html:55:7) |
|
Pass | AsyncGeneratorFunction constructor with mixed plain and trusted strings, mask #3 | Asserts runPass | assert_throws_js(function "function EvalError() { [native code] }", function "_ => new_function_with_maybe_trusted_args(mask, "AsyncGeneratorFunction")")
at Test.<anonymous> ( /trusted-types/eval-function-constructor.html:59:7) |
|
Pass | Function constructor with mixed plain and trusted strings, mask #4 | Asserts runPass | assert_throws_js(function "function EvalError() { [native code] }", function "_ => new_function_with_maybe_trusted_args(mask, "Function")")
at Test.<anonymous> ( /trusted-types/eval-function-constructor.html:47:7) |
|
Pass | AsyncFunction constructor with mixed plain and trusted strings, mask #4 | Asserts runPass | assert_throws_js(function "function EvalError() { [native code] }", function "_ => new_function_with_maybe_trusted_args(mask, "AsyncFunction")")
at Test.<anonymous> ( /trusted-types/eval-function-constructor.html:51:7) |
|
Pass | GeneratorFunction constructor with mixed plain and trusted strings, mask #4 | Asserts runPass | assert_throws_js(function "function EvalError() { [native code] }", function "_ => new_function_with_maybe_trusted_args(mask, "GeneratorFunction")")
at Test.<anonymous> ( /trusted-types/eval-function-constructor.html:55:7) |
|
Pass | AsyncGeneratorFunction constructor with mixed plain and trusted strings, mask #4 | Asserts runPass | assert_throws_js(function "function EvalError() { [native code] }", function "_ => new_function_with_maybe_trusted_args(mask, "AsyncGeneratorFunction")")
at Test.<anonymous> ( /trusted-types/eval-function-constructor.html:59:7) |
|
Pass | Function constructor with mixed plain and trusted strings, mask #5 | Asserts runPass | assert_throws_js(function "function EvalError() { [native code] }", function "_ => new_function_with_maybe_trusted_args(mask, "Function")")
at Test.<anonymous> ( /trusted-types/eval-function-constructor.html:47:7) |
|
Pass | AsyncFunction constructor with mixed plain and trusted strings, mask #5 | Asserts runPass | assert_throws_js(function "function EvalError() { [native code] }", function "_ => new_function_with_maybe_trusted_args(mask, "AsyncFunction")")
at Test.<anonymous> ( /trusted-types/eval-function-constructor.html:51:7) |
|
Pass | GeneratorFunction constructor with mixed plain and trusted strings, mask #5 | Asserts runPass | assert_throws_js(function "function EvalError() { [native code] }", function "_ => new_function_with_maybe_trusted_args(mask, "GeneratorFunction")")
at Test.<anonymous> ( /trusted-types/eval-function-constructor.html:55:7) |
|
Pass | AsyncGeneratorFunction constructor with mixed plain and trusted strings, mask #5 | Asserts runPass | assert_throws_js(function "function EvalError() { [native code] }", function "_ => new_function_with_maybe_trusted_args(mask, "AsyncGeneratorFunction")")
at Test.<anonymous> ( /trusted-types/eval-function-constructor.html:59:7) |
|
Pass | Function constructor with mixed plain and trusted strings, mask #6 | Asserts runPass | assert_throws_js(function "function EvalError() { [native code] }", function "_ => new_function_with_maybe_trusted_args(mask, "Function")")
at Test.<anonymous> ( /trusted-types/eval-function-constructor.html:47:7) |
|
Pass | AsyncFunction constructor with mixed plain and trusted strings, mask #6 | Asserts runPass | assert_throws_js(function "function EvalError() { [native code] }", function "_ => new_function_with_maybe_trusted_args(mask, "AsyncFunction")")
at Test.<anonymous> ( /trusted-types/eval-function-constructor.html:51:7) |
|
Pass | GeneratorFunction constructor with mixed plain and trusted strings, mask #6 | Asserts runPass | assert_throws_js(function "function EvalError() { [native code] }", function "_ => new_function_with_maybe_trusted_args(mask, "GeneratorFunction")")
at Test.<anonymous> ( /trusted-types/eval-function-constructor.html:55:7) |
|
Pass | AsyncGeneratorFunction constructor with mixed plain and trusted strings, mask #6 | Asserts runPass | assert_throws_js(function "function EvalError() { [native code] }", function "_ => new_function_with_maybe_trusted_args(mask, "AsyncGeneratorFunction")")
at Test.<anonymous> ( /trusted-types/eval-function-constructor.html:59:7) |
|
Pass | Function constructor with mixed plain and trusted strings, mask #7 | Asserts runPass | assert_throws_js(function "function EvalError() { [native code] }", function "_ => new_function_with_maybe_trusted_args(mask, "Function")")
at Test.<anonymous> ( /trusted-types/eval-function-constructor.html:47:7) |
|
Pass | AsyncFunction constructor with mixed plain and trusted strings, mask #7 | Asserts runPass | assert_throws_js(function "function EvalError() { [native code] }", function "_ => new_function_with_maybe_trusted_args(mask, "AsyncFunction")")
at Test.<anonymous> ( /trusted-types/eval-function-constructor.html:51:7) |
|
Pass | GeneratorFunction constructor with mixed plain and trusted strings, mask #7 | Asserts runPass | assert_throws_js(function "function EvalError() { [native code] }", function "_ => new_function_with_maybe_trusted_args(mask, "GeneratorFunction")")
at Test.<anonymous> ( /trusted-types/eval-function-constructor.html:55:7) |
|
Pass | AsyncGeneratorFunction constructor with mixed plain and trusted strings, mask #7 | Asserts runPass | assert_throws_js(function "function EvalError() { [native code] }", function "_ => new_function_with_maybe_trusted_args(mask, "AsyncGeneratorFunction")")
at Test.<anonymous> ( /trusted-types/eval-function-constructor.html:59:7) |
|
Pass | Function constructor with mixed plain and trusted strings, mask #8 | Asserts runPass | assert_throws_js(function "function EvalError() { [native code] }", function "_ => new_function_with_maybe_trusted_args(mask, "Function")")
at Test.<anonymous> ( /trusted-types/eval-function-constructor.html:47:7) |
|
Pass | AsyncFunction constructor with mixed plain and trusted strings, mask #8 | Asserts runPass | assert_throws_js(function "function EvalError() { [native code] }", function "_ => new_function_with_maybe_trusted_args(mask, "AsyncFunction")")
at Test.<anonymous> ( /trusted-types/eval-function-constructor.html:51:7) |
|
Pass | GeneratorFunction constructor with mixed plain and trusted strings, mask #8 | Asserts runPass | assert_throws_js(function "function EvalError() { [native code] }", function "_ => new_function_with_maybe_trusted_args(mask, "GeneratorFunction")")
at Test.<anonymous> ( /trusted-types/eval-function-constructor.html:55:7) |
|
Pass | AsyncGeneratorFunction constructor with mixed plain and trusted strings, mask #8 | Asserts runPass | assert_throws_js(function "function EvalError() { [native code] }", function "_ => new_function_with_maybe_trusted_args(mask, "AsyncGeneratorFunction")")
at Test.<anonymous> ( /trusted-types/eval-function-constructor.html:59:7) |
|
Pass | Function constructor with mixed plain and trusted strings, mask #9 | Asserts runPass | assert_throws_js(function "function EvalError() { [native code] }", function "_ => new_function_with_maybe_trusted_args(mask, "Function")")
at Test.<anonymous> ( /trusted-types/eval-function-constructor.html:47:7) |
|
Pass | AsyncFunction constructor with mixed plain and trusted strings, mask #9 | Asserts runPass | assert_throws_js(function "function EvalError() { [native code] }", function "_ => new_function_with_maybe_trusted_args(mask, "AsyncFunction")")
at Test.<anonymous> ( /trusted-types/eval-function-constructor.html:51:7) |
|
Pass | GeneratorFunction constructor with mixed plain and trusted strings, mask #9 | Asserts runPass | assert_throws_js(function "function EvalError() { [native code] }", function "_ => new_function_with_maybe_trusted_args(mask, "GeneratorFunction")")
at Test.<anonymous> ( /trusted-types/eval-function-constructor.html:55:7) |
|
Pass | AsyncGeneratorFunction constructor with mixed plain and trusted strings, mask #9 | Asserts runPass | assert_throws_js(function "function EvalError() { [native code] }", function "_ => new_function_with_maybe_trusted_args(mask, "AsyncGeneratorFunction")")
at Test.<anonymous> ( /trusted-types/eval-function-constructor.html:59:7) |
|
Pass | Function constructor with mixed plain and trusted strings, mask #10 | Asserts runPass | assert_throws_js(function "function EvalError() { [native code] }", function "_ => new_function_with_maybe_trusted_args(mask, "Function")")
at Test.<anonymous> ( /trusted-types/eval-function-constructor.html:47:7) |
|
Pass | AsyncFunction constructor with mixed plain and trusted strings, mask #10 | Asserts runPass | assert_throws_js(function "function EvalError() { [native code] }", function "_ => new_function_with_maybe_trusted_args(mask, "AsyncFunction")")
at Test.<anonymous> ( /trusted-types/eval-function-constructor.html:51:7) |
|
Pass | GeneratorFunction constructor with mixed plain and trusted strings, mask #10 | Asserts runPass | assert_throws_js(function "function EvalError() { [native code] }", function "_ => new_function_with_maybe_trusted_args(mask, "GeneratorFunction")")
at Test.<anonymous> ( /trusted-types/eval-function-constructor.html:55:7) |
|
Pass | AsyncGeneratorFunction constructor with mixed plain and trusted strings, mask #10 | Asserts runPass | assert_throws_js(function "function EvalError() { [native code] }", function "_ => new_function_with_maybe_trusted_args(mask, "AsyncGeneratorFunction")")
at Test.<anonymous> ( /trusted-types/eval-function-constructor.html:59:7) |
|
Pass | Function constructor with mixed plain and trusted strings, mask #11 | Asserts runPass | assert_throws_js(function "function EvalError() { [native code] }", function "_ => new_function_with_maybe_trusted_args(mask, "Function")")
at Test.<anonymous> ( /trusted-types/eval-function-constructor.html:47:7) |
|
Pass | AsyncFunction constructor with mixed plain and trusted strings, mask #11 | Asserts runPass | assert_throws_js(function "function EvalError() { [native code] }", function "_ => new_function_with_maybe_trusted_args(mask, "AsyncFunction")")
at Test.<anonymous> ( /trusted-types/eval-function-constructor.html:51:7) |
|
Pass | GeneratorFunction constructor with mixed plain and trusted strings, mask #11 | Asserts runPass | assert_throws_js(function "function EvalError() { [native code] }", function "_ => new_function_with_maybe_trusted_args(mask, "GeneratorFunction")")
at Test.<anonymous> ( /trusted-types/eval-function-constructor.html:55:7) |
|
Pass | AsyncGeneratorFunction constructor with mixed plain and trusted strings, mask #11 | Asserts runPass | assert_throws_js(function "function EvalError() { [native code] }", function "_ => new_function_with_maybe_trusted_args(mask, "AsyncGeneratorFunction")")
at Test.<anonymous> ( /trusted-types/eval-function-constructor.html:59:7) |
|
Pass | Function constructor with mixed plain and trusted strings, mask #12 | Asserts runPass | assert_throws_js(function "function EvalError() { [native code] }", function "_ => new_function_with_maybe_trusted_args(mask, "Function")")
at Test.<anonymous> ( /trusted-types/eval-function-constructor.html:47:7) |
|
Pass | AsyncFunction constructor with mixed plain and trusted strings, mask #12 | Asserts runPass | assert_throws_js(function "function EvalError() { [native code] }", function "_ => new_function_with_maybe_trusted_args(mask, "AsyncFunction")")
at Test.<anonymous> ( /trusted-types/eval-function-constructor.html:51:7) |
|
Pass | GeneratorFunction constructor with mixed plain and trusted strings, mask #12 | Asserts runPass | assert_throws_js(function "function EvalError() { [native code] }", function "_ => new_function_with_maybe_trusted_args(mask, "GeneratorFunction")")
at Test.<anonymous> ( /trusted-types/eval-function-constructor.html:55:7) |
|
Pass | AsyncGeneratorFunction constructor with mixed plain and trusted strings, mask #12 | Asserts runPass | assert_throws_js(function "function EvalError() { [native code] }", function "_ => new_function_with_maybe_trusted_args(mask, "AsyncGeneratorFunction")")
at Test.<anonymous> ( /trusted-types/eval-function-constructor.html:59:7) |
|
Pass | Function constructor with mixed plain and trusted strings, mask #13 | Asserts runPass | assert_throws_js(function "function EvalError() { [native code] }", function "_ => new_function_with_maybe_trusted_args(mask, "Function")")
at Test.<anonymous> ( /trusted-types/eval-function-constructor.html:47:7) |
|
Pass | AsyncFunction constructor with mixed plain and trusted strings, mask #13 | Asserts runPass | assert_throws_js(function "function EvalError() { [native code] }", function "_ => new_function_with_maybe_trusted_args(mask, "AsyncFunction")")
at Test.<anonymous> ( /trusted-types/eval-function-constructor.html:51:7) |
|
Pass | GeneratorFunction constructor with mixed plain and trusted strings, mask #13 | Asserts runPass | assert_throws_js(function "function EvalError() { [native code] }", function "_ => new_function_with_maybe_trusted_args(mask, "GeneratorFunction")")
at Test.<anonymous> ( /trusted-types/eval-function-constructor.html:55:7) |
|
Pass | AsyncGeneratorFunction constructor with mixed plain and trusted strings, mask #13 | Asserts runPass | assert_throws_js(function "function EvalError() { [native code] }", function "_ => new_function_with_maybe_trusted_args(mask, "AsyncGeneratorFunction")")
at Test.<anonymous> ( /trusted-types/eval-function-constructor.html:59:7) |
|
Pass | Function constructor with mixed plain and trusted strings, mask #14 | Asserts runPass | assert_throws_js(function "function EvalError() { [native code] }", function "_ => new_function_with_maybe_trusted_args(mask, "Function")")
at Test.<anonymous> ( /trusted-types/eval-function-constructor.html:47:7) |
|
Pass | AsyncFunction constructor with mixed plain and trusted strings, mask #14 | Asserts runPass | assert_throws_js(function "function EvalError() { [native code] }", function "_ => new_function_with_maybe_trusted_args(mask, "AsyncFunction")")
at Test.<anonymous> ( /trusted-types/eval-function-constructor.html:51:7) |
|
Pass | GeneratorFunction constructor with mixed plain and trusted strings, mask #14 | Asserts runPass | assert_throws_js(function "function EvalError() { [native code] }", function "_ => new_function_with_maybe_trusted_args(mask, "GeneratorFunction")")
at Test.<anonymous> ( /trusted-types/eval-function-constructor.html:55:7) |
|
Pass | AsyncGeneratorFunction constructor with mixed plain and trusted strings, mask #14 | Asserts runPass | assert_throws_js(function "function EvalError() { [native code] }", function "_ => new_function_with_maybe_trusted_args(mask, "AsyncGeneratorFunction")")
at Test.<anonymous> ( /trusted-types/eval-function-constructor.html:59:7) |
|
Fail | Function constructor with mixed plain and trusted strings, mask #15 | Refused to evaluate a string as JavaScript because this document requires 'Trusted Type' assignment.EvalError: Refused to evaluate a string as JavaScript because this document requires 'Trusted Type' assignment.
at new Function (<anonymous>)
at new_function_with_maybe_trusted_args (https://not-wpt.live/trusted-types/eval-function-constructor.html:31:16)
at Test.<anonymous> (https://not-wpt.live/trusted-types/eval-function-constructor.html:68:15)
at Test.step (https://not-wpt.live/resources/testharness.js:2642:25)
at test (https://not-wpt.live/resources/testharness.js:633:30)
at https://not-wpt.live/trusted-types/eval-function-constructor.html:67:3 Asserts runNo asserts ran |
Pass | Function constructor with trusted strings, and a forged toString() for the one at index 0 | Asserts runPass | assert_throws_js(function "function EvalError() { [native code] }", function "_ => new Function(...mixed_args)")
at Test.<anonymous> ( /trusted-types/eval-function-constructor.html:84:7) |
|
Pass | Function constructor with trusted strings, and a forged toString() for the one at index 1 | Asserts runPass | assert_throws_js(function "function EvalError() { [native code] }", function "_ => new Function(...mixed_args)")
at Test.<anonymous> ( /trusted-types/eval-function-constructor.html:84:7) |
|
Pass | Function constructor with trusted strings, and a forged toString() for the one at index 2 | Asserts runPass | assert_throws_js(function "function EvalError() { [native code] }", function "_ => new Function(...mixed_args)")
at Test.<anonymous> ( /trusted-types/eval-function-constructor.html:84:7) |
|
Pass | Function constructor with trusted strings, and a forged toString() for the one at index 3 | Asserts runPass | assert_throws_js(function "function EvalError() { [native code] }", function "_ => new Function(...mixed_args)")
at Test.<anonymous> ( /trusted-types/eval-function-constructor.html:84:7) |
|