Commit Graph

175 Commits

Author SHA1 Message Date
Kartikaya Gupta
e5e598cc6f Bug 1261158 - Convert test_svg_filter_animation.html to a mochitest-plain. r=tnikkel a=test-only
MozReview-Commit-ID: K5ZxnkhR6nE
2016-04-04 16:28:12 -04:00
Kartikaya Gupta
945f295a3e Bug 1261158 - Convert test_svg_animatedGIF.html to a mochitest-plain. r=tnikkel a=test-only
MozReview-Commit-ID: IIJT4178POO
2016-04-04 16:28:12 -04:00
Kartikaya Gupta
53ca5bf31f Bug 1261158 - Convert test_staticClone.html to a mochitest-plain. r=tnikkel a=test-only
MozReview-Commit-ID: 8CUzA0EzM2G
2016-04-04 16:28:12 -04:00
Kartikaya Gupta
ff58440a32 Bug 1261158 - Convert test_removal_onload.html to a mochitest-plain. r=tnikkel a=test-only
MozReview-Commit-ID: DL4IQaUl7t5
2016-04-04 16:28:12 -04:00
Kartikaya Gupta
337156937e Bug 1261158 - Convert test_removal_ondecode.html to a mochitest-plain. r=tnikkel a=test-only
MozReview-Commit-ID: 6YOHnVhRqkY
2016-04-04 16:27:59 -04:00
Kartikaya Gupta
5fbb3592af Bug 1261158 - Convert test_net_failedtoprocess.html to a mochitest-plain. r=tnikkel a=test-only
MozReview-Commit-ID: HO1BMl760MQ
2016-04-04 16:27:58 -04:00
Kartikaya Gupta
75d0b207fd Bug 1261158 - Convert test_has_transparency.html to a mochitest-plain. r=tnikkel a=test-only
MozReview-Commit-ID: 9tR3LH4wg4U
2016-04-04 16:27:58 -04:00
Kartikaya Gupta
b0af8eec93 Bug 1261158 - Convert test_changeOfSource2.html to a mochitest-plain. r=tnikkel a=test-only
MozReview-Commit-ID: 9mdR16WzTkU
2016-04-04 16:27:58 -04:00
Kartikaya Gupta
5c3370d635 Bug 1261158 - Convert test_changeOfSource.html to a mochitest-plain. r=tnikkel a=test-only
MozReview-Commit-ID: BqYNvBW06ko
2016-04-04 16:27:58 -04:00
Kartikaya Gupta
99fd3d6f18 Bug 1261158 - Convert test_bullet_animation.html to a mochitest-plain. r=tnikkel a=test-only
MozReview-Commit-ID: 8kgi3p2DMkw
2016-04-04 16:27:58 -04:00
Kartikaya Gupta
8c7e85438a Bug 1261158 - Convert test_background_image_anim.html to a mochitest-plain. r=tnikkel a=test-only
MozReview-Commit-ID: 5RJwrm5RKiU
2016-04-04 16:27:58 -04:00
Kartikaya Gupta
5230acebee Bug 1261158 - Convert test_animSVGImage2.html to a mochitest-plain. r=tnikkel a=test-only
MozReview-Commit-ID: JT02zkq1JJm
2016-04-04 16:27:58 -04:00
Kartikaya Gupta
b071de6b2c Bug 1261158 - Convert test_animSVGImage.html to a mochitest-plain. r=tnikkel a=test-only
MozReview-Commit-ID: E2n2JM0PjzR
2016-04-04 16:27:57 -04:00
Martijn Wargers
153c131077 Bug 1252444 - Rewrite some dom mochitests to use pushPrefEnv instead of setCharPref. r=jmaher 2016-03-03 09:41:14 -05:00
Mike Taylor
67e3fade30 Bug 1249474. Part 2 - Update tests to handle new default image Accept header value. r=mcmanus 2016-02-29 14:52:12 -06:00
Phil Ringnalda
61e0022d38 Bug 1182951 - skip test_bug399925.html on b2g debug for constant timeouts 2015-11-14 18:28:40 -08:00
Nathan Froyd
70563b2178 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
Eric Rahm
439b783afc 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
Wes Kocher
46d77c938b 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
Eric Rahm
ceea29572f 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
Seth Fowler
2ca93b2012 Bug 1201796 (Part 4) - Add downscale-during-decode support for the ICO decoder. r=tn 2015-09-19 13:34:14 -07:00
Wes Kocher
bb201c69bf 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)
2015-09-18 13:01:25 -07:00
Seth Fowler
687c6ed1b5 Bug 1201796 (Part 4) - Add downscale-during-decode support for the ICO decoder. r=tn 2015-09-18 10:54:40 -07:00
Gijs Kruitbosch
4b384a2add Bug 1173214, r=seth,bz 2015-08-26 10:24:04 +01:00
Seth Fowler
2facec6512 Bug 1191114 (Part 1) - Always detect HAS_TRANSPARENCY during the metadata decode. r=tn 2015-08-12 10:41:02 -07:00
Kyle Huey
0a62d4d460 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
Geoff Brown
f8e98ea39a Bug 1026290 - Update mochitest-chrome manifests for android; r=jgriffin 2015-07-10 14:41:59 -06:00
Ehsan Akhgari
5bd32283c8 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
1b44eac300 Bug 1163856 (Part 2) - Fix tests that depended on image load event timing. r=tn 2015-06-30 02:38:01 -07:00
Phil Ringnalda
bf15233770 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
520cfef82a 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
6a25172f59 Bug 1174923 - Stop delaying the document load event until images are decoded. r=tn a=kwierso 2015-06-19 15:55:12 -07:00
Boris Zbarsky
361b5d3d9a Bug 1109693. More places that use CORS should in fact allow data: URIs. r=smaug 2015-04-22 20:30:10 -04:00
Seth Fowler
a51893ca8a Bug 1151309 (Part 2) - Hide errors in multipart image parts both visually and internally. r=tn 2015-04-14 17:47:59 -07:00
Jonathan Griffin
8873726f67 Bug 1116187 - Disable failing mochitest-chrome tests for B2G, r=gbrown 2015-02-06 16:30:37 -08:00
Anish
9b39f2745a 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
Timothy Nikkel
dd3fed6f09 Bug 1132427. Add test. 2015-02-17 19:26:52 -06:00
Ehsan Akhgari
20474e5ba7 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
f5a1845aa6 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
b3a334e0e2 Bug 1104622 (Part 1) - Remove DiscardTracker. r=tn 2014-11-27 19:55:57 -08:00
Seth Fowler
a6808b1007 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
ca33a839c5 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
78f5671b60 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
8e7a71e160 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
cdd14c25f5 Backed out changeset 61b0f5391e9d (bug 1060869) 2014-11-25 14:13:53 +01:00
Carsten "Tomcat" Book
5846c62907 Backed out changeset 7fbcaefd5052 (bug 1060869) 2014-11-25 14:13:50 +01:00
Seth Fowler
68d7f5062f 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
8ced23429a 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
f606982478 Bug 1103652 - Make animSVGImage tests listen for FRAME_UPDATE or poll. r=tn 2014-11-24 23:42:44 -08:00
Seth Fowler
7dc1f62427 Bug 1103439 - Add a function to clear both chrome and nonchrome image caches. r=tn 2014-11-24 23:42:44 -08:00