wpt / css / css-content / crashtests / content-disallowed-url.html

Status: PASS | Duration: 78ms | Subtests: 1/1 | Open test on wpt.live | wpt.fyi

/css/css-content/crashtests/content-disallowed-url.html

<!DOCTYPE html>
<meta charset="utf-8">
<title>Disallowed URL protocol in content property should not crash</title>
<link rel="help" href="https://crbug.com/40450831">
<img id="target">
<script>
  document.getElementById('target').style.content = 'url("chrome://")';
  getComputedStyle(document.getElementById('target')).content;
</script>