Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(528)

Side by Side Diff: third_party/WebKit/LayoutTests/images/size-failure.html

Issue 2496663002: Merge css3/image/ and fast/images/ to images/ (Closed)
Patch Set: Address failing tests (3 of them) Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 <html> 1 <html>
2 <head> 2 <head>
3 <script> 3 <script>
4 if (window.testRunner) { 4 if (window.testRunner) {
5 testRunner.dumpAsText(); 5 testRunner.dumpAsText();
6 testRunner.waitUntilDone(); 6 testRunner.waitUntilDone();
7 } 7 }
8 8
9 window.onload = function() { 9 window.onload = function() {
10 if (!window.testRunner) 10 if (!window.testRunner)
11 return; 11 return;
12 // Force a pixel dump to cover raterization issues if any. 12 // Force a pixel dump to cover raterization issues if any.
13 window.testRunner.capturePixelsAsyncThen(function() { 13 window.testRunner.capturePixelsAsyncThen(function() {
14 window.testRunner.notifyDone(); 14 window.testRunner.notifyDone();
15 }); 15 });
16 }; 16 };
17 </script> 17 </script>
18 </head> 18 </head>
19 <body> 19 <body>
20 <!-- This previously tried to read the size of the image when 20 <!-- This previously tried to read the size of the image when
21 ImageDecoder::m_failed was true, triggering either an assert or a 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. --> 22 read of random memory. Thanks to Robert Swiecki for the test case. -->
23 <img src="resources/size-failure.gif"> 23 <img src="resources/size-failure.gif">
24 <p>PASS</p> 24 <p>PASS</p>
25 </body> 25 </body>
26 </html> 26 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698