Backed out 1 changesets (bug 1160200) for causing R2 test failures

Backed out changeset b4f64c940524 (bug 1160200)
This commit is contained in:
Carsten "Tomcat" Book 2015-09-29 11:48:53 +02:00
parent 410ed448e3
commit 52eef12778
10 changed files with 0 additions and 18 deletions

View File

@ -34,8 +34,6 @@ DecoderFactory::GetDecoderType(const char* aMimeType)
type = DecoderType::PNG;
} else if (!strcmp(aMimeType, IMAGE_X_PNG)) {
type = DecoderType::PNG;
} else if (!strcmp(aMimeType, IMAGE_APNG)) {
type = DecoderType::PNG;
// GIF
} else if (!strcmp(aMimeType, IMAGE_GIF)) {

View File

@ -77,7 +77,6 @@ static const mozilla::Module::CategoryEntry kImageCategories[] = {
{ "Gecko-Content-Viewers", IMAGE_BMP_MS, "@mozilla.org/content/document-loader-factory;1" },
{ "Gecko-Content-Viewers", IMAGE_ICON_MS, "@mozilla.org/content/document-loader-factory;1" },
{ "Gecko-Content-Viewers", IMAGE_PNG, "@mozilla.org/content/document-loader-factory;1" },
{ "Gecko-Content-Viewers", IMAGE_APNG, "@mozilla.org/content/document-loader-factory;1" },
{ "Gecko-Content-Viewers", IMAGE_X_PNG, "@mozilla.org/content/document-loader-factory;1" },
{ "content-sniffing-services", "@mozilla.org/image/loader;1", "@mozilla.org/image/loader;1" },
{ nullptr }

Binary file not shown.

Before

Width:  |  Height:  |  Size: 361 B

View File

@ -1,3 +0,0 @@
<!doctype html>
<title>apng expected</title>
<img src="animated.apng">

View File

@ -1 +0,0 @@
== test.html expected.html

Binary file not shown.

Before

Width:  |  Height:  |  Size: 100 B

View File

@ -1,6 +0,0 @@
<!doctype html>
<title>apng test</title>
<picture>
<source type="video/vnd.mozilla.apng" srcset="animated.apng">
<img src="static.png">
</picture>

View File

@ -19,9 +19,6 @@ include w3c-css/received/reftest.list
include abs-pos/reftest.list
include position-relative/reftest.list
# apng-mime
include apng-mime/reftest.list
include async-scrolling/reftest.list
# backgrounds/

View File

@ -94,7 +94,6 @@
#define IMAGE_JPG "image/jpg"
#define IMAGE_PJPEG "image/pjpeg"
#define IMAGE_PNG "image/png"
#define IMAGE_APNG "video/vnd.mozilla.apng"
#define IMAGE_X_PNG "image/x-png"
#define IMAGE_PPM "image/x-portable-pixmap"
#define IMAGE_XBM "image/x-xbitmap"

View File

@ -576,7 +576,6 @@ static nsExtraMimeTypeEntry extraMimeEntries [] =
{ IMAGE_ICO, "ico,cur", "ICO Image" },
{ IMAGE_JPEG, "jpeg,jpg,jfif,pjpeg,pjp", "JPEG Image" },
{ IMAGE_PNG, "png", "PNG Image" },
{ IMAGE_APNG, "apng", "APNG Image" },
{ IMAGE_TIFF, "tiff,tif", "TIFF Image" },
{ IMAGE_XBM, "xbm", "XBM Image" },
{ IMAGE_SVG_XML, "svg", "Scalable Vector Graphics" },