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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/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
(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>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698