OLD | NEW |
| (Empty) |
1 <html> | |
2 <head> | |
3 <script> | |
4 if (window.testRunner) { | |
5 testRunner.dumpAsText(); | |
6 testRunner.waitUntilDone(); | |
7 } | |
8 | |
9 window.onload = function() { | |
10 if (!window.testRunner) | |
11 return; | |
12 // Force a pixel dump to cover raterization issues if any. | |
13 window.testRunner.capturePixelsAsyncThen(function() { | |
14 window.testRunner.notifyDone(); | |
15 }); | |
16 }; | |
17 </script> | |
18 </head> | |
19 <body> | |
20 <!-- This previously tried to read the size of the image when | |
21 ImageDecoder::m_failed was true, triggering either an assert or a | |
22 read of random memory. Thanks to Robert Swiecki for the test case. --> | |
23 <img src="resources/size-failure.gif"> | |
24 <p>PASS</p> | |
25 </body> | |
26 </html> | |
OLD | NEW |