Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / http / tests / loading / fire-error-event-empty-404-script.html
blob5987d67280d2040a896a901bf85d561fc8216d1c
1 <html>
2 <body>
3 <p>Test for <a href="https://bugs.webkit.org/show_bug.cgi?id=50589">bug 50589</a>:
4 Fire an error event for empty 404 script.</p>
5 <p>Should say SUCCESS:</p>
6 <p id=result></p>
7 <script>
8 if (window.testRunner)
9 testRunner.dumpAsText();
10 </script>
11 <script
12 src="resources/404-with-empty-body.cgi"
13 onload="document.getElementById('result').textContent = 'FAILURE'"
14 onerror="document.getElementById('result').textContent = 'SUCCESS'"></script>
15 </body>
16 </html>