Commit Graph

1647 Commits

Author SHA1 Message Date
Boris Zbarsky
6e3069def0 Bug 1109693. More places that use CORS should in fact allow data: URIs. r=smaug 2015-04-22 20:30:10 -04:00
Steve Singer
4a748bd766 Bug 1141642 - Fix disable-skia builds. r=jmuizelaar
--HG--
extra : rebase_source : 6c6e1664973547b6131a5f5410bb0eec9afd750d
2015-04-18 19:44:00 +02:00
Andrea Marchesini
cb54385682 Bug 1156632 - Remove unused forward class declarations - patch 4 - netwerk image and dom, r=ehsan 2015-04-22 08:29:20 +02:00
Geoff Brown
d82db4ae91 Bug 1133833 - Skip a few more troublesome tests on Android 4.3; r=trivial,test-only 2015-04-21 09:30:49 -06:00
Nicolas Silva
e887c595eb Bug 1155621 - Remove no-op gfx2DGlue conversion helpers. r=Bas 2015-04-21 17:22:30 +02:00
Nicolas Silva
cfff5e52c5 Bug 1155621 - Make nsIntRect and nsIntPoint typedefs of mozilla::gfx::IntRect and mozilla::gfx::IntPoint. r=Bas 2015-04-21 17:04:57 +02:00
Geoff Brown
848c9ba9ee Bug 1133833 - Disable xpcshell test_async_notification.js on Android 4.3 for frequent failures; r=trivial,test-only 2015-04-20 14:15:27 -06:00
Timothy Nikkel
c2c72dfc25 Bug 1063369. When we clone an imgRequestProxy and it currently has an imgCacheValidator checking if the request is still valid over the network make sure to add the new proxy to the validator so that the validator can update the proxy to point to a new request if it finds the old request to be stale. r=seth
Since the CSS image loader (for example background images) always uses a cloned request for painting the image this results in stale images being shown.

This patch is almost the same as the patch Boris Zbarsky posted to bug 432391 in 2011, but I didn't notice that patch until too late. There is one siginificant difference though. We call AddProxy and SetNotificationsDeferred before calling SyncNotifyListener in this patch. Calling them after leads to orange on try server.
2015-04-10 01:15:39 -05:00
Ehsan Akhgari
965174d6d8 Add an assertion for the first argument of NewImageChannel, no bug 2015-04-18 20:18:49 -04:00
Nathan Froyd
1e6cdad33c Bug 1153988 - create nsNullPrincipals directly, rather than going through do_CreateInstance; r=smaug
There's a better way to create null principals than
do_CreateInstance("@mozilla.org/nullprincipal;1").  Let's do that and
save ourselves some XPCOM overhead.
2015-04-13 14:47:41 -04:00
Seth Fowler
c3f939a0e0 Bug 1151309 (Part 2) - Hide errors in multipart image parts both visually and internally. r=tn 2015-04-14 17:47:59 -07:00
Seth Fowler
b9f71b11c0 Bug 1151309 (Part 1) - Block until the previous multipart frame is decoded before processing another. r=tn 2015-04-14 17:47:56 -07:00
Wes Kocher
af34e14f2b Backed out changeset 050848a5273c (bug 1153988) for Windows build bustage CLOSED TREE 2015-04-14 14:42:59 -07:00
Nathan Froyd
4e3c075424 Bug 1153988 - create nsNullPrincipals directly, rather than going through do_CreateInstance; r=smaug
There's a better way to create null principals than
do_CreateInstance("@mozilla.org/nullprincipal;1").  Let's do that and
save ourselves some XPCOM overhead.
2015-04-13 14:47:41 -04:00
Glenn Randers-Pehrson
d54556cf7e Bug 1102048 (Part 35, Downscaler) - Make image/src files comply with the Mozilla Coding Style Guide. r=seth 2015-01-22 05:38:00 -08:00
Carsten "Tomcat" Book
fee8ca89b2 Backed out changeset 43af95e75ece (bug 1063369) for bc1 test failures 2015-04-10 11:31:35 +02:00
Carsten "Tomcat" Book
45fa56db26 Backed out changeset eaf1b350adf9 (bug 1063369) 2015-04-10 11:29:51 +02:00
Timothy Nikkel
fd9632fce5 Bug 1063369. Forgot missing include. 2015-04-10 01:56:22 -05:00
Timothy Nikkel
7703b19fed Bug 1063369. When we clone an imgRequestProxy and it currently has an imgCacheValidator checking if the request is still valid over the network make sure to add the new proxy to the validator so that the validator can update the proxy to point to a new request if it finds the old request to be stale. r=seth
Since the CSS image loader (for example background images) always uses a cloned request for painting the image this results in stale images being shown.

This patch is almost the same as the patch Boris Zbarsky posted to bug 432391 in 2011, but I didn't notice that patch until too late. There is one siginificant difference though. We call AddProxy and SetNotificationsDeferred before calling SyncNotifyListener in this patch. Calling them after leads to orange on try server.
2015-04-10 01:15:39 -05:00
Seth Fowler
ff78e9c214 Bug 1146335 (Part 2) - Fix an off-by-one error in image::Downscaler. r=tn 2015-04-09 17:52:23 -07:00
Seth Fowler
528fefad45 Bug 1146335 (Part 1) - Add assertions and fix style issues in image::Downscaler. r=tn 2015-04-09 17:52:23 -07:00
Chris Peterson
66b64b4907 Bug 1143994 - Fix some -Wunreachable-code and -Wswitch warnings in imagelib. r=seth 2015-03-16 21:02:15 -07:00
Seth Fowler
bbb3ac44cd Bug 1149893 - Add a pref that makes us decode all images immediately. r=baku 2015-04-07 16:44:29 -07:00
Glenn Randers-Pehrson
3e8964ff7e Bug 1102048 (Part 20, imgLoader) - Make image/src files comply with the Mozilla Coding Style Guide. r=seth 2015-04-07 14:49:00 -07:00
Glenn Randers-Pehrson
ca42834102 Bug 1102048 (Part 23, encoders) - Make image/src files comply with the Mozilla Coding Style Guide. r=seth 2015-04-06 19:19:00 -07:00
Glenn Randers-Pehrson
0a6edee37c Bug 1102048 (Part 39, decoders/icon) - Make image/src files comply with the Mozilla Coding Style Guide. r=seth 2015-04-06 19:12:00 -07:00
Glenn Randers-Pehrson
7def1c3af9 Bug 1102048 (Part 24, decoders) - Make image/src files comply with the Mozilla Coding Style Guide. r=seth 2015-04-05 16:22:00 -07:00
Glenn Randers-Pehrson
d5a3cf0c9b Bug 1102048 (Part 15, VectorImage) - Make image/src files comply with the Mozilla Coding Style Guide. r=seth 2015-04-04 12:58:00 -07:00
Glenn Randers-Pehrson
bcf05b995c Bug 1102048 (Part 04, ClippedImage) - Make image/src files comply with the Mozilla Coding Style Guide. r=seth 2015-04-04 12:57:00 -07:00
Glenn Randers-Pehrson
3eda954ef7 Bug 1102048 (Part 30, imgTools) - Make image/src files comply with the Mozilla Coding Style Guide. r=seth 2015-04-02 13:41:00 -07:00
Glenn Randers-Pehrson
abf7e02404 Bug 1102048 (Part 11, imgRequest) - Make image/src files comply with the Mozilla Coding Style Guide. r=seth 2015-03-31 11:06:00 -07:00
Glenn Randers-Pehrson
e2552625e5 Bug 1102048 (Part 38, ShutdownTracker) - Make image/src files comply with the Mozilla Coding Style Guide. r=seth 2015-03-31 10:57:00 -07:00
Glenn Randers-Pehrson
f530a7a9e8 Bug 1102048 (Part 37, ProgressTracker) - Make image/src files comply with the Mozilla Coding Style Guide. r=seth 2015-03-31 10:56:00 -07:00
Glenn Randers-Pehrson
9dac554373 Bug 1102048 (Part 14, NotificationObserver) - Make image/src files comply with the Mozilla Coding Style Guide. r=seth 2015-03-31 10:50:00 -07:00
Glenn Randers-Pehrson
34d6cb6f43 Bug 1102048 (Part 13, RasterImage) - Make image/src files comply with the Mozilla Coding Style Guide. r=seth 2015-03-31 10:49:00 -07:00
Glenn Randers-Pehrson
d308a1d6f2 Bug 1102048 (Part 10, imgFrame) - Make image/src files comply with the Mozilla Coding Style Guide. r=seth 2015-03-31 10:48:00 -07:00
Glenn Randers-Pehrson
c051fd5cb8 Bug 1102048 (Part 36, DynamicImage) - Make image/src files comply with the Mozilla Coding Style Guide. r=seth 2015-03-25 19:39:00 -07:00
Glenn Randers-Pehrson
24a2dbfc20 Bug 1102048 (Part 09, Image) - Make image/src files comply with the Mozilla Coding Style Guide. r=seth 2015-03-25 19:36:00 -07:00
Glenn Randers-Pehrson
a3894be4f5 Bug 1102048 (Part 29, imgRequestProxy) - Make image/src files comply with the Mozilla Coding Style Guide. r=seth 2015-03-25 10:59:00 -07:00
Glenn Randers-Pehrson
f4222bd0f8 Bug 1102048 (Part 31, SurfaceCache) - Make image/src files comply with the Mozilla Coding Style Guide. r=seth 2015-03-24 13:16:00 -07:00
Glenn Randers-Pehrson
e68838c027 Bug 1102048 (Part 25, header guards) - Make image/src files comply with the Mozilla Coding Style Guide. r=seth 2015-03-23 16:59:00 -07:00
Glenn Randers-Pehrson
0f2f7f769e Bug 1102048 (Part 33, SVGDocument) - Make image/src files comply with the Mozilla Coding Style Guide. r=seth 2015-03-04 04:18:00 -08:00
Glenn Randers-Pehrson
aea7db954d Bug 1102048 (Part 05, Decoder) - Make image/src files comply with the Mozilla Coding Style Guide. r=seth 2015-02-10 16:47:00 -08:00
Glenn Randers-Pehrson
a2da6fa1e6 Bug 1102048 (Part 28, DecoderPool) - Make image/src files comply with the Mozilla Coding Style Guide. r=seth 2015-02-08 14:43:00 -08:00
Glenn Randers-Pehrson
a55743d056 Bug 1102048 (Part 34, Multipart) - Make image/src files comply with the Mozilla Coding Style Guide. r=seth 2015-02-05 21:34:00 -08:00
Glenn Randers-Pehrson
6cfbead9f0 Bug 1102048 (Part 19, ImageMetadata) - Make image/src files comply with the Mozilla Coding Style Guide. r=seth 2015-01-19 10:29:00 -08:00
Glenn Randers-Pehrson
d07fc48566 Bug 1102048 (Part 32, FrameAnimator) - Make image/src files comply with the Mozilla Coding Style Guide. r=seth 2015-01-16 09:27:00 -08:00
Glenn Randers-Pehrson
e7d0cccef2 Bug 1102048 (Part 26) - Make image/src files comply with the Mozilla Coding Style Guide. r=seth 2015-01-10 10:49:00 -08:00
Glenn Randers-Pehrson
c65555f59b Bug 1102048 (Part 03) - Make image/src files comply with the Mozilla Coding Style Guide. r=seth 2014-12-11 17:03:00 -08:00
Seth Fowler
ae3f008388 Bug 1150127 - Stop leaking windows via imgCacheValidator. r=baku
CLOSED TREE
2015-04-07 13:02:02 -04:00