Commit Graph

480 Commits

Author SHA1 Message Date
Joe Drew
09702bcf62 Bug 846852 - Preallocate the RasterImage source data array when loading from file://. r=seth
--HG--
extra : rebase_source : 9bf2cc014d97f245ae063f65ab4aa6743c3194f2
2013-03-01 14:21:06 -05:00
Joe Drew
63ad0ad95e Bug 841579 - Tests to make sure that removing elements from a document midway through load don't inhibit onload. rs=khuey
--HG--
extra : rebase_source : 96a86a7c597abe587ff770a1942657d8fde84a17
2013-02-15 11:49:54 -05:00
Joe Drew
da4e770926 Bug 841579 - If we start a decode (or a decode is already started) at the time OnStopRequest is fired, wait around for it to finish decoding before firing onload/onerror. r=khuey
--HG--
extra : rebase_source : e4a97b3f037df283e89dbcb21d330030b6e35c85
2013-02-15 11:48:17 -05:00
Daniel Holbert
cbb3058c0c Bug 846078 part 2: Use MOZ_ASSERT instead of NS_ABORT_IF_FALSE in VectorImage.cpp. rs=seth 2013-02-28 22:45:00 -08:00
Daniel Holbert
8d29f4dedf Bug 846078 part 1: Code-cleanup in helper classes within VectorImage.cpp. r=seth 2013-02-28 22:44:59 -08:00
Daniel Holbert
5f5afc43d9 Bug 846046: Make VectorImage member-vars type 'bool' instead of 'bool:1', and use AutoRestore to clear mIsDrawing at the end of Draw(). r=joe 2013-02-28 22:44:57 -08:00
Seth Fowler
e42ac33f53 Bug 846028 - Coalesce invalidations in VectorImage. r=dholbert 2013-02-28 16:43:43 -08:00
Ryan VanderMeulen
e89c2a6319 Backed out changeset 1cf12e699dc7 (bug 846028) for reftest crashes on a CLOSED TREE. 2013-02-28 16:59:26 -05:00
Seth Fowler
d3ae5f62de Bug 842850 (Part 2) - Remove imgIContainer::GetRootLayoutFrame. r=dholbert,joe sr=bz 2013-02-28 12:22:46 -08:00
Seth Fowler
c9f0633db1 Bug 842850 (Part 1) - Use an SVGImageContext class for overridden SVG properties. r=dholbert,joe sr=bz 2013-02-28 12:22:43 -08:00
Seth Fowler
50bda8ed08 Bug 846028 - Coalesce invalidations in VectorImage. r=dholbert 2013-02-28 12:02:31 -08:00
Ms2ger
8fedd090cc Merge m-i to b-s. 2013-02-28 14:46:10 +01:00
Gregory Szorc
e1b210ddf6 Merge mozilla-central into build-system
The 3 merged files had no conflicts and were manually verified to ensure
no incompatible changes crept in.
2013-02-27 21:02:02 -08:00
Gregory Szorc
0c8ee65118 Merge mozilla-central into build-system
There were merges in configure.in and some Makefile.in. None had any
conflicts. I spot verified the Makefile.in changes and confirmed that
the changes did not touch any DIRS* variables.
2013-02-27 10:03:52 -08:00
Seth Fowler
5daca11f3d Add crashtest for Bug 844403. r=dholbert 2013-02-27 19:43:45 -08:00
Gregory Szorc
45faa95b04 Merge mozilla-central into build-system
Only conflict was configure.in amd was due to context, not
changed lines themselves.
2013-02-25 22:09:18 -08:00
Ryan VanderMeulen
86edf921e8 Merge inbound to m-c. 2013-02-25 21:27:56 -05:00
Seth Fowler
18e5025cef Bug 844403 - Make VectorImage cancel all listeners when destroyed. r=dholbert 2013-02-25 17:40:13 -08:00
Gregory Szorc
ac908b7493 Bug 784841 - Part 18p: Convert /image; r=jrmuizel f=Ms2ger 2013-02-25 12:47:21 -08:00
Timothy Nikkel
45f8b4f1f9 Bug 689623. Part 8. Add an 'unlocked draw' notification for images that are drawn when not locked so we catch any images that become visible through a means other than scrolling. r=joe,mats 2013-02-24 18:59:22 -06:00
Bob Clary
5b3f258822 Bug 845778 - Skip content/canvas/crashtests/789933-1.html (bug 833371), gfx/tests/crashtests/385228-1.svg, image/test/crashtests/694165-1.xhtml for Android, r=jmaher. 2013-02-27 06:52:05 -08:00
Bobby Holley
07f2fa5d3f Bug 843711 - Fix up new |Components| culprits in test suite. r=mccr8 2013-02-25 10:43:03 -08:00
Josh Matthews
904420d6a2 Bug 844684 - Decode GIFs that include an application extension string shorter than 11 bytes. r=joe 2013-02-27 00:24:18 -05:00
Josh Matthews
52f9992be5 Bug 801366 - Add crashtest. 2013-02-26 17:46:03 -05:00
Seth Fowler
d30ced4483 Bug 845234 - Add null check in VectorImage's listener Cancel methods. r=dholbert 2013-02-26 13:21:07 -08:00
Seth Fowler
67035b0d87 Bug 825720 - Don't use GetRootLayoutFrame to calculate the size of SVG images. r=joe 2013-01-10 19:38:34 -08:00
Ryan VanderMeulen
b711734e91 Speculatively backout changeset e8d73b8ba1a1 (bug 825720) for Android armv6 reftest 2 timeouts. 2013-02-20 12:20:12 -05:00
Seth Fowler
1a987773c6 Bug 825720 - Don't use GetRootLayoutFrame to calculate the size of SVG images. r=joe 2013-01-10 19:38:34 -08:00
Seth Fowler
1be9f53248 Bug 839739 - Remove bad NS_ENSURE_STATE in imgRequestProxy::AdjustPriority. r=joe 2013-02-15 17:00:03 -08:00
Seth Fowler
275786c6bf Bug 704059 - Part 2: Let images call imgStatusTracker::OnStopRequest. r=joe 2013-02-13 18:41:10 -08:00
Seth Fowler
2c5dbc3666 Bug 704059 - Part 1: Decouple OnStopRequest and OnStopDecode for VectorImage. r=joe, r=dholbert 2013-02-13 18:04:08 -08:00
Phil Ringnalda
5ff3e12017 Bug 807211 - annotate ownerdiscard.html as asserts(0-2), since it certainly does 2013-02-16 10:05:52 -08:00
Joe Drew
1f65fa55d0 Bug 841661 - Remove the observer in this test when it finishes so we don't get failures from it in unrelated tests. r=mcmanus
--HG--
extra : rebase_source : ba49ab425632c6b090b018818df2aa29c73d9cc9
2013-02-15 15:43:27 -05:00
Seth Fowler
d0dff7d0d7 Bug 840841 - Remove mObserver from RasterImage and VectorImage. r=joe 2013-02-12 19:00:03 -08:00
Seth Fowler
7f52659439 Bug 840851 - Mark RasterImage::Initialize as static in RasterImage.cpp. r=joe 2013-02-13 14:03:37 -08:00
Seth Fowler
3b79141537 Bug 840850 - Fix missing include guard and style issues in ImageFactory. r=joe 2013-02-13 13:53:42 -08:00
Seth Fowler
fbb7912f96 Bug 840843 - Rename RasterImage::eShutdownIntent_Interrupted to eShutdownIntent_Unneeded. r=joe 2013-02-13 13:41:45 -08:00
Chris Jones
fb4f8130d6 Bug 841154: Add a sample label for image decoding. r=khuey 2013-02-13 13:49:57 -08:00
Timothy Nikkel
330699d04c Bug 784591. Just end the crashtest ownerdiscard.html after 30 seconds if the image doesn't get decoded. r=jdm
The test normally ends when the image is discarded. But there is nothing in the test that requires the image to ever be decoded. To properly test the original bug that this test is intended for we want the following sequence: imgRequestProxy::Cancel, imgRequestProxy::ChangeOwner, and then the image getting discarded. The cancel call makes it hard to get a full decode started, especially since it needs to happen before the ChangeOwner call which itself happens quite early. So it appears that there is no easy way to modify the test to keep this sequence of events 100% of the time.

However the test as it currently stands does indeed get this sequence of events most of the time, so it continues to test the right thing most of the time. The few times it doesn't test the right thing we can just move on.
2013-02-13 14:18:07 -06:00
David Zbarsky
63fa89c316 Bug 833446: Remove nsIDOMSVGSVGElement r=peterv 2013-02-08 14:55:07 -05:00
Ed Morley
ddfd14d940 Backout changeset d2fda338874d (bug 784591) for causing bug 832571 again 2013-02-07 11:20:47 +00:00
Timothy Nikkel
6104021a11 Bug 784591. Wait for the DOMContentLoaded event in the child iframe before removing the node from the document in this test. r=jdm 2013-02-06 19:24:15 -06:00
Kyle Huey
b07aef6051 Bug 835814. r=joe 2013-02-05 09:38:22 +00:00
Seth Fowler
0762d9279f Bug 836155 - Replace GetCurrentFrameRect() with FrameRect(aWhichFrame). r=joe 2013-02-04 16:06:14 -08:00
Seth Fowler
41916bc9e5 Bug 836124 - Replace GetCurrentFrameIsOpaque() with [noscript] FrameIsOpaque(aWhichFrame). r=joe 2013-02-04 14:22:30 -08:00
Daniel Holbert
5a82f9a135 Bug 837313: Mark image/decoders, image/decoders/icon, and image/decoders/icon/win as FAIL_ON_WARNINGS. r=joe 2013-02-01 23:19:15 -08:00
Seth Fowler
226451c23b Bug 828176 - Make RasterImage::GetURIString work again. r=joe 2013-01-30 12:11:20 -08:00
Ryan VanderMeulen
dc16d1fd40 Backed out changeset 25ea9ac37380 (bug 828176) for crashes. 2013-01-30 18:16:09 -05:00
Seth Fowler
9a2fc230ab Bug 828176 - Make RasterImage::GetURIString work again. r=joe 2013-01-10 18:15:05 -08:00
Chris Peterson
0147200468 Bug 834611 - Part 3: Mark widget/android, mozglue/android, and image/decoders/icon/android as FAIL_ON_WARNINGS. r=kats 2013-01-25 11:03:56 -08:00