Summary

Harness status: OK

Found 6 tests

Details

ResultTest NameMessage
FailBlocked eval in Window.assert_throws_js: function "_ => eval("'42'")" did not throw
    at Test.<anonymous> (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/trusted-types/support/block-eval-function-constructor.js:13:3)
    at Test.step (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:2642:25)
    at test (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:633:30)
    at https://xn--n8j6ds53lwwkrqhv28a.wpt.live/trusted-types/support/block-eval-function-constructor.js:11:1
Asserts run
Fail
assert_throws_js(function "function EvalError() { [native code] }", function "_ => eval("'42'")")
    at Test.<anonymous> ( /trusted-types/support/block-eval-function-constructor.js:13:3)
FailBlocked indirect eval in Window.assert_throws_js: function "_ => eval?.("'42'")" did not throw
    at Test.<anonymous> (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/trusted-types/support/block-eval-function-constructor.js:19:3)
    at Test.step (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:2642:25)
    at test (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:633:30)
    at https://xn--n8j6ds53lwwkrqhv28a.wpt.live/trusted-types/support/block-eval-function-constructor.js:17:1
Asserts run
Fail
assert_throws_js(function "function EvalError() { [native code] }", function "_ => eval?.("'42'")")
    at Test.<anonymous> ( /trusted-types/support/block-eval-function-constructor.js:19:3)
FailBlocked Function constructor in Window.assert_throws_js: function "_ => new functionConstructor("return;")" did not throw
    at Test.<anonymous> (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/trusted-types/support/block-eval-function-constructor.js:30:5)
    at Test.step (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:2642:25)
    at test (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:633:30)
    at https://xn--n8j6ds53lwwkrqhv28a.wpt.live/trusted-types/support/block-eval-function-constructor.js:28:3
Asserts run
Fail
assert_throws_js(function "function EvalError() { [native code] }", function "_ => new functionConstructor("return;")")
    at Test.<anonymous> ( /trusted-types/support/block-eval-function-constructor.js:30:5)
FailBlocked AsyncFunction constructor in Window.assert_throws_js: function "_ => new functionConstructor("return;")" did not throw
    at Test.<anonymous> (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/trusted-types/support/block-eval-function-constructor.js:30:5)
    at Test.step (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:2642:25)
    at test (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:633:30)
    at https://xn--n8j6ds53lwwkrqhv28a.wpt.live/trusted-types/support/block-eval-function-constructor.js:28:3
Asserts run
Fail
assert_throws_js(function "function EvalError() { [native code] }", function "_ => new functionConstructor("return;")")
    at Test.<anonymous> ( /trusted-types/support/block-eval-function-constructor.js:30:5)
FailBlocked GeneratorFunction constructor in Window.assert_throws_js: function "_ => new functionConstructor("return;")" did not throw
    at Test.<anonymous> (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/trusted-types/support/block-eval-function-constructor.js:30:5)
    at Test.step (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:2642:25)
    at test (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:633:30)
    at https://xn--n8j6ds53lwwkrqhv28a.wpt.live/trusted-types/support/block-eval-function-constructor.js:28:3
Asserts run
Fail
assert_throws_js(function "function EvalError() { [native code] }", function "_ => new functionConstructor("return;")")
    at Test.<anonymous> ( /trusted-types/support/block-eval-function-constructor.js:30:5)
FailBlocked AsyncGeneratorFunction constructor in Window.assert_throws_js: function "_ => new functionConstructor("return;")" did not throw
    at Test.<anonymous> (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/trusted-types/support/block-eval-function-constructor.js:30:5)
    at Test.step (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:2642:25)
    at test (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:633:30)
    at https://xn--n8j6ds53lwwkrqhv28a.wpt.live/trusted-types/support/block-eval-function-constructor.js:28:3
Asserts run
Fail
assert_throws_js(function "function EvalError() { [native code] }", function "_ => new functionConstructor("return;")")
    at Test.<anonymous> ( /trusted-types/support/block-eval-function-constructor.js:30:5)