Commit Graph

1296 Commits

Author SHA1 Message Date
Wes Kocher
e2dfdad94e Backed out changeset fd24a9549c1d (bug 1021221) for mochitest-3 orange 2014-11-24 14:42:05 -08:00
Valentin Gosu
f15ba1ee3c Bug 1021221 - resourceTiming initiatorType is empty/other when images are loaded from cache r=seth
Setting the initiatorType in imgCacheValidator::OnStartRequest for images in <img> tags
and ProxyListener::OnStartRequest for images that are dynamically loaded
2014-10-29 17:35:05 +02:00
Seth Fowler
50c3d078f0 Bug 1101759 - Correctly record when we flush data during sync decodes. r=tn 2014-11-20 00:59:05 -08:00
Seth Fowler
0f65d877bd Bug 1100497 - Disable test_animation.html due to intermittent oranges. r=me
--HG--
extra : rebase_source : 0042b8128f5c4e53ae84a3b852000389effefd34
2014-11-18 18:41:48 -08:00
Seth Fowler
c7b5999add Bug 1081012 - Move DecodePool and related helpers out of RasterImage. r=tn 2014-11-18 18:17:17 -08:00
Seth Fowler
ae5c2d16a1 Bug 1079653 (Part 4) - Move decode status tracking onto RasterImage and remove DecodeRequest. r=tn 2014-11-18 12:06:27 -08:00
Seth Fowler
550967dd4b Bug 1079653 (Part 3) - Make decoders track whether they need to flush data after getting a new frame. r=tn 2014-11-18 12:06:27 -08:00
Seth Fowler
17f44d38c9 Bug 1079653 (Part 2) - Remove DecodeRequest::mBytesToDecode. r=tn 2014-11-18 12:06:27 -08:00
Seth Fowler
81d84ca02d Bug 1079653 (Part 1) - Move decode telemetry data from DecodeRequest to Decoder. r=tn 2014-11-18 12:06:26 -08:00
Sid Stamm
55e3ccdad7 Bug 704320 - apply referrer policies to image loads (r=seth) 2014-11-18 08:46:53 -05:00
Seth Fowler
673dd952a5 Bug 1100725 (Part 4) - Assert that we always consume all decoder progress and invalidations. r=tn 2014-11-18 01:48:49 -08:00
Seth Fowler
19bf07bbcc Bug 1100725 (Part 3) - Take invalidations after decoder shutdown in FinishedSomeDecoding. r=tn 2014-11-18 01:48:49 -08:00
Seth Fowler
f79d8bad3b Bug 1100725 (Part 2) - Consume all the contained decoder's invalidations in nsICODecoder. r=tn 2014-11-18 01:48:48 -08:00
Seth Fowler
7a818a0763 Bug 1100725 (Part 1) - Don't shut down decoder in DoImageDataComplete. r=tn 2014-11-18 01:48:48 -08:00
Seth Fowler
7dd69d9a3e Bug 1093785 - Remove RasterImage::FinishedSomeDecoding recursive notification warning. r=tn
--HG--
extra : rebase_source : 5d2dda5be793dcdc3ab680c9f13a691bbca13448
2014-11-17 14:29:57 -08:00
Seth Fowler
effc480bd0 Bug 968008 - Adds comments to imgINotificationObserver.idl. r=tn
--HG--
extra : rebase_source : 5276e796133fd806d0b9229aec51aaaa7fedb5ef
2014-11-17 14:29:56 -08:00
Seth Fowler
882129275b Bug 1098202 (Part 2) - Rename Progress flags to be consistent with the corresponding notifications. r=tn
--HG--
extra : rebase_source : 9a8c0c3efe55a459c5a9a687e94a7861eb44bc35
2014-11-17 14:29:56 -08:00
Seth Fowler
a886c715d8 Bug 1098202 (Part 1) - Rename imgINotificationObserver handlers to be consistent with the notifications they handle. r=tn
--HG--
extra : rebase_source : 991d277afba4826ed403b74bbcbb9408b3dac0cc
2014-11-17 14:29:56 -08:00
Seth Fowler
6908be4a44 Bug 1098648 - Remove FLAG_REQUEST_STARTED from ProgressTracker. r=tn
--HG--
extra : rebase_source : 1fdd8761fde5817528dcda53f7754d8e83628037
2014-11-17 14:29:56 -08:00
Seth Fowler
2aa9c36c50 Bug 1098645 - Remove imgRequestProxy::mSentStartContainer. r=tn
--HG--
extra : rebase_source : 21b1891f0b6e39d7ed4945d9d42b37f43490c0f5
2014-11-17 14:29:56 -08:00
Seth Fowler
73039c2713 Bug 1089880 (Part 2) - Add tests for HAS_TRANSPARENCY. r=tn
--HG--
rename : image/test/reftest/gif/one-color-offset.gif => image/test/mochitest/first-frame-padding.gif
rename : image/test/reftest/ico/ico-bmp-8bpp/ico-size-1x1-8bpp.ico => image/test/mochitest/ico-bmp-opaque.ico
rename : image/test/reftest/ico/ico-bmp-32bpp/ico-transparent-32bpp.ico => image/test/mochitest/ico-bmp-transparent.ico
rename : image/test/reftest/bmp/bmp-8bpp/bmp-size-2x2-8bpp.bmp => image/test/mochitest/opaque.bmp
rename : image/test/reftest/gif/red.gif => image/test/mochitest/red.gif
rename : image/test/reftest/gif/in-colormap-trans.gif => image/test/mochitest/transparent.gif
rename : image/test/reftest/pngsuite-transparency/tbbn1g04.png => image/test/mochitest/transparent.png
2014-11-17 11:16:45 -08:00
Seth Fowler
5376541aef Bug 1089880 (Part 1) - Add a HAS_TRANSPARENCY notification to ImageLib. r=tn 2014-11-17 11:16:45 -08:00
Seth Fowler
c6907e0f94 Bug 1098108 (Part 5) - Check consistency whenever progress changes in ProgressTracker. r=tn 2014-11-14 20:10:48 -08:00
Seth Fowler
d54f7c61aa Bug 1098108 (Part 4) - Make resniffed multipart requests progress like normal requests. r=tn 2014-11-14 20:10:48 -08:00
Seth Fowler
06b4ef5f00 Bug 1098108 (Part 3) - Record REQUEST* notifications for imgTools decodes. r=tn 2014-11-14 20:10:48 -08:00
Seth Fowler
007c489ec2 Bug 1098108 (Part 2) - Don't send DECODE_STOPPED or ONLOAD_UNBLOCKED for size decodes. r=tn 2014-11-14 20:10:48 -08:00
Seth Fowler
14f1a742fb Bug 1098108 (Part 1) - Don't overwrite nsICODecoder's progress with the contained decoder's progress. r=tn 2014-11-14 20:10:48 -08:00
Seth Fowler
03cc795af0 Bug 1097432 (Part 3) - Rename imgStatusTracker to ProgressTracker and ImageStatusDiff to Progress. r=tn
--HG--
rename : image/src/imgStatusTracker.cpp => image/src/ProgressTracker.cpp
rename : image/src/imgStatusTracker.h => image/src/ProgressTracker.h
2014-11-14 20:10:47 -08:00
Seth Fowler
32255b73d9 Bug 1097432 (Part 2) - Clean up imgStatusTracker's interface. r=tn 2014-11-14 20:10:47 -08:00
Seth Fowler
63584f5ba5 Bug 1097432 (Part 1) - Remove imgStatusTracker::Send* methods and clean up. r=tn 2014-11-14 20:10:47 -08:00
Seth Fowler
fa82ef9bdd Bug 1097431 - Carry over the minimal set of imgStatusTracker flags between multipart parts. r=tn 2014-11-14 20:10:47 -08:00
Seth Fowler
3d11d94904 Bug 1097405 - Clean up imgStatusTracker's Difference APIs. r=tn 2014-11-14 20:10:47 -08:00
Seth Fowler
d21b3e2c48 Bug 1089046 (Part 2) - Remove guards against recursive notifications. r=tn 2014-11-14 20:06:21 -08:00
Seth Fowler
d9d70fd0bf Bug 1089046 (Part 1) - Remove imgDecoderObserver and related code. r=tn 2014-11-14 20:06:19 -08:00
Glenn Randers-Pehrson
af6365f04f Bug 991149 - Improve image/* source compliance with Mozilla Coding Style. r=seth 2014-11-14 12:59:00 -05:00
Christoph Kerschbaumer
d5cbc137e2 Bug 1083422 - Add triggering Principal to nsILoadInfo - update callsites (r=bz,sicking) 2014-11-14 08:56:55 -08:00
Mats Palmgren
b4f43a55d9 Bug 1013211 - Use the final resource URI after redirects etc as the source URI when dragging an image. r=roc 2014-11-10 22:06:24 +00:00
Seth Fowler
9a0b7054a5 Bug 1084679 - Track invalidation rects during decoding on Decoder, not imgStatusTracker. r=tn 2014-11-10 12:37:35 -08:00
Michael Ratcliffe
926bf1ca5d Bug 1090913 - Make mochitests fail when it has 0 passes and 0 fails r=jmaher 2014-11-05 16:00:52 +00:00
Seth Fowler
060c64a03f Bug 1084136 (Part 11) - Don't treat FLAG_REQUEST_STARTED specially. r=tn,a=kwierso
--HG--
extra : rebase_source : 6dcf827fcd14d0310222dad8403d73704c7dcde2
extra : amend_source : 22dfb613487919c715b720c45e8a6779c33a341d
2014-11-06 17:34:01 -08:00
Seth Fowler
5de2e871f3 Bug 1084136 (Part 10) - Materialize image status from image state when needed. r=tn
--HG--
extra : rebase_source : d401de894d19c6f2b74faa2c26a2422cfbac0a6d
2014-11-06 17:34:00 -08:00
Seth Fowler
efe9a7ae68 Bug 1084136 (Part 9) - Don't track whether we've ever been decoded separately. r=tn
--HG--
extra : rebase_source : 6a6708f9b6524b152204fccf96922e17eccbd6b3
2014-11-06 17:34:00 -08:00
Seth Fowler
c26f9ade1c Bug 1084136 (Part 8) - Treat receiving the last part of a multipart image as an image state. r=tn
--HG--
extra : rebase_source : 136af95415b6756b9d4c5c667d2287da77557a23
2014-11-06 17:33:59 -08:00
Seth Fowler
10014ce732 Bug 1084136 (Part 7) - Treat being multipart as an image state. r=tn
--HG--
extra : rebase_source : 2026ffd7698abe21f15dbc52cbf318b52e329129
2014-11-06 17:33:59 -08:00
Seth Fowler
c3719cd2ba Bug 1084136 (Part 6) - Don't reset any imgStatusTracker state when discarding. r=tn
--HG--
extra : rebase_source : 48b0bb6827f6b8121f662bab4dcfb823fa8fe870
2014-11-06 17:33:59 -08:00
Seth Fowler
f114d563da Bug 1084136 (Part 5) - Don't reset STATUS_DECODE_STARTED when decoding finishes. r=tn
--HG--
extra : rebase_source : d60164094c0dc0d7fbc4f47980f8b2d9df0b9deb
2014-11-06 17:33:58 -08:00
Seth Fowler
07645410f4 Bug 1084136 (Part 4) - Record STATUS_DECODE_COMPLETE even if there's an error. r=tn
--HG--
extra : rebase_source : 9d5ba3964faf1fe2d28020050a0d89fa5cbc5bb0
2014-11-06 17:33:58 -08:00
Seth Fowler
82938e4154 Bug 1084136 (Part 3) - Don't reset image status flags on error. r=tn
--HG--
extra : rebase_source : a14a69a7f8a000be8c66008edf99c6d08a755325
2014-11-06 17:33:57 -08:00
Seth Fowler
103acd72f9 Bug 1084136 (Part 2) - Add FLAG_UNBLOCK_ONLOAD and never unset FLAG_BLOCK_ONLOAD. r=tn
--HG--
extra : rebase_source : 1658f334021b19c15e55fc838276a2d7903e5bca
2014-11-06 17:33:57 -08:00
Seth Fowler
0f559d0429 Bug 1084136 (Part 1) - Clean up image state flags. r=tn
--HG--
extra : rebase_source : e91a0adca1f47e1f430c9120f86a903c374c29dc
2014-11-06 17:33:57 -08:00