summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/css/content-image-set-disallowed-url-crash.html
blob: f57b6ff6a49dfbaa69254af792709cc89675f75b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<script src="../../resources/testharness.js"></script>
<script src="../../resources/testharnessreport.js"></script>

<style>
#target {
  content: -webkit-image-set(url("chrome://disallowed-url/") 1x);
}
</style>

<img id="target"></img>

<script>
test(() => {
  console.log(getComputedStyle(target).content);
}, 'This test passes if it does not crash.');
</script>