Bug 591822 - reftest to make sure images taller or wider than 32767 pixels will be rendered r=tnikkel
authorMasatoshi Kimura <VYV03354@nifty.ne.jp>
Sun, 28 Aug 2016 00:39:52 +0900
changeset 374121 9afe051a090cfb55a2dca1a541fea0a883ecf119
parent 374120 df65d15b648daef67f1a76987c21f4fe9b23bdb7
child 374122 737092ef7a833c2bff42c16a872b0b21378384c4
push id10863
push userjlorenzo@mozilla.com
push dateMon, 06 Mar 2017 23:02:23 +0000
treeherdermozilla-aurora@0931190cd725 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstnikkel
bugs591822, 32767
milestone54.0a1
Bug 591822 - reftest to make sure images taller or wider than 32767 pixels will be rendered r=tnikkel MozReview-Commit-ID: Ev4GmwYyaNu
image/test/reftest/downscaling/100x100.gif
image/test/reftest/downscaling/100x100.jpg
image/test/reftest/downscaling/100x100.png
image/test/reftest/downscaling/100x32768.gif
image/test/reftest/downscaling/100x32768.jpg
image/test/reftest/downscaling/100x32768.png
image/test/reftest/downscaling/32768x100.gif
image/test/reftest/downscaling/32768x100.jpg
image/test/reftest/downscaling/32768x100.png
image/test/reftest/downscaling/huge-1.html
image/test/reftest/downscaling/reftest.list
new file mode 100644
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..4ff770d368476d471bb348bc3402f33f66a6a647
GIT binary patch
literal 956
zc${<hbhEHbOkqf2XlF1~+UUbD3P!<51v(%Clo#AN7BVn$$arj6aIl#}SS#klhJ}aQ
z1(dz!cx+sBv|GYB>&}Udi;wp!ICsf-Zd!73vPST#n3J29o}O-yd}@y8=4EGRTNJ;#
zb8_?Y^Ya~=xn#Yzthl(?W3pE4sVyrnFArGkHP>tFs;jFbHfP;EwRQFN^$CZ&WWBeo
zxw$#x@~YU=+t%LRUhw$TT<`7c?(VMm{Oa!M?d$LFZ(!z@^VzZC;o%Np?YJ`$1r7|>
E0KV&8j{pDw
new file mode 100644
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..cea2c240d8eebee050ceda00c7a68fae66819c05
GIT binary patch
literal 917
zc%1ux<NpH&0WUXCHwH#VMurbS$ngImLzHVpW*P&7uP=iZ0|NsG11mEl11pfl2*h5@
z%wQUX83F|$Y!DGB$iM;-S9uXAgkXczF)+3*U|`tT|Nl0FGXoPNBM3nOGb=L)u(7Z(
zv$C_Xvx6`PCpRYt2NwrBI~Ok(7dH<OuygY9^YZY4*dRkd+CjR2h=+rngNJ1B{{Vv^
z2SW-&3Nxb;1Ct;lvmoRDBMkCDm$EW~0Rt2;GBLBTvH_jM#SK)jRRHLGW@aX!V_8{%
zUSzBV$}_MCvI;30I<g4|CbBCPiWoIcT*#s9wDF*5(8Uib#z{p@oLpk!5|UD?YU&!A
zS|+Au<`$M#&MvNQ?jD|A!6Bhx;SrHh$tkI6=^2?>#U-U><rS4x%`L5M?H!$6lO|7@
zI&J!lnX?uxUb1xA@)avrZQ8tL>$dGXcJ4ZK_{h;?$4{I*b?NeztJkjIxOwa0qsLF4
zK70P+<*SdMK7aZ8?fZ|Pzd-(CWMF250j&NK1p12!7zZruAb&A3m4g%rval)|vI#i`
zvL_Y_D;YI%h&WALxbYyTvT@J{(WIh_Tw*FF4^=;cyax6eaUN?T%V%(pA^dfVfd`l{
dnFN^y8SEKOFY40%Sp0)WV^J5wP{#jn0swaw4&wj-
new file mode 100644
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..eb3cb08e1ed0f8fbd1cde4e853290eb567b887b4
GIT binary patch
literal 338
zc%17D@N?(olHy`uVBq!ia0vp^DIm<j1|$m}O$`B3oCO|{#S9E8FF}|wK;`)l1_nkJ
zPZ!6KiaBpDItm_8U^uYBQ1it>9j=?zTrZRZFYNBydA;&PMLzq7bdMfI!?q(5LdnCB
aA>Yu?^emJ8?gU^UF?hQAxvX<aXaWEqs%~lk
new file mode 100644
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..f55a2f482f9a0a230749edc605c06de69af1b3a6
GIT binary patch
literal 4299
zc%1E)`%}^j!p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qumW+cU<NBh#tPN5!a!CywDmH)^$Mo-Dy|jAXobsKuj^ZHfUQwb
z_DwkZ7KR;-V<Q;sI2jwMXQM!N6143$yzLIAEg9E_X0%~sZTIwT_rbO_DCYs3^AN*H
z$8j<loGcmVv7Yk;<YYs+PvP8W818c%7t7${WZai}?kkXshw}2_yrDu2uNcQ8GI*sj
z9!bw5gFFhfy$ar5gK4kBwbK~w3|V`FzP$--XF~ZbIG>H-b8vhfgU^@og?hdS<aa>@
zJ#axEM$nHFNEiZ{OfaYy41<DEsBjD}9LESJa6&mlsE`SjdZ8K=&Okdpz&k!+I%aVl
zT1JOn*0G@PSOhzkprU2CXcZ$`!-<Rx(S}U4r5EjhA``UJ4DYmHI<2@)fYAxcI-UC8
N9%84PuaDcc{{vWTF$(|y
new file mode 100644
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..e89acc0334e6455a40b80e7671bcc155de8f8e4c
GIT binary patch
literal 22041
zc%1FpOHRU26oBD#diydExEIPJ1lmB@M>QrSx(WyGLl@xG#Pt{!;81bG5?q1T3o#l<
zkT@jyzy9f<J$)?T_*cIcd%d_?h^op*IK;opr6eYfW0Qnak|b%?%(I}~Xq+`&yVG%P
z=eqszpj(W3&JCx-(PUCpRd+C(&&v6@tjf(xG(4K6Su4+5W#NkQ-~6+<{9feN=u9G~
z#;IRQFZ`<PGU0Mxb^m&j`js?|N@R@{(Wl1;0RR9100000000000002MDXINZ3cJ5P
zy7nu{RYjBN?(;m`%((rTm+g#Et@XzIF%kVv9Q;mN|9t20ztq$1%=ZGTm~hX=_JW9r
oh=_=Yh=_=Yh=_=Yh=_=Yh=@+8Bb%xA=w_-tvY8qtwp*ufU-$g_ssI20
new file mode 100644
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..7cd5509cf2d23765432bc3f344f474c760440c7c
GIT binary patch
literal 70926
zc%1Fry-Ss07{K8tG1C)9hC@jo9+XH>P-|)QqdXFsMnhu50mZ<E0;Mb=!orBeEE)==
zhJvOdx1u4HAO{7VqNyd)qM@NeqoH$#6Aeu^^bFSvFYk|wceww6oBLXOTT5}GED=H|
zZcQ~G&3t=8xD*NtGIi=^{in>Q=uE1!KZMGU*>_!g<<d$B<)O8?;n?8B=f#GSsq!%O
zw61D-x;pW8D6w48vG8K-`J3~zgQquqIhh(w){VT{x}{qPA%qY@2qA<JLI@#*5JCtc
zgb;B?@2#ee+%7;QBMBjd5JCtcgb+dqA%qY@2qA<J;vb^s`qxx$7a)?6gb+dq@t<SY
z&_H#_Jhij$E|l#!l$=Z6X{x=N-ZZ^^cz=F>;fKut0000000000000000Eimi|LFUD
z7a*3I0000000000000000000000026b|^eNaW1zD5X(#e000000Du@^_xI)F*()LG
z@t5EBoxR=I*n4HJ@NP+cMbE+6(eZ7`y#N3J0000000000fJoul!;LGsU4U3-0ssI2
z0000000000000000002M+F@p4q${@z5X(#e0000000000hzKTIUgu@cgk1jl_|f8I
z=}cTlOaK4?00000008h880ef|%IyNgG7|s*000000000000000000000M-txMLYL|
zP@2x}0>m;C00000000000000WI_SGGwmy3$q+qq{$b;^xfj@uEzjz|AW`5+}{p=5|
M2ilsSG^U4t0b)z}djJ3c
new file mode 100644
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..2194d13efc482c0ba00343bd74d8d0b2093fefaf
GIT binary patch
literal 4299
zc%1E)`%}^j!p42uMxEBoX&XgqTc>T*V;+y&Hj30VPTMFdqSH2s)V6NhsK-1Vr)?Ce
zY4DPeBI1>cH$(&kL{pQC*US`=i<K#$nW+ih5fQ$8L441=|HiwYAD+M9`8@N)#>K#*
z{^f>$=tgk+%Z1lSxBv2A{=X9XfBBmWv7Ros|M5JB=wiMt^87={J$YBlJA%)j;~NmK
zS?|jrf6ZEuziyqV2>4s+xwvljWOeZ0`S&Kf+oq`D|5h}_^>9@6u>Wi<O!ja!&Cx|C
z{utlO`_PK04*7?oxBU}0xi!8q{tf@L0Ns=IMe#;3*O~UN^p6RBLS0YhC;mUC`a0&t
zIV+0B1hME#KX!lP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P}b?x
O|Mn0&-F$uAuKq7r+%XFP
new file mode 100644
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..807b9adb27c657ff7a81f3679996267ba6904e25
GIT binary patch
literal 58065
zc%1FhH&7H&9LMqhyS=^LI}T(?hQ=W&Vnr}E4j?GZP#k7D5mD>_6?DcKK}Dr;Fl!~4
z?J#R4in+oF*oYCWz=$^ITR>?n4DI*7@3Z@#-S>9hZ+637;pY-vR8UwTN-62rhlG2j
zG{3I0LZrA@(nZ7;(@<jSPH9DkF?4lFD0;YePa#LV!}nAALNTMgJ5N;O5s|iC;b)R3
z9;MtdQif@`<@0(C)ACuC%l1e3Z98CFRv<DEhzRPk{83{fgHdkpzQkSbuF@lDTXyiT
zD|}5HTgo?!p_0VoD8o_V4w<NTYO0}<ky0MRYx?w-0ug$`g=oEf!|>?MnqD1IZPL%h
z>zFZ#89Bb#&~huODlW6Wxy4S-ZEKG&>FiI*Dywer2NK4P8$Tg+(&V%$>Dkk!&zL!D
zcHZ3lf_d``ixw<gw0OzVWu+_1S5~ZAUAd-a?Yi}~bsIKr*}AQ9`;MJWyZ7wfxBtMw
zLx)?B9y@;G<f+qV&YnAe;o_ysSFT>a(Q)(E?K^kxJ$U%&@sp=r-95c8UcP$$=561*
z_X8h3e)|07>)^NVZZ4&B{;c2Ta&#__{svyl&80lG?gYncCT93zazfVfs@SB=dOI$+
zxuvb$pPW_FA75788AwRU?oAzVqYWkdvtSMXl<Zfq(Of+e)IX-jF&vpA_gkB$4%7?=
z(^{JZ000000000000000000000000000000000000000000000000000000000000
r0000000000000000000000000000000000000000004mh5$^s0%#Jca
new file mode 100644
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..3fe4fe1ce5bf2a3d86ba8df8471e71b823083f14
GIT binary patch
literal 13172
zc%1FqF-yZx5Ww+EtgR_T2Nx+q1p{_<a1b0?iP(UYA}-wo6*>xCN*AMxI5@cq+Nq03
zTfwD^egM0;W$9KGVpkPK%=-v}_9^@i?%mz=ejniOs90FFlc}VL*k0aU7xAN3w#VYp
z+nb2pM#b9AmntI8lS-rLJiLm`i09@us;6N$XZTq$n<trm>%v-yFI~qvgO|5)(Hb|4
zbI*DO(ws$r009C72oNAZfB*pk1PBm(OYjkP=k2JP=Xam=<9fmwI>}F$5<~wK0RjXF
z5FkK+009C72oNCn3xdYkdrxFCrFH@IYko?Q=~UK6)FMRrYOlQYXjuA52oNAZfB*pk
z1PBlyK!5-Ng8wE62GjSVZYY8<9Zc1-rhXEFUlEM%w9S5P|FEh?Z>8W~E^i)u0bUxj
AY5)KL
new file mode 100644
--- /dev/null
+++ b/image/test/reftest/downscaling/huge-1.html
@@ -0,0 +1,9 @@
+<!DOCTYPE html><meta charset=utf-8>
+<!-- Any copyright is dedicated to the Public Domain.
+   - http://creativecommons.org/publicdomain/zero/1.0/ -->
+<body style="margin: 0px">
+  <script>
+    let args = location.search.substring(1).split(',');
+    document.write(`<img src="${args[0]}" width="${args[1]}" height="${args[2]}">`);
+  </script>
+</body>
--- a/image/test/reftest/downscaling/reftest.list
+++ b/image/test/reftest/downscaling/reftest.list
@@ -186,8 +186,22 @@ fuzzy(3,32) == downscale-16px.html?ff-AR
 # Test downscaling from all supported formats from 256 to 32.
 fuzzy(18,128) == downscale-32px.html?.bmp downscale-32px-ref.html
 fuzzy(18,128) == downscale-32px.html?.gif downscale-32px-ref.html
 fuzzy(19,992) == downscale-32px.html?.jpg downscale-32px-ref.html
 fuzzy(18,128) == downscale-32px.html?.png downscale-32px-ref.html
 == downscale-32px.html?.svg downscale-32px-ref.html
 fuzzy(18,128) == downscale-32px.html?-bmp-in.ico downscale-32px-ref.html
 fuzzy(18,128) == downscale-32px.html?-png-in.ico downscale-32px-ref.html
+
+# Test images taller or wider than 32767 pixels.
+fails-if(OSX) == huge-1.html?100x32768.png,100,100 huge-1.html?100x100.png,100,100
+fails-if(OSX) == huge-1.html?100x32768.png,100,32768 huge-1.html?100x100.png,100,32768
+== huge-1.html?32768x100.png,100,100 huge-1.html?100x100.png,100,100
+== huge-1.html?32768x100.png,32768,100 huge-1.html?100x100.png,32768,100
+fails-if(OSX) == huge-1.html?100x32768.gif,100,100 huge-1.html?100x100.gif,100,100
+fails-if(OSX) == huge-1.html?100x32768.gif,100,32768 huge-1.html?100x100.gif,100,32768
+== huge-1.html?32768x100.gif,100,100 huge-1.html?100x100.gif,100,100
+== huge-1.html?32768x100.gif,32768,100 huge-1.html?100x100.gif,32768,100
+fails-if(OSX) == huge-1.html?100x32768.jpg,100,100 huge-1.html?100x100.jpg,100,100
+fails-if(OSX) == huge-1.html?100x32768.jpg,100,32768 huge-1.html?100x100.jpg,100,32768
+== huge-1.html?32768x100.jpg,100,100 huge-1.html?100x100.jpg,100,100
+== huge-1.html?32768x100.jpg,32768,100 huge-1.html?100x100.jpg,32768,100