Summary

Harness status: OK

Found 7 tests

Details

ResultTest NameMessage
FailHTMLIFrameElement.setAttribute('srcdoc', plain_string)assert_equals: expected "HTMLIFrameElement srcdoc" but got "Element setAttribute"
    at Test.<anonymous> (https://www1.wpt.live/trusted-types/Element-setAttribute-setAttributeNS-sinks.tentative.html:45:5)
    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/Element-setAttribute-setAttributeNS-sinks.tentative.html:41:3
Asserts run
Pass
assert_equals("unsafe string", "unsafe string")
    at createTrustedType ( /trusted-types/Element-setAttribute-setAttributeNS-sinks.tentative.html:28:5)
Pass
assert_equals(undefined, undefined)
    at createTrustedType ( /trusted-types/Element-setAttribute-setAttributeNS-sinks.tentative.html:29:5)
Pass
assert_equals(undefined, undefined)
    at createTrustedType ( /trusted-types/Element-setAttribute-setAttributeNS-sinks.tentative.html:31:5)
Pass
assert_equals("TrustedHTML", "TrustedHTML")
    at Test.<anonymous> ( /trusted-types/Element-setAttribute-setAttributeNS-sinks.tentative.html:44:5)
Fail
assert_equals("Element setAttribute", "HTMLIFrameElement srcdoc")
    at Test.<anonymous> ( /trusted-types/Element-setAttribute-setAttributeNS-sinks.tentative.html:45:5)
FailHTMLIFrameElement.setAttributeNS(null, 'srcdoc', plain_string)assert_equals: expected "HTMLIFrameElement srcdoc" but got "Element setAttributeNS"
    at Test.<anonymous> (https://www1.wpt.live/trusted-types/Element-setAttribute-setAttributeNS-sinks.tentative.html:53:5)
    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/Element-setAttribute-setAttributeNS-sinks.tentative.html:49:3
Asserts run
Pass
assert_equals("unsafe string", "unsafe string")
    at createTrustedType ( /trusted-types/Element-setAttribute-setAttributeNS-sinks.tentative.html:28:5)
Pass
assert_equals(undefined, undefined)
    at createTrustedType ( /trusted-types/Element-setAttribute-setAttributeNS-sinks.tentative.html:29:5)
Pass
assert_equals(undefined, undefined)
    at createTrustedType ( /trusted-types/Element-setAttribute-setAttributeNS-sinks.tentative.html:31:5)
Pass
assert_equals("TrustedHTML", "TrustedHTML")
    at Test.<anonymous> ( /trusted-types/Element-setAttribute-setAttributeNS-sinks.tentative.html:52:5)
Fail
assert_equals("Element setAttributeNS", "HTMLIFrameElement srcdoc")
    at Test.<anonymous> ( /trusted-types/Element-setAttribute-setAttributeNS-sinks.tentative.html:53:5)
FailHTMLScriptElement.setAttribute('src', plain_string)assert_equals: expected "HTMLScriptElement src" but got "Element setAttribute"
    at Test.<anonymous> (https://www1.wpt.live/trusted-types/Element-setAttribute-setAttributeNS-sinks.tentative.html:61:5)
    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/Element-setAttribute-setAttributeNS-sinks.tentative.html:57:3
Asserts run
Pass
assert_equals("unsafe string", "unsafe string")
    at createTrustedType ( /trusted-types/Element-setAttribute-setAttributeNS-sinks.tentative.html:28:5)
Pass
assert_equals(undefined, undefined)
    at createTrustedType ( /trusted-types/Element-setAttribute-setAttributeNS-sinks.tentative.html:29:5)
Pass
assert_equals(undefined, undefined)
    at createTrustedType ( /trusted-types/Element-setAttribute-setAttributeNS-sinks.tentative.html:31:5)
Pass
assert_equals("TrustedScriptURL", "TrustedScriptURL")
    at Test.<anonymous> ( /trusted-types/Element-setAttribute-setAttributeNS-sinks.tentative.html:60:5)
Fail
assert_equals("Element setAttribute", "HTMLScriptElement src")
    at Test.<anonymous> ( /trusted-types/Element-setAttribute-setAttributeNS-sinks.tentative.html:61:5)
FailHTMLScriptElement.setAttributeNS(null, 'src', plain_string)assert_equals: expected "HTMLScriptElement src" but got "Element setAttributeNS"
    at Test.<anonymous> (https://www1.wpt.live/trusted-types/Element-setAttribute-setAttributeNS-sinks.tentative.html:69:5)
    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/Element-setAttribute-setAttributeNS-sinks.tentative.html:65:3
Asserts run
Pass
assert_equals("unsafe string", "unsafe string")
    at createTrustedType ( /trusted-types/Element-setAttribute-setAttributeNS-sinks.tentative.html:28:5)
Pass
assert_equals(undefined, undefined)
    at createTrustedType ( /trusted-types/Element-setAttribute-setAttributeNS-sinks.tentative.html:29:5)
Pass
assert_equals(undefined, undefined)
    at createTrustedType ( /trusted-types/Element-setAttribute-setAttributeNS-sinks.tentative.html:31:5)
Pass
assert_equals("TrustedScriptURL", "TrustedScriptURL")
    at Test.<anonymous> ( /trusted-types/Element-setAttribute-setAttributeNS-sinks.tentative.html:68:5)
Fail
assert_equals("Element setAttributeNS", "HTMLScriptElement src")
    at Test.<anonymous> ( /trusted-types/Element-setAttribute-setAttributeNS-sinks.tentative.html:69:5)
FailSVGScriptElement.setAttribute('href', plain_string)assert_equals: expected "SVGScriptElement href" but got "Element setAttribute"
    at Test.<anonymous> (https://www1.wpt.live/trusted-types/Element-setAttribute-setAttributeNS-sinks.tentative.html:77:5)
    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/Element-setAttribute-setAttributeNS-sinks.tentative.html:73:3
Asserts run
Pass
assert_equals("unsafe string", "unsafe string")
    at createTrustedType ( /trusted-types/Element-setAttribute-setAttributeNS-sinks.tentative.html:28:5)
Pass
assert_equals(undefined, undefined)
    at createTrustedType ( /trusted-types/Element-setAttribute-setAttributeNS-sinks.tentative.html:29:5)
Pass
assert_equals(undefined, undefined)
    at createTrustedType ( /trusted-types/Element-setAttribute-setAttributeNS-sinks.tentative.html:31:5)
Pass
assert_equals("TrustedScriptURL", "TrustedScriptURL")
    at Test.<anonymous> ( /trusted-types/Element-setAttribute-setAttributeNS-sinks.tentative.html:76:6)
Fail
assert_equals("Element setAttribute", "SVGScriptElement href")
    at Test.<anonymous> ( /trusted-types/Element-setAttribute-setAttributeNS-sinks.tentative.html:77:5)
FailSVGScriptElement.setAttributeNS(null, 'href', plain_string)assert_equals: expected "SVGScriptElement href" but got "Element setAttributeNS"
    at Test.<anonymous> (https://www1.wpt.live/trusted-types/Element-setAttribute-setAttributeNS-sinks.tentative.html:85:5)
    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/Element-setAttribute-setAttributeNS-sinks.tentative.html:81:3
Asserts run
Pass
assert_equals("unsafe string", "unsafe string")
    at createTrustedType ( /trusted-types/Element-setAttribute-setAttributeNS-sinks.tentative.html:28:5)
Pass
assert_equals(undefined, undefined)
    at createTrustedType ( /trusted-types/Element-setAttribute-setAttributeNS-sinks.tentative.html:29:5)
Pass
assert_equals(undefined, undefined)
    at createTrustedType ( /trusted-types/Element-setAttribute-setAttributeNS-sinks.tentative.html:31:5)
Pass
assert_equals("TrustedScriptURL", "TrustedScriptURL")
    at Test.<anonymous> ( /trusted-types/Element-setAttribute-setAttributeNS-sinks.tentative.html:84:5)
Fail
assert_equals("Element setAttributeNS", "SVGScriptElement href")
    at Test.<anonymous> ( /trusted-types/Element-setAttribute-setAttributeNS-sinks.tentative.html:85:5)
FailSVGScriptElement.setAttributeNS(NSURI_XLINK, 'href', plain_string)assert_equals: expected "SVGScriptElement href" but got "Element setAttributeNS"
    at Test.<anonymous> (https://www1.wpt.live/trusted-types/Element-setAttribute-setAttributeNS-sinks.tentative.html:93:5)
    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/Element-setAttribute-setAttributeNS-sinks.tentative.html:89:4
Asserts run
Pass
assert_equals("unsafe string", "unsafe string")
    at createTrustedType ( /trusted-types/Element-setAttribute-setAttributeNS-sinks.tentative.html:28:5)
Pass
assert_equals(undefined, undefined)
    at createTrustedType ( /trusted-types/Element-setAttribute-setAttributeNS-sinks.tentative.html:29:5)
Pass
assert_equals(undefined, undefined)
    at createTrustedType ( /trusted-types/Element-setAttribute-setAttributeNS-sinks.tentative.html:31:5)
Pass
assert_equals("TrustedScriptURL", "TrustedScriptURL")
    at Test.<anonymous> ( /trusted-types/Element-setAttribute-setAttributeNS-sinks.tentative.html:92:5)
Fail
assert_equals("Element setAttributeNS", "SVGScriptElement href")
    at Test.<anonymous> ( /trusted-types/Element-setAttribute-setAttributeNS-sinks.tentative.html:93:5)