Commit Graph

4211 Commits

Author SHA1 Message Date
Jacek Caban
69ae59a699 Merge tag 'FIREFOX_BETA_47_BASE' into wine-gecko-2.47 2016-04-25 20:00:22 +02:00
Jacek Caban
cb8bf0787d Merge tag 'FIREFOX_AURORA_47_BASE' 2016-03-08 19:50:18 +01:00
Jacek Caban
10c61ad307 Merge branch 'mozilla-central' 2016-03-06 06:37:22 +01:00
Jacek Caban
8d90872877 Merge branch 'mozilla-central' 2016-03-04 06:38:14 +01:00
Jacek Caban
8a59f97641 Merge branch 'mozilla-central' 2016-03-03 06:19:08 +01:00
Timothy Nikkel
36bb124f99 Bug 1253362. SVGDocumentWrapper::IsAnimated can be called after SVGDocumentWrapper::DestroyViewer so null check mViewer. r=dholbert
The testcase has an svg-as-image inside an svg-as-image. At shutdown the viewer of the inner svg-as-image is destroyed (via the shutdown observer) first. Then the outer svg-as-image destroys its viewer which tries to unregister all image requests from the refresh driver. So it unregisters the inner svg-as-image, which calls GetAnimated.
2016-03-06 14:59:19 -06:00
Timothy Nikkel
edcac38861 Bug 1251405. Part 2. Use 64 bit ints to hold the delay between the current time and the last animation time. r=edwin
When storing ms, 32 bit ints can hold 2^32/1000/60/60/24 ~= 49 days. It's quite conceivable that someone would leave a tab in the background for 50 days.
2016-03-04 21:54:03 -06:00
Timothy Nikkel
ddf84be823 Bug 1251405. Part 1. Fix a significant signed/unsigned mismatch in handling the return value of FrameAnimator::GetSingleLoopTime. r=edwin
GetSingleLoopTime returns -1 on exceptional cases but we used an unsigned int to hold the return value in AdvanceFrame. So the |loopTime > 0| check would succeed. Fortunately the |delay.ToMilliseconds() > loopTime| check would fail because loopTime was MAX_UNIT32, so we didn't do anything incorrect.

http://hg.mozilla.org/mozilla-central/rev/263980931d1b (bug 890743) changed GetSingleLoopTime from returning 0 (and uint32_t) to -1 (and int32_t) on exceptional cases. But the caller of GetSingleLoopTime wasn't updated.
2016-03-04 21:54:00 -06:00
Jacek Caban
e68f568a85 Merge branch 'mozilla-central' 2016-03-02 06:45:47 +01:00
Jacek Caban
fb4fc2cfb1 Merge branch 'mozilla-central' 2016-03-01 06:21:23 +01:00
Jacek Caban
a15120f43e Merge branch 'mozilla-central' 2016-02-27 06:32:27 +01:00
Jacek Caban
1510f4dbb6 Merge branch 'mozilla-central' 2016-02-26 17:11:14 +01:00
Jacek Caban
6b587ffb31 Merge branch 'mozilla-central' 2016-02-25 06:29:24 +01:00
Jacek Caban
84b9cd8ab4 Merge branch 'mozilla-central' 2016-02-23 11:33:09 +01:00
Nicholas Nethercote
f56ccf04fd Bug 1249550 (part 2) - Add a test. r=tn. 2016-02-23 10:58:05 +11:00
Nicholas Nethercote
ee88bb537a Bug 1249550 (part 1) - Flip BMPs with negative height when downscaling. r=tn. 2016-02-22 13:38:58 +11:00
Jacek Caban
77d66438f9 Merge branch 'mozilla-central' 2016-02-16 13:32:14 +01:00
Jacek Caban
33db3dfa02 Merge branch 'mozilla-central' 2016-02-16 10:38:25 +01:00
Jacek Caban
92700462f0 Merge branch 'mozilla-central' 2016-02-13 18:04:39 +01:00
Timothy Nikkel
21ff2b73d9 Bug 1242093 - Fix assertion in Downscaler::ClearRow. r=njn
The starting column can be the last column, and we handle that correctly.

Also split function into ClearRow and ClearRestOfRow.
2016-02-16 08:04:57 +01:00
ISHIKAWA, Chiaki
3716397205 Bug 1248252 - Improper outdated octal constant syntax in M-C tree. Use '0o' prefix. r=dao
Be warned. Do not attemp to change the .js "test" source code in ./js
They are meant to check

 - the outdated 0666 octal constant is still parsed correctly,
 - the outdated 0666 octal constant raises syntax error flag
   in strict mode, etc.

So leave them alone.
2016-02-15 08:57:00 +01:00
Jacek Caban
5a21c5f162 Merge branch 'mozilla-central' 2016-02-12 06:46:38 +01:00
Timothy Nikkel
6c539ebfaa Bug 1263474. Convert three tests image/test/mochitest/chrome.ini to mochitest-plain. r=kats a=tests-only 2016-04-11 20:52:40 -05:00
Timothy Nikkel
94cc95e6ef Bug 1262269. Re-enable some imagelib tests that are passing. a=tests-only 2016-04-10 19:21:48 -05:00
Kartikaya Gupta
2305bb5e92 Bug 1261158 - Convert test_bug1132427.html to a mochitest-plain. r=tnikkel a=test-only
MozReview-Commit-ID: 4NXUjL4uGEP
2016-04-04 16:28:13 -04:00
Kartikaya Gupta
c592212066 Bug 1261158 - Convert test_xultree_animation.xhtml to a mochitest-plain. r=tnikkel a=test-only
MozReview-Commit-ID: BDanrpo7ES
2016-04-04 16:28:13 -04:00
Kartikaya Gupta
0a27a0fe8d Bug 1261158 - Convert test_synchronized_animation.html to a mochitest-plain. r=tnikkel a=test-only
MozReview-Commit-ID: LrftftKDGn6
2016-04-04 16:28:12 -04:00
Kartikaya Gupta
e5e598cc6f Bug 1261158 - Convert test_svg_filter_animation.html to a mochitest-plain. r=tnikkel a=test-only
MozReview-Commit-ID: K5ZxnkhR6nE
2016-04-04 16:28:12 -04:00
Kartikaya Gupta
945f295a3e Bug 1261158 - Convert test_svg_animatedGIF.html to a mochitest-plain. r=tnikkel a=test-only
MozReview-Commit-ID: IIJT4178POO
2016-04-04 16:28:12 -04:00
Kartikaya Gupta
53ca5bf31f Bug 1261158 - Convert test_staticClone.html to a mochitest-plain. r=tnikkel a=test-only
MozReview-Commit-ID: 8CUzA0EzM2G
2016-04-04 16:28:12 -04:00
Kartikaya Gupta
ff58440a32 Bug 1261158 - Convert test_removal_onload.html to a mochitest-plain. r=tnikkel a=test-only
MozReview-Commit-ID: DL4IQaUl7t5
2016-04-04 16:28:12 -04:00
Kartikaya Gupta
337156937e Bug 1261158 - Convert test_removal_ondecode.html to a mochitest-plain. r=tnikkel a=test-only
MozReview-Commit-ID: 6YOHnVhRqkY
2016-04-04 16:27:59 -04:00
Kartikaya Gupta
5fbb3592af Bug 1261158 - Convert test_net_failedtoprocess.html to a mochitest-plain. r=tnikkel a=test-only
MozReview-Commit-ID: HO1BMl760MQ
2016-04-04 16:27:58 -04:00
Kartikaya Gupta
75d0b207fd Bug 1261158 - Convert test_has_transparency.html to a mochitest-plain. r=tnikkel a=test-only
MozReview-Commit-ID: 9tR3LH4wg4U
2016-04-04 16:27:58 -04:00
Kartikaya Gupta
b0af8eec93 Bug 1261158 - Convert test_changeOfSource2.html to a mochitest-plain. r=tnikkel a=test-only
MozReview-Commit-ID: 9mdR16WzTkU
2016-04-04 16:27:58 -04:00
Kartikaya Gupta
5c3370d635 Bug 1261158 - Convert test_changeOfSource.html to a mochitest-plain. r=tnikkel a=test-only
MozReview-Commit-ID: BqYNvBW06ko
2016-04-04 16:27:58 -04:00
Kartikaya Gupta
99fd3d6f18 Bug 1261158 - Convert test_bullet_animation.html to a mochitest-plain. r=tnikkel a=test-only
MozReview-Commit-ID: 8kgi3p2DMkw
2016-04-04 16:27:58 -04:00
Kartikaya Gupta
8c7e85438a Bug 1261158 - Convert test_background_image_anim.html to a mochitest-plain. r=tnikkel a=test-only
MozReview-Commit-ID: 5RJwrm5RKiU
2016-04-04 16:27:58 -04:00
Kartikaya Gupta
5230acebee Bug 1261158 - Convert test_animSVGImage2.html to a mochitest-plain. r=tnikkel a=test-only
MozReview-Commit-ID: JT02zkq1JJm
2016-04-04 16:27:58 -04:00
Kartikaya Gupta
b071de6b2c Bug 1261158 - Convert test_animSVGImage.html to a mochitest-plain. r=tnikkel a=test-only
MozReview-Commit-ID: E2n2JM0PjzR
2016-04-04 16:27:57 -04:00
Jacek Caban
3d43181511 Merge branch 'mozilla-central' 2016-02-05 11:19:47 +01:00
Nicholas Nethercote
9b551819ec Bug 1238558 (part 2) - Add a test. r=tnikkel. 2016-02-10 09:55:37 +11:00
Mike Taylor
cc63fba4dd Bug 1249474. Part 2 - Update tests to handle new default image Accept header value. r=mcmanus 2016-02-29 14:52:12 -06:00
Timothy Nikkel
19785173fa Bug 1251091. Add crashtest. 2016-02-29 12:20:50 -06:00
Timothy Nikkel
d9107cf874 Bug 1251091. Fix surface key comparison in ImageSurfaceCache::LookupBestMatch. r=dholbert
http://hg.mozilla.org/mozilla-central/rev/411f18fdffeb (bug 1186796) had a mistake in it.

It changed ImageSurfaceCache::LookupBestMatch to use a for loop instead of using a callback to iterate each entry of the hashtable. The callback was called with the surface key of its entry, and it used the name |aSurfaceKey| for that key. ImageSurfaceCache::LookupBestMatch uses the name |aSurfaceKey| for the key we are looking for. So when the code from the callback was moved into the for loop in ImageSurfaceCache::LookupBestMatch the meaning of |aSurfaceKey| changed, but the code was not updated.
2016-02-29 12:20:50 -06:00
Jacek Caban
51cccc6fe6 Merge branch 'mozilla-central' 2016-01-31 12:45:33 +01:00
Jacek Caban
6b548d8fae Merge tag 'FIREFOX_AURORA_46_BASE' 2016-01-30 18:00:55 +01:00
Nicholas Nethercote
3ffa024e97 Bug 1238558 (part 1) - Add Decoder::BeforeFinishInternal(). r=tnikkel. 2016-01-27 16:15:06 -08:00
Seth Fowler
278aa793ba Bug 1225934 - Never allow surface substitution when FLAG_HIGH_QUALITY_SCALING is disabled. r=tn, a=ritu 2016-03-07 17:17:16 -08:00
Timothy Nikkel
4c706e5993 Bug 1253362. SVGDocumentWrapper::IsAnimated can be called after SVGDocumentWrapper::DestroyViewer so null check mViewer. r=dholbert
The testcase has an svg-as-image inside an svg-as-image. At shutdown the viewer of the inner svg-as-image is destroyed (via the shutdown observer) first. Then the outer svg-as-image destroys its viewer which tries to unregister all image requests from the refresh driver. So it unregisters the inner svg-as-image, which calls GetAnimated.
2016-03-06 14:59:19 -06:00