Summary

Harness status: OK

Found 9 tests

Details

ResultTest NameMessage
FailEnsure the right attributes are modified.assert_equals: expected "HTMLIFrameElement srcdoc" but got "Element setAttribute"
    at createHTML (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/trusted-types/modify-attributes-in-callback.html:24:9)
    at Test.<anonymous> (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/trusted-types/modify-attributes-in-callback.html:61:12)
    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/modify-attributes-in-callback.html:55:3
Asserts run
Pass
assert_equals("content", "content")
    at Test.<anonymous> ( /trusted-types/modify-attributes-in-callback.html:59:5)
Pass
assert_equals("", "")
    at Test.<anonymous> ( /trusted-types/modify-attributes-in-callback.html:60:5)
Fail
assert_equals("Element setAttribute", "HTMLIFrameElement srcdoc")
    at createHTML ( /trusted-types/modify-attributes-in-callback.html:24:9)
FailEnsure the deleted attributes is modified.assert_equals: expected "HTMLIFrameElement srcdoc" but got "Element setAttribute"
    at createHTML (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/trusted-types/modify-attributes-in-callback.html:24:9)
    at Test.<anonymous> (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/trusted-types/modify-attributes-in-callback.html:71:12)
    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/modify-attributes-in-callback.html:66:3
Asserts run
Pass
assert_equals("content", "content")
    at Test.<anonymous> ( /trusted-types/modify-attributes-in-callback.html:70:5)
Fail
assert_equals("Element setAttribute", "HTMLIFrameElement srcdoc")
    at createHTML ( /trusted-types/modify-attributes-in-callback.html:24:9)
FailEnsure the right attributes are modified (setAttributeNS).assert_equals: expected "HTMLIFrameElement srcdoc" but got "Element setAttributeNS"
    at createHTML (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/trusted-types/modify-attributes-in-callback.html:24:9)
    at Test.<anonymous> (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/trusted-types/modify-attributes-in-callback.html:80:12)
    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/modify-attributes-in-callback.html:75:3
Asserts run
Pass
assert_equals("content", "content")
    at Test.<anonymous> ( /trusted-types/modify-attributes-in-callback.html:78:5)
Pass
assert_equals("", "")
    at Test.<anonymous> ( /trusted-types/modify-attributes-in-callback.html:79:5)
Fail
assert_equals("Element setAttributeNS", "HTMLIFrameElement srcdoc")
    at createHTML ( /trusted-types/modify-attributes-in-callback.html:24:9)
FailEnsure the deleted attributes is modified (setAttributeNS).assert_equals: expected "HTMLIFrameElement srcdoc" but got "Element setAttributeNS"
    at createHTML (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/trusted-types/modify-attributes-in-callback.html:24:9)
    at Test.<anonymous> (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/trusted-types/modify-attributes-in-callback.html:89:12)
    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/modify-attributes-in-callback.html:85:3
Asserts run
Pass
assert_equals("content", "content")
    at Test.<anonymous> ( /trusted-types/modify-attributes-in-callback.html:88:5)
Fail
assert_equals("Element setAttributeNS", "HTMLIFrameElement srcdoc")
    at createHTML ( /trusted-types/modify-attributes-in-callback.html:24:9)
PassEnsure toggleAttribute results in an empty attribute.
Asserts run
Pass
assert_equals(2, 2)
    at Test.<anonymous> ( /trusted-types/modify-attributes-in-callback.html:112:5)
Pass
assert_equals("", "")
    at Test.<anonymous> ( /trusted-types/modify-attributes-in-callback.html:113:5)
FailEnsure setAttribute results in right attribute value.assert_equals: expected 2 but got 3
    at Test.<anonymous> (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/trusted-types/modify-attributes-in-callback.html:119: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/modify-attributes-in-callback.html:116:3
Asserts run
Fail
assert_equals(3, 2)
    at Test.<anonymous> ( /trusted-types/modify-attributes-in-callback.html:119:5)
PassEnsure setAttributeNS results in right attribute value.
Asserts run
Pass
assert_equals(2, 2)
    at Test.<anonymous> ( /trusted-types/modify-attributes-in-callback.html:126:5)
Pass
assert_equals("foo", "foo")
    at Test.<anonymous> ( /trusted-types/modify-attributes-in-callback.html:127:5)
FailEnsure setAttributeNode throws InUseAttributeError when callback assigns attributes.assert_true: DOMException exception reported expected true got false
    at Test.<anonymous> (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/trusted-types/modify-attributes-in-callback.html:138: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/modify-attributes-in-callback.html:130:3
Asserts run
Fail
assert_true(false, "DOMException exception reported")
    at Test.<anonymous> ( /trusted-types/modify-attributes-in-callback.html:138:5)
FailEnsure setAttributeNodeNS throws InUseAttributeError when callback assigns attributes.assert_true: DOMException exception reported expected true got false
    at Test.<anonymous> (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/trusted-types/modify-attributes-in-callback.html:150: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/modify-attributes-in-callback.html:142:3
Asserts run
Fail
assert_true(false, "DOMException exception reported")
    at Test.<anonymous> ( /trusted-types/modify-attributes-in-callback.html:150:5)