Summary

Harness status: OK

Found 16 tests

Details

ResultTest NameMessage
Failplain 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 run
Fail
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)
Failplain 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 run
Fail
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)
Failplain 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 run
Fail
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)
Failplain 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 run
Fail
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)
Passplain string at index 0 (default policy leaving the function text unchanged).
Asserts run
Pass
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)
Passplain string at index 1 (default policy leaving the function text unchanged).
Asserts run
Pass
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)
Passplain string at index 2 (default policy leaving the function text unchanged).
Asserts run
Pass
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)
Passplain string at index 3 (default policy leaving the function text unchanged).
Asserts run
Pass
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)
FailTrustedScript 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 run
Fail
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)
FailTrustedScript 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 run
Fail
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)
FailTrustedScript 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 run
Fail
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)
FailTrustedScript 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 run
Fail
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)
PassTrustedScript with forged toString() at index 0 (default policy leaving the function text unchanged).
Asserts run
Pass
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)
PassTrustedScript with forged toString() at index 1 (default policy leaving the function text unchanged).
Asserts run
Pass
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)
PassTrustedScript with forged toString() at index 2 (default policy leaving the function text unchanged).
Asserts run
Pass
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)
PassTrustedScript with forged toString() at index 3 (default policy leaving the function text unchanged).
Asserts run
Pass
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)