Граф коммитов

500 Коммитов

Автор SHA1 Сообщение Дата
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
Bill McCloskey 757ebcfbe3 Bug 1061013 - Disable various browser chrome tests when running with e10s. r=jimm 2014-09-02 13:47:12 -05:00
Martijn Wargers a9c89c0ea9 Bug 1058087 - Remove timer so no subresults will be logged after SimpleTest.finish(). r=dholbert 2014-08-27 02:47:53 +02:00
Daniel Holbert 4df2bf2c3b Bug 907503 followup: Fix incorrect bug link in test_animSVGImage2.html. (no review)
DONTBUILD because test-metadata-only
Landing on a CLOSED TREE with RyanVM's permission
2014-08-25 09:28:26 -07:00
L. David Baron 4ffdd3ca3e Bug 1043560 followup: Annotate reliable reftest failure on B2G following merge of bug 1043560 with https://hg.mozilla.org/integration/mozilla-inbound/pushloghtml?changeset=09ee525ce99d (probably bug 974242). 2014-08-23 11:09:55 -07:00
L. David Baron 56ed276b83 Bug 1043560 followup: Annotate different fuzziness on one test for d2d since it is intermittenly more fuzzy on accelerated win7 reftests. 2014-08-23 11:03:21 -07:00
Seth Fowler 4cd9e3e8e6 Bug 1043560 - Refactor the imgIContainer::Draw API. r=tn,dholbert,jwatt,mwu,mattwoodrow,roc sr=jrmuizel
--HG--
extra : rebase_source : b5ed02cb200ece12a07328613dca217e9d975703
2014-08-22 13:12:38 -07:00
Seth Fowler ae2acbe31f Bug 942364 - Add reftests. r=dholbert 2014-08-12 14:05:29 -07:00
Seth Fowler 7ebf395297 Bug 925611 - Add reftests. r=tn 2014-08-12 14:05:27 -07:00
Jeff Muizelaar 3ae334f283 Bug 1036633. Add test of delta codes in bmp images.
Looking at the code coverage information reveals that this is currently untested.

--HG--
extra : rebase_source : 31063dad0af0694d2ece75942a23cbfd3a60a6b1
2014-07-09 17:22:04 -04:00
Monica Chew f0f0728800 Bug 1029781: Set NS_LOAD_CLASSIFY_URI in image loader (r=seth) 2014-06-27 13:57:36 -07:00
Carsten "Tomcat" Book ff26ea326c merge b2g-inbound to mozilla-central a=merge 2014-06-25 15:38:40 +02:00
CJKu 9691cf3136 Bug 1000722 - Rollback close reftest in bug 981477. r=ahal 2014-06-24 10:20:00 -04:00
Jim Blandy 7e20285e70 Bug 914753: Make Emacs file variable header lines correct, or at least consistent. DONTBUILD r=ehsan
The -*- file variable lines -*- establish per-file settings that Emacs will
pick up. This patch makes the following changes to those lines (and touches
nothing else):

 - Never set the buffer's mode.

   Years ago, Emacs did not have a good JavaScript mode, so it made sense
   to use Java or C++ mode in .js files. However, Emacs has had js-mode for
   years now; it's perfectly serviceable, and is available and enabled by
   default in all major Emacs packagings.

   Selecting a mode in the -*- file variable line -*- is almost always the
   wrong thing to do anyway. It overrides Emacs's default choice, which is
   (now) reasonable; and even worse, it overrides settings the user might
   have made in their '.emacs' file for that file extension. It's only
   useful when there's something specific about that particular file that
   makes a particular mode appropriate.

 - Correctly propagate settings that establish the correct indentation
   level for this file: c-basic-offset and js2-basic-offset should be
   js-indent-level. Whatever value they're given should be preserved;
   different parts of our tree use different indentation styles.

 - We don't use tabs in Mozilla JS code. Always set indent-tabs-mode: nil.
   Remove tab-width: settings, at least in files that don't contain tab
   characters.

 - Remove js2-mode settings that belong in the user's .emacs file, like
   js2-skip-preprocessor-directives.
2014-06-24 22:12:07 -07:00
Nicholas Nethercote aaf6fb2124 Bug 1010064 - Allow memory reports to be anonymized. r=bsmedberg.
--HG--
extra : rebase_source : 5eb756b17a97e751deb0f47e909fdb35533cb23b
2014-05-20 23:06:54 -07:00
Jonathan Watt 03ce6fee26 Bug 1019753, part 2 - Use Moz2D DataSourceSurfaces instead of Thebes gfxImageSurfaces in DocumentRendererParent.cpp and ImageEncoder.cpp. r=mattwoodrow
--HG--
extra : rebase_source : fc39f0aede22e48ea853b1978eddeb8cc8c43a60
2014-06-04 08:08:39 +01:00
Carsten "Tomcat" Book a535027de6 Backed out changeset 8dc53499b0c0 (bug 1019753) 2014-06-04 10:31:06 +02:00
Jonathan Watt c2c91ac963 Bug 1019753, part 2 - Use Moz2D DataSourceSurfaces instead of Thebes gfxImageSurfaces in DocumentRendererParent.cpp and ImageEncoder.cpp. r=mattwoodrow 2014-06-04 08:08:39 +01:00
Vincent Chen c53b5f77a8 Bug 981477 - Disable B2G emulator reftests that fail oop, r=ahal 2014-05-23 15:56:15 -04:00
Daniel Holbert 4296ce21ad Bug 1006123, part 2: Add reftest for high-quality image downscaling. r=seth 2014-05-22 09:44:05 -07:00
juhsu fd388a0a55 Bug 969779 - Use SpecialPowers to enable preference setting in oop. r=seth
* * *
1. Use |SpecialPowers.pushPrefEnv| to enable preference setting in oop.
2. Set the time of redrawing to be the time right after the image is discarded.
3. Modify the assertion to make the comparison non-trivial.
4. Remove <img>.
5. Move drawCanvas() on the image loadComplete.

--HG--
extra : amend_source : 2c9b4164ed5f10242cf4e7c4a784579706b91a21
2014-04-28 15:39:03 +08:00
Shih-Chiang Chien 3f7b123b88 Bug 878577 - Part 2: Add test case for the hard limit of image buffer size. r=seth 2014-01-20 16:53:42 +08:00
Ed Morley 0b8e36117b Backed out changeset 5c52ec9e5a3d (bug 878577) 2014-04-10 17:14:46 +01:00
Shih-Chiang Chien 935ec01a10 Bug 878577 - Part 2, test case for the hard limit of image buffer size. r=seth. 2014-01-20 16:53:42 +08:00
Geoff Brown 8b4092834b Bug 967704 - Update reftest manifests for Android 2.3; r=me 2014-04-09 08:38:45 -06:00
Mark Hammond cae334e085 Bug 987404 - Disable failing mochitest-browser tests in e10s. r=ted. 2014-04-02 10:53:55 +11:00
Bill McCloskey fd05f3eb04 Bug 982828 - [e10s] Disable mochitest-plain tests that don't pass in e10s (r=ted) 2014-03-13 21:38:19 -07:00
Wes Kocher 3b83e5bb22 Backed out changeset 88425ad0f06a (bug 982828) for introducing various mochitest-5 failures on a CLOSED TREE
* * *
Backed out changeset 94f9ebdc6662 (bug 982828)
2014-03-13 19:41:21 -07:00
Bill McCloskey e784b5aef6 Bug 982828 - [e10s] Disable mochitest-plain tests that don't pass in e10s (r=ted) 2014-03-13 15:41:41 -07:00
Bill McCloskey 006786a6b4 Backed out changeset d6261f65070a 2014-03-13 15:52:27 -07:00
Bill McCloskey ed100f425c Bug 982828 - [e10s] Disable mochitest-plain tests that don't pass in e10s (r=ted) 2014-03-13 15:41:41 -07:00
Vaibhav Agarwal c75ff964a1 Bug 971132 - B2G mochitests should use the new manifest format for runtests; r=jmaher 2014-03-13 10:40:10 -04:00
Jeff Muizelaar 10643c16e5 Bug 854795. Add support for -moz-samplesize. r=seth
-moz-samplesize allows decoding at a lower resolution.
This is valuable for saving memory when we know that
we don't need a large version of the image.

--HG--
extra : rebase_source : 0373c23bd4a8b5963329ea1ccf13f075c1264909
2014-02-28 16:43:14 -05:00
Nicholas Nethercote 8450156576 Bug 947802 (part 2) - Replace enumerateReporters() with getReportsForThisProcess(). r=mccr8.
--HG--
extra : rebase_source : 1c70e838e3600745f69c5772a084398f78d4c477
2013-12-01 16:29:37 -08:00
Seth Fowler 77e020a57f Bug 936720 (Part 2) - Remove reftests for animated image operators. r=jdm
--HG--
extra : rebase_source : 0d0f566a578644e75b30a4ce2afe93d71e7fec3d
2013-11-22 16:33:03 -08:00
Seth Fowler 004961a8fc Bug 936720 (Part 1) - Add a new mochitest for animated image operators. r=tn
--HG--
extra : rebase_source : f3db726b4deffa7304f0cf0123d26bba680bdcfd
2013-11-18 13:48:48 -08:00
Mike Hommey e80e877ab7 Bug 939044 - Remove most definitions of MODULE. r=mshal 2013-11-19 11:47:39 +09:00
Geoff Brown 738f3b46df Bug 936226 - (2) Adjust reftest manifests for Android x86; r=dminor 2013-11-17 10:23:17 -07:00
Stephen Pohl 0ef46a7cfa Bug 817700 - Fix animSVGImage test. r=roc 2013-10-16 22:55:33 -04:00
Matt Woodrow 71902a7d0a Bug 922942 - Do image scaling in imgTools using azure. r=seth 2013-10-16 14:00:31 +13:00
Wes Kocher ac2a7d628f Backed out changeset c0e5db20b655 (bug 922942) for xpcshell bustage 2013-10-15 19:20:17 -07:00
Matt Woodrow 0dff40d838 Bug 922942 - Do image scaling in imgTools using azure. r=seth 2013-10-16 14:00:31 +13:00
Ryan VanderMeulen d2f8285bf4 Backed out changesets 5fa68d64f749, 103b40656e24, b1ff3efb43cf, 096455736704, and 4afd6fa3da19 (bug 817700) for mochitest-1 failures.
CLOSED TREE
2013-10-08 15:00:17 -04:00
Stephen Pohl 75edca5315 Bug 817700 - Fix animSVGImage test. r=roc 2013-10-08 13:27:49 -04:00
Masatoshi Kimura ab2dd4c4b2 Bug 922931 - Display a placeholder for broken images if the alt attribute is unset even in no-quirks mode. r=bz 2013-10-06 05:25:49 +09:00
Ms2ger 1ee1f27aa3 Bug 922268 - Remove empty makefiles; r=gps 2013-10-03 09:10:00 +02:00
Gregory Szorc 54c1de66d6 Bug 920223 - Part 3: Mass convert MOCHITEST_BROWSER_FILES to manifests; rs=Ms2ger 2013-09-30 09:52:06 +02:00
Gregory Szorc e6acf6270f Bug 920223 - Part 2: Mass convert MOCHITEST_CHROME_FILES to manifests; rs=Ms2ger 2013-09-30 09:52:01 +02:00
Gregory Szorc 1cff342d15 Bug 920223 - Part 1: Mass convert MOCHITEST_FILES to manifests; rs=Ms2ger 2013-09-30 09:51:57 +02:00
Ed Morley 18a411a55c Backed out changeset 77bff106b704 (bug 920223) 2013-09-30 12:50:12 +01:00
Ed Morley 53a451894a Backed out changeset 68b6b152f51a (bug 920223) 2013-09-30 12:50:09 +01:00
Ed Morley 2c7dd24541 Backed out changeset 8b02873ee07e (bug 920223) 2013-09-30 12:50:05 +01:00
Gregory Szorc 8344d8a946 Bug 920223 - Part 3: Mass convert MOCHITEST_BROWSER_FILES to manifests; rs=Ms2ger 2013-09-30 09:52:06 +02:00
Gregory Szorc 0b4364c6f3 Bug 920223 - Part 2: Mass convert MOCHITEST_CHROME_FILES to manifests; rs=Ms2ger 2013-09-30 09:52:01 +02:00
Gregory Szorc 6ed63cb064 Bug 920223 - Part 1: Mass convert MOCHITEST_FILES to manifests; rs=Ms2ger 2013-09-30 09:51:57 +02:00
Martijn Wargers a3d1617473 Bug 918604 - Remove more enablePrivilege calls. r=jmaher 2013-09-25 19:32:20 +02:00
Ryan VanderMeulen df60bfed7e Backed out changeset 356ba083bb5f (bug 918604) for frequent OSX test_window_bar.html timeouts.
CLOSED TREE
2013-09-27 18:28:43 -04:00
Martijn Wargers 01fd8c8bbd Bug 918604 - Remove more enablePrivilege calls. r=jmaher 2013-09-25 19:32:20 +02:00
Milan Sreckovic dac32cb6ee Bug 856616 - Post size in the global header, rather than continuing with the processing, if all we need is a size decode. r=seth 2013-09-25 13:06:22 -04:00
Gregory Szorc 7bd3c0ae36 Bug 901990 - Part 2: Upgrade xpcshell manifests; r=ted
--HG--
rename : toolkit/mozapps/extensions/test/xpcshell-unpack/head_unpack.js => toolkit/mozapps/extensions/test/xpcshell/head_unpack.js
2013-09-24 11:50:08 -07:00
Honza Bambas 894ba59236 Bug 913807 - HTTP cache v2: API+top service+integration+tests, off by default, r=michal+ehsan+mark.finkle+fabrice+mhammond+gavin 2013-09-20 11:11:25 +02:00
Mike Hommey fdcd66734e Bug 917622 - Use INSTALL_TARGETS for mochitests. r=gps 2013-09-19 07:39:58 +09:00
Stephen Pohl 4914dcba49 Backout bug 817700 for causing various regressions. r=me 2013-09-13 14:14:36 -04:00
Stephen Pohl b7ecfddf96 Bug 817700 - Fix animSVGImage test. r=roc 2013-09-12 17:04:26 -04:00
Nicholas Nethercote 7983bb2a7f Bug 910517 (3rd attempt) - Remove nsIMemoryReporter, and rename nsIMemoryMultiReporter as nsIMemoryReporter. r=mmcr8.
--HG--
rename : content/canvas/src/WebGLMemoryMultiReporterWrapper.h => content/canvas/src/WebGLMemoryReporterWrapper.h
extra : rebase_source : 2b2a1b2667d6562fcf803ec48b4a8c10fdd519a3
2013-08-27 16:24:51 -07:00
Ed Morley f7bce95a91 Backed out changeset 5c9f3fb14995 (bug 910517) for Android talos failures
--HG--
rename : content/canvas/src/WebGLMemoryReporterWrapper.h => content/canvas/src/WebGLMemoryMultiReporterWrapper.h
2013-09-09 16:07:48 +01:00
Ms2ger b336ed5c33 Merge backout. 2013-09-09 16:56:18 +02:00
Ms2ger 7154345fcf Backout changesets 194d051724a8:89e680f30d31 (bug 817700) for insufficient review. 2013-09-09 16:56:00 +02:00
Stephen Pohl b1e84e8aad Bug 817700 - Fix animSVGImage test. r=roc 2013-09-06 12:30:40 -04:00
Josh Matthews 85eb883a1f Bug 906813 - Make private image channel test relying on cache wait until the cache is cleared. r=ehsan 2013-09-03 10:45:50 -04:00
Nicholas Nethercote cc604f4854 Bug 910517 - Remove nsIMemoryReporter, and rename nsIMemoryMultiReporter as nsIMemoryReporter. r=mmcr8.
--HG--
rename : content/canvas/src/WebGLMemoryMultiReporterWrapper.h => content/canvas/src/WebGLMemoryReporterWrapper.h
extra : rebase_source : 76bf96ce8d6e16c8573584d9e8e70c80371f66eb
2013-08-27 16:24:51 -07:00
Phil Ringnalda 26ceee4fb5 Back out 4537337759b7 (bug 910517) because nobody expects the talos inquisition
--HG--
rename : content/canvas/src/WebGLMemoryReporterWrapper.h => content/canvas/src/WebGLMemoryMultiReporterWrapper.h
2013-09-04 22:42:06 -07:00
Nicholas Nethercote 1f32372424 Bug 910517 - Remove nsIMemoryReporter, and rename nsIMemoryMultiReporter as nsIMemoryReporter. r=mmcr8.
--HG--
rename : content/canvas/src/WebGLMemoryMultiReporterWrapper.h => content/canvas/src/WebGLMemoryReporterWrapper.h
extra : rebase_source : 9142be547b2eeef37a8073a710ce23070f98cf65
2013-08-27 16:24:51 -07:00
Mike Hommey f8bc7fa754 Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps 2013-09-05 09:01:46 +09:00
Masatoshi Kimura e06d8f88fa Bug 911573 - Mochitest fixup to prepare removing Components-in-content with UniversalXPConnect. r=bholley 2013-09-05 01:02:34 +09:00
Jonathan Watt e2e906c582 Bug 907503 - Test that invalidation works for SMIL animation in SVG-as-an-image. r=longsonr 2013-09-04 11:39:32 +01:00
Adam Dane [:hobophobe] 1183264382 Bug 907575 - mResniffMimeType not properly reset. r=seth 2013-08-27 18:39:54 -05:00
Max Stepin 07f72fe0e1 Bug 900200 - Fix strange transparent areas appearing in some APNG files. r=seth 2013-08-27 14:50:59 -07:00
Mihnea Dobrescu-Balaur de44eb6dbd Bug 903864 - Make test_imgtools use do_get_tempdir(). r=dolske 2013-08-11 09:38:09 -07:00
Jeff Gilbert a799e185b5 Bug 865919 - Add INT32_MIN-height BMP test. r=joe 2013-07-30 17:49:42 -07:00
Tom Schuster 2a7f05152e Bug 691610 - e10s support for useDefaultIcon. r=felipe sr=smaug 2013-07-29 11:03:41 -04:00
Shih-Chiang Chien 30db599e0c Bug 882526 - Remove Gecko support for WBMP. r=joe, r=roc 2013-07-22 22:31:24 -04:00
Mihnea Dobrescu-Balaur d0852d2d3f Bug 887578 - Make the image xpcshell tests use dynamic httpd ports so they can be run concurrently. r=joe 2013-07-09 12:48:50 -07:00
Joe Drew 763b4a19d3 Bug 888607 - Test. r=seth
--HG--
extra : rebase_source : aeecfcc1c178f1a8402291fbeb698ca0c4b4d980
2013-07-04 17:06:05 -04:00
Jared Wein 5bfd235f29 Bug 822149 - Replace translucent media backgrounds with an opaque background and make uniform the backgrounds for images and audio/video. r=dolske 2013-07-09 09:09:16 -04:00
Chris Lord ab2369584d Bug 803299 - JPEG srgb icc fails on Android in 24-bit colour. r=jrmuizel 2013-07-04 14:53:31 +01:00
Phil Ringnalda 3ef086bd75 Backed out 066a0110bd0b:1dc02c10629c (bug 865919) for mochitest-4 assertions
CLOSED TREE
2013-07-01 19:18:34 -07:00
Jeff Gilbert 39be2e7e10 Bug 865919 - Add test with INT_MIN-height BMP. - r=joe 2013-07-01 17:32:06 -07:00
Joe Drew c3f99184a6 Bug 867774 - Rename the helper HTML pages as suggested by reviewer. r=seth
--HG--
rename : image/test/reftest/animated/delaytest.html => image/test/reftest/animated/delay-test.html
rename : image/test/reftest/animated/nodelaytest.html => image/test/reftest/animated/no-delay-test.html
2013-06-20 09:33:51 -04:00
Joe Drew 7480707396 Bug 867774 - Tests for animated images with different disposal and blend modes. r=seth
--HG--
extra : rebase_source : bceeb8ad5bc02a84e15e758e1addc84d8205b9b2
2013-06-18 16:24:05 -04:00
Matt Woodrow de91760c0f No Bug - Mark bmp-size-1x1-1bpp.bmp as passing on b2g now 2013-06-07 21:22:41 +12:00
Joe Drew 0fff129d82 Bug 878037 - unit test to make sure we can clone a static imgIRequest. r=seth
--HG--
extra : rebase_source : 0b6a360ab04719b648c2eaaf9310a1bbb81be881
2013-06-06 13:33:54 -04:00
Phil Ringnalda 9c043953e8 Bug 879494 followup, clean up the last few bug685516 annotations
CLOSED TREE
2013-06-04 23:10:53 -07:00
Timothy Nikkel 7de8dddcde Bug 879494. Remove bug685516 annotations from reftests, they are not needed anymore. r=khuey 2013-06-05 00:18:54 -05:00
Bobby Holley 17992acedf Bug 877478 - Fix mochitests with problematic callbacks to use the new API. r=mrbkap 2013-06-04 19:56:41 -07:00
Ehsan Akhgari 9b848f5568 Backed out 8 changesets (bug 803299) because it makes Tcheckerboard and Tpan so much worse
Backed out changeset f0311781c218 (bug 803299)
Backed out changeset 946467115924 (bug 803299)
Backed out changeset 59af481d8888 (bug 803299)
Backed out changeset 99a03f7ca8a4 (bug 803299)
Backed out changeset 44539f533a92 (bug 803299)
Backed out changeset 3f3963a3ebf6 (bug 803299)
Backed out changeset 5269f0483d1e (bug 803299)
Backed out changeset a9485787fdb1 (bug 803299)
2013-05-29 17:14:27 -04:00
Chris Lord 347f27d7f6 Bug 803299 - JPEG srgb icc fails on Android in 24-bit colour. r=jrmuizel
--HG--
extra : rebase_source : 04013f2315b07f86aea7d4a808de2626a9240387
2013-05-29 15:26:35 +01:00
Trevor Saunders 4b16c76fb3 backout 7a1706d0e5b0 to 8c8b6adebb4c for frequent failures in scrolling/text-1.html and scrolling/text-2.html reftests on a CLOSED TREE 2013-05-28 18:32:29 -04:00
Chris Lord c0967d6681 Bug 803299 - JPEG srgb icc fails on Android in 24-bit colour. r=jrmuizel 2013-05-28 18:50:17 +01:00
Phil Ringnalda e7f68c5019 Bug 876275 - skip a crashtest that times out on B2G on a VM 2013-05-26 11:16:47 -07:00
Joe Drew 8ff0e1b8a3 Bug 867758 - Test to ensure we don't return to the event loop while changing the frame of two images with the same FPS. r=seth
--HG--
extra : rebase_source : f91bfad7e8c984553808acf00ae5fc1d92965b24
2013-05-23 09:49:38 +08:00