Shing Lyu
11a1d3e940
Bug 1328825 - Update reftest-stylo.list and expectations. r=heycam
...
MozReview-Commit-ID: AMwdk5wvM0F
2017-01-10 15:50:59 +08:00
Shing Lyu
39ec052547
Bug 1331860 - Update reftest-stylo expectations. r=heycam
...
--HG--
extra : rebase_source : 2c39a745949d3dfeb369f0e1efbf4befde8535c9
2017-01-12 10:37:36 +08:00
Florian Quèze
fc6379e827
Bug 1329182 - remove trailing newURI null parameters in the rest of the tree, r=jaws.
2017-01-09 20:27:26 +01:00
Andrew Osmond
55722c3a91
Bug 1126091 - Rewrite GIF webcam reftest as mochitest due to intermittents. r=tnikkel
2016-12-13 15:41:41 -05:00
Markus Stange
692210bd80
Bug 1323100 - Assign names to all remaining threads that are created through NS_NewThread and create them using NS_NewNamedThread instead. r=froydnj
...
MozReview-Commit-ID: 7W1dt2BBKJZ
--HG--
extra : rebase_source : c7e335dac2e0f02782f0eb229a7181c8d01317a2
2016-12-21 11:43:50 +01:00
Andrew Osmond
809e33acf0
Bug 1290292 - Part 3. Add/update image gtests.
2017-02-13 19:51:40 -05:00
Cameron McCormack
366f6eb24d
Bug 1323892
- Disable currently crashing stylo crashtests. r=xidorn
...
MozReview-Commit-ID: 2BNjdBWdT5V
2016-12-16 18:54:41 +08:00
Andrew Osmond
f978bf206a
Bug 1319025 - Fix how animated images disposal method should use frame rect size instead of the image size as its bounds. r=tnikkel
2016-11-25 10:38:37 -05:00
Tooru Fujisawa
5931477b72
Bug 1321220 - Remove legacy generator from image/. r=aosmond
2016-12-01 18:12:14 +09:00
Andrew Osmond
65f399d680
Bug 1315443 - Use the embedded BMPs BPP over the ICOs BPP when available. r=tnikkel
2016-11-16 09:57:35 -05:00
Ehsan Akhgari
ba68896bf9
Bug 1311246 - Remove support for the -moz-samplesize media fragment; r=jrmuizel
...
This removes the feature added in bug 854795 for Tarako b2g devices.
2016-11-16 08:18:56 -05:00
Sebastian Hengst
dd4c169203
Bug 1310297 - Remove test annotations using b2g, mulet or gonk: image. r=RyanVM
...
MozReview-Commit-ID: QP1u9L6jqp
--HG--
extra : rebase_source : 76a554a1ae43e9e1ed7178afa66a6c1e6b4b6fda
2016-11-05 11:29:19 +01:00
Andrew Osmond
54d6f7e0c4
Bug 1258741 - Part 1. Remove dead/unused image decoder aborted flag. r=tnikkel
2016-09-21 07:13:08 -04:00
James Andreou
a47ce92ac2
Bug 1282124 - Remove nsILoadInfo.usePrivateBrowsing and the SEC_FORCE_PRIVATE_BROWSING flag; r=smaug,jryans
2016-09-27 16:56:44 -04:00
Andrew Osmond
1286146b81
Bug 1303427 - Continue parsing buffered LZW codes in GIFs even if input stream is complete. r=tn
2016-09-19 09:16:28 -04:00
Manish Goregaokar
fe560e754d
Bug 1303920 - Update stylo reftest list; r=heycam
...
MozReview-Commit-ID: 6fKFLbTL2gW
--HG--
extra : rebase_source : bf87e02799dc530b7d26b2040071ecd8213d36df
2016-09-19 20:20:03 +05:30
Manish Goregaokar
63e75ca24b
Bug 1302993 - Mark more expectations for stylo tests, make reftest-stylo green; r=heycam
...
MozReview-Commit-ID: 9rKqASXgKZH
--HG--
extra : rebase_source : ea4d2cdc5623673827676e52d255c8b6fa34f7dd
2016-09-12 19:18:10 +05:30
Shing Lyu
74414dd285
Bug 1302993 - Update some stylo reftest expectations; r=heycam
...
MozReview-Commit-ID: 5UUDlAUfBYP
--HG--
extra : rebase_source : c8aff1382e492bc07c59becc697abfb4f7bd8f95
2016-09-12 11:05:21 +05:30
Shing Lyu
db11558e50
Bug 1288350 - Temporary reftest list for Stylo vs Gecko test r=heycam,manishearth
...
--HG--
extra : rebase_source : 4772418bd2813d4e79643a833eb09e47fe893d84
2016-09-05 11:45:39 +08:00
cku
5963e84e5a
Bug 1190881 - Part 3. mochitest for svg css animation. r=dholbert
...
MozReview-Commit-ID: JchZk3FrZce
--HG--
extra : rebase_source : 3344b0d77537bf315784a452983b3440c1c385e6
2016-08-25 23:15:04 +08:00
Lee Salzman
642347dba7
Bug 725119 - fuzz for reftests with Skia content on Android. r=mchang
...
MozReview-Commit-ID: 9p8ntO7YLQ4
2016-08-31 15:53:33 -04:00
Mason Chang
43e77092c9
Bug 1007702. Enable skia on unaccelerated windows. r=lsalzman
2016-08-25 12:35:41 -07:00
Seth Fowler
90008b4d20
Bug 1293472
(Part 4) - Test that single-frame and animated decodes can coexist for the same image. r=edwin
2016-08-18 15:42:49 -07:00
Seth Fowler
1f92f3a7b9
Bug 1293472
(Part 3) - Store animated images in the surface cache as a sequence of frames, rather than each frame getting its own cache entry. r=dholbert,edwin,njn
2016-08-18 15:42:48 -07:00
Seth Fowler
2977081713
Bug 1296147 (Part 2) - Rename imgFrame::GetSurface() to imgFrame::GetSourceSurface() for clarity. r=edwin
2016-08-18 13:03:49 -07:00
Nicholas Nethercote
e7f10a07fd
Bug 1293603 (part 2) - Make Run() declarations consistent. r=erahm.
...
This patch makes most Run() declarations in subclasses of nsIRunnable have the
same form: |NS_IMETHOD Run() override|.
As a result of these changes, I had to add |override| to a couple of other
functions to satisfy clang's -Winconsistent-missing-override warning.
--HG--
extra : rebase_source : 815d0018b0b13329bb5698c410f500dddcc3ee12
2016-08-08 12:18:10 +10:00
Seth Fowler
3cca5ff418
Bug 1291054 (Part 3) - Rename Decoder::GetSize() to Decoder::Size() to be consistent with the style guide. r=edwin
2016-08-02 04:10:51 -07:00
Tom Tromey
5538d692d3
Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
...
This removes the unnecessary setting of c-basic-offset from all
python-mode files.
This was automatically generated using
perl -pi -e 's/; *c-basic-offset: *[0-9]+//'
... on the affected files.
The bulk of these files are moz.build files but there a few others as
well.
MozReview-Commit-ID: 2pPf3DEiZqx
--HG--
extra : rebase_source : 0a7dcac80b924174a2c429b093791148ea6ac204
2016-07-14 10:16:42 -06:00
Seth Fowler
666fc943cb
Bug 1287367 - Allow users of StreamingLexer to detect and handle truncation. r=njn
2016-07-18 23:41:20 -07:00
Seth Fowler
b4d3a89f33
Bug 1287246 (Part 5) - Add GTests for StreamingLexer's support for yielding. r=njn
2016-07-18 01:25:45 -07:00
Seth Fowler
fabd6521fe
Bug 1287246 (Part 4) - Make the data checking in TestStreamingLexer more discerning. r=njn
2016-07-18 01:25:43 -07:00
Seth Fowler
938a963f7f
Bug 1287246 (Part 1) - Expose LexerResult from the StreamingLexer API and add an explicit Yield type. r=njn
2016-07-18 01:25:37 -07:00
Seth Fowler
342a16f1a3
Bug 1284031 (Part 3) - Remove the FromSourceBuffer suffix from StreamingLexer test names. r=njn
2016-07-16 00:37:06 -07:00
Seth Fowler
71a5e7a304
Bug 1284031 (Part 2) - Add new StreamingLexer tests for zero-length states. r=njn
2016-07-16 00:37:04 -07:00
Seth Fowler
269c03d80e
Bug 1284031 (Part 1) - Advance SourceBufferIterator in Lex() per-state. r=njn
2016-07-16 00:37:02 -07:00
Seth Fowler
6fbb8890f0
Bug 1286161 (Part 2) - Add a GTest suite for SourceBuffer. r=edwin
2016-07-16 00:37:00 -07:00
Seth Fowler
8e2ea1af00
Bug 1286165 (Part 3) - Add StreamingLexer tests for the SourceBufferIterator version of Lex(). r=njn
2016-07-15 17:48:57 -07:00
Seth Fowler
a92a8b9e06
Bug 1286168 - Add a RAII class to initialize ImageLib services in GTests. r=njn
2016-07-15 17:48:57 -07:00
Seth Fowler
396c016b13
Bug 1285867 (Part 4) - Decide whether we're done decoding by checking if we've reached a terminal state. r=edwin
2016-07-15 16:41:11 -07:00
Seth Fowler
471a49b72c
Bug 1277979
(Followup) - Unfortunately still more fuzz is needed for downscale-during-decode GTests on OS X 10.10. r=me
2016-07-01 23:15:48 -06:00
Seth Fowler
f6528fc852
Bug 1282352 - Make DecoderFactory use NotNull where possible. r=edwin
2016-06-29 18:33:22 -07:00
Seth Fowler
41627d474f
Bug 1282259 - Run IDecodingTasks instead of Decoders directly in image::DecodePool. r=dholbert
2016-06-29 13:46:27 -07:00
Seth Fowler
7ecbb3a6bf
Bug 1255107 (Part 2) - Add a SurfaceFilter for bilinear interpolation for ADAM7 interlaced images. f=glennrp,r=njn
2016-06-25 14:04:03 -07:00
Seth Fowler
e9ae1e161e
Bug 1255107 (Part 1) - Add a RowHasPixels() utility function to allow tests to compare rows to an arbitrary sequence of BGRAColor values. r=njn
2016-06-25 14:04:01 -07:00
Seth Fowler
f3f1ed4efa
Bug 1262549 - Refuse to allocate huge deinterlacing buffers. r=edwin
2016-06-23 18:59:58 -07:00
Seth Fowler
020ad7a755
Bug 1279117 - Add SurfacePipe::WritePixelsToRow(). r=njn
2016-06-23 01:42:07 -07:00
Seth Fowler
172d673bcc
Bug 1277979
- Add even more fuzz to the downscale-during-decode GTests to fix failures on OS 10.10. r=me DONTBUILD
2016-06-21 21:33:56 -07:00
Seth Fowler
82666db699
Bug 1249578 (Part 2) - Add a test that decoding ICOs with a size mismatch between the BIH header and the ICO directory entry fails. r=njn
2016-06-21 19:48:33 -07:00
Wes Kocher
7e180fa924
Backed out 2 changesets (bug 1249578) for build bustage
...
Backed out changeset caddb604d934 (bug 1249578)
Backed out changeset a2a645bf7ccf (bug 1249578)
2016-06-21 18:38:46 -07:00
Seth Fowler
20dbc568f3
Bug 1249578 (Part 2) - Add a test that decoding ICOs with a size mismatch between the BIH header and the ICO directory entry fails. r=njn
2016-06-21 18:06:30 -07:00
Seth Fowler
bc967b6b86
Bug 1279859 - Correctly skip over extra image sub blocks in the GIF decoder. r=njn
2016-06-20 21:09:29 -07:00
Seth Fowler
72f2253f92
Bug 1279617 - When SurfacePipe::WritePixels() finishes early, zero out the rest of the surface. r=njn
2016-06-17 15:05:00 -07:00
Seth Fowler
bf26782297
Bug 1279611 - Document and test the fact that SurfacePipe::WriteEmptyRow() overwrites the entire row. r=njn
2016-06-17 15:05:00 -07:00
Mason Chang
b912ea2340
Bug 1279064 - Skia reftest fuzzing for skia content on windows. r=lsalzman
2016-06-08 10:51:27 -07:00
Jonathan Hao
a1a0a9bd7d
Bug 1280006 - Backout "Bug 1270680 - Part 1: Double-key the image cache by origin attribute." r=tanvi
...
This reverts commit bb0482fe09fbfad9be89384ec5cb8b6518187379.
2016-06-14 12:43:21 +01:00
Jonathan Hao
b7c57a3da1
Bug 1270680 - Part 1: Double-key the image cache by origin attribute. r=jdm,seth
2016-06-01 23:07:00 +02:00
Seth Fowler
13254eb215
Bug 1277979
- Add more fuzz to the downscale-during-decode GTests to fix failures on OS 10.10. r=me
2016-06-04 00:32:17 -07:00
Seth Fowler
2e1d5487fb
Bug 1276061
(Part 4) - Add GTests for WriteBuffer() and WriteEmptyRow(). r=njn
...
--HG--
extra : rebase_source : 32628df4518af1fad89c69fa7aa5a87e3c325dc4
2016-06-01 23:01:50 -07:00
Seth Fowler
dfd4e97c3d
Bug 1276061
(Part 3) - Add ImageLib GTest utility functions for checking paletted image output. r=njn
...
--HG--
extra : rebase_source : ee6f81899fa7f77b557bc13214d454cf33b122a2
2016-06-01 23:01:50 -07:00
Seth Fowler
b65d22bc5c
Bug 1276061
(Part 2) - Remove SurfaceFilter::WriteRows(). r=njn
...
--HG--
extra : rebase_source : f7d65f2cb1398c49f10a5b2849672661c74f1163
2016-06-01 23:01:50 -07:00
Seth Fowler
5c4d63539e
Bug 1276413 (Part 2) - Add tests for expected state when initializing a SurfaceSink. r=njn
2016-06-01 11:59:47 -07:00
Daniel Holbert
d33debd3c7
Bug 1261964 part 4: Bump fuzzy threshold for new reftest, to accommodate extra fuzziness on WinXP. DONTBUILD
...
MozReview-Commit-ID: 2RrNqbXU0hN
2016-05-27 16:34:16 -07:00
Daniel Holbert
0fbfe8b401
Bug 1261964 part 3: Bump fuzzy threshold for new reftest, to accommodate extra fuzziness on Win8.
...
MozReview-Commit-ID: 56zDzUoILme
2016-05-27 16:18:43 -07:00
Seth Fowler
be521de253
Bug 1207830 (Part 3) - Add a test that downscaling ICOs with AND mask transparency doesn't cause disaster. r=njn
...
--HG--
extra : rebase_source : aa8948270b33767eb38a16d8ecc0cb5e9b16d214
2016-05-27 12:59:19 -07:00
Seth Fowler
31a74a2ae6
Bug 1207830 (Part 2) - Add downscale-during-decode GTests for all image formats. r=njn
...
--HG--
extra : rebase_source : 115942a7d303ee0f9a3e57c5de045fc927a04e0e
2016-05-27 12:59:19 -07:00
Seth Fowler
db8c62a32b
Bug 1207830 (Part 1) - Make it possible to create an anonymous decoder that downscales. r=njn
...
--HG--
extra : rebase_source : 620e0380750c8b4fd8752b69320d450067ce385a
2016-05-27 12:59:19 -07:00
Daniel Holbert
53e62d6130
Bug 1261964 part 2: Add reftest for downscaling a moz-icon image. r=seth
...
MozReview-Commit-ID: 61m5k5mYSWN
2016-05-27 14:03:35 -07:00
Carsten "Tomcat" Book
52d84ab482
Backed out changeset 1bc7102718a9 (bug 1207830) for test failures in ImageDecoders.JPGDownscaleDuringDecode
2016-05-27 09:05:25 +02:00
Carsten "Tomcat" Book
1a05e03bf8
Backed out changeset acbbb2038fdd (bug 1207830)
2016-05-27 09:04:48 +02:00
Carsten "Tomcat" Book
2f5ff9300f
Backed out changeset f10f4b5ce594 (bug 1207830)
2016-05-27 09:04:46 +02:00
Seth Fowler
9b08bf373b
Bug 1207830 (Part 3) - Add a test that downscaling ICOs with AND mask transparency doesn't cause disaster. r=njn
2016-05-26 22:57:10 -07:00
Seth Fowler
4638631ed9
Bug 1207830 (Part 2) - Add downscale-during-decode GTests for all image formats. r=njn
2016-05-26 22:57:10 -07:00
Seth Fowler
7cac8ebbfd
Bug 1207830 (Part 1) - Make it possible to create an anonymous decoder that downscales. r=njn
2016-05-26 22:57:09 -07:00
Seth Fowler
6cec6a812e
Bug 1274057 (Part 2) - Add a regression test. r=njn
...
--HG--
extra : rebase_source : 1d6b2d58c8810cf38d09ae88c6ac612f04a0c24a
2016-05-26 00:19:05 -07:00
Seth Fowler
3e88de4645
Bug 1262338 (Part 4) - Add a new test for downscaling combined with a top-left frame rect. r=njn
2016-05-25 22:48:29 -07:00
Chris Peterson
353ee65255
Bug 1272513 - Part 1: Suppress -Wshadow warnings-as-errors in some directories. r=glandium
2016-05-11 00:00:01 -07:00
Timothy Nikkel
e68880b733
Bug 1263472. Limit the height of svg embed in image/test/mochitest/test_svg_animatedGIF.html. r=xidorn
...
The extra height of the test element (the embed) versus the reference element (a div with height 40px) can cause the iframe the test is run in to overflow, thus causing a scrollbar in the test but not the reference. But we are only interested in testing the frame of the contained animated gif.
2016-05-10 22:57:53 -05:00
Nathan Froyd
78256a6966
Bug 1265053 - don't needlessly construct nsAutoCString temporaries in image gtests; r=seth
...
Passing nsDependentCString gives us the same effect with less memory traffic.
2016-05-09 13:10:09 -04:00
Joel Maher
ffec923436
Bug 1269872 - convert webgl related crashtests to mochitest. r=jgilbert
...
MozReview-Commit-ID: KaCuwJJPTmO
--HG--
extra : rebase_source : d6bffff07096c19c5bb4fd94004bec5f16e33fe9
extra : amend_source : 7cb1b494bf72c31b72c990e46b4dc9a89a072ac1
2016-05-05 10:22:33 -04:00
Christoph Kerschbaumer
b18f786c05
Bug 1268396 - Follow up: Restore state of docShell at the end of test (r=bz)
2016-05-03 19:13:17 +02:00
Christoph Kerschbaumer
2d199cd96d
Bug 1268396 - Add testcase for nsIDocShell::APP_TYPE_EDITOR. r=bz
2016-05-03 11:15:04 +02:00
Kyle Huey
c73656947b
Bug 1265927: Move nsRunnable to mozilla::Runnable, CancelableRunnable to mozilla::CancelableRunnable. r=froydnj
2016-04-25 17:23:21 -07:00
Dragana Damjanovic
645513565f
Bug 1125916 - Fix code that miss proper flags and originAttributes in LoadInfo. Also fix some tests. r=sicking, r=jduell
...
--HG--
extra : rebase_source : 2a08f0208496671439ce62a576b5f8a728bbdf3c
extra : amend_source : 30412ab68cc0ee4469a88e41b6ce81c908a26535
extra : histedit_source : 1faae352f7fbf7c4c7a9e1e571ca395c853a1334
2016-04-13 15:34:36 +02:00
Timothy Nikkel
30e1d4989f
Bug 1263474. Convert three tests image/test/mochitest/chrome.ini to mochitest-plain. r=kats
2016-04-11 20:52:40 -05:00
Chris Manchester
52083635d3
Bug 1261456 - Combine support-files listed in [DEFAULT] with any listed per-test rather than overriding. r=gps
...
This requires a change to how we process test manifests in the build system:
now, whenever we see a support file mentioned in a manifest, we require that
file isn't already in that test's support files, but if we see a support file
that was already seen in some other test, the entry is ignored, but it is not
an error. As a result of this change, several duplicate support-files entries
needed to be removed.
MozReview-Commit-ID: G0juyxzcaB8
--HG--
rename : testing/mozbase/manifestparser/tests/test_default_skipif.py => testing/mozbase/manifestparser/tests/test_default_overrides.py
2016-04-11 11:21:20 -07:00
Timothy Nikkel
28a90df677
Bug 1262269. Re-enable some imagelib tests that are passing.
2016-04-10 19:21:48 -05:00
Ryan VanderMeulen
f2ae6bedc6
Backed out changeset 98aa2df1a69f (bug 1262269) for frequent Linux failures in the re-enabled tests.
2016-04-10 21:52:07 -04:00
Timothy Nikkel
7bd583a54c
Bug 1262269. Re-enable some imagelib tests that are passing.
2016-04-10 19:21:48 -05:00
Timothy Nikkel
909b97b554
Bug 1263058. Fix image/test/mochitest/test_animation2.html to test what it is intending to test. r=mstange
...
opacity >= 0.999 gets interpreted as 1 for painting purposes, so does not serve the purpose of creating a container layer. Use will-change instead.
2016-04-08 01:13:53 -05:00
Kartikaya Gupta
76e300e3c3
Bug 1261158 - Convert test_bug1132427.html to a mochitest-plain. r=tnikkel
...
MozReview-Commit-ID: 4NXUjL4uGEP
2016-04-04 16:28:13 -04:00
Kartikaya Gupta
146d7600ec
Bug 1261158 - Convert test_xultree_animation.xhtml to a mochitest-plain. r=tnikkel
...
MozReview-Commit-ID: BDanrpo7ES
2016-04-04 16:28:13 -04:00
Kartikaya Gupta
372512629b
Bug 1261158 - Convert test_synchronized_animation.html to a mochitest-plain. r=tnikkel
...
MozReview-Commit-ID: LrftftKDGn6
2016-04-04 16:28:12 -04:00
Kartikaya Gupta
e19f2b345c
Bug 1261158 - Convert test_svg_filter_animation.html to a mochitest-plain. r=tnikkel
...
MozReview-Commit-ID: K5ZxnkhR6nE
2016-04-04 16:28:12 -04:00
Kartikaya Gupta
e13c70fd27
Bug 1261158 - Convert test_svg_animatedGIF.html to a mochitest-plain. r=tnikkel
...
MozReview-Commit-ID: IIJT4178POO
2016-04-04 16:28:12 -04:00
Kartikaya Gupta
e2bbe3839c
Bug 1261158 - Convert test_staticClone.html to a mochitest-plain. r=tnikkel
...
MozReview-Commit-ID: 8CUzA0EzM2G
2016-04-04 16:28:12 -04:00
Kartikaya Gupta
a11b57dc20
Bug 1261158 - Convert test_removal_onload.html to a mochitest-plain. r=tnikkel
...
MozReview-Commit-ID: DL4IQaUl7t5
2016-04-04 16:28:12 -04:00
Kartikaya Gupta
f3c53ca5e1
Bug 1261158 - Convert test_removal_ondecode.html to a mochitest-plain. r=tnikkel
...
MozReview-Commit-ID: 6YOHnVhRqkY
2016-04-04 16:27:59 -04:00
Kartikaya Gupta
9a87fbceec
Bug 1261158 - Convert test_net_failedtoprocess.html to a mochitest-plain. r=tnikkel
...
MozReview-Commit-ID: HO1BMl760MQ
2016-04-04 16:27:58 -04:00
Kartikaya Gupta
d278cd5ea7
Bug 1261158 - Convert test_has_transparency.html to a mochitest-plain. r=tnikkel
...
MozReview-Commit-ID: 9tR3LH4wg4U
2016-04-04 16:27:58 -04:00
Kartikaya Gupta
4f6713a578
Bug 1261158 - Convert test_changeOfSource2.html to a mochitest-plain. r=tnikkel
...
MozReview-Commit-ID: 9mdR16WzTkU
2016-04-04 16:27:58 -04:00
Kartikaya Gupta
c11fae07bc
Bug 1261158 - Convert test_changeOfSource.html to a mochitest-plain. r=tnikkel
...
MozReview-Commit-ID: BqYNvBW06ko
2016-04-04 16:27:58 -04:00
Kartikaya Gupta
c79e0934bb
Bug 1261158 - Convert test_bullet_animation.html to a mochitest-plain. r=tnikkel
...
MozReview-Commit-ID: 8kgi3p2DMkw
2016-04-04 16:27:58 -04:00
Kartikaya Gupta
91f2e806c0
Bug 1261158 - Convert test_background_image_anim.html to a mochitest-plain. r=tnikkel
...
MozReview-Commit-ID: 5RJwrm5RKiU
2016-04-04 16:27:58 -04:00
Kartikaya Gupta
32f3c750d7
Bug 1261158 - Convert test_animSVGImage2.html to a mochitest-plain. r=tnikkel
...
MozReview-Commit-ID: JT02zkq1JJm
2016-04-04 16:27:58 -04:00
Kartikaya Gupta
637d1ef3d8
Bug 1261158 - Convert test_animSVGImage.html to a mochitest-plain. r=tnikkel
...
MozReview-Commit-ID: E2n2JM0PjzR
2016-04-04 16:27:57 -04:00
Seth Fowler
3822e4c6c4
Bug 1210745 - Update CheckProgressConsistency() to match current ImageLib behavior. r=tn
2016-02-25 13:12:58 -06:00
Geoff Brown
f8b671c940
Bug 1251013 - Update AndroidVersion annotations in test manifests - xpcshell; r=jmaher
2016-03-17 10:00:50 -06:00
Geoff Brown
29977660c0
Bug 1251013 - Update android_version annotations in test manifests - mochitest; r=jmaher
2016-03-17 10:00:48 -06:00
Timothy Nikkel
cc2e20ef2c
Bug 1255675. Add very basic reftests that test our downscale during decode code for every image format we support.
...
Some fuzz is necessary of course, but these tests catch this bug, so they should be successful in ensuring basically functionality isn't regressed.
2016-03-16 14:10:31 -05:00
Edwin Flores
0d5d29eb98
Bug 1234077 - Test that GIFs are still drawn correctly when their frame rects are truncated - r=seth
2016-03-15 10:31:31 +00:00
Sebastian Hengst
17ed0683ac
Backed out changeset e7b960c2c8e9 (bug 1234077) for reftest failures. r=backout
2016-03-14 21:08:53 +01:00
Edwin Flores
3a94cf4328
Bug 1234077 - Test that GIFs are still drawn correctly when their frame rects are truncated - r=seth
2016-03-14 18:26:38 +00:00
Timothy Nikkel
c2cd155669
Bug 1253362. SVGDocumentWrapper::IsAnimated can be called after SVGDocumentWrapper::DestroyViewer so null check mViewer. r=dholbert
...
The testcase has an svg-as-image inside an svg-as-image. At shutdown the viewer of the inner svg-as-image is destroyed (via the shutdown observer) first. Then the outer svg-as-image destroys its viewer which tries to unregister all image requests from the refresh driver. So it unregisters the inner svg-as-image, which calls GetAnimated.
2016-03-06 14:59:19 -06:00
Martijn Wargers
5c4ab36d15
Bug 1252444 - Rewrite some dom mochitests to use pushPrefEnv instead of setCharPref. r=jmaher
...
--HG--
extra : rebase_source : 7b61270760aa225f8c087ea190aaeb49670ca900
2016-03-03 09:41:14 -05:00
Mike Taylor
bdd8f0ca83
Bug 1249474
. Part 2 - Update tests to handle new default image Accept header value. r=mcmanus
2016-02-29 14:52:12 -06:00
Timothy Nikkel
183fc6e22a
Bug 1251091. Add crashtest.
2016-02-29 12:20:50 -06:00
Seth Fowler
09c97b5b63
Bug 1250648 - Clean up the style of for loops in TestStreamingLexer. r=njn
2016-02-26 21:01:49 -08:00
Timothy Nikkel
d885673df5
Bug 1249576. Add crashtest.
2016-02-26 17:14:32 -06:00
Seth Fowler
618f960cdd
Bug 1246851 (Part 4) - Add a test suite for SurfacePipes and SurfaceFilters. r=njn
2016-02-25 16:21:29 -08:00
Nicholas Nethercote
b295b3e288
Bug 1249550 (part 2) - Add a test. r=tn.
...
--HG--
rename : image/test/reftest/downscaling/downscale-ff.html => image/test/reftest/downscaling/downscale-16px.html
extra : rebase_source : 930c391d986d92bc78eb9f97e44b16aa5198beaa
2016-02-23 10:58:05 +11:00
Mason Chang
b4c228baec
Bug 1246213 - Skia reftest fuzzing for Skia content on OS X. r=jmuizelaar
2016-02-16 09:07:52 -08:00
Timothy Nikkel
fa7da9c935
Bug 1242093 - Fix assertion in Downscaler::ClearRow. r=njn
...
The starting column can be the last column, and we handle that correctly.
Also split function into ClearRow and ClearRestOfRow.
2016-02-16 08:04:57 +01:00
ISHIKAWA, Chiaki
be2b50a7f8
Bug 1248252 - Improper outdated octal constant syntax in M-C tree. Use '0o' prefix. r=dao
...
Be warned. Do not attemp to change the .js "test" source code in ./js
They are meant to check
- the outdated 0666 octal constant is still parsed correctly,
- the outdated 0666 octal constant raises syntax error flag
in strict mode, etc.
So leave them alone.
2016-02-15 08:57:00 +01:00
Timothy Nikkel
2f41382fcf
Bug 1240629. Add reftest.
2016-02-12 16:58:34 -06:00
Nicholas Nethercote
774871bbdd
Bug 1238558 (part 2) - Add a test. r=tnikkel.
...
--HG--
extra : rebase_source : f3d89f88873920e6b2c8a4d0c403bf84a5e52d42
2016-02-10 09:55:37 +11:00
Timothy Nikkel
5b78f1768d
Bug 1241729. Add crashtest.
2016-01-27 16:19:34 -06:00
Timothy Nikkel
7a0d958c9f
Bug 1241728. Add crashtest.
2016-01-27 16:19:34 -06:00
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