diff options
Diffstat (limited to 'Source/WebKit/chromium/tests/WebImageTest.cpp')
-rw-r--r-- | Source/WebKit/chromium/tests/WebImageTest.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/Source/WebKit/chromium/tests/WebImageTest.cpp b/Source/WebKit/chromium/tests/WebImageTest.cpp index 2f44e34b3..f968176cf 100644 --- a/Source/WebKit/chromium/tests/WebImageTest.cpp +++ b/Source/WebKit/chromium/tests/WebImageTest.cpp @@ -88,15 +88,6 @@ TEST(WebImageTest, ICOImage) EXPECT_EQ(SkColorSetARGB(255, 0, 0, 0), images[1].getSkBitmap().getColor(0, 0)); } -TEST(WebImageTest, ICOValidHeaderMissingBitmap) -{ - RefPtr<SharedBuffer> data = readFile("valid_header_missing_bitmap.ico"); - ASSERT_TRUE(data.get()); - - WebVector<WebImage> images = WebImage::framesFromData(WebData(data)); - ASSERT_TRUE(images.isEmpty()); -} - TEST(WebImageTest, BadImage) { const char badImage[] = "hello world"; |