Commit Graph

1296 Commits

Author SHA1 Message Date
Wes Kocher
46b5abc297 Backed out changeset fd24a9549c1d (bug 1021221) for mochitest-3 orange 2014-11-24 14:42:05 -08:00
Valentin Gosu
2eec9ded7e 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
6ce4f88e04 Bug 1101759 - Correctly record when we flush data during sync decodes. r=tn 2014-11-20 00:59:05 -08:00
Seth Fowler
331d34398f 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
f950251326 Bug 1081012 - Move DecodePool and related helpers out of RasterImage. r=tn 2014-11-18 18:17:17 -08:00
Seth Fowler
e5fc829d7c 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
25ceced44f 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
54870c611c Bug 1079653 (Part 2) - Remove DecodeRequest::mBytesToDecode. r=tn 2014-11-18 12:06:27 -08:00
Seth Fowler
2033ad107f Bug 1079653 (Part 1) - Move decode telemetry data from DecodeRequest to Decoder. r=tn 2014-11-18 12:06:26 -08:00
Sid Stamm
7840802ff5 Bug 704320 - apply referrer policies to image loads (r=seth) 2014-11-18 08:46:53 -05:00
Seth Fowler
ca1dce2292 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
433055f61a Bug 1100725 (Part 3) - Take invalidations after decoder shutdown in FinishedSomeDecoding. r=tn 2014-11-18 01:48:49 -08:00
Seth Fowler
1df17a3d88 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
a7d4ad918d Bug 1100725 (Part 1) - Don't shut down decoder in DoImageDataComplete. r=tn 2014-11-18 01:48:48 -08:00
Seth Fowler
9ff47dee0b 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
62eae44142 Bug 968008 - Adds comments to imgINotificationObserver.idl. r=tn
--HG--
extra : rebase_source : 5276e796133fd806d0b9229aec51aaaa7fedb5ef
2014-11-17 14:29:56 -08:00
Seth Fowler
a5a4994677 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
8272e602b4 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
fadb4ded83 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
59abe4bf01 Bug 1098645 - Remove imgRequestProxy::mSentStartContainer. r=tn
--HG--
extra : rebase_source : 21b1891f0b6e39d7ed4945d9d42b37f43490c0f5
2014-11-17 14:29:56 -08:00
Seth Fowler
646a87b452 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
2104fd39af Bug 1089880 (Part 1) - Add a HAS_TRANSPARENCY notification to ImageLib. r=tn 2014-11-17 11:16:45 -08:00
Seth Fowler
8c03c259c1 Bug 1098108 (Part 5) - Check consistency whenever progress changes in ProgressTracker. r=tn 2014-11-14 20:10:48 -08:00
Seth Fowler
ea1536c85d Bug 1098108 (Part 4) - Make resniffed multipart requests progress like normal requests. r=tn 2014-11-14 20:10:48 -08:00
Seth Fowler
949fc39567 Bug 1098108 (Part 3) - Record REQUEST* notifications for imgTools decodes. r=tn 2014-11-14 20:10:48 -08:00
Seth Fowler
1fb79da0fa 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
1fffd497bd 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
83e59f2ed5 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
24c45611da Bug 1097432 (Part 2) - Clean up imgStatusTracker's interface. r=tn 2014-11-14 20:10:47 -08:00
Seth Fowler
c93cf9d5cb Bug 1097432 (Part 1) - Remove imgStatusTracker::Send* methods and clean up. r=tn 2014-11-14 20:10:47 -08:00
Seth Fowler
22f87ae84e 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
f50b3b8b94 Bug 1097405 - Clean up imgStatusTracker's Difference APIs. r=tn 2014-11-14 20:10:47 -08:00
Seth Fowler
d3c9f17bad Bug 1089046 (Part 2) - Remove guards against recursive notifications. r=tn 2014-11-14 20:06:21 -08:00
Seth Fowler
d723752d36 Bug 1089046 (Part 1) - Remove imgDecoderObserver and related code. r=tn 2014-11-14 20:06:19 -08:00
Glenn Randers-Pehrson
e2bc55a28c Bug 991149 - Improve image/* source compliance with Mozilla Coding Style. r=seth 2014-11-14 12:59:00 -05:00
Christoph Kerschbaumer
a9d3ae9136 Bug 1083422 - Add triggering Principal to nsILoadInfo - update callsites (r=bz,sicking) 2014-11-14 08:56:55 -08:00
Mats Palmgren
da599d4464 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
779f210fa8 Bug 1084679 - Track invalidation rects during decoding on Decoder, not imgStatusTracker. r=tn 2014-11-10 12:37:35 -08:00
Michael Ratcliffe
e2616dda10 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
ccab9ea666 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
095424a834 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
f8366bef6a 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
a704eb8e0a 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
a2b91e8274 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
ffe50e3c56 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
4bb8da9c27 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
483bb40bfa 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
8de98648d8 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
955fd6a1eb 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
072f743299 Bug 1084136 (Part 1) - Clean up image state flags. r=tn
--HG--
extra : rebase_source : e91a0adca1f47e1f430c9120f86a903c374c29dc
2014-11-06 17:33:57 -08:00