tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

attr-security.html.ini (2337B)


      1 [attr-security.html]
      2  ['background-image: src("https://does-not-exist.test/404.png")' with data-foo="https://does-not-exist.test/404.png"]
      3    expected: FAIL
      4 
      5  ['background-image: src(string("https://does-not-exist.test/""404.png"))' with data-foo="/404.png"]
      6    expected: FAIL
      7 
      8  ['background-image: image("https://does-not-exist.test/404.png")' with data-foo="https://does-not-exist.test/404.png"]
      9    expected: FAIL
     10 
     11  ['background-image: image-set(var(--some-string))' with data-foo="https://does-not-exist.test/404.png"]
     12    expected: FAIL
     13 
     14  ['--x: image-set(if(style(--true): attr(data-foo);))' with data-foo="https://does-not-exist.test/404.png"]
     15    expected: FAIL
     16 
     17  ['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"]
     18    expected: FAIL
     19 
     20  ['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(*))"]
     21    expected: FAIL
     22 
     23  ['background-image: attr(data-foo type(*))' with data-foo="url(https://does-not-exist.test/404.png), linear-gradient(black, white)"]
     24    expected: FAIL
     25 
     26  ['--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"]
     27    expected: FAIL
     28 
     29  ['--x: image-set(if(style(--condition-val >= attr(data-foo type(*))): url(https://does-not-exist.test/404.png);))' with data-foo="3"]
     30    expected: FAIL
     31 
     32  ['background-image: image-set(attr(data-foo))' with data-foo="https://does-not-exist.test/404.png"]
     33    expected: FAIL
     34 
     35  ['background-image: attr(data-foo type(<url>))' with data-foo="url(https://does-not-exist.test/404.png)"]
     36    expected: FAIL
     37 
     38  ['background-image: image-set(var(--y, attr(data-foo)))' with data-foo="https://does-not-exist.test/404.png"]
     39    expected: FAIL
     40 
     41  ['background-image: image-set(var(--some-other-url))' with data-foo="https://does-not-exist.test/404.png"]
     42    expected: FAIL
     43 
     44  ['background-image: image-set(var(--image-set-valid))' with data-foo="image/jpeg"]
     45    expected: FAIL