Commit Graph

217 Commits

Author SHA1 Message Date
Emilio Cobos Álvarez
6b100f997c Bug 1384232: Same for test_xultree_animation.xhtml. r=me
MozReview-Commit-ID: HFo0aFXezzF
2017-09-01 15:35:01 +02:00
Joel Maher
a322883818 Bug 1370784 - Disable image/test/mochitest/test_animSVGImage.html on windows. r=me a=testonly 2017-08-22 14:21:44 -04:00
Kevin Hsieh
2ab70861b6 Bug 1325080 - Synchronously decode image metadata for data URIs. r=tnikkel
MozReview-Commit-ID: IPrP3EepQ6a
2017-08-16 19:04:20 -07:00
Daniel Holbert
b6c8e1e084 Backed out changeset 393eadbb146f (bug 1325080) for causing a talos regression.
MozReview-Commit-ID: E0SE51ZWru5
2017-08-17 09:46:16 -07:00
Kevin Hsieh
d113ce52dc Bug 1325080 - Always synchronously decode image size. r=tnikkel
MozReview-Commit-ID: LYNLjwy1kAy

--HG--
extra : rebase_source : 7d5d4b4f90efb4cb461828e3222e948f70a9d1fe
2017-08-07 13:54:11 -07:00
Xidorn Quan
58e5987209 Bug 1383992 part 1 - Disable failing mochitests. r=heycam
MozReview-Commit-ID: J9LoovJJJgM

--HG--
extra : rebase_source : a5ed4b2a11c293c50d642c3a0da6831ce5a885a1
extra : source : 8d97565b7dedaef3b46e65b92b1ca1e0598d2a76
extra : histedit_source : 72834d0bc485e78cb8c1de357e4b545d7e6408f5
2017-08-09 08:31:26 +10:00
Andrew Osmond
9cc95e86c2 Bug 1359833 - Part 9. Fix image mochitests to not assume a particular order of events. r=tnikkel 2017-07-19 14:15:12 -04:00
Christoph Kerschbaumer
35d23fb10f Bug 1380631 - Convert test_drawDiscardedImage.html to comply with new data: URI inheritance model. r=smaug 2017-07-14 12:16:12 +02:00
Timothy Nikkel
16893a87d5 Bug 1319283. In test_bug1217571.html use an image that is only used in this test. r=aosmond
We do this to avoid having one of the image loads happen before the cache entry for the image times out and the other image load after the cache entry times out.

--HG--
rename : image/test/mochitest/damon.jpg => image/test/mochitest/bug1217571.jpg
2017-05-02 21:05:29 -05:00
Florian Queze
37ff4fc7cc Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Sebastian Hengst
a07223d699 Backed out changeset 322fde2d53bf (bug 1356569) so bug 1355161 can be backed out. r=backout 2017-04-14 23:39:22 +02:00
Florian Queze
95d4d20c17 Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Timothy Nikkel
6d1e6e26bb Bug 1354499. Enable test_discardAnimatedImage.html. 2017-04-08 15:58:17 -05:00
Timothy Nikkel
87341e1350 Bug 1354499. Disable test_discardAnimatedImage.html temporarily. 2017-04-08 02:04:52 -05:00
Timothy Nikkel
05aceb8d0a Bug 1354499. Do a better job of not recording successful results after test finish in test_discardAnimatedImage.html.
The previous patch wasn't good enough because it only prevented dispatching more setTimeouts after finish. It did nothing to stop already dispatched setTimeouts from calling ok(true,...).
2017-04-08 02:04:52 -05:00
Timothy Nikkel
7bd2215f6e Bug 1354499. Don't record further successful results after finishing in test_discardAnimatedImage.html. 2017-04-07 18:26:20 -05:00
Timothy Nikkel
a453a97b57 Bug 1354499. Fix test_discardAnimatedImage.html to not call finish multiple times.
We can have multiple setTimeouts from multiple frame update notifications in flight at the same time. If one of them reaches the finishing conditions the rest will too. So just guard calling finish with a global bool.
2017-04-07 16:11:14 -05:00
Phil Ringnalda
fd177bad39 Backed out 2 changesets (bug 1354499) for only changing the failure to a frequent Result logged after SimpleTest.finish()
CLOSED TREE

Backed out changeset 415cd9f87458 (bug 1354499)
Backed out changeset 17d681fd2b32 (bug 1354499)
2017-04-07 21:35:14 -07:00
Timothy Nikkel
ec4e60afa1 Bug 1354499. Don't record further successful results after finishing in test_discardAnimatedImage.html. 2017-04-07 18:26:20 -05:00
Timothy Nikkel
e6e0643c2e Bug 1354499. Fix test_discardAnimatedImage.html to not call finish multiple times.
We can have multiple setTimeouts from multiple frame update notifications in flight at the same time. If one of them reaches the finishing conditions the rest will too. So just guard calling finish with a global bool.
2017-04-07 16:11:14 -05:00
Timothy Nikkel
6c5f81b150 Bug 1352282. In test_discardAnimatedImage.html call drawWindow from a setTimeout from frame update notification.
Image notifications sent from nsImageLoadingContent happen under a scriptblocker. drawWindow flushes will paint observers, which can dispatch events. Events dispatched while scripts are blocked assert.
2017-04-06 04:00:36 -05:00
Timothy Nikkel
74f25a0e00 Bug 1352282. Improve test_discardAnimatedImage.html to check that the animation continues when we re-decode. r=aosmond 2017-04-05 11:28:41 -05:00
Timothy Nikkel
e4da61a3e1 Bug 1343341. Add a test to check that discarding and redecoding of animated images works. r=aosmond
The test does nothing if the animated images discarding pref isn't enabled.

--HG--
rename : image/test/crashtests/1249576-1.png => image/test/mochitest/infinite-apng.png
2017-03-27 00:17:54 -05:00
Masatoshi Kimura
7be7b11a1c Bug 1342144 - Remove version parameter from the type attribute of script elements. r=jmaher
This patch is generated by the following sed script:
find . ! -wholename '*/.hg*' -type f \( -iname '*.html' -o -iname '*.xhtml' -o -iname '*.xul' -o -iname '*.js' \) -exec sed -i -e 's/\(\(text\|application\)\/javascript\);version=1.[0-9]/\1/g' {} \;

MozReview-Commit-ID: AzhtdwJwVNg

--HG--
extra : rebase_source : e8f90249454c0779d926f87777f457352961748d
2017-02-23 06:10:07 +09:00
Florian Quèze
2cf30507bd Bug 1334261 - script-generated patch to remove more newURI null parameters, r=jaws. 2017-01-27 10:51:02 +01:00
Florian Quèze
85611a7b6d Bug 1331081 - script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws.
--HG--
extra : rebase_source : a22344ee1569f58f1f0a01017bfe0d46a6a14602
2017-01-17 11:50:25 +01:00
Andrew Osmond
55722c3a91 Bug 1126091 - Rewrite GIF webcam reftest as mochitest due to intermittents. r=tnikkel 2016-12-13 15:41:41 -05:00
Andrew Osmond
f978bf206a Bug 1319025 - Fix how animated images disposal method should use frame rect size instead of the image size as its bounds. r=tnikkel 2016-11-25 10:38:37 -05:00
Tooru Fujisawa
5931477b72 Bug 1321220 - Remove legacy generator from image/. r=aosmond 2016-12-01 18:12:14 +09:00
Sebastian Hengst
dd4c169203 Bug 1310297 - Remove test annotations using b2g, mulet or gonk: image. r=RyanVM
MozReview-Commit-ID: QP1u9L6jqp

--HG--
extra : rebase_source : 76a554a1ae43e9e1ed7178afa66a6c1e6b4b6fda
2016-11-05 11:29:19 +01:00
cku
5963e84e5a Bug 1190881 - Part 3. mochitest for svg css animation. r=dholbert
MozReview-Commit-ID: JchZk3FrZce

--HG--
extra : rebase_source : 3344b0d77537bf315784a452983b3440c1c385e6
2016-08-25 23:15:04 +08:00
Seth Fowler
1f92f3a7b9 Bug 1293472 (Part 3) - Store animated images in the surface cache as a sequence of frames, rather than each frame getting its own cache entry. r=dholbert,edwin,njn 2016-08-18 15:42:48 -07:00
Timothy Nikkel
e68880b733 Bug 1263472. Limit the height of svg embed in image/test/mochitest/test_svg_animatedGIF.html. r=xidorn
The extra height of the test element (the embed) versus the reference element (a div with height 40px) can cause the iframe the test is run in to overflow, thus causing a scrollbar in the test but not the reference. But we are only interested in testing the frame of the contained animated gif.
2016-05-10 22:57:53 -05:00
Timothy Nikkel
30e1d4989f Bug 1263474. Convert three tests image/test/mochitest/chrome.ini to mochitest-plain. r=kats 2016-04-11 20:52:40 -05:00
Timothy Nikkel
28a90df677 Bug 1262269. Re-enable some imagelib tests that are passing. 2016-04-10 19:21:48 -05:00
Ryan VanderMeulen
f2ae6bedc6 Backed out changeset 98aa2df1a69f (bug 1262269) for frequent Linux failures in the re-enabled tests. 2016-04-10 21:52:07 -04:00
Timothy Nikkel
7bd583a54c Bug 1262269. Re-enable some imagelib tests that are passing. 2016-04-10 19:21:48 -05:00
Timothy Nikkel
909b97b554 Bug 1263058. Fix image/test/mochitest/test_animation2.html to test what it is intending to test. r=mstange
opacity >= 0.999 gets interpreted as 1 for painting purposes, so does not serve the purpose of creating a container layer. Use will-change instead.
2016-04-08 01:13:53 -05:00
Kartikaya Gupta
76e300e3c3 Bug 1261158 - Convert test_bug1132427.html to a mochitest-plain. r=tnikkel
MozReview-Commit-ID: 4NXUjL4uGEP
2016-04-04 16:28:13 -04:00
Kartikaya Gupta
146d7600ec Bug 1261158 - Convert test_xultree_animation.xhtml to a mochitest-plain. r=tnikkel
MozReview-Commit-ID: BDanrpo7ES
2016-04-04 16:28:13 -04:00
Kartikaya Gupta
372512629b Bug 1261158 - Convert test_synchronized_animation.html to a mochitest-plain. r=tnikkel
MozReview-Commit-ID: LrftftKDGn6
2016-04-04 16:28:12 -04:00
Kartikaya Gupta
e19f2b345c Bug 1261158 - Convert test_svg_filter_animation.html to a mochitest-plain. r=tnikkel
MozReview-Commit-ID: K5ZxnkhR6nE
2016-04-04 16:28:12 -04:00
Kartikaya Gupta
e13c70fd27 Bug 1261158 - Convert test_svg_animatedGIF.html to a mochitest-plain. r=tnikkel
MozReview-Commit-ID: IIJT4178POO
2016-04-04 16:28:12 -04:00
Kartikaya Gupta
e2bbe3839c Bug 1261158 - Convert test_staticClone.html to a mochitest-plain. r=tnikkel
MozReview-Commit-ID: 8CUzA0EzM2G
2016-04-04 16:28:12 -04:00
Kartikaya Gupta
a11b57dc20 Bug 1261158 - Convert test_removal_onload.html to a mochitest-plain. r=tnikkel
MozReview-Commit-ID: DL4IQaUl7t5
2016-04-04 16:28:12 -04:00
Kartikaya Gupta
f3c53ca5e1 Bug 1261158 - Convert test_removal_ondecode.html to a mochitest-plain. r=tnikkel
MozReview-Commit-ID: 6YOHnVhRqkY
2016-04-04 16:27:59 -04:00
Kartikaya Gupta
9a87fbceec Bug 1261158 - Convert test_net_failedtoprocess.html to a mochitest-plain. r=tnikkel
MozReview-Commit-ID: HO1BMl760MQ
2016-04-04 16:27:58 -04:00
Kartikaya Gupta
d278cd5ea7 Bug 1261158 - Convert test_has_transparency.html to a mochitest-plain. r=tnikkel
MozReview-Commit-ID: 9tR3LH4wg4U
2016-04-04 16:27:58 -04:00
Kartikaya Gupta
4f6713a578 Bug 1261158 - Convert test_changeOfSource2.html to a mochitest-plain. r=tnikkel
MozReview-Commit-ID: 9mdR16WzTkU
2016-04-04 16:27:58 -04:00
Kartikaya Gupta
c11fae07bc Bug 1261158 - Convert test_changeOfSource.html to a mochitest-plain. r=tnikkel
MozReview-Commit-ID: BqYNvBW06ko
2016-04-04 16:27:58 -04:00