Commit Graph

2678 Commits

Author SHA1 Message Date
Nathan Froyd
bd856966a6 Bug 1359415 - move threadsafety checks inside nsAutoOwningThread; r=erahm
This change moves most of the logic for the threadsafety check into
nsAutoOwningThread, rather than having part of the logic live in
nsAutoOwningThread and part of the logic live in nsDebug.h.  Changing
this also forces us to clean up a couple of places that replicated the
logic that lived in nsDebug.h as well.
2017-04-26 11:41:32 -04:00
Sebastian Hengst
5f2945b3ec Backed out changeset 1f9d0f8e65b9 (bug 1351548) 2017-04-26 13:13:05 +02:00
Sebastian Hengst
ce63b37abb Backed out changeset aebb0ceeb20a (bug 1351548) 2017-04-26 13:12:53 +02:00
Shing Lyu
66fcd4c2bf Bug 1351548 - Remove reftest-stylo.lists. r=bholley
MozReview-Commit-ID: Gn0fbS4PZ7i
2017-04-26 18:21:52 +08:00
Shing Lyu
a6e0a62b7d Bug 1351548 - Add stylo-vs-gecko expectations to reftest.lists. r=bholley
MozReview-Commit-ID: GOUGBsd05cn
2017-04-26 18:21:43 +08:00
Jonathan Watt
3ecd551aed Bug 1358828, part 3 - Split AutoSVGRenderingState into two separate classes. r=longsonr
MozReview-Commit-ID: CmBB3MHU4Dt
2017-04-03 10:40:13 +01:00
Jonathan Watt
10379110c3 Bug 1358828, part 2 - Avoid setting state on SVG images if we use an image from the surface cache. r=longsonr
MozReview-Commit-ID: zvdStzP5Zx
2017-03-27 12:49:44 +01:00
Jonathan Watt
ac8f52bffc Bug 1358828, part 1 - Add some missing includes. r=longsonr
MozReview-Commit-ID: 3nDDATmCkJV
2017-03-27 12:49:21 +01:00
Wes Kocher
304a8fff62 Merge inbound to central, a=merge
MozReview-Commit-ID: FHfhKIIlItM
2017-04-21 17:30:43 -07:00
Julian Descottes
e4515e8803 Bug 1358070 - register dedicated privileged image for browser_docshell_type_editor.js;r=Gijs
The test image/test/browser/browser_docshell_type_editor.js used to rely on a devtools image.
Devtools are moving away from mozilla central, so here we register a new image dedicated for
this test.

MozReview-Commit-ID: Log4J0eLudV
2017-04-20 11:46:51 +02:00
Timothy Nikkel
5108b146d8 Bug 1342567. r=aosmond a=abillings 2017-04-21 00:18:49 -05:00
Timothy Nikkel
ed416065e3 Bug 1342567. r=aosmond a=abillings 2017-04-21 00:18:46 -05:00
Valentin Gosu
7e8ca8ee92 Bug 1354349 - Add nsIChannel.isDocument that checks if LOAD_DOCUMENT_URI is set, or if LOAD_HTML_OBJECT_DATA and the channel has the appropriate MIME type r=mcmanus,mystor
MozReview-Commit-ID: K28Opd9JTr2
2017-04-20 10:15:06 +08:00
Wei-Cheng Pan
6c5df0fdf2 Bug 1344893 - Part 1: Report Navigation Timing into Telemetry. r=smaug, data-review=bsmedberg
We only need metric from top level content document, but we dont have
any information about it in nsDOMNavigationTiming, so I add a weak
reference which points to nsDocShell.

MozReview-Commit-ID: GiJigRLYHNV
2017-04-19 02:00:00 -04:00
Timothy Nikkel
b19aa03617 Bug 1342567. r=aosmond a=abillings 2017-04-19 00:36:06 -05:00
cku
21b8332975 Bug 1346618 - Part 1. Remove SVGImageContext::mGlobalOpacity. r=mstange
MozReview-Commit-ID: ByiPa4sreEh
2017-04-15 02:01:22 +08:00
Ehsan Akhgari
a3e4f5ce45 Backout change fb3c323635d6 (bug 1347400) because the telemetry probe didn't prove to be useful 2017-04-15 17:20:25 -04:00
Shih-Chiang Chien
ecb5cdd978 Bug 1357318 - remember previous priority boost request in imgRequest. r=tnikkel
MozReview-Commit-ID: IieWWUw8EIB
2017-03-22 19:52:15 +08:00
Florian Queze
d3c36892fa Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Sebastian Hengst
42670ceca0 Backed out changeset 322fde2d53bf (bug 1356569) so bug 1355161 can be backed out. r=backout 2017-04-14 23:39:22 +02:00
Florian Queze
9b4f73599f Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Timothy Nikkel
d512693e82 Bug 1355898. Add crashtest. 2017-04-13 19:56:24 -05:00
Ehsan Akhgari
6b27337d42 Bug 1316683 - Part 4: Use the non-scriptable LoadContext object in test_private_channel.js; r=hurley 2017-04-12 11:32:16 -04:00
Timothy Nikkel
dc5ddc6354 Bug 1342567. r=aosmond a=dveditz 2017-04-11 03:14:11 -05:00
Timothy Nikkel
ebe6656d55 Bug 1352408. Restore imgICache::RemoveEntry. r=ehsan
It was removed in bug 1202085 because there were no callers and changes made in that bug would have required it to be updated.
2017-04-11 03:14:09 -05:00
Timothy Nikkel
3d56b33ce2 Bug 1354499. Enable test_discardAnimatedImage.html. 2017-04-08 15:58:17 -05:00
Timothy Nikkel
22a707fc44 Bug 1354499. Disable test_discardAnimatedImage.html temporarily. 2017-04-08 02:04:52 -05:00
Timothy Nikkel
9532bb3ff9 Bug 1354499. Do a better job of not recording successful results after test finish in test_discardAnimatedImage.html.
The previous patch wasn't good enough because it only prevented dispatching more setTimeouts after finish. It did nothing to stop already dispatched setTimeouts from calling ok(true,...).
2017-04-08 02:04:52 -05:00
Timothy Nikkel
6fd7970d91 Bug 1354499. Don't record further successful results after finishing in test_discardAnimatedImage.html. 2017-04-07 18:26:20 -05:00
Timothy Nikkel
ac50334e8d Bug 1354499. Fix test_discardAnimatedImage.html to not call finish multiple times.
We can have multiple setTimeouts from multiple frame update notifications in flight at the same time. If one of them reaches the finishing conditions the rest will too. So just guard calling finish with a global bool.
2017-04-07 16:11:14 -05:00
Phil Ringnalda
0afb9b4ece Backed out 2 changesets (bug 1354499) for only changing the failure to a frequent Result logged after SimpleTest.finish()
CLOSED TREE

Backed out changeset 415cd9f87458 (bug 1354499)
Backed out changeset 17d681fd2b32 (bug 1354499)
2017-04-07 21:35:14 -07:00
Timothy Nikkel
8b24d0fd8c Bug 1354499. Don't record further successful results after finishing in test_discardAnimatedImage.html. 2017-04-07 18:26:20 -05:00
Timothy Nikkel
86ad3b4aee Bug 1354499. Fix test_discardAnimatedImage.html to not call finish multiple times.
We can have multiple setTimeouts from multiple frame update notifications in flight at the same time. If one of them reaches the finishing conditions the rest will too. So just guard calling finish with a global bool.
2017-04-07 16:11:14 -05:00
Mike Hommey
b743547643 Bug 1344038 - Remove --enable-gnomeui. r=karlt 2017-03-08 15:35:53 +09:00
Mike Hommey
b1a06955a6 Bug 1344038 - Remove --disable-gio. r=karlt 2017-04-05 14:06:25 +09:00
Timothy Nikkel
5f0a95007d Bug 1353299. Make sure to invalidate when composited frame becomes valid. r=aosmond
We draw nothing when the composited frame is invalid, so when we mark it valid we should invalidate. Usually the action that causes the composited frame to be valid will invalidate (ie RequestRefresh).
2017-04-06 04:00:36 -05:00
Timothy Nikkel
eb355b3152 Bug 1353298. Don't report that an animated image with an invalid composited frame will draw opaquely. r=aosmond
We draw nothing until the composited frame is valid.

The IsFinished call lower down only considers one frame of the animation, so doesn't do what we want.
2017-04-06 04:00:36 -05:00
Timothy Nikkel
fde129322f Bug 1352282. In test_discardAnimatedImage.html call drawWindow from a setTimeout from frame update notification.
Image notifications sent from nsImageLoadingContent happen under a scriptblocker. drawWindow flushes will paint observers, which can dispatch events. Events dispatched while scripts are blocked assert.
2017-04-06 04:00:36 -05:00
Timothy Nikkel
64968c4005 Bug 1352282. Improve test_discardAnimatedImage.html to check that the animation continues when we re-decode. r=aosmond 2017-04-05 11:28:41 -05:00
Timothy Nikkel
c457e1bb5a Bug 1352282. Always fill in the number of loops when decoding an APNG file. r=aosmond
If we were doing a first frame only decode we wouldn't fill in this value. The spec says this chunk must come before any image data so it should always be available at the end of any full decode (whether it be truly full or first frame only).
2017-04-05 11:28:40 -05:00
Carsten "Tomcat" Book
0bc45a9b4c merge mozilla-inbound to mozilla-central a=merge 2017-04-05 14:33:35 +02:00
Shing Lyu
6294074e54 Bug 1353643 - reftest-stylo.list fixes. r=heycam
MozReview-Commit-ID: 9HPACBPCOB6
2017-03-29 15:16:47 +08:00
Bevis Tseng
96fb741bbc Bug 1350177 - Part 3: Refactor SurfaceCache with ExpirationTrackerImpl. r=froydnj,aosmond
Always acquire StaticMutexAutoLock for the use of ExpirationTrackerImpl.
2017-03-27 21:47:23 -04:00
Brendan Dahl
85f151ac59 Bug 1338004 - Add headless browser mode. r=jrmuizel, r=ted
Supports creating a windowless browser on Linux without an X server. Most of the
changes are just adding branches to avoid calls in to GTK which calls
into X. Some of the bigger additions were adding a separate headless widget
which implements just enough to render a page. A headless look and
feel were also added since there are many calls into GTK in the platform
specific one.
2017-04-04 10:22:00 -04:00
Timothy Nikkel
4a70a69481 Bug 1348941. r=njn 2017-03-31 06:07:29 -05:00
Phil Ringnalda
9b44d91cba Backed out changeset ada34cba0052 (bug 1348941) for image-related bustages
CLOSED TREE
2017-03-30 19:28:00 -07:00
Timothy Nikkel
cbe1da0034 Bug 1352008. Check return value of DrawableSurface::Seek because if it failed it will return the first frame when you ask for a frame. r=aosmond 2017-03-30 19:07:05 -05:00
Timothy Nikkel
dc8583a7c8 Bug 1348941. r=n.nethercote 2017-03-30 19:07:04 -05:00
Ryan VanderMeulen
3866e9cf31 Merge inbound to m-c. a=merge 2017-03-29 09:41:54 -04:00
Timothy Nikkel
cd9ff2eb05 Bug 1351434. Don't do any work in RasterImage::OnSurfaceDiscarded because we hold the surface cache mutex in it. r=aosmond
https://hg.mozilla.org/integration/mozilla-inbound/rev/432215553953 (bug 1343341) is what caused this.

The UpdateState call does a surface cache lookup.
2017-03-28 15:46:23 -05:00