diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 00:47:55 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 00:47:55 +0000 |
commit | 26a029d407be480d791972afb5975cf62c9360a6 (patch) | |
tree | f435a8308119effd964b339f76abb83a57c29483 /image/test/reftest/ico/ico-png | |
parent | Initial commit. (diff) | |
download | firefox-upstream/124.0.1.tar.xz firefox-upstream/124.0.1.zip |
Adding upstream version 124.0.1.upstream/124.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'image/test/reftest/ico/ico-png')
41 files changed, 57 insertions, 0 deletions
diff --git a/image/test/reftest/ico/ico-png/corrupted_x00n0g01.ico b/image/test/reftest/ico/ico-png/corrupted_x00n0g01.ico Binary files differnew file mode 100644 index 0000000000..18b97b0b7e --- /dev/null +++ b/image/test/reftest/ico/ico-png/corrupted_x00n0g01.ico diff --git a/image/test/reftest/ico/ico-png/corrupted_xxcrn0g04.ico b/image/test/reftest/ico/ico-png/corrupted_xxcrn0g04.ico Binary files differnew file mode 100644 index 0000000000..3fa5285c5b --- /dev/null +++ b/image/test/reftest/ico/ico-png/corrupted_xxcrn0g04.ico diff --git a/image/test/reftest/ico/ico-png/ico-size-15x15-png.ico b/image/test/reftest/ico/ico-png/ico-size-15x15-png.ico Binary files differnew file mode 100644 index 0000000000..e67644a890 --- /dev/null +++ b/image/test/reftest/ico/ico-png/ico-size-15x15-png.ico diff --git a/image/test/reftest/ico/ico-png/ico-size-15x15-png.png b/image/test/reftest/ico/ico-png/ico-size-15x15-png.png Binary files differnew file mode 100644 index 0000000000..e1287430d0 --- /dev/null +++ b/image/test/reftest/ico/ico-png/ico-size-15x15-png.png diff --git a/image/test/reftest/ico/ico-png/ico-size-16x16-png.ico b/image/test/reftest/ico/ico-png/ico-size-16x16-png.ico Binary files differnew file mode 100644 index 0000000000..442ab4dc80 --- /dev/null +++ b/image/test/reftest/ico/ico-png/ico-size-16x16-png.ico diff --git a/image/test/reftest/ico/ico-png/ico-size-16x16-png.png b/image/test/reftest/ico/ico-png/ico-size-16x16-png.png Binary files differnew file mode 100644 index 0000000000..c04869e728 --- /dev/null +++ b/image/test/reftest/ico/ico-png/ico-size-16x16-png.png diff --git a/image/test/reftest/ico/ico-png/ico-size-17x17-png.ico b/image/test/reftest/ico/ico-png/ico-size-17x17-png.ico Binary files differnew file mode 100644 index 0000000000..f135385d7e --- /dev/null +++ b/image/test/reftest/ico/ico-png/ico-size-17x17-png.ico diff --git a/image/test/reftest/ico/ico-png/ico-size-17x17-png.png b/image/test/reftest/ico/ico-png/ico-size-17x17-png.png Binary files differnew file mode 100644 index 0000000000..00fb8e4f37 --- /dev/null +++ b/image/test/reftest/ico/ico-png/ico-size-17x17-png.png diff --git a/image/test/reftest/ico/ico-png/ico-size-1x1-png.ico b/image/test/reftest/ico/ico-png/ico-size-1x1-png.ico Binary files differnew file mode 100644 index 0000000000..8eb80c7db2 --- /dev/null +++ b/image/test/reftest/ico/ico-png/ico-size-1x1-png.ico diff --git a/image/test/reftest/ico/ico-png/ico-size-1x1-png.png b/image/test/reftest/ico/ico-png/ico-size-1x1-png.png Binary files differnew file mode 100644 index 0000000000..c05f5fef89 --- /dev/null +++ b/image/test/reftest/ico/ico-png/ico-size-1x1-png.png diff --git a/image/test/reftest/ico/ico-png/ico-size-256x256-png.ico b/image/test/reftest/ico/ico-png/ico-size-256x256-png.ico Binary files differnew file mode 100644 index 0000000000..ecb88edf3c --- /dev/null +++ b/image/test/reftest/ico/ico-png/ico-size-256x256-png.ico diff --git a/image/test/reftest/ico/ico-png/ico-size-256x256-png.png b/image/test/reftest/ico/ico-png/ico-size-256x256-png.png Binary files differnew file mode 100644 index 0000000000..2d2f52d6c1 --- /dev/null +++ b/image/test/reftest/ico/ico-png/ico-size-256x256-png.png diff --git a/image/test/reftest/ico/ico-png/ico-size-2x2-png.ico b/image/test/reftest/ico/ico-png/ico-size-2x2-png.ico Binary files differnew file mode 100644 index 0000000000..5799953c98 --- /dev/null +++ b/image/test/reftest/ico/ico-png/ico-size-2x2-png.ico diff --git a/image/test/reftest/ico/ico-png/ico-size-2x2-png.png b/image/test/reftest/ico/ico-png/ico-size-2x2-png.png Binary files differnew file mode 100644 index 0000000000..e512d3f9b4 --- /dev/null +++ b/image/test/reftest/ico/ico-png/ico-size-2x2-png.png diff --git a/image/test/reftest/ico/ico-png/ico-size-31x31-png.ico b/image/test/reftest/ico/ico-png/ico-size-31x31-png.ico Binary files differnew file mode 100644 index 0000000000..2e9fbd8f9c --- /dev/null +++ b/image/test/reftest/ico/ico-png/ico-size-31x31-png.ico diff --git a/image/test/reftest/ico/ico-png/ico-size-31x31-png.png b/image/test/reftest/ico/ico-png/ico-size-31x31-png.png Binary files differnew file mode 100644 index 0000000000..e4a8642514 --- /dev/null +++ b/image/test/reftest/ico/ico-png/ico-size-31x31-png.png diff --git a/image/test/reftest/ico/ico-png/ico-size-32x32-png.ico b/image/test/reftest/ico/ico-png/ico-size-32x32-png.ico Binary files differnew file mode 100644 index 0000000000..af97a86630 --- /dev/null +++ b/image/test/reftest/ico/ico-png/ico-size-32x32-png.ico diff --git a/image/test/reftest/ico/ico-png/ico-size-32x32-png.png b/image/test/reftest/ico/ico-png/ico-size-32x32-png.png Binary files differnew file mode 100644 index 0000000000..3a6fbe8ee9 --- /dev/null +++ b/image/test/reftest/ico/ico-png/ico-size-32x32-png.png diff --git a/image/test/reftest/ico/ico-png/ico-size-33x33-png.ico b/image/test/reftest/ico/ico-png/ico-size-33x33-png.ico Binary files differnew file mode 100644 index 0000000000..2509c8c1f2 --- /dev/null +++ b/image/test/reftest/ico/ico-png/ico-size-33x33-png.ico diff --git a/image/test/reftest/ico/ico-png/ico-size-33x33-png.png b/image/test/reftest/ico/ico-png/ico-size-33x33-png.png Binary files differnew file mode 100644 index 0000000000..72ef7eb636 --- /dev/null +++ b/image/test/reftest/ico/ico-png/ico-size-33x33-png.png diff --git a/image/test/reftest/ico/ico-png/ico-size-3x3-png.ico b/image/test/reftest/ico/ico-png/ico-size-3x3-png.ico Binary files differnew file mode 100644 index 0000000000..d2cd649c84 --- /dev/null +++ b/image/test/reftest/ico/ico-png/ico-size-3x3-png.ico diff --git a/image/test/reftest/ico/ico-png/ico-size-3x3-png.png b/image/test/reftest/ico/ico-png/ico-size-3x3-png.png Binary files differnew file mode 100644 index 0000000000..cb42ec4f87 --- /dev/null +++ b/image/test/reftest/ico/ico-png/ico-size-3x3-png.png diff --git a/image/test/reftest/ico/ico-png/ico-size-4x4-png.ico b/image/test/reftest/ico/ico-png/ico-size-4x4-png.ico Binary files differnew file mode 100644 index 0000000000..60180aad5e --- /dev/null +++ b/image/test/reftest/ico/ico-png/ico-size-4x4-png.ico diff --git a/image/test/reftest/ico/ico-png/ico-size-4x4-png.png b/image/test/reftest/ico/ico-png/ico-size-4x4-png.png Binary files differnew file mode 100644 index 0000000000..e6afafd89a --- /dev/null +++ b/image/test/reftest/ico/ico-png/ico-size-4x4-png.png diff --git a/image/test/reftest/ico/ico-png/ico-size-5x5-png.ico b/image/test/reftest/ico/ico-png/ico-size-5x5-png.ico Binary files differnew file mode 100644 index 0000000000..089c0c8858 --- /dev/null +++ b/image/test/reftest/ico/ico-png/ico-size-5x5-png.ico diff --git a/image/test/reftest/ico/ico-png/ico-size-5x5-png.png b/image/test/reftest/ico/ico-png/ico-size-5x5-png.png Binary files differnew file mode 100644 index 0000000000..a844aff76d --- /dev/null +++ b/image/test/reftest/ico/ico-png/ico-size-5x5-png.png diff --git a/image/test/reftest/ico/ico-png/ico-size-6x6-png.ico b/image/test/reftest/ico/ico-png/ico-size-6x6-png.ico Binary files differnew file mode 100644 index 0000000000..2ee75d25ab --- /dev/null +++ b/image/test/reftest/ico/ico-png/ico-size-6x6-png.ico diff --git a/image/test/reftest/ico/ico-png/ico-size-6x6-png.png b/image/test/reftest/ico/ico-png/ico-size-6x6-png.png Binary files differnew file mode 100644 index 0000000000..415c2d9c6a --- /dev/null +++ b/image/test/reftest/ico/ico-png/ico-size-6x6-png.png diff --git a/image/test/reftest/ico/ico-png/ico-size-7x7-png.ico b/image/test/reftest/ico/ico-png/ico-size-7x7-png.ico Binary files differnew file mode 100644 index 0000000000..ade9a3ecde --- /dev/null +++ b/image/test/reftest/ico/ico-png/ico-size-7x7-png.ico diff --git a/image/test/reftest/ico/ico-png/ico-size-7x7-png.png b/image/test/reftest/ico/ico-png/ico-size-7x7-png.png Binary files differnew file mode 100644 index 0000000000..ab2f892747 --- /dev/null +++ b/image/test/reftest/ico/ico-png/ico-size-7x7-png.png diff --git a/image/test/reftest/ico/ico-png/ico-size-8x8-png.ico b/image/test/reftest/ico/ico-png/ico-size-8x8-png.ico Binary files differnew file mode 100644 index 0000000000..a0a150bad6 --- /dev/null +++ b/image/test/reftest/ico/ico-png/ico-size-8x8-png.ico diff --git a/image/test/reftest/ico/ico-png/ico-size-8x8-png.png b/image/test/reftest/ico/ico-png/ico-size-8x8-png.png Binary files differnew file mode 100644 index 0000000000..fe2ff40a1d --- /dev/null +++ b/image/test/reftest/ico/ico-png/ico-size-8x8-png.png diff --git a/image/test/reftest/ico/ico-png/ico-size-9x9-png.ico b/image/test/reftest/ico/ico-png/ico-size-9x9-png.ico Binary files differnew file mode 100644 index 0000000000..a53357b449 --- /dev/null +++ b/image/test/reftest/ico/ico-png/ico-size-9x9-png.ico diff --git a/image/test/reftest/ico/ico-png/ico-size-9x9-png.png b/image/test/reftest/ico/ico-png/ico-size-9x9-png.png Binary files differnew file mode 100644 index 0000000000..18ab4b25de --- /dev/null +++ b/image/test/reftest/ico/ico-png/ico-size-9x9-png.png diff --git a/image/test/reftest/ico/ico-png/reftest.list b/image/test/reftest/ico/ico-png/reftest.list new file mode 100644 index 0000000000..002d0e4f32 --- /dev/null +++ b/image/test/reftest/ico/ico-png/reftest.list @@ -0,0 +1,29 @@ +# ICO PNG tests + +# Images of various sizes +== ico-size-1x1-png.ico ico-size-1x1-png.png +== ico-size-2x2-png.ico ico-size-2x2-png.png +== ico-size-3x3-png.ico ico-size-3x3-png.png +== ico-size-4x4-png.ico ico-size-4x4-png.png +== ico-size-5x5-png.ico ico-size-5x5-png.png +== ico-size-6x6-png.ico ico-size-6x6-png.png +== ico-size-7x7-png.ico ico-size-7x7-png.png +== ico-size-8x8-png.ico ico-size-8x8-png.png +== ico-size-9x9-png.ico ico-size-9x9-png.png +== ico-size-15x15-png.ico ico-size-15x15-png.png +== ico-size-16x16-png.ico ico-size-16x16-png.png +== ico-size-17x17-png.ico ico-size-17x17-png.png +== ico-size-31x31-png.ico ico-size-31x31-png.png +== ico-size-32x32-png.ico ico-size-32x32-png.png +== ico-size-33x33-png.ico ico-size-33x33-png.png +== ico-size-256x256-png.ico ico-size-256x256-png.png + +# Corrupted files so no image should be loaded +# x00n0g01 - empty 0x0 grayscale file +== wrapper.html?x00n0g01.ico about:blank +# xcrn0g04 - added cr bytes +== wrapper.html?xcrn0g04.ico about:blank + +# Test ICO PNG transparency +== transparent-png.ico transparent-png.png + diff --git a/image/test/reftest/ico/ico-png/tmp.ico b/image/test/reftest/ico/ico-png/tmp.ico Binary files differnew file mode 100644 index 0000000000..5723a2e776 --- /dev/null +++ b/image/test/reftest/ico/ico-png/tmp.ico diff --git a/image/test/reftest/ico/ico-png/transparent-png.ico b/image/test/reftest/ico/ico-png/transparent-png.ico Binary files differnew file mode 100644 index 0000000000..cc8a4a31db --- /dev/null +++ b/image/test/reftest/ico/ico-png/transparent-png.ico diff --git a/image/test/reftest/ico/ico-png/transparent-png.png b/image/test/reftest/ico/ico-png/transparent-png.png Binary files differnew file mode 100644 index 0000000000..29e3a24359 --- /dev/null +++ b/image/test/reftest/ico/ico-png/transparent-png.png diff --git a/image/test/reftest/ico/ico-png/wrapper.html b/image/test/reftest/ico/ico-png/wrapper.html new file mode 100644 index 0000000000..45b5167754 --- /dev/null +++ b/image/test/reftest/ico/ico-png/wrapper.html @@ -0,0 +1,28 @@ +<!DOCTYPE HTML> +<html class="reftest-wait"> +<head> +<title>Image reftest wrapper</title> +<style type="text/css"> + #image1 { background-color: rgb(10, 100, 250); } +</style> +<script> + // The image is loaded async after the page loads + // wait for it to finish loading + function onImageLoad() { + document.documentElement.removeAttribute("class"); + }; +</script> +</head> +<body> +<!-- non-empty alt to avoid the broken image icon --> +<img id="image1" alt=" "> +<script> + // Use as "wrapper.html?image.png + var imgURL = document.location.search.substr(1); + document.images[0].onload = onImageLoad; + document.images[0].onerror = onImageLoad; + document.images[0].src = imgURL; +</script> +</body> +</html> + diff --git a/image/test/reftest/ico/ico-png/x00n0g01.png b/image/test/reftest/ico/ico-png/x00n0g01.png Binary files differnew file mode 100644 index 0000000000..db3a5fda7e --- /dev/null +++ b/image/test/reftest/ico/ico-png/x00n0g01.png diff --git a/image/test/reftest/ico/ico-png/xcrn0g04.png b/image/test/reftest/ico/ico-png/xcrn0g04.png Binary files differnew file mode 100644 index 0000000000..5bce9f3ada --- /dev/null +++ b/image/test/reftest/ico/ico-png/xcrn0g04.png |