Summary

Harness status: OK

Found 10 tests

Details

ResultTest NameMessage
Passeval of TrustedScript works.
Asserts run
Pass
assert_equals(2, 2)
    at Test.<anonymous> ( /trusted-types/eval-no-csp-no-tt.html:14:5)
Passindirect eval of TrustedScript works.
Asserts run
Pass
assert_equals(2, 2)
    at Test.<anonymous> ( /trusted-types/eval-no-csp-no-tt.html:18:5)
Passeval of string works.
Asserts run
Pass
assert_equals(2, 2)
    at Test.<anonymous> ( /trusted-types/eval-no-csp-no-tt.html:22:5)
Passindirect eval of string works.
Asserts run
Pass
assert_equals(2, 2)
    at Test.<anonymous> ( /trusted-types/eval-no-csp-no-tt.html:26:5)
Passeval of !TrustedScript and !string works.
Asserts run
Pass
assert_equals(42, 42)
    at Test.<anonymous> ( /trusted-types/eval-no-csp-no-tt.html:30:5)
Pass
assert_object_equals(object "[object Object]", object "[object Object]")
    at Test.<anonymous> ( /trusted-types/eval-no-csp-no-tt.html:31:5)
Pass
assert_equals(null, null)
    at Test.<anonymous> ( /trusted-types/eval-no-csp-no-tt.html:32:5)
Pass
assert_equals(undefined, undefined)
    at Test.<anonymous> ( /trusted-types/eval-no-csp-no-tt.html:33:5)
PassFunction constructor of TrustedScript works.
Asserts run
Pass
assert_equals(2, 2)
    at Test.<anonymous> ( /trusted-types/eval-no-csp-no-tt.html:37:5)
PassFunction constructor of all TrustedScripts works.
Asserts run
Pass
assert_equals(2, 2)
    at Test.<anonymous> ( /trusted-types/eval-no-csp-no-tt.html:41:5)
PassFunction constructor of string works.
Asserts run
Pass
assert_equals(2, 2)
    at Test.<anonymous> ( /trusted-types/eval-no-csp-no-tt.html:45:5)
PassFunction constructor of all strings works.
Asserts run
Pass
assert_equals(2, 2)
    at Test.<anonymous> ( /trusted-types/eval-no-csp-no-tt.html:49:5)
PassFunction constructor of string and TrustedScript works.
Asserts run
Pass
assert_equals(2, 2)
    at Test.<anonymous> ( /trusted-types/eval-no-csp-no-tt.html:53:5)