Daniel Holbert
7d7a7ec332
Bug 1242778: Add MOZ_COUNT_CTOR & MOZ_COUNT_DTOR calls to track leaks of imagelib's FrameAnimator class. r=tn
...
Also add crashtest with a corrupt animated PNG image that causes a leak to be reported (thanks to these MOZ_COUNT calls). This leak is fixed by the patch on separate bug 1237709
.
2016-01-26 11:08:26 -08:00
Nicholas Nethercote
cc5a3d081f
Bug 1238551 (part 2) - Add a test. r=tn.
...
--HG--
extra : rebase_source : f44da0e9d84eb2ba88019a1ab857c88fe76ce0a6
2016-01-17 21:13:32 -08:00
Jan de Mooij
3c3f394c55
Bug 1237201 part 3 - Handle Vector OOM in StreamingLexer. r=njn
2016-01-14 15:19:21 +01:00
Edwin Flores
cde8e15ecd
Bug 1235605 - Use CheckedInt in Deinterlacer and make its buffer allocation fallible. r=tn
2015-12-30 17:03:24 -05:00
Christoph Kerschbaumer
972c2231e2
Bug 1229889 - Convert JS callsites to use asyncOpen2 within image/ (r=sicking)
2015-12-06 20:57:08 -08:00
Wes Kocher
d2615415f5
Backed out 4 changesets (bug 1230221, bug 1230220, bug 1229890) for m-e10s(2) permafails in test_window_open_close.html CLOSED TREE
...
Backed out changeset a1cd28ddbfa2 (bug 1230221)
Backed out changeset 7e89f5020ac7 (bug 1230220)
Backed out changeset 91f6e72fa9f4 (bug 1229890)
Backed out changeset 7e717a810420 (bug 1229890)
--HG--
extra : commitid : BinvCloSNFx
extra : amend_source : 94dfb9ebf66c6e73b1b407e93d8475724d2ae7a2
2015-12-04 15:58:40 -08:00
Christoph Kerschbaumer
249b3fc0cf
Bug 1229890 - Convert JS callsites to use asyncOpen2 within image/ (r=sicking)
2015-12-04 09:39:05 -08:00
Nicholas Nethercote
43bbaa0481
Bug 1220021 (part 2) - Add four reftests. r=seth.
2015-11-23 18:20:21 -08:00
Nicholas Nethercote
ce10603db1
Bug 1210291 - Streamline StreamingLexer's handling of terminal states. r=seth.
...
This patch introduces TerminalState and changes LexerTransition::mNextState to
be a Variant<State, TerminalState>. This means that SUCCESS and FAILURE no
longer need to be part of State.
Some things to note:
- This simplifies the handling of Lex()'s return value, which is nice.
- The patch splits Terminate() into TerminateSuccess() and TerminateFailure().
- |const State& aNextState| wouldn't work for the first arg to
LexerTransition's ctor due to errors in Variant construction that I didn't
understand. I had to change it to |State aNextState|.
--HG--
extra : rebase_source : f405a67fdf0f1bb712409eafecb21ac9b59d6db0
2015-10-28 01:30:20 -07:00
Phil Ringnalda
3415cdf0fe
Bug 1182951 - skip test_bug399925.html on b2g debug for constant timeouts
2015-11-14 18:28:40 -08:00
Nathan Froyd
2d8bae8e40
Bug 1217571 - fix the imagelib cache to work in e10s; r=seth
...
nsICachingChannel isn't available in the child process; we have to use
nsICacheInfoChannel instead.
2015-11-12 15:09:52 -05:00
Ryan VanderMeulen
922927d4f3
Bug 1123195 - Re-enable 694165-1.xhtml on OSX.
...
--HG--
extra : rebase_source : 8a49022c7ccc2bb5107ef146808febee6dc2d87a
extra : histedit_source : bb95ee7544cebddccbc279f4a2a25c8f0620a59f
2015-11-01 12:58:53 -05:00
Ryan VanderMeulen
028dec7cc8
No bug - Various crashtest manifest cleanups.
...
--HG--
rename : dom/base/crashtests/713417.html => dom/base/crashtests/713417-1.html
rename : dom/workers/test/1158031.html => dom/workers/test/crashtests/1158031.html
rename : dom/workers/test/779707.html => dom/workers/test/crashtests/779707.html
rename : dom/workers/test/943516.html => dom/workers/test/crashtests/943516.html
rename : dom/workers/test/crashtests.list => dom/workers/test/crashtests/crashtests.list
rename : layout/generic/crashtests/812879.html => layout/generic/crashtests/812879-1.html
rename : layout/generic/crashtests/first-letter-638937.html => layout/generic/crashtests/first-letter-638937-1.html
extra : rebase_source : b9274dc6870030ed62bcee35350d566160502869
2015-10-31 19:35:27 -04:00
Seth Fowler
6598853366
Bug 1207355
(Part 8) - Remove imgIContainer::RequestDecode() and imgIRequest::RequestDecode(). r=tn
2015-10-29 16:37:42 -07:00
Phil Ringnalda
a727c1fe68
Back out 8 changesets (bug 1207355
) for OS X 10.10 reftest failures in generated-content/
...
CLOSED TREE
Backed out changeset aafd6db2fbb4 (bug 1207355
)
Backed out changeset 9dd950b837fb (bug 1207355
)
Backed out changeset e941e0e106a1 (bug 1207355
)
Backed out changeset ecebca101fcb (bug 1207355
)
Backed out changeset 08f2017137e1 (bug 1207355
)
Backed out changeset 3dc69e37c9b4 (bug 1207355
)
Backed out changeset bcdf51edb121 (bug 1207355
)
Backed out changeset 1d4c00dbf49a (bug 1207355
)
2015-10-28 22:57:43 -07:00
Seth Fowler
0fa74a123c
Bug 1207355
(Part 8) - Remove imgIContainer::RequestDecode() and imgIRequest::RequestDecode(). r=tn
2015-10-28 16:40:43 -07:00
Nicholas Nethercote
c5432f6a1e
Bug 1214072 (part 2) - Implement transparency properly for BMP images. r=seth.
...
Currently we don't implement transparency at all in BMP images except for an
odd-duck case of BMPs within ICOs.
This patch does the following.
- It implements transparency properly for 16bpp and 32bpp images via bitfield
masking. (For 32bpp images this also requires handling colors via bitfield
masking.) The patch maintains the existing BMP-within-ICO transparency
handling.
- It also reworks BitFields::Value::Set().
* It now works correctly if the run of 1s goes all the way to bit 31 (the
old code didn't set mBitWidth).
* If the mask is 0, will give an mRightShift of 0 (old code gave 32, and
right-shifting by 32 is dodgy).
* It's now easier to read.
- It renames transparent.bmp as transparent-if-within-ico.bmp. Ironically
enough this file currently uses BITFIELDS compression and is WinBMPv5 format,
which means it contains well-specified alpha data. In order to use it to test
the hacky BMP-within-ICO transparency scheme the patch changes it to be
WinBMPv3 format with RGB compression (i.e. no compression). I left the
now-excess bytes (including the bitfields) in the info header in place
because that's allowed -- thanks to the start of the pixel data being
specified by the |dataoffset| field -- they'll just be ignored.
- It tweaks the naming of the relevant gtests and some of their finer details
to work with the new way of doing things.
This fixes all four remaining failures in bmpsuite.
--HG--
rename : image/test/gtest/transparent.bmp => image/test/gtest/transparent-if-within-ico.bmp
extra : rebase_source : 2f4838d04bbae4fac00cc69e8d75469105a5de3b
2015-10-13 21:20:10 -07:00
Phil Ringnalda
04af362375
Bug 1207012 - Disable browser_bug666317.js for a permaorange uncaught exception that becomes visibly orange on beta
...
--HG--
extra : rebase_source : ec59909e71db0bb48919e5c810d018520257817d
2015-10-18 18:39:07 -07:00
Nathan Froyd
01583602a9
Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
...
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout. The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.
CLOSED TREE makes big refactorings like this a piece of cake.
# The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
xargs perl -p -i -e '
s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
s/nsRefPtr ?</RefPtr</g; # handle declarations and variables
'
# Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h
# Handle nsRefPtr.h itself, a couple places that define constructors
# from nsRefPtr, and code generators specially. We do this here, rather
# than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
# things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
mfbt/nsRefPtr.h \
xpcom/glue/nsCOMPtr.h \
xpcom/base/OwningNonNull.h \
ipc/ipdl/ipdl/lower.py \
ipc/ipdl/ipdl/builtin.py \
dom/bindings/Codegen.py \
python/lldbutils/lldbutils/utils.py
# In our indiscriminate substitution above, we renamed
# nsRefPtrGetterAddRefs, the class behind getter_AddRefs. Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'
if [ -d .git ]; then
git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi
--HG--
rename : mfbt/nsRefPtr.h => mfbt/RefPtr.h
2015-10-18 01:24:48 -04:00
Nicholas Nethercote
bc8cdf084b
Bug 1213613 (part 3) - Fix color-scaling of 16bpp BMP images. r=seth.
...
This patch implements proper color-scaling, instead of bit-shifting, and uses
it for 16bpp images.
It also cleans up the code relating to color masking in the process, by making
BitFields a proper class and introducing the Value class within it.
This fixes sub-optimal handling of four images in bmpsuite.
2015-10-13 20:01:02 -07:00
Nicholas Nethercote
5c931ac437
Bug 1204394 (part 2) - Add bmpsuite to the BMP reftests. r=seth.
...
We have 52 passes and 5 known fails. Three of the passes have higher fuzziness
allowances than they should, so really there are 8 files that we need to
improve on.
--HG--
extra : rebase_source : 23738272b38c7d03c90e425e8170fc3fabc4c021
2015-10-08 22:55:28 -07:00
Eric Rahm
b257c6378a
Bug 1194555 - Part 3: Remove |getReportsForThisProcess| from the nsIMemoryReporterManager interface. r=njn
...
|getReportsForThisProcess| differs from |getReports| in that it is limited to current process and is synchronous. When asynchronous memory reporters are added the function will no longer be able tobe synchronous. There isn't much utility in only measuring the current process, so we can remove the function and switch existing users to |getReports|.
2015-10-14 16:52:55 -07:00
Hiroyuki Ikezoe
14fcfc3d81
Bug 1167627 - Part 8: Use mozinfo in image/.
2015-08-25 15:01:00 +02:00
Tom Klein
a52e52dfb5
Bug 1212954 - Make BaseSize::IsEmpty return true for negative sizes to avoid NS_ERROR in VectorImage::GetFrameAtSize when root svg doesn't have intrinsic width or height. r=roc
2015-10-11 18:13:10 +02:00
Carsten "Tomcat" Book
08997000eb
Backed out 2 changesets (bug 1202902
) to recking bug 1202902
to be able to reopen inbound on a CLOSED TREE
...
Backed out changeset 647025383676 (bug 1202902
)
Backed out changeset d70c7fe532c6 (bug 1202902
)
2015-10-07 14:03:21 +02:00
Carsten "Tomcat" Book
e7ef778c9d
Backed out 1 changesets (bug 1202902
) for causing merge conflicts to mozilla-central
...
Backed out changeset cfc1820361f5 (bug 1202902
)
--HG--
extra : rebase_source : 5d3db72337754bc7ab0ed0c30b2896100411ff92
2015-10-07 12:13:45 +02:00
Wes Kocher
a69f1f52e7
Backed out 7 changesets (bug 1194555) for xpcshell failures
...
Backed out changeset e77be333f4fb (bug 1194555)
Backed out changeset 11951462a37c (bug 1194555)
Backed out changeset 99b27aa952c5 (bug 1194555)
Backed out changeset 70a8ed3b6a45 (bug 1194555)
Backed out changeset 748bfebe81e7 (bug 1194555)
Backed out changeset cbaac05a2934 (bug 1194555)
Backed out changeset fcbfd1379fcd (bug 1194555)
2015-10-06 14:40:51 -07:00
Shu-yu Guo
d06b6030f6
Bug 1202902
- Scripted fix the world.
2015-10-06 14:00:31 -07:00
Eric Rahm
16b67b6d6c
Bug 1194555 - Part 3: Remove |getReportsForThisProcess| from the nsIMemoryReporterManager interface. r=njn
...
|getReportsForThisProcess| differs from |getReports| in that it is limited to current process and is synchronous. When asynchronous memory reporters are added the function will no longer be able tobe synchronous. There isn't much utility in only measuring the current process, so we can remove the function and switch existing users to |getReports|.
2015-10-06 11:23:33 -07:00
Nicholas Nethercote
9fc48f5c6a
Bug 1204393 (part 2) - Add more testing of the ICON decoder. r=seth.
...
--HG--
extra : rebase_source : cec12255ccb302c058831c178698dbfa6ab5ec43
2015-10-05 14:29:11 -07:00
Yoshi Huang
d38b78ae54
Bug 1165466 - Fix up docshell and loadcontext inheriting code in nsIScriptSecurityManager. r=bholley
2015-09-23 16:10:21 +08:00
Daniel Holbert
3efe8e4b74
Bug 1205923
: Make VectorImage::GetWidth/GetHeight set outparam to 0 (not -1) on failure, to accomodate callers that don't check error codes. r=seth
2015-09-18 15:33:43 -07:00
Seth Fowler
3e6e1a075a
Bug 1146663 (Part 1) - Remove HQ scaling, which is now dead code. r=tn
2015-09-19 16:20:56 -07:00
Seth Fowler
a69b49d8d7
Bug 1191347 - Explicitly release surfaces on the main thread in TestDecodeToSurface. r=me
2015-09-19 15:47:36 -07:00
Seth Fowler
93cbaca5e0
Bug 1201796 (Part 4) - Add downscale-during-decode support for the ICO decoder. r=tn
2015-09-19 13:34:14 -07:00
Seth Fowler
ba6ea7f0cc
Bug 1201796 (Part 3) - Enable downscale-during-decode for imgITools::EncodeScaledImage(). r=tn
2015-09-19 13:34:12 -07:00
Seth Fowler
30373cd6eb
Bug 1201796 (Part 1) - Treat ICOs with wrong widths and heights as corrupt. r=tn
...
--HG--
rename : image/test/reftest/ico/ico-bmp-corrupted/invalid_ico_height.ico => image/test/crashtests/invalid_ico_height.ico
rename : image/test/reftest/ico/ico-bmp-corrupted/invalid_ico_width.ico => image/test/crashtests/invalid_ico_width.ico
2015-09-19 13:34:06 -07:00
Seth Fowler
56f195af33
Bug 1196066 (Part 4) - Enable the ICOMultiChunk test, which now passes. r=tn
2015-09-18 23:12:32 -07:00
Seth Fowler
5e69f17eb2
Bug 1196066 (Part 2) - Add a streaming lexing framework to ImageLib. r=tn
2015-09-18 23:12:27 -07:00
Seth Fowler
214922253b
Bug 1196066 (Part 1) - Fix bad directory entries in two of our ICO reftests. r=tn
2015-09-18 23:12:24 -07:00
Daniel Holbert
2a984cec5a
backout 757560ab8de1 (bug 1205923
) due to linux64 & winXP reftest failures
2015-09-18 18:57:38 -07:00
Daniel Holbert
e3c5813b68
Bug 1205923
: Make VectorImage::GetWidth/GetHeight leave outparam untouched on failure, to avoid returning -1 to callers that don't check error codes. r=seth
2015-09-18 15:33:43 -07:00
Wes Kocher
08de06967a
Backed out 8 changesets (bug 1201796, bug 1196066) for mulet gij(28) failures CLOSED TREE
...
Backed out changeset 159d5d2946d3 (bug 1201796)
Backed out changeset 958988218976 (bug 1201796)
Backed out changeset 494e7553d641 (bug 1201796)
Backed out changeset d58149411b7d (bug 1201796)
Backed out changeset 35bd769b49f8 (bug 1196066)
Backed out changeset e4f3d4279b4c (bug 1196066)
Backed out changeset ca467297fa07 (bug 1196066)
Backed out changeset b4851ce6637d (bug 1196066)
--HG--
rename : image/test/crashtests/invalid_ico_height.ico => image/test/reftest/ico/ico-bmp-corrupted/invalid_ico_height.ico
rename : image/test/crashtests/invalid_ico_width.ico => image/test/reftest/ico/ico-bmp-corrupted/invalid_ico_width.ico
extra : rebase_source : 5232674f1cf0ef4d7f70568f627547c0151a801f
2015-09-18 13:01:25 -07:00
Seth Fowler
b48b5d99b8
Bug 1201796 (Part 4) - Add downscale-during-decode support for the ICO decoder. r=tn
2015-09-18 10:54:40 -07:00
Seth Fowler
8ccda9e72f
Bug 1201796 (Part 3) - Enable downscale-during-decode for imgITools::EncodeScaledImage(). r=tn
2015-09-18 10:54:38 -07:00
Seth Fowler
2035a81b8d
Bug 1201796 (Part 1) - Treat ICOs with wrong widths and heights as corrupt. r=tn
...
--HG--
rename : image/test/reftest/ico/ico-bmp-corrupted/invalid_ico_height.ico => image/test/crashtests/invalid_ico_height.ico
rename : image/test/reftest/ico/ico-bmp-corrupted/invalid_ico_width.ico => image/test/crashtests/invalid_ico_width.ico
2015-09-18 10:54:32 -07:00
Seth Fowler
66c5f46c8d
Bug 1196066 (Part 4) - Enable the ICOMultiChunk test, which now passes. r=tn
2015-09-18 10:54:30 -07:00
Seth Fowler
e1c5f39aff
Bug 1196066 (Part 2) - Add a streaming lexing framework to ImageLib. r=tn
2015-09-18 10:54:24 -07:00
Seth Fowler
9c22e557a2
Bug 1196066 (Part 1) - Fix bad directory entries in two of our ICO reftests. r=tn
2015-09-18 10:54:21 -07:00
Shu-yu Guo
64db2267cf
Bug 1202902
- Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff)
2015-09-15 11:19:45 -07:00
Seth Fowler
b125dc7714
Bug 1060609 (Part 3) - Add tests that interlaced and non-interlaced PNGs have the same downscaling behavior. r=tn
2015-09-01 14:13:20 -07:00
Nicholas Nethercote
f44287005f
Bug 1198334 (part 1) - Replace the opt-in FAIL_ON_WARNINGS with the opt-out ALLOW_COMPILER_WARNINGS. r=glandium.
...
The patch removes 455 occurrences of FAIL_ON_WARNINGS from moz.build files, and
adds 78 instances of ALLOW_COMPILER_WARNINGS. About half of those 78 are in
code we control and which should be removable with a little effort.
--HG--
extra : rebase_source : 82e3387abfbd5f1471e953961d301d3d97ed2973
2015-08-27 20:44:53 -07:00
Ryan VanderMeulen
3e3e1cbd1d
Merge m-c to fx-team. a=merge
2015-08-26 14:34:15 -04:00
Gijs Kruitbosch
1aa68e8c0f
Bug 1173214, r=seth,bz
...
--HG--
extra : commitid : 4vG71pjrBIY
2015-08-26 10:24:04 +01:00
Seth Fowler
20e4c2ad62
Bug 1196065 - Add sanity tests for image decoders. r=tn
...
--HG--
extra : rebase_source : d8b4912e671abe9fa041ee6ca906ba8f23a70ebb
2015-08-19 14:04:01 -07:00
Justin Wood
b2d2dffd0c
Bug 1195499 - Adjust fuzz and skips for win10. r=Bas
...
--HG--
extra : rebase_source : ad917963397787a137226d44c19b9669cca89430
2015-08-18 13:19:05 -04:00
Sebastian Hengst
05cd1ebf4f
Backed out changeset 3cafd6b3967b (bug 1196065) for OSX 10.7 static build failure. r=backout
2015-08-19 11:15:57 +02:00
Seth Fowler
9c99214046
Bug 1196065 - Add sanity tests for image decoders. r=tn
2015-08-19 00:41:30 -07:00
Seth Fowler
f89ca1d90f
Bug 1185800 - Add DecoderFlags and SurfaceFlags enum classes and use them instead of imgIContainer flags in all decoder-related code. r=tn
2015-08-14 17:56:44 -07:00
Seth Fowler
7000b611ae
Bug 1194059 (Part 4) - Add tests that we detect IS_ANIMATED during the metadata decode. r=tn
2015-08-14 00:37:19 -07:00
Seth Fowler
e9af374dd3
Bug 1194059 (Part 3) - Ensure the nsIInputStream LoadImage() returns is always buffered. r=tn
2015-08-14 00:37:16 -07:00
Seth Fowler
688a7b4ccc
Bug 1191114 (Part 4) - Add tests for metadata decoding, including that we always deliver HAS_TRANSPARENCY during the metadata decode. r=tn
...
--HG--
extra : rebase_source : a75678990dfe110dcafed02591da45854a0b2c92
2015-08-12 10:41:11 -07:00
Seth Fowler
2293f110ab
Bug 1191114 (Part 3) - Add flags to image test cases. r=tn
...
--HG--
extra : rebase_source : ae18f059f8dcd70959567631afac9436f3214b6f
2015-08-12 10:41:08 -07:00
Seth Fowler
c012dc0aa9
Bug 1191114 (Part 1) - Always detect HAS_TRANSPARENCY during the metadata decode. r=tn
...
--HG--
extra : rebase_source : 97c8568f33abd1f2a8d9ef5679ce3ac904f0758f
2015-08-12 10:41:02 -07:00
Kyle Huey
76e3009ab8
Bug 1179909: Refactor stable state handling. r=smaug
...
This is motivated by three separate but related problems:
1. Our concept of recursion depth is broken for things that run from AfterProcessNextEvent observers (e.g. Promises). We decrement the recursionDepth counter before firing observers, so a Promise callback running at the lowest event loop depth has a recursion depth of 0 (whereas a regular nsIRunnable would be 1). This is a problem because it's impossible to distinguish a Promise running after a sync XHR's onreadystatechange handler from a top-level event (since the former runs with depth 2 - 1 = 1, and the latter runs with just 1).
2. The nsIThreadObserver mechanism that is used by a lot of code to run "after" the current event is a poor fit for anything that runs script. First, the order the observers fire in is the order they were added, not anything fixed by spec. Additionally, running script can cause the event loop to spin, which is a big source of pain here (bholley has some nasty bug caused by this).
3. We run Promises from different points in the code for workers and main thread. The latter runs from XPConnect's nsIThreadObserver callbacks, while the former runs from a hardcoded call to run Promises in the worker event loop. What workers do is particularly problematic because it means we can't get the right recursion depth no matter what we do to nsThread.
The solve this, this patch does the following:
1. Consolidate some handling of microtasks and all handling of stable state from appshell and WorkerPrivate into CycleCollectedJSRuntime.
2. Make the recursionDepth counter only available to CycleCollectedJSRuntime (and its consumers) and remove it from the nsIThreadInternal and nsIThreadObserver APIs.
3. Adjust the recursionDepth counter so that microtasks run with the recursionDepth of the task they are associated with.
4. Introduce the concept of metastable state to replace appshell's RunBeforeNextEvent. Metastable state is reached after every microtask or task is completed. This provides the semantics that bent and I want for IndexedDB, where transactions autocommit at the end of a microtask and do not "spill" from one microtask into a subsequent microtask. This differs from appshell's RunBeforeNextEvent in two ways:
a) It fires between microtasks, which was the motivation for starting this.
b) It no longer ensures that we're at the same event loop depth in the native event queue. bent decided we don't care about this.
5. Reorder stable state to happen after microtasks such as Promises, per HTML. Right now we call the regular thread observers, including appshell, before the main thread observer (XPConnect), so stable state tasks happen before microtasks.
2015-08-11 06:10:46 -07:00
Ehsan Akhgari
509e505cbb
Bug 1181863 - Part 4: Fix the build bustage
2015-08-01 00:07:04 -04:00
Seth Fowler
b925bc97d1
Bug 1181863 (Part 3) - Add tests for DecodeToSurface(). r=tn
2015-07-31 18:10:34 -07:00
Seth Fowler
a6f5d15b56
Bug 1194912 (Part 1) - Add CopyOnWrite<T> to support automatic copy-on-write for recursive writes to data structures. r=tn
2015-08-25 16:26:39 -07:00
Seth Fowler
44b587e55f
Bug 1184804
- Wait for DECODE_COMPLETE to be fired in browser_bug666317.js. r=tn
2015-07-16 20:32:24 -07:00
Seth Fowler
2caf97114f
Bug 1182545 - Make browser_bug666317.js wait for the discard event instead of expecting it at a precise time. r=tn
2015-07-10 16:37:03 -07:00
Seth Fowler
b508f20945
Bug 1182533 - Sync decode ico-bmp-corrupted images before loading them in the <img> element. r=tn
2015-07-10 16:36:56 -07:00
Geoff Brown
52d4e225a0
Bug 1026290 - Update mochitest-chrome manifests for android; r=jgriffin
2015-07-10 14:41:59 -06:00
Ehsan Akhgari
b9fef1cb05
Bug 1180105 - Do not leak the SourceSurface returned from imgIContainer::GetFrame in BlockUntilDecodedAndFinishObserving; r=seth
2015-07-06 21:30:42 -04:00
Seth Fowler
eb28fe0afe
Bug 1163856 (Part 2) - Fix tests that depended on image load event timing. r=tn
2015-06-30 02:38:01 -07:00
Seth Fowler
265ed0e8b8
Bug 1163856 (Part 1) - Delay the image load event until the size decoder gets finalized. r=tn
2015-06-30 02:37:58 -07:00
Phil Ringnalda
64bb0c3553
Back out 2 changesets (bug 1163856) for Windows !mSyncLoad assertion failures
...
CLOSED TREE
Backed out changeset 62c1c616f21c (bug 1163856)
Backed out changeset 04239448fe0b (bug 1163856)
2015-06-25 19:57:00 -07:00
Seth Fowler
028ff94473
Bug 1163856 (Part 2) - Fix tests that depended on image load event timing. r=tn
2015-06-25 17:10:05 -07:00
Seth Fowler
420767db2e
Bug 1163856 (Part 1) - Delay the image load event until the size decoder gets finalized. r=tn
2015-06-25 17:09:57 -07:00
Seth Fowler
4471be4dd3
Bug 1174923 - Stop delaying the document load event until images are decoded. r=tn a=kwierso
2015-06-19 15:55:12 -07:00
Seth Fowler
97f0c7ad1e
Bug 1169680 - Don't merge image cache entries for blob URIs with different refs. r=tn
...
--HG--
extra : rebase_source : 20717fbc31f1116d96d5cf179e4f83e85719ff8d
2015-06-05 01:52:06 -07:00
Seth Fowler
4b06f90027
Bug 1160801 - Treat invalid GIF disposal methods as DisposalMethod::NOT_SPECIFIED. r=jrmuizel
2015-05-14 15:19:39 -07:00
Seth Fowler
f87898e570
Bug 1124084 - Flip on downscale-during-decode everywhere. r=tn
2015-03-17 13:56:50 -07:00
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
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
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
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
Ryan VanderMeulen
721fc1ab52
Backed out changeset c5af69669855 (bug 1124084) for various regressions.
...
CLOSED TREE
2015-03-20 13:01:35 -04:00
Seth Fowler
78ab87250d
Bug 1124084 - Flip on downscale-during-decode everywhere. r=tn
2015-03-17 13:56:50 -07:00
Seth Fowler
4c35fb53bc
Bug 1135572 - Disable 944353.jpg crashtest on ASAN. r=me DONTBUILD
...
--HG--
extra : rebase_source : eb17e50d0a0876d61629997ce6b73512b42f36e7
2015-03-16 10:48:09 -07:00
Jonathan Griffin
d1c61bc9b6
Bug 1116187 - Disable failing mochitest-chrome tests for B2G, r=gbrown
2015-02-06 16:30:37 -08:00
Alexandre Lissy
c00c1b9f7a
Bug 1039834 - Fix PNG suite reftest on mulet. r=dbaron
2015-03-04 10:12:00 +01:00
Anish
4063a569ed
Bug 958147 - Choose one of run-if or skip-if and get rid of the other.r=jmaher, mwargers
2015-03-03 08:46:37 -05:00
Carsten Book
c75e024640
Bug 944353 - crashtest.
2015-02-22 02:41:58 +00:00
Anish
45de248a8b
Bug 1056851 - Change existing callers of SpecialPowers.setBoolPref/setIntPref/setCharPref to SpecialPowers.pushPrefEnv. r=jmaher,mwargers
2015-02-19 11:53:01 -05:00
Carsten "Tomcat" Book
c0d53e2918
Backed out changeset 6885e993936a (bug 1056851) for crashtest failures
2015-02-19 15:02:05 +01:00
Anish
e7006d8a59
Bug 1056851 - Change existing callers of SpecialPowers.setBoolPref/setIntPref/setCharPref to SpecialPowers.pushPrefEnv. r=jmaher
2015-02-19 07:26:41 -05:00
Timothy Nikkel
d658bd2d70
Bug 1132427. Add test.
2015-02-17 19:26:52 -06:00
Seth Fowler
6600d3ff6a
Bug 1120144 - Disable test_bug641198.html until it can be rewritten. r=me
...
--HG--
extra : rebase_source : 204ab661ec2bccc52aa82a00b912d9914f039560
2015-02-05 18:03:19 -08:00
Seth Fowler
ced6a1cb4c
Bug 1126739 - Add locking to SurfaceCache entry points that bypass the public API. r=tn
2015-01-31 15:29:48 -08:00
Carsten "Tomcat" Book
8c19aff332
Backed out changeset e5c85f765f2d (bug 1126739) for bc2 test failures on a CLOSED TREE
2015-01-29 10:42:16 +01:00
Seth Fowler
65e4a121b7
Bug 1126739 - Add locking to SurfaceCache entry points that bypass the public API. r=tn
2015-01-28 23:50:06 -08:00
Phil Ringnalda
69b0b94fd7
Bug 1123195 - skip image/test/crashtests/694165-1.xhtml on OS X 10.10 debug, where it hangs
2015-01-18 22:56:02 -08:00
L. David Baron
13ce318418
Bug 1122297 - Adjust existing Mac OS X reftest failure annotations that also show up on 10.10. r=philor
...
This adjusts existing reftest annotations for tests that fail on 10.8
that are showing up as failing on 10.10 as well to be marked using >=
version tests rather than == version tests.
2015-01-15 18:00:49 -08:00
Seth Fowler
c416f00994
Bug 1079627 (Part 7) - Disable some questionable tests. r=tn
2015-01-15 15:11:36 -08:00
L. David Baron
eb5285b396
Bug 1121327 patch 2 - Update reftest and crashtest manifests for new OSX variable in condition sandbox. r=ted.mielczarek
2015-01-15 15:07:50 -08:00
Ryan VanderMeulen
82e3ce2e32
No bug - Adjust some Android reftest expectations now that they're passing again. r=gbrown, a=test-only
...
These tests were originally marked as failing on 2.3 so that Android 2.3 could be enabled in production. Something today made them start passing again, so remove the failing annotations.
2015-01-14 13:46:20 -05:00
Tom Schuster
967d0d250a
Backout changeset b4ebefd0f7e3:a8044fd506db Bug 1117607, Bug 1118087, Bug 1118092, Bug 1118105, Bug 1030372, Bug 1079627 on CLOSED TREE
2015-01-11 20:43:32 +01:00
Seth Fowler
883643f8ab
Bug 1079627 - Additonal commit to allow push on a CLOSED TREE since these patches should fix the oranges
2015-01-11 05:43:06 -08:00
Seth Fowler
08df7af950
Bug 1079627 (Part 3) - Support multiple decoders for a single RasterImage. r=tn
2015-01-11 05:34:20 -08:00
Seth Fowler
13ecf8f345
Bug 1117607 - Make decoders responsible for their own frame allocations. r=tn
2015-01-10 18:47:44 -08:00
Ryan VanderMeulen
b27a30a8fe
Bug 987616 - Disable browser_image.js on debug builds due to frequent failures.
2015-01-08 12:32:12 -05:00
Christoph Kerschbaumer
91a9cb8cc3
Bug 1087731: Make JS callers of ios.newChannel call ios.newChannel2 in image/ (r=seth)
2014-10-24 14:54:01 -07:00
Ehsan Akhgari
09a262787c
Bug 649012 - Fail mochitest-plains which use flaky timeouts (setTimeout(x) for x > 0); r=ted
...
We are white-listing the existing set of tests that use setTimeout
like this. Hopefully these tests will be investigated and fixed
in the future, so that we can narrow down the white-list.
This check is only turned on for mochitest-plain for now.
2014-12-11 13:34:40 -05:00
Seth Fowler
de1c5fba3b
Bug 1101415 - Disable test_animation2.html until it can be fixed (on a CLOSED TREE). r=me a=RyanVM
2014-12-11 12:03:05 -08:00
Seth Fowler
659ab90036
Bug 1104622 (Part 1) - Remove DiscardTracker. r=tn
2014-11-27 19:55:57 -08:00
Phil Ringnalda
c0127916ec
Back out 01093b5a774b (bug 948194) for not fixing enough races
...
--HG--
extra : rebase_source : 7e2d451639be57ef03818d84ba2e4e7fd72fa63d
2014-11-26 17:42:04 -08:00
Blake Kaplan
b181902fe0
Bug 948194 - Fix races related to CPOWs and tab switching. Original patch by Alexandru Tifrea. r=seth
2014-11-26 14:29:52 -08:00
Seth Fowler
c1ab6fe191
Bug 1060869 - Followup - Fix mochitest.ini syntax and bump back up memory limit prefs on B2G. r=me
...
--HG--
extra : rebase_source : 1b3a89c0c35e2fc8e1febcba1e4b3b784fa5fcff
2014-11-26 13:39:30 -08:00
Seth Fowler
b8c1e93d1d
Bug 1060869 (Part 4) - Update SurfaceCache prefs to increase the cache size. r=dholbert,tn
2014-11-26 13:22:10 -08:00
Ryan VanderMeulen
fd6dfc1619
Backed out changeset 82fd2eef7630 (bug 1060869) because the rest of this bug was backed out and it seems to be causing OSX Gip(f1) to be near permafail.
2014-11-26 16:06:53 -05:00
Seth Fowler
6b72852771
Bug 1060869 (Part 4) - Update SurfaceCache prefs to increase the cache size. r=dholbert,tn
2014-11-26 01:37:57 -08:00
Carsten "Tomcat" Book
e9dfaef4ae
Backed out changeset 61b0f5391e9d (bug 1060869)
2014-11-25 14:13:53 +01:00
Carsten "Tomcat" Book
b823677446
Backed out changeset 7fbcaefd5052 (bug 1060869)
2014-11-25 14:13:50 +01:00
Seth Fowler
18d1bafcdb
Bug 1060869 - Followup - Use disabled instead of skip-if to disable tests correctly. r=me
...
--HG--
extra : rebase_source : b81383475210b9f76b7107449c0ec8202f3fd4a5
2014-11-25 02:27:40 -08:00
Seth Fowler
ab431799e2
Bug 1060869 (Part 4) - Update SurfaceCache prefs to increase the cache size. r=dholbert,tn
...
--HG--
extra : rebase_source : 64746ba9ac1dab008857aa5acbe8699b2de69f0b
2014-11-25 00:10:11 -08:00
Seth Fowler
953bfffba9
Bug 1103652 - Make animSVGImage tests listen for FRAME_UPDATE or poll. r=tn
2014-11-24 23:42:44 -08:00
Seth Fowler
ed0223b093
Bug 1103439 - Add a function to clear both chrome and nonchrome image caches. r=tn
2014-11-24 23:42:44 -08:00
Seth Fowler
fd1ce18802
Bug 1103328 (Part 4) - Force decoding in test_has_transparency. r=tn
2014-11-24 23:42:43 -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
Sid Stamm
55e3ccdad7
Bug 704320 - apply referrer policies to image loads (r=seth)
2014-11-18 08:46:53 -05: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
Glenn Randers-Pehrson
af6365f04f
Bug 991149 - Improve image/* source compliance with Mozilla Coding Style. r=seth
2014-11-14 12:59:00 -05: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
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
Vaibhav Agrawal
9c782e9145
Bug 1083347 - Remove androidx86.json. r=gbrown
2014-10-22 11:51:00 -04:00
Christoph Kerschbaumer
29facae35b
Bug 1041180: Remove deprecated nsIChannelPolicy (r=sstamm,jduell,jst)
2014-10-15 19:11:45 -07:00
Andrew Halberstadt
d292ee73f1
Bug 1066735 - Remove root b2g and android specific xpcshell manifests, r=chmanchester
2014-10-07 18:18:28 -04:00
Matt Woodrow
492e380aa7
Bug 1070722 - Fix reftest annotation for OSX 10.6
2014-09-30 15:26:40 +13:00
Matt Woodrow
fcd996d937
Bug 1070722 - Use the imagelib high quality downscaler on OSX instead of the quartz one. r=jrmuizel
2014-09-26 15:05:14 -04:00
Jonathan Watt
628963b5f2
Bug 1073984 - Make SVG geometry painting use a Moz2D Path object directly. r=longsonr
2014-09-29 14:26:15 +01:00
Markus Stange
7d5a3be591
Bug 1073103 - Rename ThebesLayer to PaintedLayer. r=roc
...
--HG--
rename : gfx/layers/basic/BasicThebesLayer.cpp => gfx/layers/basic/BasicPaintedLayer.cpp
rename : gfx/layers/basic/BasicThebesLayer.h => gfx/layers/basic/BasicPaintedLayer.h
rename : gfx/layers/client/ClientThebesLayer.cpp => gfx/layers/client/ClientPaintedLayer.cpp
rename : gfx/layers/client/ClientThebesLayer.h => gfx/layers/client/ClientPaintedLayer.h
rename : gfx/layers/client/ClientTiledThebesLayer.cpp => gfx/layers/client/ClientTiledPaintedLayer.cpp
rename : gfx/layers/client/ClientTiledThebesLayer.h => gfx/layers/client/ClientTiledPaintedLayer.h
rename : gfx/layers/composite/ThebesLayerComposite.cpp => gfx/layers/composite/PaintedLayerComposite.cpp
rename : gfx/layers/composite/ThebesLayerComposite.h => gfx/layers/composite/PaintedLayerComposite.h
rename : gfx/layers/d3d10/ThebesLayerD3D10.cpp => gfx/layers/d3d10/PaintedLayerD3D10.cpp
rename : gfx/layers/d3d10/ThebesLayerD3D10.h => gfx/layers/d3d10/PaintedLayerD3D10.h
rename : gfx/layers/d3d9/ThebesLayerD3D9.cpp => gfx/layers/d3d9/PaintedLayerD3D9.cpp
rename : gfx/layers/d3d9/ThebesLayerD3D9.h => gfx/layers/d3d9/PaintedLayerD3D9.h
2014-09-26 13:06:08 -04:00
Birunthan Mohanathas
64c78ecc16
Bug 1070709 - Collapse test-only moz.build files under image/ into ancestor moz.build files. r=mshal
2014-09-26 07:20:23 +03:00
Phil Ringnalda
6eb3e94389
Back out 693507b38116 (bug 1041180) since it doesn't like compiling without its friend
...
CLOSED TREE
2014-09-25 21:18:01 -07:00
Christoph Kerschbaumer
fd3d3cc25b
Bug 1041180: Remove deprecated nsIChannelPolicy (r=sstamm,jduell,jst)
2014-09-25 16:10:28 -07:00
Seth Fowler
e3b53953b5
Bug 1060200 (Part 4) - Store HQ scaled frames in SurfaceCache and remove ScaleRequest and ScaleResult. r=tn
2014-09-19 14:53:29 -07:00
Michael Wu
4570bdad8c
Bug 1068230 - Don't use the gfxContext transform in intermediate surface, r=seth
2014-09-18 15:53:02 -04:00
Michael Wu
6188a42531
Bug 1062886 - Fix one color padded drawing path, r=seth
2014-09-10 16:04:28 -04:00
Shu-yu Guo
59ccd2fecb
Bug 1001090 - Part 5: Fix errors in tests throughout the tree. (r=robcee,gavin)
2014-09-15 16:30:47 -07:00
Timothy Nikkel
dd0c04a993
Bug 1061894 - Clean up correctly in ownerdiscard.html. r=seth
2014-09-04 11:46:06 -07:00