summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/css/content-disallowed-url-crash.html
blob: 10d311030b59d95741eabe18951b458bc315e359 (plain)
1
2
3
4
5
6
7
8
9
<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>