Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / images / size-failure.html
blob6f76a22ca4310f50e4b60070e12a564f54dc2523
1 <html>
2 <head>
3 <script>
4 if (window.testRunner) {
5 testRunner.dumpAsText();
6 testRunner.waitUntilDone();
8 // Force a pixel dump to cover raterization issues if any.
9 onload = function() {
10 testRunner.capturePixelsAsyncThen(function() {
11 testRunner.notifyDone();
12 });
15 </script>
17 </head>
18 <body>
19 <!-- This previously tried to read the size of the image when
20 ImageDecoder::m_failed was true, triggering either an assert or a
21 read of random memory. Thanks to Robert Swiecki for the test case. -->
22 <img src="resources/size-failure.gif">
23 <p>PASS</p>
24 </body>
25 </html>