haikuwebkit/LayoutTests/fast/css-generated-content/malformed-url.html

15 lines
442 B
HTML

<html>
<div style="content:url(//%);"></div>
<div style="content:url(http://%server%/);"></div>
An invalid URL in the "content" style property should not cause a crash when the browser navigates away from the page.
FAIL - The browser should have navigated to resources/pass.html.
<script>
if (window.testRunner) {
testRunner.dumpAsText();
testRunner.waitUntilDone();
}
window.location.href = 'resources/pass.html';
</script>
</html>