blob: 10d311030b59d95741eabe18951b458bc315e359 [file] [log] [blame]
<script src="../../resources/testharness.js"></script>
<script src="../../resources/testharnessreport.js"></script>
<img id="target">
<script>
test(() => {
target.style.content = 'url("chrome://")';
getComputedStyle(target).content;
}, 'Specifying a disallowed url protocol for <img> content property should not crash when serialising.');
</script>