From 020ebd1f48a97138a3652b8f219640782001301a Mon Sep 17 00:00:00 2001 From: Masatoshi Kimura Date: Sat, 15 Jan 2022 05:17:22 +0000 Subject: [PATCH] Bug 1741767 - Reftest drawing a large image to canvas. r=bobowen Differential Revision: https://phabricator.services.mozilla.com/D135441 --- .../test/reftest/draw-large-image-ref.html | 4 ++++ dom/canvas/test/reftest/draw-large-image.html | 15 +++++++++++++++ dom/canvas/test/reftest/red_ref.png | Bin 0 -> 993 bytes dom/canvas/test/reftest/red_tall.png | Bin 0 -> 268626 bytes dom/canvas/test/reftest/reftest.list | 2 ++ 5 files changed, 21 insertions(+) create mode 100644 dom/canvas/test/reftest/draw-large-image-ref.html create mode 100644 dom/canvas/test/reftest/draw-large-image.html create mode 100644 dom/canvas/test/reftest/red_ref.png create mode 100644 dom/canvas/test/reftest/red_tall.png diff --git a/dom/canvas/test/reftest/draw-large-image-ref.html b/dom/canvas/test/reftest/draw-large-image-ref.html new file mode 100644 index 0000000000000..a86079e12986a --- /dev/null +++ b/dom/canvas/test/reftest/draw-large-image-ref.html @@ -0,0 +1,4 @@ + + + + diff --git a/dom/canvas/test/reftest/draw-large-image.html b/dom/canvas/test/reftest/draw-large-image.html new file mode 100644 index 0000000000000..ba758d01e89d1 --- /dev/null +++ b/dom/canvas/test/reftest/draw-large-image.html @@ -0,0 +1,15 @@ + + + + + diff --git a/dom/canvas/test/reftest/red_ref.png b/dom/canvas/test/reftest/red_ref.png new file mode 100644 index 0000000000000000000000000000000000000000..487085a14867e3d1aa4b235a617cdc73bd73e599 GIT binary patch literal 993 zcmeAS@N?(olHy`uVBq!ia0y~yU={$fPjD~+$?tL#N`Vw(age(c!@6@aFM%AEbVpxD z28NCO+zopr02nN=r2qf` literal 0 HcmV?d00001 diff --git a/dom/canvas/test/reftest/red_tall.png b/dom/canvas/test/reftest/red_tall.png new file mode 100644 index 0000000000000000000000000000000000000000..fdf5f4978b414060341381a56b8a2b98102677e8 GIT binary patch literal 268626 zcmeI*Uucze7zgm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