summaryrefslogtreecommitdiffstats
path: root/image/test/reftest/jpeg
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:47:29 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:47:29 +0000
commit0ebf5bdf043a27fd3dfb7f92e0cb63d88954c44d (patch)
treea31f07c9bcca9d56ce61e9a1ffd30ef350d513aa /image/test/reftest/jpeg
parentInitial commit. (diff)
downloadfirefox-esr-37a0381f8351b370577b65028ba1f6563ae23fdf.tar.xz
firefox-esr-37a0381f8351b370577b65028ba1f6563ae23fdf.zip
Adding upstream version 115.8.0esr.upstream/115.8.0esr
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'image/test/reftest/jpeg')
-rw-r--r--image/test/reftest/jpeg/blue.html1
-rw-r--r--image/test/reftest/jpeg/blue.jpgbin0 -> 3937 bytes
-rw-r--r--image/test/reftest/jpeg/jpg-cmyk-1.jpgbin0 -> 1498 bytes
-rw-r--r--image/test/reftest/jpeg/jpg-cmyk-1.pngbin0 -> 2523 bytes
-rw-r--r--image/test/reftest/jpeg/jpg-cmyk-2.jpgbin0 -> 5174 bytes
-rw-r--r--image/test/reftest/jpeg/jpg-cmyk-2.pngbin0 -> 21147 bytes
-rw-r--r--image/test/reftest/jpeg/jpg-gray.jpgbin0 -> 396 bytes
-rw-r--r--image/test/reftest/jpeg/jpg-gray.pngbin0 -> 498 bytes
-rw-r--r--image/test/reftest/jpeg/jpg-progressive-1000-ref.html1
-rw-r--r--image/test/reftest/jpeg/jpg-progressive-1000.html1
-rw-r--r--image/test/reftest/jpeg/jpg-progressive-1000.jpgbin0 -> 34409 bytes
-rw-r--r--image/test/reftest/jpeg/jpg-progressive.jpgbin0 -> 979 bytes
-rw-r--r--image/test/reftest/jpeg/jpg-progressive.pngbin0 -> 3106 bytes
-rw-r--r--image/test/reftest/jpeg/jpg-size-15x15.jpgbin0 -> 465 bytes
-rw-r--r--image/test/reftest/jpeg/jpg-size-15x15.pngbin0 -> 809 bytes
-rw-r--r--image/test/reftest/jpeg/jpg-size-16x16.jpgbin0 -> 443 bytes
-rw-r--r--image/test/reftest/jpeg/jpg-size-16x16.pngbin0 -> 879 bytes
-rw-r--r--image/test/reftest/jpeg/jpg-size-17x17.jpgbin0 -> 582 bytes
-rw-r--r--image/test/reftest/jpeg/jpg-size-17x17.pngbin0 -> 1000 bytes
-rw-r--r--image/test/reftest/jpeg/jpg-size-1x1.jpgbin0 -> 288 bytes
-rw-r--r--image/test/reftest/jpeg/jpg-size-1x1.pngbin0 -> 70 bytes
-rw-r--r--image/test/reftest/jpeg/jpg-size-2x2.jpgbin0 -> 353 bytes
-rw-r--r--image/test/reftest/jpeg/jpg-size-2x2.pngbin0 -> 83 bytes
-rw-r--r--image/test/reftest/jpeg/jpg-size-31x31.jpgbin0 -> 773 bytes
-rw-r--r--image/test/reftest/jpeg/jpg-size-31x31.pngbin0 -> 2936 bytes
-rw-r--r--image/test/reftest/jpeg/jpg-size-32x32.jpgbin0 -> 759 bytes
-rw-r--r--image/test/reftest/jpeg/jpg-size-32x32.pngbin0 -> 3106 bytes
-rw-r--r--image/test/reftest/jpeg/jpg-size-33x33.jpgbin0 -> 941 bytes
-rw-r--r--image/test/reftest/jpeg/jpg-size-33x33.pngbin0 -> 3303 bytes
-rw-r--r--image/test/reftest/jpeg/jpg-size-3x3.jpgbin0 -> 429 bytes
-rw-r--r--image/test/reftest/jpeg/jpg-size-3x3.pngbin0 -> 107 bytes
-rw-r--r--image/test/reftest/jpeg/jpg-size-4x4.jpgbin0 -> 427 bytes
-rw-r--r--image/test/reftest/jpeg/jpg-size-4x4.pngbin0 -> 136 bytes
-rw-r--r--image/test/reftest/jpeg/jpg-size-5x5.jpgbin0 -> 421 bytes
-rw-r--r--image/test/reftest/jpeg/jpg-size-5x5.pngbin0 -> 173 bytes
-rw-r--r--image/test/reftest/jpeg/jpg-size-6x6.jpgbin0 -> 218 bytes
-rw-r--r--image/test/reftest/jpeg/jpg-size-6x6.pngbin0 -> 218 bytes
-rw-r--r--image/test/reftest/jpeg/jpg-size-7x7.jpgbin0 -> 420 bytes
-rw-r--r--image/test/reftest/jpeg/jpg-size-7x7.pngbin0 -> 271 bytes
-rw-r--r--image/test/reftest/jpeg/jpg-size-8x8.jpgbin0 -> 412 bytes
-rw-r--r--image/test/reftest/jpeg/jpg-size-8x8.pngbin0 -> 313 bytes
-rw-r--r--image/test/reftest/jpeg/jpg-size-9x9.jpgbin0 -> 438 bytes
-rw-r--r--image/test/reftest/jpeg/jpg-size-9x9.pngbin0 -> 368 bytes
-rw-r--r--image/test/reftest/jpeg/jpg-srgb-icc.jpgbin0 -> 3226 bytes
-rw-r--r--image/test/reftest/jpeg/jpg-srgb-icc.pngbin0 -> 2738 bytes
-rw-r--r--image/test/reftest/jpeg/non-interleaved_progressive-1-halfred-ref.pngbin0 -> 3486 bytes
-rw-r--r--image/test/reftest/jpeg/non-interleaved_progressive-1.jpgbin0 -> 1777 bytes
-rw-r--r--image/test/reftest/jpeg/non-interleaved_progressive-2-white-ref.pngbin0 -> 2303 bytes
-rw-r--r--image/test/reftest/jpeg/non-interleaved_progressive-2.jpgbin0 -> 3000 bytes
-rw-r--r--image/test/reftest/jpeg/red-bad-marker.jpgbin0 -> 640 bytes
-rw-r--r--image/test/reftest/jpeg/red.jpgbin0 -> 3938 bytes
-rw-r--r--image/test/reftest/jpeg/reftest.list73
-rw-r--r--image/test/reftest/jpeg/webcam-simulacrum.html1
-rw-r--r--image/test/reftest/jpeg/webcam-simulacrum.mjpgbin0 -> 7978 bytes
-rw-r--r--image/test/reftest/jpeg/webcam-simulacrum.mjpg^headers^3
55 files changed, 80 insertions, 0 deletions
diff --git a/image/test/reftest/jpeg/blue.html b/image/test/reftest/jpeg/blue.html
new file mode 100644
index 0000000000..3f4bb44f7e
--- /dev/null
+++ b/image/test/reftest/jpeg/blue.html
@@ -0,0 +1 @@
+<img src="blue.jpg">
diff --git a/image/test/reftest/jpeg/blue.jpg b/image/test/reftest/jpeg/blue.jpg
new file mode 100644
index 0000000000..b5fef5d26c
--- /dev/null
+++ b/image/test/reftest/jpeg/blue.jpg
Binary files differ
diff --git a/image/test/reftest/jpeg/jpg-cmyk-1.jpg b/image/test/reftest/jpeg/jpg-cmyk-1.jpg
new file mode 100644
index 0000000000..ddb2c106f2
--- /dev/null
+++ b/image/test/reftest/jpeg/jpg-cmyk-1.jpg
Binary files differ
diff --git a/image/test/reftest/jpeg/jpg-cmyk-1.png b/image/test/reftest/jpeg/jpg-cmyk-1.png
new file mode 100644
index 0000000000..06915d5bce
--- /dev/null
+++ b/image/test/reftest/jpeg/jpg-cmyk-1.png
Binary files differ
diff --git a/image/test/reftest/jpeg/jpg-cmyk-2.jpg b/image/test/reftest/jpeg/jpg-cmyk-2.jpg
new file mode 100644
index 0000000000..b955bde549
--- /dev/null
+++ b/image/test/reftest/jpeg/jpg-cmyk-2.jpg
Binary files differ
diff --git a/image/test/reftest/jpeg/jpg-cmyk-2.png b/image/test/reftest/jpeg/jpg-cmyk-2.png
new file mode 100644
index 0000000000..9691e42b65
--- /dev/null
+++ b/image/test/reftest/jpeg/jpg-cmyk-2.png
Binary files differ
diff --git a/image/test/reftest/jpeg/jpg-gray.jpg b/image/test/reftest/jpeg/jpg-gray.jpg
new file mode 100644
index 0000000000..af0413e3c1
--- /dev/null
+++ b/image/test/reftest/jpeg/jpg-gray.jpg
Binary files differ
diff --git a/image/test/reftest/jpeg/jpg-gray.png b/image/test/reftest/jpeg/jpg-gray.png
new file mode 100644
index 0000000000..c5aedc34dc
--- /dev/null
+++ b/image/test/reftest/jpeg/jpg-gray.png
Binary files differ
diff --git a/image/test/reftest/jpeg/jpg-progressive-1000-ref.html b/image/test/reftest/jpeg/jpg-progressive-1000-ref.html
new file mode 100644
index 0000000000..0ff2497102
--- /dev/null
+++ b/image/test/reftest/jpeg/jpg-progressive-1000-ref.html
@@ -0,0 +1 @@
+<img src="nosuchurl">
diff --git a/image/test/reftest/jpeg/jpg-progressive-1000.html b/image/test/reftest/jpeg/jpg-progressive-1000.html
new file mode 100644
index 0000000000..b9eaf9c53a
--- /dev/null
+++ b/image/test/reftest/jpeg/jpg-progressive-1000.html
@@ -0,0 +1 @@
+<img src="jpg-progressive-1000.jpg">
diff --git a/image/test/reftest/jpeg/jpg-progressive-1000.jpg b/image/test/reftest/jpeg/jpg-progressive-1000.jpg
new file mode 100644
index 0000000000..65a4325b53
--- /dev/null
+++ b/image/test/reftest/jpeg/jpg-progressive-1000.jpg
Binary files differ
diff --git a/image/test/reftest/jpeg/jpg-progressive.jpg b/image/test/reftest/jpeg/jpg-progressive.jpg
new file mode 100644
index 0000000000..db3cf59c26
--- /dev/null
+++ b/image/test/reftest/jpeg/jpg-progressive.jpg
Binary files differ
diff --git a/image/test/reftest/jpeg/jpg-progressive.png b/image/test/reftest/jpeg/jpg-progressive.png
new file mode 100644
index 0000000000..3a6fbe8ee9
--- /dev/null
+++ b/image/test/reftest/jpeg/jpg-progressive.png
Binary files differ
diff --git a/image/test/reftest/jpeg/jpg-size-15x15.jpg b/image/test/reftest/jpeg/jpg-size-15x15.jpg
new file mode 100644
index 0000000000..efe120a27f
--- /dev/null
+++ b/image/test/reftest/jpeg/jpg-size-15x15.jpg
Binary files differ
diff --git a/image/test/reftest/jpeg/jpg-size-15x15.png b/image/test/reftest/jpeg/jpg-size-15x15.png
new file mode 100644
index 0000000000..e1287430d0
--- /dev/null
+++ b/image/test/reftest/jpeg/jpg-size-15x15.png
Binary files differ
diff --git a/image/test/reftest/jpeg/jpg-size-16x16.jpg b/image/test/reftest/jpeg/jpg-size-16x16.jpg
new file mode 100644
index 0000000000..148ec733f9
--- /dev/null
+++ b/image/test/reftest/jpeg/jpg-size-16x16.jpg
Binary files differ
diff --git a/image/test/reftest/jpeg/jpg-size-16x16.png b/image/test/reftest/jpeg/jpg-size-16x16.png
new file mode 100644
index 0000000000..c04869e728
--- /dev/null
+++ b/image/test/reftest/jpeg/jpg-size-16x16.png
Binary files differ
diff --git a/image/test/reftest/jpeg/jpg-size-17x17.jpg b/image/test/reftest/jpeg/jpg-size-17x17.jpg
new file mode 100644
index 0000000000..b06bdb0d69
--- /dev/null
+++ b/image/test/reftest/jpeg/jpg-size-17x17.jpg
Binary files differ
diff --git a/image/test/reftest/jpeg/jpg-size-17x17.png b/image/test/reftest/jpeg/jpg-size-17x17.png
new file mode 100644
index 0000000000..00fb8e4f37
--- /dev/null
+++ b/image/test/reftest/jpeg/jpg-size-17x17.png
Binary files differ
diff --git a/image/test/reftest/jpeg/jpg-size-1x1.jpg b/image/test/reftest/jpeg/jpg-size-1x1.jpg
new file mode 100644
index 0000000000..73b68dfc06
--- /dev/null
+++ b/image/test/reftest/jpeg/jpg-size-1x1.jpg
Binary files differ
diff --git a/image/test/reftest/jpeg/jpg-size-1x1.png b/image/test/reftest/jpeg/jpg-size-1x1.png
new file mode 100644
index 0000000000..c05f5fef89
--- /dev/null
+++ b/image/test/reftest/jpeg/jpg-size-1x1.png
Binary files differ
diff --git a/image/test/reftest/jpeg/jpg-size-2x2.jpg b/image/test/reftest/jpeg/jpg-size-2x2.jpg
new file mode 100644
index 0000000000..bc50260ea6
--- /dev/null
+++ b/image/test/reftest/jpeg/jpg-size-2x2.jpg
Binary files differ
diff --git a/image/test/reftest/jpeg/jpg-size-2x2.png b/image/test/reftest/jpeg/jpg-size-2x2.png
new file mode 100644
index 0000000000..e512d3f9b4
--- /dev/null
+++ b/image/test/reftest/jpeg/jpg-size-2x2.png
Binary files differ
diff --git a/image/test/reftest/jpeg/jpg-size-31x31.jpg b/image/test/reftest/jpeg/jpg-size-31x31.jpg
new file mode 100644
index 0000000000..8fa0cc2367
--- /dev/null
+++ b/image/test/reftest/jpeg/jpg-size-31x31.jpg
Binary files differ
diff --git a/image/test/reftest/jpeg/jpg-size-31x31.png b/image/test/reftest/jpeg/jpg-size-31x31.png
new file mode 100644
index 0000000000..e4a8642514
--- /dev/null
+++ b/image/test/reftest/jpeg/jpg-size-31x31.png
Binary files differ
diff --git a/image/test/reftest/jpeg/jpg-size-32x32.jpg b/image/test/reftest/jpeg/jpg-size-32x32.jpg
new file mode 100644
index 0000000000..b11d62df6d
--- /dev/null
+++ b/image/test/reftest/jpeg/jpg-size-32x32.jpg
Binary files differ
diff --git a/image/test/reftest/jpeg/jpg-size-32x32.png b/image/test/reftest/jpeg/jpg-size-32x32.png
new file mode 100644
index 0000000000..3a6fbe8ee9
--- /dev/null
+++ b/image/test/reftest/jpeg/jpg-size-32x32.png
Binary files differ
diff --git a/image/test/reftest/jpeg/jpg-size-33x33.jpg b/image/test/reftest/jpeg/jpg-size-33x33.jpg
new file mode 100644
index 0000000000..5ac1169b4b
--- /dev/null
+++ b/image/test/reftest/jpeg/jpg-size-33x33.jpg
Binary files differ
diff --git a/image/test/reftest/jpeg/jpg-size-33x33.png b/image/test/reftest/jpeg/jpg-size-33x33.png
new file mode 100644
index 0000000000..72ef7eb636
--- /dev/null
+++ b/image/test/reftest/jpeg/jpg-size-33x33.png
Binary files differ
diff --git a/image/test/reftest/jpeg/jpg-size-3x3.jpg b/image/test/reftest/jpeg/jpg-size-3x3.jpg
new file mode 100644
index 0000000000..cf370d8ece
--- /dev/null
+++ b/image/test/reftest/jpeg/jpg-size-3x3.jpg
Binary files differ
diff --git a/image/test/reftest/jpeg/jpg-size-3x3.png b/image/test/reftest/jpeg/jpg-size-3x3.png
new file mode 100644
index 0000000000..cb42ec4f87
--- /dev/null
+++ b/image/test/reftest/jpeg/jpg-size-3x3.png
Binary files differ
diff --git a/image/test/reftest/jpeg/jpg-size-4x4.jpg b/image/test/reftest/jpeg/jpg-size-4x4.jpg
new file mode 100644
index 0000000000..5adf760a1b
--- /dev/null
+++ b/image/test/reftest/jpeg/jpg-size-4x4.jpg
Binary files differ
diff --git a/image/test/reftest/jpeg/jpg-size-4x4.png b/image/test/reftest/jpeg/jpg-size-4x4.png
new file mode 100644
index 0000000000..e6afafd89a
--- /dev/null
+++ b/image/test/reftest/jpeg/jpg-size-4x4.png
Binary files differ
diff --git a/image/test/reftest/jpeg/jpg-size-5x5.jpg b/image/test/reftest/jpeg/jpg-size-5x5.jpg
new file mode 100644
index 0000000000..4d5fd0501c
--- /dev/null
+++ b/image/test/reftest/jpeg/jpg-size-5x5.jpg
Binary files differ
diff --git a/image/test/reftest/jpeg/jpg-size-5x5.png b/image/test/reftest/jpeg/jpg-size-5x5.png
new file mode 100644
index 0000000000..a844aff76d
--- /dev/null
+++ b/image/test/reftest/jpeg/jpg-size-5x5.png
Binary files differ
diff --git a/image/test/reftest/jpeg/jpg-size-6x6.jpg b/image/test/reftest/jpeg/jpg-size-6x6.jpg
new file mode 100644
index 0000000000..415c2d9c6a
--- /dev/null
+++ b/image/test/reftest/jpeg/jpg-size-6x6.jpg
Binary files differ
diff --git a/image/test/reftest/jpeg/jpg-size-6x6.png b/image/test/reftest/jpeg/jpg-size-6x6.png
new file mode 100644
index 0000000000..415c2d9c6a
--- /dev/null
+++ b/image/test/reftest/jpeg/jpg-size-6x6.png
Binary files differ
diff --git a/image/test/reftest/jpeg/jpg-size-7x7.jpg b/image/test/reftest/jpeg/jpg-size-7x7.jpg
new file mode 100644
index 0000000000..5495f7e43e
--- /dev/null
+++ b/image/test/reftest/jpeg/jpg-size-7x7.jpg
Binary files differ
diff --git a/image/test/reftest/jpeg/jpg-size-7x7.png b/image/test/reftest/jpeg/jpg-size-7x7.png
new file mode 100644
index 0000000000..ab2f892747
--- /dev/null
+++ b/image/test/reftest/jpeg/jpg-size-7x7.png
Binary files differ
diff --git a/image/test/reftest/jpeg/jpg-size-8x8.jpg b/image/test/reftest/jpeg/jpg-size-8x8.jpg
new file mode 100644
index 0000000000..84a5c8f426
--- /dev/null
+++ b/image/test/reftest/jpeg/jpg-size-8x8.jpg
Binary files differ
diff --git a/image/test/reftest/jpeg/jpg-size-8x8.png b/image/test/reftest/jpeg/jpg-size-8x8.png
new file mode 100644
index 0000000000..fe2ff40a1d
--- /dev/null
+++ b/image/test/reftest/jpeg/jpg-size-8x8.png
Binary files differ
diff --git a/image/test/reftest/jpeg/jpg-size-9x9.jpg b/image/test/reftest/jpeg/jpg-size-9x9.jpg
new file mode 100644
index 0000000000..d0a15e599f
--- /dev/null
+++ b/image/test/reftest/jpeg/jpg-size-9x9.jpg
Binary files differ
diff --git a/image/test/reftest/jpeg/jpg-size-9x9.png b/image/test/reftest/jpeg/jpg-size-9x9.png
new file mode 100644
index 0000000000..18ab4b25de
--- /dev/null
+++ b/image/test/reftest/jpeg/jpg-size-9x9.png
Binary files differ
diff --git a/image/test/reftest/jpeg/jpg-srgb-icc.jpg b/image/test/reftest/jpeg/jpg-srgb-icc.jpg
new file mode 100644
index 0000000000..3ebefac732
--- /dev/null
+++ b/image/test/reftest/jpeg/jpg-srgb-icc.jpg
Binary files differ
diff --git a/image/test/reftest/jpeg/jpg-srgb-icc.png b/image/test/reftest/jpeg/jpg-srgb-icc.png
new file mode 100644
index 0000000000..1d8efc687a
--- /dev/null
+++ b/image/test/reftest/jpeg/jpg-srgb-icc.png
Binary files differ
diff --git a/image/test/reftest/jpeg/non-interleaved_progressive-1-halfred-ref.png b/image/test/reftest/jpeg/non-interleaved_progressive-1-halfred-ref.png
new file mode 100644
index 0000000000..7d0c9e5580
--- /dev/null
+++ b/image/test/reftest/jpeg/non-interleaved_progressive-1-halfred-ref.png
Binary files differ
diff --git a/image/test/reftest/jpeg/non-interleaved_progressive-1.jpg b/image/test/reftest/jpeg/non-interleaved_progressive-1.jpg
new file mode 100644
index 0000000000..5128473dfd
--- /dev/null
+++ b/image/test/reftest/jpeg/non-interleaved_progressive-1.jpg
Binary files differ
diff --git a/image/test/reftest/jpeg/non-interleaved_progressive-2-white-ref.png b/image/test/reftest/jpeg/non-interleaved_progressive-2-white-ref.png
new file mode 100644
index 0000000000..597329a663
--- /dev/null
+++ b/image/test/reftest/jpeg/non-interleaved_progressive-2-white-ref.png
Binary files differ
diff --git a/image/test/reftest/jpeg/non-interleaved_progressive-2.jpg b/image/test/reftest/jpeg/non-interleaved_progressive-2.jpg
new file mode 100644
index 0000000000..d4c80e9124
--- /dev/null
+++ b/image/test/reftest/jpeg/non-interleaved_progressive-2.jpg
Binary files differ
diff --git a/image/test/reftest/jpeg/red-bad-marker.jpg b/image/test/reftest/jpeg/red-bad-marker.jpg
new file mode 100644
index 0000000000..4abda17e59
--- /dev/null
+++ b/image/test/reftest/jpeg/red-bad-marker.jpg
Binary files differ
diff --git a/image/test/reftest/jpeg/red.jpg b/image/test/reftest/jpeg/red.jpg
new file mode 100644
index 0000000000..8fca4b938f
--- /dev/null
+++ b/image/test/reftest/jpeg/red.jpg
Binary files differ
diff --git a/image/test/reftest/jpeg/reftest.list b/image/test/reftest/jpeg/reftest.list
new file mode 100644
index 0000000000..d8723b8071
--- /dev/null
+++ b/image/test/reftest/jpeg/reftest.list
@@ -0,0 +1,73 @@
+# JPEG tests
+
+# Images of various sizes.
+== jpg-size-1x1.jpg jpg-size-1x1.png
+== jpg-size-2x2.jpg jpg-size-2x2.png
+== jpg-size-3x3.jpg jpg-size-3x3.png
+== jpg-size-4x4.jpg jpg-size-4x4.png
+== jpg-size-5x5.jpg jpg-size-5x5.png
+== jpg-size-6x6.jpg jpg-size-6x6.png
+== jpg-size-7x7.jpg jpg-size-7x7.png
+== jpg-size-8x8.jpg jpg-size-8x8.png
+== jpg-size-9x9.jpg jpg-size-9x9.png
+== jpg-size-15x15.jpg jpg-size-15x15.png
+== jpg-size-16x16.jpg jpg-size-16x16.png
+== jpg-size-17x17.jpg jpg-size-17x17.png
+== jpg-size-31x31.jpg jpg-size-31x31.png
+== jpg-size-32x32.jpg jpg-size-32x32.png
+== jpg-size-33x33.jpg jpg-size-33x33.png
+# Progressive encoding
+== jpg-progressive.jpg jpg-progressive.png
+# Grayscale colorspace
+== jpg-gray.jpg jpg-gray.png
+# CMYK colorspace
+== jpg-cmyk-1.jpg jpg-cmyk-1.png
+== jpg-cmyk-2.jpg jpg-cmyk-2.png
+# This intermittently fails on Android due to async image decoding (bug #685516)
+# Sometimes the image decodes in time and the test passes, other times the image
+# appears blank and the test fails. This only seems to be triggered since the
+# switch to 24-bit colour (bug #803299).
+random-if(Android) == jpg-srgb-icc.jpg jpg-srgb-icc.png
+
+# webcam-simulacrum.mjpg is a hand-edited file containing red.jpg and blue.jpg,
+# concatenated together with the relevant headers for
+# multipart/x-mixed-replace. Specifically, with the headers in
+# webcam-simulacrum.mjpg^headers^, the web browser will get the following:
+#
+# HTTP 200 OK
+# Content-Type: multipart/x-mixed-replace;boundary=BOUNDARYOMG
+#
+# --BOUNDARYOMG\r\n
+# Content-Type: image/jpeg\r\n
+# \r\n
+# <contents of red.jpg> (no newline)
+# --BOUNDARYOMG\r\n
+# Content-Type: image/jpeg\r\n
+# \r\n
+# <contents of blue.jpg> (no newline)
+# --BOUNDARYOMG--\r\n
+#
+# (The boundary is arbitrary, and just has to be defined as something that
+# won't be in the text of the contents themselves. --$(boundary)\r\n means
+# "Here is the beginning of a boundary," and --$(boundary)-- means "All done
+# sending you parts.")
+HTTP == webcam-simulacrum.mjpg blue.jpg
+# Same as the above but as img elements in html files to get better test
+# coverage of multipart images.
+# Images loaded at the top level are actually loaded into an ImageDocument
+# which is a slim html document wrapper around the image.
+# Multipart images send multiple OnStartRequest's, each OnStartRequest causes
+# us to create a new ImageDocument to show the next part.
+# This differs from displaying a multipart image in an img element in a regular
+# document where we use the same document and same elements and same layout
+# frames for each part. So we have this testcase to test those different
+# codepaths.
+HTTP == webcam-simulacrum.html blue.html
+
+== non-interleaved_progressive-1.jpg non-interleaved_progressive-1-halfred-ref.png
+== non-interleaved_progressive-2.jpg non-interleaved_progressive-2-white-ref.png
+
+== red-bad-marker.jpg red.jpg
+
+# check that we reject jpegs with > 1000 scans
+== jpg-progressive-1000.html jpg-progressive-1000-ref.html
diff --git a/image/test/reftest/jpeg/webcam-simulacrum.html b/image/test/reftest/jpeg/webcam-simulacrum.html
new file mode 100644
index 0000000000..2fc6395c7a
--- /dev/null
+++ b/image/test/reftest/jpeg/webcam-simulacrum.html
@@ -0,0 +1 @@
+<img src="webcam-simulacrum.mjpg">
diff --git a/image/test/reftest/jpeg/webcam-simulacrum.mjpg b/image/test/reftest/jpeg/webcam-simulacrum.mjpg
new file mode 100644
index 0000000000..a593273c0e
--- /dev/null
+++ b/image/test/reftest/jpeg/webcam-simulacrum.mjpg
Binary files differ
diff --git a/image/test/reftest/jpeg/webcam-simulacrum.mjpg^headers^ b/image/test/reftest/jpeg/webcam-simulacrum.mjpg^headers^
new file mode 100644
index 0000000000..f5e846508e
--- /dev/null
+++ b/image/test/reftest/jpeg/webcam-simulacrum.mjpg^headers^
@@ -0,0 +1,3 @@
+HTTP 200 OK
+Content-Type: multipart/x-mixed-replace;boundary=BOUNDARYOMG
+Cache-Control: no-cache