Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / http / tests / misc / iframe404.html
blob32b10d93fbba624ba311fadaa3bbe458bd44507e
1 <html>
2 <head>
3 <title>Test for 404 errors in iframes and objects</title>
4 </head>
5 <body>
7 <p>Test for <a href="https://bugs.webkit.org/show_bug.cgi?id=8121">bug 8121</a>:
8 REGRESSION: 404s are not displayed
9 and <a href="https://bugs.webkit.org/show_bug.cgi?id=7739">bug 7739</a>:
10 REGRESSION: Assertion failure loading acid2 test in -[WebCoreFrameBridge installInFrame:]</p>
12 <p>Here is an invalid iframe. It should contain a 404 error message, not any green fallback text.
13 Note this will only work if this page is fetched via http.</p>
14 <iframe src="error404.pl" width="70%" height="180">
15 <span style="color:green">fallback text</span>
16 </iframe>
19 <p>Here is an invalid object. It should be rendered with some green fallback text.</p>
20 <object data="404error.pl" type="image/x-unsupported" width=100 height=100>
21 <span style="color:green">fallback text</span>
22 </object>
24 </body>
25 </html>