X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=tests%2Fphpunit%2Fincludes%2FSanitizerTest.php;h=dc672ba5346f71940ca766956da50a9ac5ffea68;hb=d9a422f0d1097902bb71f5d1f9f8f344918ec240;hp=c593d2f1bf71ce01680ac1111216a956500f183e;hpb=4c56eb3626209c343df77d9d68013e3ae2ae209f;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/phpunit/includes/SanitizerTest.php b/tests/phpunit/includes/SanitizerTest.php index c593d2f1bf..dc672ba534 100644 --- a/tests/phpunit/includes/SanitizerTest.php +++ b/tests/phpunit/includes/SanitizerTest.php @@ -194,6 +194,9 @@ class SanitizerTest extends MediaWikiTestCase { array( '/* insecure input */', 'background-image: image(asdf.png);'), array( '/* insecure input */', 'background-image: -webkit-image(asdf.png);'), array( '/* insecure input */', 'background-image: -moz-image(asdf.png);'), + array( '/* insecure input */', 'background-image: image-set("asdf.png" 1x, "asdf.png" 2x);'), + array( '/* insecure input */', 'background-image: -webkit-image-set("asdf.png" 1x, "asdf.png" 2x);'), + array( '/* insecure input */', 'background-image: -moz-image-set("asdf.png" 1x, "asdf.png" 2x);'), ); } }