Summary

Harness status: OK

Found 18 tests

Details

ResultTest NameMessage
FailAssign string to SVGScriptElement.href.baseVal.assert_equals: expected "SVGScriptElement href|about:blank" but got "SVGAnimatedString baseVal|about:blank"
    at Test.<anonymous> (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/trusted-types/trusted-types-svg-script-set-href.html:25:7)
Asserts run
Pass
assert_equals(1, 1, "a single violation reported")
    at trusted_type_violation_for ( /trusted-types/support/csp-violations.js:58:3)
Pass
assert_true(true, "TypeError exception reported")
    at trusted_type_violation_for ( /trusted-types/support/csp-violations.js:59:3)
Pass
assert_true(true)
    at Test.<anonymous> ( /trusted-types/trusted-types-svg-script-set-href.html:24:7)
Pass
assert_equals(null, null)
    at clipSampleIfNeeded ( /trusted-types/support/csp-violations.js:85:3)
Fail
assert_equals("SVGAnimatedString baseVal|about:blank", "SVGScriptElement href|about:blank")
    at Test.<anonymous> ( /trusted-types/trusted-types-svg-script-set-href.html:25:7)
PassAssign TrustedScriptURL to SVGScriptElement.href.baseVal.
Asserts run
Pass
assert_equals("about:blank", "about:blank")
    at Test.<anonymous> ( /trusted-types/trusted-types-svg-script-set-href.html:32:7)
Pass
assert_equals("about:blank", "about:blank")
    at Test.<anonymous> ( /trusted-types/trusted-types-svg-script-set-href.html:33:7)
FailAssign string to non-attached SVGScriptElement.href via setAttribute.assert_equals: expected "SVGScriptElement href|about:blank" but got "Element setAttribute|about:blank"
    at Test.<anonymous> (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/trusted-types/trusted-types-svg-script-set-href.html:45:7)
Asserts run
Pass
assert_equals(1, 1, "a single violation reported")
    at trusted_type_violation_for ( /trusted-types/support/csp-violations.js:58:3)
Pass
assert_true(true, "TypeError exception reported")
    at trusted_type_violation_for ( /trusted-types/support/csp-violations.js:59:3)
Pass
assert_true(true)
    at Test.<anonymous> ( /trusted-types/trusted-types-svg-script-set-href.html:44:7)
Pass
assert_equals(null, null)
    at clipSampleIfNeeded ( /trusted-types/support/csp-violations.js:85:3)
Fail
assert_equals("Element setAttribute|about:blank", "SVGScriptElement href|about:blank")
    at Test.<anonymous> ( /trusted-types/trusted-types-svg-script-set-href.html:45:7)
PassAssign TrustedScriptURL to non-attached SVGScriptElement.href via setAttribute.
Asserts run
Pass
assert_equals("about:blank", "about:blank")
    at Test.<anonymous> ( /trusted-types/trusted-types-svg-script-set-href.html:52:7)
Pass
assert_equals("about:blank", "about:blank")
    at Test.<anonymous> ( /trusted-types/trusted-types-svg-script-set-href.html:53:7)
FailAssign string to attached SVGScriptElement.href via setAttribute.assert_equals: expected "SVGScriptElement href|about:blank" but got "Element setAttribute|about:blank"
    at Test.<anonymous> (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/trusted-types/trusted-types-svg-script-set-href.html:66:7)
Asserts run
Pass
assert_equals(1, 1, "a single violation reported")
    at trusted_type_violation_for ( /trusted-types/support/csp-violations.js:58:3)
Pass
assert_true(true, "TypeError exception reported")
    at trusted_type_violation_for ( /trusted-types/support/csp-violations.js:59:3)
Pass
assert_true(true)
    at Test.<anonymous> ( /trusted-types/trusted-types-svg-script-set-href.html:65:7)
Pass
assert_equals(null, null)
    at clipSampleIfNeeded ( /trusted-types/support/csp-violations.js:85:3)
Fail
assert_equals("Element setAttribute|about:blank", "SVGScriptElement href|about:blank")
    at Test.<anonymous> ( /trusted-types/trusted-types-svg-script-set-href.html:66:7)
PassAssign TrustedScriptURL to attached SVGScriptElement.href via setAttribute.
Asserts run
Pass
assert_equals("about:blank", "about:blank")
    at Test.<anonymous> ( /trusted-types/trusted-types-svg-script-set-href.html:73:7)
Pass
assert_equals("about:blank", "about:blank")
    at Test.<anonymous> ( /trusted-types/trusted-types-svg-script-set-href.html:74:7)
FailAssign string to SVGScriptElement.className.baseVal.Failed to set the 'baseVal' property on 'SVGAnimatedString': This document requires 'TrustedScriptURL' assignment.
TypeError: Failed to set the 'baseVal' property on 'SVGAnimatedString': This document requires 'TrustedScriptURL' assignment.
    at Test.<anonymous> (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/trusted-types/trusted-types-svg-script-set-href.html:80:30)
    at Test.step (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:2642:25)
    at https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:738:36
    at new Promise (<anonymous>)
    at https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:737:20
Asserts runNo asserts ran
PassAssign TrustedScriptURL to SVGScriptElement.className.baseVal.
Asserts run
Pass
assert_equals("myClass", "myClass")
    at Test.<anonymous> ( /trusted-types/trusted-types-svg-script-set-href.html:89:7)
Pass
assert_equals("myClass", "myClass")
    at Test.<anonymous> ( /trusted-types/trusted-types-svg-script-set-href.html:90:7)
PassAssign string to SVGUseElement.href.baseVal.
Asserts run
Pass
assert_equals("about:blank", "about:blank")
    at Test.<anonymous> ( /trusted-types/trusted-types-svg-script-set-href.html:97:7)
Pass
assert_equals("about:blank", "about:blank")
    at Test.<anonymous> ( /trusted-types/trusted-types-svg-script-set-href.html:98:7)
PassAssign TrustedScriptURL to SVGUseElement.href.baseVal.
Asserts run
Pass
assert_equals("about:blank", "about:blank")
    at Test.<anonymous> ( /trusted-types/trusted-types-svg-script-set-href.html:105:7)
Pass
assert_equals("about:blank", "about:blank")
    at Test.<anonymous> ( /trusted-types/trusted-types-svg-script-set-href.html:106:7)
PassSetup default policy
Asserts runNo asserts ran
FailAssign string to SVGScriptElement.href.baseVal w/ default policy.assert_equals: expected "SVGScriptElement href" but got "SVGAnimatedString baseVal"
    at createScriptURL (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/trusted-types/trusted-types-svg-script-set-href.html:115:11)
    at Test.<anonymous> (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/trusted-types/trusted-types-svg-script-set-href.html:124:25)
    at Test.step (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:2642:25)
    at https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:738:36
    at new Promise (<anonymous>)
Asserts run
Fail
assert_equals("SVGAnimatedString baseVal", "SVGScriptElement href")
    at createScriptURL ( /trusted-types/trusted-types-svg-script-set-href.html:115:11)
FailAssign string to non-attached SVGScriptElement.href via setAttribute w/ default policy.assert_equals: expected "SVGScriptElement href" but got "Element setAttribute"
    at createScriptURL (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/trusted-types/trusted-types-svg-script-set-href.html:115:11)
    at Test.<anonymous> (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/trusted-types/trusted-types-svg-script-set-href.html:133:12)
    at Test.step (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:2642:25)
    at https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:738:36
    at new Promise (<anonymous>)
Asserts run
Fail
assert_equals("Element setAttribute", "SVGScriptElement href")
    at createScriptURL ( /trusted-types/trusted-types-svg-script-set-href.html:115:11)
FailAssign string to attached SVGScriptElement.href via setAttribute w/ default policy.assert_equals: expected "SVGScriptElement href" but got "Element setAttribute"
    at createScriptURL (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/trusted-types/trusted-types-svg-script-set-href.html:115:11)
    at Test.<anonymous> (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/trusted-types/trusted-types-svg-script-set-href.html:143:12)
    at Test.step (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:2642:25)
    at https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:738:36
    at new Promise (<anonymous>)
Asserts run
Fail
assert_equals("Element setAttribute", "SVGScriptElement href")
    at createScriptURL ( /trusted-types/trusted-types-svg-script-set-href.html:115:11)
FailAssign string to SVGScriptElement.className.baseVal w/ default policy.assert_equals: expected "SVGScriptElement href" but got "SVGAnimatedString baseVal"
    at createScriptURL (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/trusted-types/trusted-types-svg-script-set-href.html:115:11)
    at Test.<anonymous> (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/trusted-types/trusted-types-svg-script-set-href.html:151:30)
    at Test.step (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:2642:25)
    at https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:738:36
    at new Promise (<anonymous>)
Asserts run
Fail
assert_equals("SVGAnimatedString baseVal", "SVGScriptElement href")
    at createScriptURL ( /trusted-types/trusted-types-svg-script-set-href.html:115:11)
PassAssign TrustedScriptURL to SVGScriptElement.className.baseVal w/ default policy.
Asserts run
Pass
assert_equals("myClass", "myClass")
    at Test.<anonymous> ( /trusted-types/trusted-types-svg-script-set-href.html:160:7)
Pass
assert_equals("myClass", "myClass")
    at Test.<anonymous> ( /trusted-types/trusted-types-svg-script-set-href.html:161:7)
PassAssign string to SVGUseElement.href.baseVal w/ default policy.
Asserts run
Pass
assert_equals("about:blank", "about:blank")
    at Test.<anonymous> ( /trusted-types/trusted-types-svg-script-set-href.html:168:7)
Pass
assert_equals("about:blank", "about:blank")
    at Test.<anonymous> ( /trusted-types/trusted-types-svg-script-set-href.html:169:7)
PassAssign TrustedScriptURL to SVGUseElement.href.baseVal w/ default policy.
Asserts run
Pass
assert_equals("about:blank", "about:blank")
    at Test.<anonymous> ( /trusted-types/trusted-types-svg-script-set-href.html:176:7)
Pass
assert_equals("about:blank", "about:blank")
    at Test.<anonymous> ( /trusted-types/trusted-types-svg-script-set-href.html:177:7)