Fail | plain string at index 0 (default policy modifying the function text). | assert_throws_js: function "_ => new Function(...mixed_args)" did not throw at Test.<anonymous> (https://www1.wpt.live/trusted-types/eval-function-constructor-untrusted-arguments-and-applying-default-policy.html:42:9)
at Test.step (https://www1.wpt.live/resources/testharness.js:2642:25)
at test (https://www1.wpt.live/resources/testharness.js:633:30)
at https://www1.wpt.live/trusted-types/eval-function-constructor-untrusted-arguments-and-applying-default-policy.html:38:7 Asserts runFail | assert_throws_js(function "function EvalError() { [native code] }", function "_ => new Function(...mixed_args)")
at Test.<anonymous> ( /trusted-types/eval-function-constructor-untrusted-arguments-and-applying-default-policy.html:42:9) |
|
Fail | plain string at index 1 (default policy modifying the function text). | assert_throws_js: function "_ => new Function(...mixed_args)" did not throw at Test.<anonymous> (https://www1.wpt.live/trusted-types/eval-function-constructor-untrusted-arguments-and-applying-default-policy.html:42:9)
at Test.step (https://www1.wpt.live/resources/testharness.js:2642:25)
at test (https://www1.wpt.live/resources/testharness.js:633:30)
at https://www1.wpt.live/trusted-types/eval-function-constructor-untrusted-arguments-and-applying-default-policy.html:38:7 Asserts runFail | assert_throws_js(function "function EvalError() { [native code] }", function "_ => new Function(...mixed_args)")
at Test.<anonymous> ( /trusted-types/eval-function-constructor-untrusted-arguments-and-applying-default-policy.html:42:9) |
|
Fail | plain string at index 2 (default policy modifying the function text). | assert_throws_js: function "_ => new Function(...mixed_args)" did not throw at Test.<anonymous> (https://www1.wpt.live/trusted-types/eval-function-constructor-untrusted-arguments-and-applying-default-policy.html:42:9)
at Test.step (https://www1.wpt.live/resources/testharness.js:2642:25)
at test (https://www1.wpt.live/resources/testharness.js:633:30)
at https://www1.wpt.live/trusted-types/eval-function-constructor-untrusted-arguments-and-applying-default-policy.html:38:7 Asserts runFail | assert_throws_js(function "function EvalError() { [native code] }", function "_ => new Function(...mixed_args)")
at Test.<anonymous> ( /trusted-types/eval-function-constructor-untrusted-arguments-and-applying-default-policy.html:42:9) |
|
Fail | plain string at index 3 (default policy modifying the function text). | assert_throws_js: function "_ => new Function(...mixed_args)" did not throw at Test.<anonymous> (https://www1.wpt.live/trusted-types/eval-function-constructor-untrusted-arguments-and-applying-default-policy.html:42:9)
at Test.step (https://www1.wpt.live/resources/testharness.js:2642:25)
at test (https://www1.wpt.live/resources/testharness.js:633:30)
at https://www1.wpt.live/trusted-types/eval-function-constructor-untrusted-arguments-and-applying-default-policy.html:38:7 Asserts runFail | assert_throws_js(function "function EvalError() { [native code] }", function "_ => new Function(...mixed_args)")
at Test.<anonymous> ( /trusted-types/eval-function-constructor-untrusted-arguments-and-applying-default-policy.html:42:9) |
|
Pass | plain string at index 0 (default policy leaving the function text unchanged). | Asserts runPass | assert_equals(9, 9)
at Test.<anonymous> ( /trusted-types/eval-function-constructor-untrusted-arguments-and-applying-default-policy.html:56:9) | Pass | assert_equals(15, 15)
at Test.<anonymous> ( /trusted-types/eval-function-constructor-untrusted-arguments-and-applying-default-policy.html:57:9) |
|
Pass | plain string at index 1 (default policy leaving the function text unchanged). | Asserts runPass | assert_equals(9, 9)
at Test.<anonymous> ( /trusted-types/eval-function-constructor-untrusted-arguments-and-applying-default-policy.html:56:9) | Pass | assert_equals(15, 15)
at Test.<anonymous> ( /trusted-types/eval-function-constructor-untrusted-arguments-and-applying-default-policy.html:57:9) |
|
Pass | plain string at index 2 (default policy leaving the function text unchanged). | Asserts runPass | assert_equals(9, 9)
at Test.<anonymous> ( /trusted-types/eval-function-constructor-untrusted-arguments-and-applying-default-policy.html:56:9) | Pass | assert_equals(15, 15)
at Test.<anonymous> ( /trusted-types/eval-function-constructor-untrusted-arguments-and-applying-default-policy.html:57:9) |
|
Pass | plain string at index 3 (default policy leaving the function text unchanged). | Asserts runPass | assert_equals(9, 9)
at Test.<anonymous> ( /trusted-types/eval-function-constructor-untrusted-arguments-and-applying-default-policy.html:56:9) | Pass | assert_equals(15, 15)
at Test.<anonymous> ( /trusted-types/eval-function-constructor-untrusted-arguments-and-applying-default-policy.html:57:9) |
|
Fail | TrustedScript with forged toString() at index 0 (default policy modifying the function text). | assert_throws_js: function "_ => new Function(...mixed_args)" did not throw at Test.<anonymous> (https://www1.wpt.live/trusted-types/eval-function-constructor-untrusted-arguments-and-applying-default-policy.html:42:9)
at Test.step (https://www1.wpt.live/resources/testharness.js:2642:25)
at test (https://www1.wpt.live/resources/testharness.js:633:30)
at https://www1.wpt.live/trusted-types/eval-function-constructor-untrusted-arguments-and-applying-default-policy.html:38:7 Asserts runFail | assert_throws_js(function "function EvalError() { [native code] }", function "_ => new Function(...mixed_args)")
at Test.<anonymous> ( /trusted-types/eval-function-constructor-untrusted-arguments-and-applying-default-policy.html:42:9) |
|
Fail | TrustedScript with forged toString() at index 1 (default policy modifying the function text). | assert_throws_js: function "_ => new Function(...mixed_args)" did not throw at Test.<anonymous> (https://www1.wpt.live/trusted-types/eval-function-constructor-untrusted-arguments-and-applying-default-policy.html:42:9)
at Test.step (https://www1.wpt.live/resources/testharness.js:2642:25)
at test (https://www1.wpt.live/resources/testharness.js:633:30)
at https://www1.wpt.live/trusted-types/eval-function-constructor-untrusted-arguments-and-applying-default-policy.html:38:7 Asserts runFail | assert_throws_js(function "function EvalError() { [native code] }", function "_ => new Function(...mixed_args)")
at Test.<anonymous> ( /trusted-types/eval-function-constructor-untrusted-arguments-and-applying-default-policy.html:42:9) |
|
Fail | TrustedScript with forged toString() at index 2 (default policy modifying the function text). | assert_throws_js: function "_ => new Function(...mixed_args)" did not throw at Test.<anonymous> (https://www1.wpt.live/trusted-types/eval-function-constructor-untrusted-arguments-and-applying-default-policy.html:42:9)
at Test.step (https://www1.wpt.live/resources/testharness.js:2642:25)
at test (https://www1.wpt.live/resources/testharness.js:633:30)
at https://www1.wpt.live/trusted-types/eval-function-constructor-untrusted-arguments-and-applying-default-policy.html:38:7 Asserts runFail | assert_throws_js(function "function EvalError() { [native code] }", function "_ => new Function(...mixed_args)")
at Test.<anonymous> ( /trusted-types/eval-function-constructor-untrusted-arguments-and-applying-default-policy.html:42:9) |
|
Fail | TrustedScript with forged toString() at index 3 (default policy modifying the function text). | assert_throws_js: function "_ => new Function(...mixed_args)" did not throw at Test.<anonymous> (https://www1.wpt.live/trusted-types/eval-function-constructor-untrusted-arguments-and-applying-default-policy.html:42:9)
at Test.step (https://www1.wpt.live/resources/testharness.js:2642:25)
at test (https://www1.wpt.live/resources/testharness.js:633:30)
at https://www1.wpt.live/trusted-types/eval-function-constructor-untrusted-arguments-and-applying-default-policy.html:38:7 Asserts runFail | assert_throws_js(function "function EvalError() { [native code] }", function "_ => new Function(...mixed_args)")
at Test.<anonymous> ( /trusted-types/eval-function-constructor-untrusted-arguments-and-applying-default-policy.html:42:9) |
|
Pass | TrustedScript with forged toString() at index 0 (default policy leaving the function text unchanged). | Asserts runPass | assert_equals(9, 9)
at Test.<anonymous> ( /trusted-types/eval-function-constructor-untrusted-arguments-and-applying-default-policy.html:56:9) | Pass | assert_equals(15, 15)
at Test.<anonymous> ( /trusted-types/eval-function-constructor-untrusted-arguments-and-applying-default-policy.html:57:9) |
|
Pass | TrustedScript with forged toString() at index 1 (default policy leaving the function text unchanged). | Asserts runPass | assert_equals(9, 9)
at Test.<anonymous> ( /trusted-types/eval-function-constructor-untrusted-arguments-and-applying-default-policy.html:56:9) | Pass | assert_equals(15, 15)
at Test.<anonymous> ( /trusted-types/eval-function-constructor-untrusted-arguments-and-applying-default-policy.html:57:9) |
|
Pass | TrustedScript with forged toString() at index 2 (default policy leaving the function text unchanged). | Asserts runPass | assert_equals(9, 9)
at Test.<anonymous> ( /trusted-types/eval-function-constructor-untrusted-arguments-and-applying-default-policy.html:56:9) | Pass | assert_equals(15, 15)
at Test.<anonymous> ( /trusted-types/eval-function-constructor-untrusted-arguments-and-applying-default-policy.html:57:9) |
|
Pass | TrustedScript with forged toString() at index 3 (default policy leaving the function text unchanged). | Asserts runPass | assert_equals(9, 9)
at Test.<anonymous> ( /trusted-types/eval-function-constructor-untrusted-arguments-and-applying-default-policy.html:56:9) | Pass | assert_equals(15, 15)
at Test.<anonymous> ( /trusted-types/eval-function-constructor-untrusted-arguments-and-applying-default-policy.html:57:9) |
|