blob: 32b10d93fbba624ba311fadaa3bbe458bd44507e [file] [log] [blame]
<html>
<head>
<title>Test for 404 errors in iframes and objects</title>
</head>
<body>
<p>Test for <a href="https://bugs.webkit.org/show_bug.cgi?id=8121">bug 8121</a>:
REGRESSION: 404s are not displayed
and <a href="https://bugs.webkit.org/show_bug.cgi?id=7739">bug 7739</a>:
REGRESSION: Assertion failure loading acid2 test in -[WebCoreFrameBridge installInFrame:]</p>
<p>Here is an invalid iframe. It should contain a 404 error message, not any green fallback text.
Note this will only work if this page is fetched via http.</p>
<iframe src="error404.pl" width="70%" height="180">
<span style="color:green">fallback text</span>
</iframe>
<p>Here is an invalid object. It should be rendered with some green fallback text.</p>
<object data="404error.pl" type="image/x-unsupported" width=100 height=100>
<span style="color:green">fallback text</span>
</object>
</body>
</html>