Summary

Harness status: OK

Found 38 tests

Details

ResultTest NameMessage
FailCSS Values and Units Test: attr() security limitationsassert_equals: '--x: image-set(attr(data-foo))' with data-foo='https://does-not-exist.test/404.png' expected "image-set(\"https://does-not-exist.test/404.png\")" but got "image-set(attr(data-foo))"
    at Test.<anonymous> (https://wpt.live/css/css-values/attr-security.html:42:13)
    at Test.step (https://wpt.live/resources/testharness.js:2642:25)
    at test (https://wpt.live/resources/testharness.js:633:30)
    at test_attr (https://wpt.live/css/css-values/attr-security.html:41:9)
    at https://wpt.live/css/css-values/attr-security.html:71:5
Asserts run
Fail
assert_equals("image-set(attr(data-foo))", "image-set(\"https://does-not-exist.test/404.png\")", "'--x: image-set(attr(data-foo))' with data-foo='https://does-not-exist.test/404.png'")
    at Test.<anonymous> ( /css/css-values/attr-security.html:42:13)
PassCSS Values and Units Test: attr() security limitations 1
Asserts run
Pass
assert_equals("none", "none", "'background-image: image-set(attr(data-foo))' with data-foo='https://does-not-exist.test/404.png'")
    at Test.<anonymous> ( /css/css-values/attr-security.html:42:13)
PassCSS Values and Units Test: attr() security limitations 2
Asserts run
Pass
assert_equals("image-set(url(\"https://does-not-exist.test/404.png\") 1dppx)", "image-set(url(\"https://does-not-exist.test/404.png\") 1dppx)", "'background-image: image-set(\"https://does-not-exist.test/404.png\")' with data-foo='https://does-not-exist.test/404.png'")
    at Test.<anonymous> ( /css/css-values/attr-security.html:42:13)
FailCSS Values and Units Test: attr() security limitations 3assert_equals: '--x: src(attr(data-foo))' with data-foo='https://does-not-exist.test/404.png' expected "src(\"https://does-not-exist.test/404.png\")" but got "src(attr(data-foo))"
    at Test.<anonymous> (https://wpt.live/css/css-values/attr-security.html:42:13)
    at Test.step (https://wpt.live/resources/testharness.js:2642:25)
    at test (https://wpt.live/resources/testharness.js:633:30)
    at test_attr (https://wpt.live/css/css-values/attr-security.html:41:9)
    at https://wpt.live/css/css-values/attr-security.html:84:5
Asserts run
Fail
assert_equals("src(attr(data-foo))", "src(\"https://does-not-exist.test/404.png\")", "'--x: src(attr(data-foo))' with data-foo='https://does-not-exist.test/404.png'")
    at Test.<anonymous> ( /css/css-values/attr-security.html:42:13)
PassCSS Values and Units Test: attr() security limitations 4
Asserts run
Pass
assert_equals("none", "none", "'background-image: src(attr(data-foo))' with data-foo='https://does-not-exist.test/404.png'")
    at Test.<anonymous> ( /css/css-values/attr-security.html:42:13)
FailCSS Values and Units Test: attr() security limitations 5assert_equals: 'background-image: src("https://does-not-exist.test/404.png")' with data-foo='https://does-not-exist.test/404.png' expected "src(url(\"https://does-not-exist.test/404.png\"))" but got "none"
    at Test.<anonymous> (https://wpt.live/css/css-values/attr-security.html:42:13)
    at Test.step (https://wpt.live/resources/testharness.js:2642:25)
    at test (https://wpt.live/resources/testharness.js:633:30)
    at test_attr (https://wpt.live/css/css-values/attr-security.html:41:9)
    at https://wpt.live/css/css-values/attr-security.html:92:5
Asserts run
Fail
assert_equals("none", "src(url(\"https://does-not-exist.test/404.png\"))", "'background-image: src(\"https://does-not-exist.test/404.png\")' with data-foo='https://does-not-exist.test/404.png'")
    at Test.<anonymous> ( /css/css-values/attr-security.html:42:13)
FailCSS Values and Units Test: attr() security limitations 6assert_equals: '--x: src(string("https://does-not-exist.test" attr(data-foo)))' with data-foo='/404.png' expected "src(string(\"https://does-not-exist.test\" \"/404.png\"))" but got "src(string(\"https://does-not-exist.test\" attr(data-foo)))"
    at Test.<anonymous> (https://wpt.live/css/css-values/attr-security.html:42:13)
    at Test.step (https://wpt.live/resources/testharness.js:2642:25)
    at test (https://wpt.live/resources/testharness.js:633:30)
    at test_attr (https://wpt.live/css/css-values/attr-security.html:41:9)
    at https://wpt.live/css/css-values/attr-security.html:98:5
Asserts run
Fail
assert_equals("src(string(\"https://does-not-exist.test\" attr(data-foo)))", "src(string(\"https://does-not-exist.test\" \"/404.png\"))", "'--x: src(string(\"https://does-not-exist.test\" attr(data-foo)))' with data-foo='/404.png'")
    at Test.<anonymous> ( /css/css-values/attr-security.html:42:13)
PassCSS Values and Units Test: attr() security limitations 7
Asserts run
Pass
assert_equals("none", "none", "'background-image: src(string(\"https://does-not-exist.test\" attr(data-foo)))' with data-foo='/404.png'")
    at Test.<anonymous> ( /css/css-values/attr-security.html:42:13)
FailCSS Values and Units Test: attr() security limitations 8assert_equals: 'background-image: src(string("https://does-not-exist.test/""404.png"))' with data-foo='/404.png' expected "src(url(\"https://does-not-exist.test/404.png\"))" but got "none"
    at Test.<anonymous> (https://wpt.live/css/css-values/attr-security.html:42:13)
    at Test.step (https://wpt.live/resources/testharness.js:2642:25)
    at test (https://wpt.live/resources/testharness.js:633:30)
    at test_attr (https://wpt.live/css/css-values/attr-security.html:41:9)
    at https://wpt.live/css/css-values/attr-security.html:106:5
Asserts run
Fail
assert_equals("none", "src(url(\"https://does-not-exist.test/404.png\"))", "'background-image: src(string(\"https://does-not-exist.test/\"\"404.png\"))' with data-foo='/404.png'")
    at Test.<anonymous> ( /css/css-values/attr-security.html:42:13)
FailCSS Values and Units Test: attr() security limitations 9assert_equals: '--x: attr(data-foo type(<url>))' with data-foo='url(https://does-not-exist.test/404.png)' expected "url(\"https://does-not-exist.test/404.png\")" but got "attr(data-foo type(<url>))"
    at Test.<anonymous> (https://wpt.live/css/css-values/attr-security.html:42:13)
    at Test.step (https://wpt.live/resources/testharness.js:2642:25)
    at test (https://wpt.live/resources/testharness.js:633:30)
    at test_attr (https://wpt.live/css/css-values/attr-security.html:41:9)
    at https://wpt.live/css/css-values/attr-security.html:111:5
Asserts run
Fail
assert_equals("attr(data-foo type(<url>))", "url(\"https://does-not-exist.test/404.png\")", "'--x: attr(data-foo type(<url>))' with data-foo='url(https://does-not-exist.test/404.png)'")
    at Test.<anonymous> ( /css/css-values/attr-security.html:42:13)
PassCSS Values and Units Test: attr() security limitations 10
Asserts run
Pass
assert_equals("none", "none", "'background-image: attr(data-foo type(<url>))' with data-foo='url(https://does-not-exist.test/404.png)'")
    at Test.<anonymous> ( /css/css-values/attr-security.html:42:13)
PassCSS Values and Units Test: attr() security limitations 11
Asserts run
Pass
assert_equals("url(\"https://does-not-exist.test/404.png\")", "url(\"https://does-not-exist.test/404.png\")", "'background-image: url(\"https://does-not-exist.test/404.png\")' with data-foo='url(https://does-not-exist.test/404.png)'")
    at Test.<anonymous> ( /css/css-values/attr-security.html:42:13)
FailCSS Values and Units Test: attr() security limitations 12assert_equals: '--x: image(attr(data-foo))' with data-foo='https://does-not-exist.test/404.png' expected "image(\"https://does-not-exist.test/404.png\")" but got "image(attr(data-foo))"
    at Test.<anonymous> (https://wpt.live/css/css-values/attr-security.html:42:13)
    at Test.step (https://wpt.live/resources/testharness.js:2642:25)
    at test (https://wpt.live/resources/testharness.js:633:30)
    at test_attr (https://wpt.live/css/css-values/attr-security.html:41:9)
    at https://wpt.live/css/css-values/attr-security.html:124:5
Asserts run
Fail
assert_equals("image(attr(data-foo))", "image(\"https://does-not-exist.test/404.png\")", "'--x: image(attr(data-foo))' with data-foo='https://does-not-exist.test/404.png'")
    at Test.<anonymous> ( /css/css-values/attr-security.html:42:13)
PassCSS Values and Units Test: attr() security limitations 13
Asserts run
Pass
assert_equals("none", "none", "'background-image: image(attr(data-foo))' with data-foo='https://does-not-exist.test/404.png'")
    at Test.<anonymous> ( /css/css-values/attr-security.html:42:13)
FailCSS Values and Units Test: attr() security limitations 14assert_equals: 'background-image: image("https://does-not-exist.test/404.png")' with data-foo='https://does-not-exist.test/404.png' expected "image(url(\"https://does-not-exist.test/404.png\"))" but got "none"
    at Test.<anonymous> (https://wpt.live/css/css-values/attr-security.html:42:13)
    at Test.step (https://wpt.live/resources/testharness.js:2642:25)
    at test (https://wpt.live/resources/testharness.js:633:30)
    at test_attr (https://wpt.live/css/css-values/attr-security.html:41:9)
    at https://wpt.live/css/css-values/attr-security.html:132:5
Asserts run
Fail
assert_equals("none", "image(url(\"https://does-not-exist.test/404.png\"))", "'background-image: image(\"https://does-not-exist.test/404.png\")' with data-foo='https://does-not-exist.test/404.png'")
    at Test.<anonymous> ( /css/css-values/attr-security.html:42:13)
FailCSS Values and Units Test: attr() security limitations 15assert_equals: 'background-image: url(https://does-not-exist.test/404.png), attr(data-foo type(<image>))' with data-foo='linear-gradient(#000000, #ffffff)' expected "url(\"https://does-not-exist.test/404.png\"), linear-gradient(rgb(0, 0, 0), rgb(255, 255, 255))" but got "none"
    at Test.<anonymous> (https://wpt.live/css/css-values/attr-security.html:42:13)
    at Test.step (https://wpt.live/resources/testharness.js:2642:25)
    at test (https://wpt.live/resources/testharness.js:633:30)
    at test_attr (https://wpt.live/css/css-values/attr-security.html:41:9)
    at https://wpt.live/css/css-values/attr-security.html:137:5
Asserts run
Fail
assert_equals("none", "url(\"https://does-not-exist.test/404.png\"), linear-gradient(rgb(0, 0, 0), rgb(255, 255, 255))", "'background-image: url(https://does-not-exist.test/404.png), attr(data-foo type(<image>))' with data-foo='linear-gradient(#000000, #ffffff)'")
    at Test.<anonymous> ( /css/css-values/attr-security.html:42:13)
FailCSS Values and Units Test: attr() security limitations 16assert_equals: '--x: image-set(var(--y, attr(data-foo)))' with data-foo='https://does-not-exist.test/404.png' expected "image-set(\"https://does-not-exist.test/404.png\")" but got "image-set(attr(data-foo))"
    at Test.<anonymous> (https://wpt.live/css/css-values/attr-security.html:42:13)
    at Test.step (https://wpt.live/resources/testharness.js:2642:25)
    at test (https://wpt.live/resources/testharness.js:633:30)
    at test_attr (https://wpt.live/css/css-values/attr-security.html:41:9)
    at https://wpt.live/css/css-values/attr-security.html:145:5
Asserts run
Fail
assert_equals("image-set(attr(data-foo))", "image-set(\"https://does-not-exist.test/404.png\")", "'--x: image-set(var(--y, attr(data-foo)))' with data-foo='https://does-not-exist.test/404.png'")
    at Test.<anonymous> ( /css/css-values/attr-security.html:42:13)
PassCSS Values and Units Test: attr() security limitations 17
Asserts run
Pass
assert_equals("none", "none", "'background-image: image-set(var(--y, attr(data-foo)))' with data-foo='https://does-not-exist.test/404.png'")
    at Test.<anonymous> ( /css/css-values/attr-security.html:42:13)
FailCSS Values and Units Test: attr() security limitations 18assert_equals: '--x: image-set(var(--some-string))' with data-foo='https://does-not-exist.test/404.png' expected "image-set(\"https://does-not-exist.test/404.png\")" but got "image-set(attr(data-foo))"
    at Test.<anonymous> (https://wpt.live/css/css-values/attr-security.html:42:13)
    at Test.step (https://wpt.live/resources/testharness.js:2642:25)
    at test (https://wpt.live/resources/testharness.js:633:30)
    at test_attr (https://wpt.live/css/css-values/attr-security.html:41:9)
    at https://wpt.live/css/css-values/attr-security.html:155:5
Asserts run
Fail
assert_equals("image-set(attr(data-foo))", "image-set(\"https://does-not-exist.test/404.png\")", "'--x: image-set(var(--some-string))' with data-foo='https://does-not-exist.test/404.png'")
    at Test.<anonymous> ( /css/css-values/attr-security.html:42:13)
PassCSS Values and Units Test: attr() security limitations 19
Asserts run
Pass
assert_equals("none", "none", "'background-image: image-set(var(--some-string))' with data-foo='https://does-not-exist.test/404.png'")
    at Test.<anonymous> ( /css/css-values/attr-security.html:42:13)
FailCSS Values and Units Test: attr() security limitations 20assert_equals: '--x: image-set(var(--some-string-list))' with data-foo='https://does-not-exist.test/404.png' expected "image-set(\"https://does-not-exist2.test/404.png\" \"https://does-not-exist.test/404.png\")" but got "image-set(\"https://does-not-exist2.test/404.png\" attr(data-foo))"
    at Test.<anonymous> (https://wpt.live/css/css-values/attr-security.html:42:13)
    at Test.step (https://wpt.live/resources/testharness.js:2642:25)
    at test (https://wpt.live/resources/testharness.js:633:30)
    at test_attr (https://wpt.live/css/css-values/attr-security.html:41:9)
    at https://wpt.live/css/css-values/attr-security.html:165:5
Asserts run
Fail
assert_equals("image-set(\"https://does-not-exist2.test/404.png\" attr(data-foo))", "image-set(\"https://does-not-exist2.test/404.png\" \"https://does-not-exist.test/404.png\")", "'--x: image-set(var(--some-string-list))' with data-foo='https://does-not-exist.test/404.png'")
    at Test.<anonymous> ( /css/css-values/attr-security.html:42:13)
PassCSS Values and Units Test: attr() security limitations 21
Asserts run
Pass
assert_equals("none", "none", "'background-image: image-set(var(--some-string-list))' with data-foo='https://does-not-exist.test/404.png'")
    at Test.<anonymous> ( /css/css-values/attr-security.html:42:13)
PassCSS Values and Units Test: attr() security limitations 22
Asserts run
Pass
assert_equals("url(\"https://does-not-exist.test/empty-url\")", "url(\"https://does-not-exist.test/empty-url\")", "'--registered-url: attr(data-foo type(<url>))' with data-foo='https://does-not-exist.test/404.png'")
    at Test.<anonymous> ( /css/css-values/attr-security.html:63:11)
FailCSS Values and Units Test: attr() security limitations 23assert_equals: '--registered-color: attr(data-foo type(<color>))' with data-foo='blue' expected "rgb(0, 0, 255)" but got "rgb(255, 0, 0)"
    at Test.<anonymous> (https://wpt.live/css/css-values/attr-security.html:63:11)
    at Test.step (https://wpt.live/resources/testharness.js:2642:25)
    at test (https://wpt.live/resources/testharness.js:633:30)
    at test_registered_custom_property (https://wpt.live/css/css-values/attr-security.html:62:7)
    at https://wpt.live/css/css-values/attr-security.html:174:5
Asserts run
Fail
assert_equals("rgb(255, 0, 0)", "rgb(0, 0, 255)", "'--registered-color: attr(data-foo type(<color>))' with data-foo='blue'")
    at Test.<anonymous> ( /css/css-values/attr-security.html:63:11)
FailCSS Values and Units Test: attr() security limitations 24assert_equals: '--x: image-set(var(--some-other-url))' with data-foo='https://does-not-exist.test/404.png' expected "image-set(\"https://does-not-exist.test/404.png\")" but got "image-set(attr(data-foo))"
    at Test.<anonymous> (https://wpt.live/css/css-values/attr-security.html:42:13)
    at Test.step (https://wpt.live/resources/testharness.js:2642:25)
    at test (https://wpt.live/resources/testharness.js:633:30)
    at test_attr (https://wpt.live/css/css-values/attr-security.html:41:9)
    at https://wpt.live/css/css-values/attr-security.html:177:5
Asserts run
Fail
assert_equals("image-set(attr(data-foo))", "image-set(\"https://does-not-exist.test/404.png\")", "'--x: image-set(var(--some-other-url))' with data-foo='https://does-not-exist.test/404.png'")
    at Test.<anonymous> ( /css/css-values/attr-security.html:42:13)
PassCSS Values and Units Test: attr() security limitations 25
Asserts run
Pass
assert_equals("none", "none", "'background-image: image-set(var(--some-other-url))' with data-foo='https://does-not-exist.test/404.png'")
    at Test.<anonymous> ( /css/css-values/attr-security.html:42:13)
PassCSS Values and Units Test: attr() security limitations 26
Asserts run
Pass
assert_equals("none", "none", "'background-image: attr(data-foo type(*))' with data-foo='url(https://does-not-exist.test/404.png), linear-gradient(black, white)'")
    at Test.<anonymous> ( /css/css-values/attr-security.html:42:13)
PassCSS Values and Units Test: attr() security limitations 27
Asserts run
Pass
assert_equals("none", "none", "'background-image: image-set(var(--image-set-valid))' with data-foo='image/jpeg'")
    at Test.<anonymous> ( /css/css-values/attr-security.html:42:13)
PassCSS Values and Units Test: attr() security limitations 28
Asserts run
Pass
assert_equals("none", "none", "'background-image: image-set(var(--image-set-invalid))' with data-foo='https://does-not-exist.test/404.png'")
    at Test.<anonymous> ( /css/css-values/attr-security.html:42:13)
FailCSS Values and Units Test: attr() security limitations 29assert_equals: '--x: image-set(if(style(--true): attr(data-foo);))' with data-foo='https://does-not-exist.test/404.png' expected "image-set(\"https://does-not-exist.test/404.png\")" but got "image-set(if(style(--true): attr(data-foo);))"
    at Test.<anonymous> (https://wpt.live/css/css-values/attr-security.html:42:13)
    at Test.step (https://wpt.live/resources/testharness.js:2642:25)
    at test (https://wpt.live/resources/testharness.js:633:30)
    at test_attr (https://wpt.live/css/css-values/attr-security.html:41:9)
    at https://wpt.live/css/css-values/attr-security.html:203:5
Asserts run
Fail
assert_equals("image-set(if(style(--true): attr(data-foo);))", "image-set(\"https://does-not-exist.test/404.png\")", "'--x: image-set(if(style(--true): attr(data-foo);))' with data-foo='https://does-not-exist.test/404.png'")
    at Test.<anonymous> ( /css/css-values/attr-security.html:42:13)
PassCSS Values and Units Test: attr() security limitations 30
Asserts run
Pass
assert_equals("none", "none", "'background-image: image-set(if(style(--true): attr(data-foo);))' with data-foo='https://does-not-exist.test/404.png'")
    at Test.<anonymous> ( /css/css-values/attr-security.html:42:13)
FailCSS Values and Units Test: attr() security limitations 31assert_equals: 'background-image: image-set( if(style(--true): url(https://does-not-exist-2.test/404.png); else: attr(data-foo);))' with data-foo='https://does-not-exist-2.test/404.png' expected "image-set(url(\"https://does-not-exist-2.test/404.png\") 1dppx)" but got "none"
    at Test.<anonymous> (https://wpt.live/css/css-values/attr-security.html:42:13)
    at Test.step (https://wpt.live/resources/testharness.js:2642:25)
    at test (https://wpt.live/resources/testharness.js:633:30)
    at test_attr (https://wpt.live/css/css-values/attr-security.html:41:9)
    at https://wpt.live/css/css-values/attr-security.html:211:5
Asserts run
Fail
assert_equals("none", "image-set(url(\"https://does-not-exist-2.test/404.png\") 1dppx)", "'background-image: image-set(\n                if(style(--true): url(https://does-not-exist-2.test/404.png);\n                   else: attr(data-foo);))' with data-foo='https://does-not-exist-2.test/404.png'")
    at Test.<anonymous> ( /css/css-values/attr-security.html:42:13)
PassCSS Values and Units Test: attr() security limitations 32
Asserts run
Pass
assert_equals("none", "none", "'background-image: image-set(\n                if(style(--some-string): url(https://does-not-exist.test/404.png);))' with data-foo='https://does-not-exist.test/404.png'")
    at Test.<anonymous> ( /css/css-values/attr-security.html:42:13)
PassCSS Values and Units Test: attr() security limitations 33
Asserts run
Pass
assert_equals("none", "none", "'background-image: image-set(\n                if(style(--condition-val: attr(data-foo type(*))): url(https://does-not-exist.test/404.png);))' with data-foo='3'")
    at Test.<anonymous> ( /css/css-values/attr-security.html:42:13)
PassCSS Values and Units Test: attr() security limitations 34
Asserts run
Pass
assert_equals("none", "none", "'background-image: image-set(\n                if(style(--condition-val: attr(data-foo type(*))): url(https://does-not-exist.test/404.png);\n                   style(--true): url(https://does-not-exist.test/404.png);\n                   else: url(https://does-not-exist.test/404.png);))' with data-foo='1'")
    at Test.<anonymous> ( /css/css-values/attr-security.html:42:13)
FailCSS Values and Units Test: attr() security limitations 35assert_equals: 'background-image: image-set(if(style(--true): url(https://does-not-exist.test/404.png); style(--condition-val): url(https://does-not-exist.test/404.png); else: url(https://does-not-exist.test/404.png);))' with data-foo='attr(data-foo type(*))' expected "image-set(url(\"https://does-not-exist.test/404.png\") 1dppx)" but got "none"
    at Test.<anonymous> (https://wpt.live/css/css-values/attr-security.html:42:13)
    at Test.step (https://wpt.live/resources/testharness.js:2642:25)
    at test (https://wpt.live/resources/testharness.js:633:30)
    at test_attr (https://wpt.live/css/css-values/attr-security.html:41:9)
    at https://wpt.live/css/css-values/attr-security.html:234:5
Asserts run
Fail
assert_equals("none", "image-set(url(\"https://does-not-exist.test/404.png\") 1dppx)", "'background-image: image-set(if(style(--true): url(https://does-not-exist.test/404.png);\n                            style(--condition-val): url(https://does-not-exist.test/404.png);\n                            else: url(https://does-not-exist.test/404.png);))' with data-foo='attr(data-foo type(*))'")
    at Test.<anonymous> ( /css/css-values/attr-security.html:42:13)
PassCSS Values and Units Test: attr() security limitations 36
Asserts run
Pass
assert_equals("none", "none", "'background-image: image-set(\n                if(style(--condition-val: if(style(--true): attr(data-foo type(*));)): url(https://does-not-exist.test/404.png);))' with data-foo='3'")
    at Test.<anonymous> ( /css/css-values/attr-security.html:42:13)
FailCSS Values and Units Test: attr() security limitations 37assert_equals: '--x: image-set(if(style(--condition-val: if(style(--true): attr(data-foo type(*));)): url(https://does-not-exist.test/404.png);))' with data-foo='3' expected "image-set(url(https://does-not-exist.test/404.png))" but got "image-set(if(style(--condition-val: if(style(--true): attr(data-foo type(*));)): url(https://does-not-exist.test/404.png);))"
    at Test.<anonymous> (https://wpt.live/css/css-values/attr-security.html:42:13)
    at Test.step (https://wpt.live/resources/testharness.js:2642:25)
    at test (https://wpt.live/resources/testharness.js:633:30)
    at test_attr (https://wpt.live/css/css-values/attr-security.html:41:9)
    at https://wpt.live/css/css-values/attr-security.html:245:5
Asserts run
Fail
assert_equals("image-set(if(style(--condition-val: if(style(--true): attr(data-foo type(*));)): url(https://does-not-exist.test/404.png);))", "image-set(url(https://does-not-exist.test/404.png))", "'--x: image-set(if(style(--condition-val: if(style(--true): attr(data-foo type(*));)): url(https://does-not-exist.test/404.png);))' with data-foo='3'")
    at Test.<anonymous> ( /css/css-values/attr-security.html:42:13)