Carsten "Tomcat" Book
455239782b
Merge mozilla-central to mozilla-inbound
2017-05-10 15:30:44 +02:00
Carsten "Tomcat" Book
d66b9f27d5
merge mozilla-inbound to mozilla-central a=merge
2017-05-10 15:07:28 +02:00
Bill McCloskey
c197e07ff2
Bug 1363560 - Name more runnables (r=mccr8)
...
MozReview-Commit-ID: 3hxZDA4JlTV
2017-05-09 21:53:25 -07:00
Kershaw Chang
a879fe7ee3
Bug 1352176 - Part3: Pass an event target at places where nsIInputStream::init is called., r=mayhemer
2017-05-09 20:05:00 +02:00
Jonathan Watt
cfea97eb87
Bug 1359762 - Only allow SVG images to use context paint if they're from chrome:// or resource://. r=dholbert
...
MozReview-Commit-ID: 5vaPp4Y8zMd
2017-04-25 12:47:19 +01:00
Tom Tung
0e308b0c4f
Bug 1348050 - Part 3: Mark channel as urgent-start for loading image. r=baku,mayhemer
...
This part is mainly to mark the channel as urgent-start if src related
attributes in HTMLImageElement and HTMLInputElement is set and the channel is
open due to user interaction. Unfortunately, we cannot just check the event
state just after creating channel since some loading image tasks will be queue
and execute in stable state. Thus, I store the event state in elements and
pass it to the place where create the channel.
MozReview-Commit-ID: GBdAkPfVzsn
--HG--
extra : rebase_source : 715352317b4b600f8a7f78b7bc22b894bb272d27
2017-04-25 09:17:38 +08:00
Jonathan Watt
33cfc4aa43
Bug 1362891, part 2 - Make use of XRE_IsE10sParentProcess in code that could use it. r=froydnj
...
MozReview-Commit-ID: 81PFEgNH37m
--HG--
extra : rebase_source : 350b11b3bec652472565bd590ef13680e480a75e
2017-04-24 10:40:12 +01:00
Timothy Nikkel
c570406a5e
Bug 1360572. Invalidate the whole animated image when the composited frame becomes valid. r=aosmond
...
We invalidate if FrameAnimator::UpdateState marks the composited frame as valid, but we fail to do so if FrameAnimator::RequestRefresh does so.
The other place that sets the composited frame as valid is RasterImage::Decode. This call is actually redundant because the UpdateState call will do the same.
Even though we will invalidate when the decode produces results we could still draw incorrectly if something else invalidates. In which case we would only draw the part of the image that was invalidated. But that should actually be impossible as explained in the comment.
2017-05-03 21:20:35 -05:00
Ehsan Akhgari
cd8e5781d1
Back out bug 1357107 since it broke a feature that we have no automated tests for...
2017-05-05 22:41:36 -04:00
Masatoshi Kimura
2195becf33
Bug 1360784 - Revert a workaround for bug 1361632. r=xidorn
...
MozReview-Commit-ID: FU7r2cMaQOL
--HG--
extra : rebase_source : 05bad5a3cc60c26391b52e21b4390db321ad6dc4
2017-05-04 23:35:59 +09:00
Timothy Nikkel
432937f220
Bug 1361642. Return PENDING from FrameAnimator::GetCompositedFrame is a decode is pending so that we don't start another decode. r=aosmond
2017-05-04 01:25:10 -05:00
Iris Hsiao
ab85c1ac98
Backed out changeset dda520b4ed32 (bug 1360572) for Assertion failure at RasterImage.cpp
2017-05-04 11:30:45 +08:00
Timothy Nikkel
82de893b0a
Bug 1360572. Invalidate the whole animated image when the composited frame becomes valid. r=aosmond
...
We invalidate if FrameAnimator::UpdateState marks the composited frame as valid, but we fail to do so if FrameAnimator::RequestRefresh does so.
The other place that sets the composited frame as valid is RasterImage::Decode. This call is actually redundant because the UpdateState call will do the same.
Even though we will invalidate when the decode produces results we could still draw incorrectly if something else invalidates. In which case we would only draw the part of the image that was invalidated. But that should actually be impossible as explained in the comment.
2017-05-03 21:20:35 -05:00
Jonathan Watt
f6147ec697
Bug 1360511 - Move SVGDrawingParameters to a header file to allow it to be shared. r=longsonr
...
MozReview-Commit-ID: I1EU0AlLLHU
--HG--
extra : rebase_source : b9b76a35daf73307d3d9a62ade92c301f87f9654
2017-04-18 12:46:19 +01:00
Timothy Nikkel
16893a87d5
Bug 1319283. In test_bug1217571.html use an image that is only used in this test. r=aosmond
...
We do this to avoid having one of the image loads happen before the cache entry for the image times out and the other image load after the cache entry times out.
--HG--
rename : image/test/mochitest/damon.jpg => image/test/mochitest/bug1217571.jpg
2017-05-02 21:05:29 -05:00
Masatoshi Kimura
a32ffda28f
Bug 1360784 - Enable huge-1.html reftests for stylo. r=xidorn
...
MozReview-Commit-ID: 8PhXOTUplLI
--HG--
extra : rebase_source : 405a0549759a473d9dd3c04aca49a6d55e8e8c6d
2017-04-29 10:58:45 +09:00
Ehsan Akhgari
2ba38555ad
Bug 1357107 follow-up: replace some run-away tab characters
...
DONTBUILD
2017-04-28 00:30:14 -04:00
Ehsan Akhgari
1bf467365d
Bug 1357107 - Part 1: Move the handling of the permissions.default.image pref to imgLoader.cpp; r=bzbarsky
2017-04-28 00:13:23 -04:00
Shing Lyu
c46f5d5baf
Bug 1351548 - Remove reftest-stylo.lists. r=bholley
...
MozReview-Commit-ID: 8LoQ9xNnDnj
2017-04-28 11:15:58 +08:00
Shing Lyu
435db45b79
Bug 1351548 - Add stylo-vs-gecko expectations to reftest.lists. r=bholley
...
MozReview-Commit-ID: GOUGBsd05cn
2017-04-28 11:15:50 +08:00
Nathan Froyd
8bbd081c88
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
ceff3b0678
Backed out changeset 1f9d0f8e65b9 (bug 1351548)
2017-04-26 13:13:05 +02:00
Sebastian Hengst
f46ebb0d94
Backed out changeset aebb0ceeb20a (bug 1351548)
2017-04-26 13:12:53 +02:00
Shing Lyu
96b400c04a
Bug 1351548 - Remove reftest-stylo.lists. r=bholley
...
MozReview-Commit-ID: Gn0fbS4PZ7i
2017-04-26 18:21:52 +08:00
Shing Lyu
dae014d9d5
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
228e5e7649
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
a64f783074
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
c42adf48d9
Bug 1358828, part 1 - Add some missing includes. r=longsonr
...
MozReview-Commit-ID: 3nDDATmCkJV
2017-03-27 12:49:21 +01:00
Wes Kocher
d973551173
Merge inbound to central, a=merge
...
MozReview-Commit-ID: FHfhKIIlItM
2017-04-21 17:30:43 -07:00
Julian Descottes
3466153b93
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
--HG--
extra : rebase_source : 63890e9b4bbcf4de46190d42808ed92430f3c072
2017-04-20 11:46:51 +02:00
Timothy Nikkel
c2119cfed3
Bug 1342567. r=aosmond a=abillings
2017-04-21 00:18:49 -05:00
Timothy Nikkel
b97346ec7a
Bug 1342567. r=aosmond a=abillings
2017-04-21 00:18:46 -05:00
Valentin Gosu
0a4d506e21
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
--HG--
extra : rebase_source : d1a786d9b4318be15f195fdc330489121ebd6ece
2017-04-20 10:15:06 +08:00
Wei-Cheng Pan
1978d62be4
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
c12e8c8307
Bug 1342567. r=aosmond a=abillings
2017-04-19 00:36:06 -05:00
cku
258222aaaf
Bug 1346618 - Part 1. Remove SVGImageContext::mGlobalOpacity. r=mstange
...
MozReview-Commit-ID: ByiPa4sreEh
--HG--
extra : rebase_source : eda6104c00cbc7ebe7b9a5ddc9e2abc73fbc37df
extra : source : df69799726bdccc5a25d6190c0fe22645e264ab7
2017-04-15 02:01:22 +08:00
Ehsan Akhgari
29071e6146
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
fe043ed110
Bug 1357318 - remember previous priority boost request in imgRequest. r=tnikkel
...
MozReview-Commit-ID: IieWWUw8EIB
--HG--
extra : rebase_source : 2a4fcc625f6f44833533b524bb388bedfeceecaa
2017-03-22 19:52:15 +08:00
Florian Queze
37ff4fc7cc
Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws.
2017-04-14 21:51:38 +02:00
Sebastian Hengst
a07223d699
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
95d4d20c17
Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws.
2017-04-14 21:51:38 +02:00
Timothy Nikkel
7aeea3c59d
Bug 1355898
. Add crashtest.
2017-04-13 19:56:24 -05:00
Ehsan Akhgari
d52952ffdd
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
ff22b71de5
Bug 1342567. r=aosmond a=dveditz
2017-04-11 03:14:11 -05:00
Timothy Nikkel
c1bda06e96
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
6d1e6e26bb
Bug 1354499. Enable test_discardAnimatedImage.html.
2017-04-08 15:58:17 -05:00
Timothy Nikkel
87341e1350
Bug 1354499. Disable test_discardAnimatedImage.html temporarily.
2017-04-08 02:04:52 -05:00
Timothy Nikkel
05aceb8d0a
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
7bd2215f6e
Bug 1354499. Don't record further successful results after finishing in test_discardAnimatedImage.html.
2017-04-07 18:26:20 -05:00
Timothy Nikkel
a453a97b57
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
fd177bad39
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
ec4e60afa1
Bug 1354499. Don't record further successful results after finishing in test_discardAnimatedImage.html.
2017-04-07 18:26:20 -05:00
Timothy Nikkel
e6e0643c2e
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
e91179eda5
Bug 1344038
- Remove --enable-gnomeui. r=karlt
...
--HG--
extra : rebase_source : 562519f2f6727750afe7d4a8503b41e722222d7d
2017-03-08 15:35:53 +09:00
Mike Hommey
94c16743bb
Bug 1344038
- Remove --disable-gio. r=karlt
...
--HG--
extra : rebase_source : 3b5b820536b0e9b1fb1da3a16c444ed7839770b9
2017-04-05 14:06:25 +09:00
Timothy Nikkel
91e6c26580
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
fbb79c8298
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
6c5f81b150
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
74f25a0e00
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
0e7000fdce
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
7a670cdd01
merge mozilla-inbound to mozilla-central a=merge
2017-04-05 14:33:35 +02:00
Shing Lyu
c98fca71fd
Bug 1353643 - reftest-stylo.list fixes. r=heycam
...
MozReview-Commit-ID: 9HPACBPCOB6
--HG--
extra : rebase_source : ee63c4854ea4c4cba7c1cd47b4af4fa711ca75fb
2017-03-29 15:16:47 +08:00
Bevis Tseng
87fae2d807
Bug 1350177 - Part 3: Refactor SurfaceCache with ExpirationTrackerImpl. r=froydnj,aosmond
...
Always acquire StaticMutexAutoLock for the use of ExpirationTrackerImpl.
--HG--
extra : rebase_source : 39d59130b9f1edd9fc43cc3597015a3f21b37977
2017-03-27 21:47:23 -04:00
Brendan Dahl
a1f2e12af8
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
b3137a6749
Bug 1348941. r=njn
2017-03-31 06:07:29 -05:00
Phil Ringnalda
57f1484fe3
Backed out changeset ada34cba0052 (bug 1348941) for image-related bustages
...
CLOSED TREE
2017-03-30 19:28:00 -07:00
Timothy Nikkel
c11cd13119
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
0ed714966d
Bug 1348941. r=n.nethercote
2017-03-30 19:07:04 -05:00
Ryan VanderMeulen
f4a0d77ffc
Merge inbound to m-c. a=merge
2017-03-29 09:41:54 -04:00
Timothy Nikkel
7bf131a182
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
Makoto Kato
f3c1c49239
Bug 1348177 - Part 1. Remove GetProcAddress for shell32 to use Vista+ API (image part). r=jimm,tnikkel
...
Since we drop XP support, it is unnecessary to use SHGetStockIconInfo via LoadLibrary.
MozReview-Commit-ID: 4lvhVObHv5U
--HG--
extra : rebase_source : 04ac6f97e6a3eff7c52e11e3868da0939efd6ffe
2017-03-17 13:26:57 +09:00
Timothy Nikkel
e4da61a3e1
Bug 1343341. Add a test to check that discarding and redecoding of animated images works. r=aosmond
...
The test does nothing if the animated images discarding pref isn't enabled.
--HG--
rename : image/test/crashtests/1249576-1.png => image/test/mochitest/infinite-apng.png
2017-03-27 00:17:54 -05:00
Timothy Nikkel
e4990d2f23
Bug 1343341. When the animated images discarding pref is enabled Remove the lifetime lock on animated images and adjust code in RasterImage to allow animated images to be discarded. r=aosmond
...
Mostly asserts and simple book keeping. The complicated things were in FrameAnimator.
2017-03-27 00:17:52 -05:00
Timothy Nikkel
1614a73bad
Bug 1343341. Rewrite animation state updating to derive new state purely based on SurfaceCache and RasterImage::mAnimationFinished. r=aosmond
...
If the SurfaceCache discards our frames on another thread, the runnable that notifies us of that discard could race with a decode complete notification. So we can't rely on any ordering of SetDiscarded and NotifyDecodeComplete. Thus we must derive our state purely from the SurfaceCache (and mAnimationFinished from RasterImage).
We also update the image state in RequestRefresh (the main place where we use the state that is updated).
The other main place we use the state is GetCompositedFrame, but we don't update the state there. It should be fine because the only time this might lag behind reality is if the frames are discarded, and it should be fine to continue drawing the composited frame until the discard notification arrives.
The way that we tell that an animated image has all of its frames complete in the surface cache is less than ideal.
2017-03-26 00:04:53 -05:00
Phil Ringnalda
3486d4cb15
Merge m-i to m-c, a=merge
2017-03-25 18:39:56 -07:00
Timothy Nikkel
63ad0ad7f3
Bug 1343341. Only call AnimationState::SetDiscarded on the main thread. r=aosmond
...
Image::OnSurfaceDiscarded can be called on any thread. But AnimationState is a main thread only object.
2017-03-25 02:16:21 -05:00
Timothy Nikkel
2776a4ad96
Bug 1343341. In FrameAnimator look up our frames once and pass them around. r=aosmond
...
The SurfaceCache can discard on any thread at any time. So we could be in the middle of advancing frames of a fully decoded animated image and then the frames could disappear out from under us.
Making the code deal with that kind of a situation would make the logic very complicated. So instead just look up the frames once and pass them around, that way they never change during while we are advancing the frame.
2017-03-24 00:57:30 -05:00
Manish Goregaokar
88b43cc612
Bug 1341102 - Update stylo reftest expectations; r=orange
...
MozReview-Commit-ID: 9PbpzNqSQ7W
2017-03-24 21:54:18 -07:00
Carsten "Tomcat" Book
332688962a
Merge mozilla-central to mozilla-inbound
...
--HG--
rename : testing/web-platform/tests/storage/interfaces.html => testing/web-platform/tests/storage/interfaces.https.html
2017-03-23 13:57:16 +01:00
Carsten "Tomcat" Book
492970c342
merge mozilla-inbound to mozilla-central a=merge
2017-03-23 13:44:09 +01:00
Carsten "Tomcat" Book
9b6d088496
merge autoland to mozilla-central a=merge
...
--HG--
rename : browser/components/preferences/in-content/tests/browser_advanced_siteData.js => browser/components/preferences/in-content-old/tests/browser_advanced_siteData.js
rename : dom/media/mediasink/DecodedAudioDataSink.cpp => dom/media/mediasink/AudioSink.cpp
2017-03-23 13:42:40 +01:00
Andrew Osmond
c21c5cb4c8
Backed out changeset 619b5b27ce87 (bug 1343499) for CLOSED TREE build bustage r=backout
2017-03-22 11:04:30 -04:00
Andrew Osmond
a60b290b56
Bug 1343499 - Expose native image sizes to imagelib users. r=tnikkel
2017-03-22 09:05:36 -04:00
Andrew Osmond
9f71f348c1
Backed out changeset 0b797601dc36 (bug 1343499) for build bustages. r=backout
2017-03-22 09:19:05 -04:00
Andrew Osmond
cbf46adaef
Bug 1343499 - Expose native image sizes to imagelib users. r=tnikkel
2017-03-22 09:05:36 -04:00
Andrea Marchesini
1fd1bc3935
Bug 1343933 - Renaming Principal classes - part 2 - NullPrincipal, r=qdot
...
--HG--
rename : caps/nsNullPrincipal.cpp => caps/NullPrincipal.cpp
rename : caps/nsNullPrincipal.h => caps/NullPrincipal.h
rename : caps/nsNullPrincipalURI.cpp => caps/NullPrincipalURI.cpp
rename : caps/nsNullPrincipalURI.h => caps/NullPrincipalURI.h
2017-03-22 11:38:40 +01:00
Andrew Osmond
449b1552c1
Bug 1343499 - Expose native image sizes to imagelib users. r=tnikkel
2017-03-22 09:05:36 -04:00
Timothy Nikkel
3d98a47ed8
Bug 1343341. Change GetTimeoutForFrame to return a Maybe, and make all callers deal with a lack of a return value. r=aosmond
...
Do this to allow GetTimeoutForFrame to be called for frames that haven't been decoded yet. Propagate a Maybe result where it makes sense. The remaining callers just bail if they get no return value. Many of them can just assert that they get a return value because they already got the same frame, so the timeout has to be available.
The logic is a little tricky because we have "Forever" timeouts that were sort of treated as error cases.
2017-03-23 00:02:54 -05:00
Timothy Nikkel
f088324ed2
Bug 1347302. Add animated image specific probes for several imagelib telemetry probes. r=aosmond f=bsmedberg
2017-03-23 00:02:54 -05:00
Wes Kocher
3c092e1002
Merge m-c to inbound, a=merge
...
MozReview-Commit-ID: GjXiiENYBmx
2017-03-21 16:20:08 -07:00
Eric Rahm
7d3e1c4c68
Bug 943686 - Add RasterImage.cpp to unified sources. r=tn
...
MozReview-Commit-ID: cRFkjJi4dP
2017-03-21 11:09:17 -07:00
Eric Rahm
de862a07cc
Bug 943686 - Add ProgressTracker.cpp to unified sources. r=tn
...
MozReview-Commit-ID: Ipo4Tb1bnHG
2017-03-21 11:09:16 -07:00
Eric Rahm
a7ec07a00d
Bug 943686 - Add imgRequestProxy.cpp to unified sources. r=tn
...
MozReview-Commit-ID: ITT9T22WyYG
2017-03-21 11:09:15 -07:00
Eric Rahm
2f16bd241c
Bug 943686 - Add imgRequest.cpp to unified sources. r=tn
...
MozReview-Commit-ID: B87v26HNtBn
2017-03-21 11:09:14 -07:00
Eric Rahm
0e5acb78bf
Bug 943686 - Add imageLoader.cpp to unified sources. r=tn
...
MozReview-Commit-ID: G9sFOtbFYjP
2017-03-21 11:09:13 -07:00
Sebastian Hengst
1e30641e50
Backed out changeset 8c34803d1392 (bug 943686) for Windows bustage. r=backout
2017-03-20 23:00:43 +01:00
Sebastian Hengst
3d552e75e6
Backed out changeset 726f50ce3a40 (bug 943686)
2017-03-20 23:00:06 +01:00
Sebastian Hengst
c3ffd943f4
Backed out changeset 46d1aeb34ad2 (bug 943686)
2017-03-20 22:59:58 +01:00
Sebastian Hengst
d0cb7ddce9
Backed out changeset 2828bb6eabef (bug 943686)
2017-03-20 22:59:50 +01:00
Sebastian Hengst
469aa374a9
Backed out changeset 538a6a953f5d (bug 943686)
2017-03-20 22:59:41 +01:00
Eric Rahm
56cf706a4f
Bug 943686 - Add RasterImage.cpp to unified sources. r=tn
...
MozReview-Commit-ID: cRFkjJi4dP
2017-03-20 14:28:44 -07:00
Eric Rahm
e91f0e2104
Bug 943686 - Add ProgressTracker.cpp to unified sources. r=tn
...
MozReview-Commit-ID: Ipo4Tb1bnHG
2017-03-20 14:28:43 -07:00
Eric Rahm
3d92dbeb7c
Bug 943686 - Add imgRequestProxy.cpp to unified sources. r=tn
...
MozReview-Commit-ID: ITT9T22WyYG
2017-03-20 14:28:42 -07:00
Eric Rahm
bbf39fe24c
Bug 943686 - Add imgRequest.cpp to unified sources. r=tn
...
MozReview-Commit-ID: B87v26HNtBn
2017-03-20 14:28:41 -07:00
Eric Rahm
e9c6b8a437
Bug 943686 - Add imageLoader.cpp to unified sources. r=tn
...
MozReview-Commit-ID: G9sFOtbFYjP
2017-03-20 14:28:40 -07:00
Andrew Osmond
8d948fcc67
Bug 1074192 - Hold the mutex in imgFrame when creating a DrawableFrameRef. r=tnikkel
2017-03-15 08:08:47 -04:00
Markus Stange
730b4fc829
Bug 1339897 - Rename PROFILER_LABEL_PRINTF to PROFILER_LABEL_DYNAMIC and make it really cheap. r=Ehsan,njn
...
Instead of copying and concatenating strings into an mDest buffer in
SamplerStackFramePrintfRAII, require callers to keep the string buffer alive
for the duration of the current scope, and store the pointer to the annotation
string in the ProfileEntry. During stackwalking, concatenate the label and the
annotation (separated by a space) and store the resulting string in the
profile buffer.
MozReview-Commit-ID: GEjcLrhhdvb
--HG--
extra : rebase_source : 683749421ee2122805a249cf413e882ee5f33331
2017-03-22 19:37:33 -04:00
Shing Lyu
dd757845af
Bug 1349130 - Fixed wrong reference files in reftest-stylo.list r=heycam
...
MozReview-Commit-ID: LRcPOPzVWFK
--HG--
extra : rebase_source : bb1fcb460c8e60aef420352f94d03046cf5bbe0c
2017-03-21 16:01:50 +08:00
Ehsan Akhgari
f4a03626ab
Bug 1347400 - Add telemetry for imgLoader::LoadImage(); r=mystor,francois
2017-03-17 21:19:21 -04:00
Timothy Nikkel
e9cd32eecd
Bug 1343341. Fix a bug with redecoding images whose animation is finished. r=aosmond
...
For animated images with finite animations we can finish running their animation. At which point we won't call RequestRefresh, and so we will never mark the composited frame as valid (since that is the only place we do that).
To fix this we mark the composited frame as valid when we finish decoding.
But we can do better than that, we can mark the composited frame as valid immediately when we create a new decoded since we are just drawing the final frame from now on.
2017-03-17 00:41:44 -05:00
Carsten "Tomcat" Book
023d5aecd1
Merge mozilla-central to mozilla-inbound
2017-03-16 15:39:58 +01:00
Timothy Nikkel
23f3425afe
Bug 1343341. Only set the animation state as discarded if we discarded the animated frames (and not a static frame from a first-frame-only decode). r=aosmond
...
The SurfaceCache can hold the first frame of a "static" decode as well as the animated frames in two seperate entries. We only care about what happens to the animated frames, so ignore OnSurfaceDiscarded for anything else.
To accomplish this we must pass the SurfaceKey to OnSurfaceDiscarded.
2017-03-16 03:06:06 -05:00
Timothy Nikkel
d69ec52e66
Bug 1343341. Create state on the AnimationState object to track whether the image is decoded or not. r=aosmond
...
We end up needing to track a few different things.
The large comment in the patch explains.
2017-03-16 03:06:04 -05:00
Andrew Osmond
d93e9c00e1
Bug 1298652 - Allow 64k width/height images to be rendered. r=jrmuizel
...
MozReview-Commit-ID: DIK9y9acV0M
--HG--
extra : rebase_source : 55129089afacd7a4a932a1ada59d366db54ea33a
2016-09-01 07:32:02 -04:00
Timothy Nikkel
39e0784bbd
Bug 1346510. Don't allow the surface cache to unlock the animated frames of an animated image (when discarding of animated images is disabled). r=aosmond
...
The pref has never been enabled, so this is quite surprising!
It is currently possible (and has been for quite a while) to discard animated images. All we need is the follow sequence of events.
1. Decode an animated image.
2. Move the animated image out of view (so it is not painted).
3. Call canvas.drawImage on the animated image (or anything else that asks for a first frame only decode). This creates a static entry in the surface cache for this first frame in addition to the animated entry. Because it is a static request we will also start a first frame decode. RasterImage::Decode calls SurfaceCache::UnlockEntries
https://dxr.mozilla.org/mozilla-central/rev/4ceb9062ea8f4113bfd1b3536ace4a840a72faa7/image/RasterImage.cpp#1166
and bam, the animated frames are now unlocked (even though the RasterImage, and it's entry in the surface cache is still locked).
4. Switch tabs, open about:memory and minimize memory to actual throw away the animated frames.
5. Switch back to the image tab, scroll the image back into view, it will not animate, it will just show the last composited frame forever.
2017-03-14 01:11:44 -05:00
Carsten "Tomcat" Book
c1edc7067d
merge mozilla-inbound to mozilla-central a=merge
2017-03-13 15:22:26 +01:00
Jonathan Watt
fd1c7c2bfb
Bug 1345675 - Some cleanup and optimization of VectorImage::Draw. r=dholbert
2017-02-06 11:21:49 +00:00
Jonathan Watt
94608339b3
Bug 1058040, part 12 - Make SVGImageContext's ctor's aViewportSize parameter optional. r=dholbert
2017-01-30 13:25:00 +00:00
Andrea Marchesini
e9195daa8d
Bug 1345168 - Get rid of OriginAttributes::Inherit, r=tjr
2017-03-08 07:41:51 +01:00
Wei-Cheng Pan
a6dc7e9508
Bug 1310127 - Part 14: Use MOZ_MUST_USE in netwerk/protocol/http r=tnikkel
...
MozReview-Commit-ID: Gvv80wYQ7JI
--HG--
extra : rebase_source : c5cc6b3df2f308e5f825568e731c7a15a5e2e6d7
2016-12-20 11:51:33 +08:00
Christoph Kerschbaumer
b76ecf1eed
Bug 1314356: Do not reuse insecure chached image when upgrade-insecure-requests is present. r=dveditz
2017-03-02 14:08:19 +01:00
Timothy Nikkel
d58225c24c
Backed out changeset 7f13c7a84acb (bug 1343341) for hitting a fatal assert that it added in RasterImage::OnSurfaceDiscard sometimes on android reftests.
2017-03-02 02:24:29 -06:00
Timothy Nikkel
add901e3a2
Bug 1343341. Include gfxPref.h to fix build bustage.
2017-03-01 23:05:44 -06:00
Timothy Nikkel
558fc1aa45
Bug 1343341. Create state on the AnimationState object to track whether the image is decoded or not. r=aosmond
...
We end up needing to track a few different things.
The large comment in the patch explains.
2017-03-01 22:45:54 -06:00
Timothy Nikkel
362304b8ee
Bug 1343341. Rename mDoneDecoding to mHasBeenDecoded. r=aosmond
...
When we allow animated images to be discarded we still want to track if the image has been fully decoded before, but it would be confusing to say that it is "done decoding" because that sounds like the image is currently decoded, even though it could be discarded at the time.
2017-03-01 22:45:54 -06:00
Iris Hsiao
72a190810a
Backed out changeset 588c44c7a966 (bug 1058040)
...
CLOSED TREE
--HG--
extra : amend_source : 722708bf80daf7d52f18400e4924a77d2aca1b5c
2017-03-02 11:24:33 +08:00
Jonathan Watt
5680a225ba
Bug 1058040, part 12 - Make SVGImageContext's ctor's aViewportSize parameter optional. r=dholbert
2017-01-27 02:22:43 +00:00
Manish Goregaokar
5ce0fe128d
Bug 1341102 - Update stylo test expectations; r=bustage
...
MozReview-Commit-ID: 3zIi8Yu1GJO
2017-03-13 01:04:58 -07:00
Masatoshi Kimura
f8d49baa72
Bug 591822 - reftest to make sure images taller or wider than 32767 pixels will be rendered
...
MozReview-Commit-ID: Ev4GmwYyaNu
--HG--
extra : rebase_source : cec392d175426b5098a276b4b26a159d3995ae04
extra : source : 73d66d989fd4ba39a8f53bac1f828f826f849b26
2016-08-28 00:39:52 +09:00
Marco Bonardo
8f195f698d
Bug 1337829 - ImageOps:DecodeToSurface may assert on a complete Sourcebuffer if ImageLib was not initialized. r=tnikkel
...
MozReview-Commit-ID: 5GBMnretTbS
--HG--
extra : rebase_source : 60ede8400085de8ea2ec04b56da3aac702b393e1
2017-02-24 16:38:24 +01:00
Masatoshi Kimura
7be7b11a1c
Bug 1342144 - Remove version parameter from the type attribute of script elements. r=jmaher
...
This patch is generated by the following sed script:
find . ! -wholename '*/.hg*' -type f \( -iname '*.html' -o -iname '*.xhtml' -o -iname '*.xul' -o -iname '*.js' \) -exec sed -i -e 's/\(\(text\|application\)\/javascript\);version=1.[0-9]/\1/g' {} \;
MozReview-Commit-ID: AzhtdwJwVNg
--HG--
extra : rebase_source : e8f90249454c0779d926f87777f457352961748d
2017-02-23 06:10:07 +09:00
Boris Zbarsky
5f864e31c5
Reenable several crashtests that no longer crash or leak or time out with stylo. No bug, r=bzbarsky
...
MozReview-Commit-ID: 88XjZyn4mnv
2017-02-24 15:22:37 -05:00
Carsten "Tomcat" Book
afda854868
Merge mozilla-central to mozilla-inbound
2017-02-23 15:28:43 +01:00
Andrew Osmond
13df27efb8
Bug 1341624 - Include shared handle totals in memory reports for images. r=tnikkel
2017-02-22 09:30:22 -05:00
Jonathan Watt
5f9f6f851b
Bug 1341179 - Simplify SVGDrawingCallback's mViewport from IntRect to IntSize. r=dholbert
2017-01-25 08:18:13 +00:00
Boris Zbarsky
a11bfd53bd
Bug 1341988. Reenable a bunch of stylo reftests that were disabled for reasons that are not relevant anymore. r=bz
...
MozReview-Commit-ID: CLqLHexhBX3
--HG--
extra : rebase_source : 07dfb89d0651240362395494fdd7ee94363430b6
2017-02-23 02:09:57 -05:00
Manish Goregaokar
260e308c26
Bug 1338936 - Part 4: stylo: Update reftest results; r=emilio
...
MozReview-Commit-ID: 6wg32flypt7
2017-02-19 14:03:48 -08:00
Sebastian Hengst
a793db28eb
Backed out changeset 2d887234705f (bug 1338936)
2017-02-19 10:37:16 +01:00
Manish Goregaokar
a6f7209030
Bug 1338936 - Part 4: stylo: Update reftest results; r=emilio
...
MozReview-Commit-ID: 6wg32flypt7
2017-02-18 21:57:58 -08:00
Wes Kocher
8c4ce17711
Merge inbound to m-c a=merge
...
MozReview-Commit-ID: DCUf7VEDrTt
2017-02-17 13:38:51 -08:00
Vedant Sareen
7d4bd52fae
Bug 1330907 - Rename Telemetry::ID to Telemetry::HistogramID. r=dexter
...
Changed |print("enum ID : uint32_t {", file=output)| to |print("enum HistogramID : uint32_t {", file=output)| at line 53 of the file |toolkit/components/telemetry/gen-histogram-enum.py|, and then replaced all the textual occurrences of |Telemetry::ID| to |Telemetry::HistogramID| and |ID| to |HistogramID| in 43 other files.
2017-02-16 00:45:15 +05:30
Wes Kocher
3797956aa6
Merge m-c to inbound a=merge
...
MozReview-Commit-ID: BemR756HJnR
2017-02-15 16:33:03 -08:00
Wes Kocher
017c515285
Merge inbound to m-c a=merge
...
MozReview-Commit-ID: IKI0zVtF1n9
2017-02-15 16:18:13 -08:00
Bill McCloskey
194043ae97
Bug 1339289 - Give names to a lot of common runnables (r=ehsan)
...
MozReview-Commit-ID: 5IdvK6kgoAW
2017-02-15 12:30:01 -08:00
Andrew Osmond
4f8eb1363e
Bug 1339202 - Decode images to shared surfaces for WebRender. r=tnikkel
2017-02-08 15:48:59 -05:00
Carsten "Tomcat" Book
ed3d8d8286
merge mozilla-inbound to mozilla-central a=merge
2017-02-15 12:21:44 +01:00
Jeff Walden
ca2e1ac4c0
Bug 1287006 - Don't pass Maybe by value in miscellaneous places. r=froydnj
...
--HG--
extra : rebase_source : 145f2fc605ff917d3067826a9daebdce07bde02a
2017-02-13 09:07:40 -08:00
Daniel Holbert
452a3b8454
Bug 1339609: Add #include for gfxPrefs.h to all source code that calls gfxPrefs APIs. r=jgilbert
...
MozReview-Commit-ID: GxWehmDYB3t
--HG--
extra : rebase_source : cd994e5c6abf777f77c5a708cbfb2f6afc49a44c
2017-02-14 14:01:59 -08:00
Jeff Walden
d7372e37d9
Bug 1338374 - Use alignas/alignof to define Variant's internal raw storage. r=froydnj
...
--HG--
extra : rebase_source : a75613ba7c17ceccf20e6f096a118bfedfa1eb15
2017-01-30 15:56:05 -08:00
Andrew Osmond
42d8ee76ab
Bug 1290293 - Part 2f. Assert there is no frame on the finish decoding error path. r=tnikkel
2017-02-10 08:33:11 -05:00
Sylvestre Ledru
a54302b9d6
Bug 1338086 - Remove useless else blocks in order to reduce complexity image/ r=dholbert
...
MozReview-Commit-ID: 8qUQk8w0QSk
--HG--
extra : rebase_source : c7451383027a14144490d2a8d2639f73cead1a5c
2017-02-10 13:52:27 +01:00
Tom Tromey
5f8f360823
Bug 1060419 - make log_print use Printf.h, r=froydnj
...
MozReview-Commit-ID: BIZ1GQEZ1vs
--HG--
extra : rebase_source : 2f1f0aa12493c44f352d9a7e8683e7bb72d2d75b
2016-12-15 20:16:31 -07:00
Tom Tromey
f8ab4ddf02
Bug 1060419 - remove unneeded includes of prprf.h, r=froydnj
...
MozReview-Commit-ID: JifhpA3oOeH
--HG--
extra : rebase_source : 08460997dc3fd91f3065c718e17b41bb4acf8bae
2016-12-09 10:00:01 -10:00
Phil Ringnalda
c7b01ecbda
Backed out 5 changesets (bug 1290292, bug 1290293) for gfx assertions
...
CLOSED TREE
Backed out changeset 652c909b75ad (bug 1290293)
Backed out changeset 90a284ea19e3 (bug 1290292)
Backed out changeset 8401d12fe936 (bug 1290293)
Backed out changeset d87488b69c18 (bug 1290293)
Backed out changeset 7368aa665fae (bug 1290293)
2017-02-13 19:28:45 -08:00
Andrew Osmond
e7ce25346c
Bug 1290293 - Part 2c. Make nsGIFDecoder2 use B8G8R8X8 only for unpaletted frames. r=tnikkel
2016-11-03 10:32:21 -04:00
Cameron McCormack
058a689aa1
Bug 1338872 - stylo: Test expectation adjustments. r=bholley
...
MozReview-Commit-ID: 4q7NJJrpX7q
--HG--
extra : rebase_source : 98279628439e6d432794e726955605d6f1358b10
2017-02-12 17:23:14 +08:00
Kartikaya Gupta
96c394d70c
Merge m-c to graphics
...
MozReview-Commit-ID: AXRXwXgkOTv
2017-02-10 13:57:53 -05:00
Kartikaya Gupta
61bc491994
Merge m-c to graphics
...
MozReview-Commit-ID: Ejcj1CD87t3
2017-02-09 10:12:03 -05:00
Ryan Hunt
963025a5dd
Merge m-c to graphics
2017-02-08 10:57:06 -06:00
Ryan Hunt
5e2990dc18
Merge m-c to graphics
2017-02-07 09:05:18 +00:00
Tim Huang
756cf900c9
Bug 1336802 - Part 2: Updating the whole code base to make sure nsILoadInfo get null check. r=smaug
...
--HG--
extra : rebase_source : 22149fd540fd02119afe9fe5c9a815d01cf959c1
2017-02-07 11:49:34 +08:00
Kartikaya Gupta
bf7599ac75
Merge m-c to graphics
...
MozReview-Commit-ID: 8BjfShvh5gp
2017-02-03 10:39:57 -05:00
Patrick McManus
d986482512
Bug 1333142 - audit asyncopen2 impls for callback release on failure r=dragana
2017-02-08 12:55:15 -05:00
Kartikaya Gupta
21e9123c56
Merge m-c to graphics
...
MozReview-Commit-ID: 3tWI3srj2uj
2017-02-01 08:48:31 -05:00
Kartikaya Gupta
1c269ab364
Merge m-c to graphics
...
MozReview-Commit-ID: 7PVyxahE0p6
2017-01-31 09:04:18 -05:00
Kartikaya Gupta
445dea068b
Merge m-c to graphics
...
MozReview-Commit-ID: Kv6GW5ElioD
2017-01-29 08:03:30 -05:00
Phil Ringnalda
5ee174a663
Backed out 5 changesets (bug 1330962) for failures in display-block-baselines-1.html and 315920-17.html
...
CLOSED TREE
Backed out changeset 71c277105903 (bug 1330962)
Backed out changeset 8cfebee598a6 (bug 1330962)
Backed out changeset 2394701998b2 (bug 1330962)
Backed out changeset 0b92b30ed1d3 (bug 1330962)
Backed out changeset cc7508381dc1 (bug 1330962)
2017-01-27 20:30:07 -08:00
Ryan Hunt
3fe2c02ee1
Merge m-c to graphics
2017-01-27 10:07:37 -06:00
Kartikaya Gupta
ca041b7c5a
Merge m-c to graphics
...
MozReview-Commit-ID: FOyS87VawTT
2017-01-25 08:52:04 -05:00
Florian Quèze
0e0865f4fc
Bug 1331599 - script-generated patch to replace removeEventListener calls with the once option when possible, r=jaws.
2017-01-25 07:01:52 +01:00
Kartikaya Gupta
90ff407202
Merge m-c to graphics
...
MozReview-Commit-ID: Gds3AlDHXgY
2017-01-20 10:07:40 -05:00
Cameron McCormack
9c4ea5685f
Bug 1334768 - stylo: Back out 800030115d2e and 404506488cfb for being completely wrong due to bug 1334938.
...
MozReview-Commit-ID: 8CGTqmtlguT
2017-01-30 16:49:54 +08:00
Cameron McCormack
35486c881a
Bug 1334768 - stylo: More reftest expectation adjustments for 2017-01-29 merge.
...
MozReview-Commit-ID: 8TT4JzUIBZl
2017-01-30 10:53:58 +08:00
Mats Palmgren
9fb7c1b523
Bug 1330962 part 4 - Cleanup some #includes and make nsLegendFrame 'final'. r=dholbert
2017-01-28 02:34:14 +01:00
Cameron McCormack
7805d4716e
Bug 1334768 - stylo: Test expectation adjustments for 2017-01-29 merge.
...
MozReview-Commit-ID: FFmvs6SHIwW
2017-01-29 15:31:56 +08:00
Kartikaya Gupta
a5594122e3
Merge m-c to graphics
...
MozReview-Commit-ID: D0L4I5rdVli
2017-01-19 10:43:00 -05:00
Kartikaya Gupta
b66c471aef
Merge m-c to graphics
...
MozReview-Commit-ID: LyU2woFOt7O
2017-01-18 13:48:56 -05:00
Mark Banner
16e6d381ac
Bug 503613 - Remove old 'tail =' lines from xpcshell.ini files; r=gps
...
MozReview-Commit-ID: 62Hp5ISxowJ
--HG--
extra : rebase_source : daa8efb3409031fea553f4fd0c9d0746e38dc308
extra : histedit_source : b4c23aacf678ba0d0ac9c09191a7c494ead11a08
2017-01-18 10:30:39 +00:00
Ryan Hunt
5d82b6b00b
Bug 1328893 - Specify an ImageRendering for some WebRenderLayers r=kats
...
--HG--
extra : rebase_source : 7f5cc7445e156b47c2210d36d1db8eb35c8b1a44
extra : amend_source : 2d418c013850f2fff88596599bc2622a5eb82b2c
2017-01-13 11:59:07 -06:00
Mats Palmgren
1f6eeef935
Bug 1330962 part 4 - Cleanup some #includes and make nsLegendFrame 'final'. r=dholbert
2017-01-28 02:34:14 +01:00
Andrew Osmond
945fae0492
Backed out changeset 53fee347291b (bug 1331938) r=backout
2017-01-27 09:15:52 -05:00
Andrew Osmond
cb555a4ef6
Bug 1331938 - Part 2. Add SourceSurfaceSharedData, a shared data backed DataSourceSurface. r=nical
2017-01-18 10:12:32 -05:00
Andrew Osmond
48eeda9e2c
Bug 1331938 - Part 2. Add SourceSurfaceSharedData, a shared data backed DataSourceSurface. r=nical
2017-01-18 10:12:32 -05:00
Andrew Osmond
ae74757a34
Bug 1335045 - Make SurfaceCache mutex static to robustly control access to the image cache. r=tnikkel
2017-01-31 07:41:14 -05:00
Andrew Osmond
c31478a16b
Bug 1331938 - Part 3. Switch to using VolatileSourceSurface instead of VolatileBuffer directly in imgFrame. r=tnikkel
2017-01-18 13:31:20 -05:00
Jonathan Watt
e61c653d41
Bug 1058040, part 10 - Allow SVGImageContext to store an SVGContextPaint and have VectorImage propagate it. r=dholbert
2017-01-11 01:48:29 +00:00
Jonathan Watt
927266bad9
Bug 1058040, part 6 - When copying SVGImageContexts use the copy ctor. r=dholbert
...
Prior to this patch whenever we wanted to pass on a modified SVGImageContext
we would pass on a new object initialized with some of the data of the object
we were given and with the new data we wanted to change. Unfortunately we
were sometimes failing to faithfully copy member data that we do not want
to modify (because of default arguments). This patch fixes that by making us
fully copy the object we were given using its copy constructor and then
explicitly override the data we want to change.
2017-01-09 19:12:02 +00:00
Nicholas Nethercote
22b6d342d7
Bug 1333296 (part 1) - Rename MOZ_ENABLE_PROFILER_SPS as MOZ_GECKO_PROFILER. r=mstange,glandium.
...
--HG--
extra : rebase_source : 223f3a17f009645369be503392cc1f0cea7f19a1
2017-01-24 14:15:12 +11:00
Florian Quèze
85611a7b6d
Bug 1331081
- script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws.
...
--HG--
extra : rebase_source : a22344ee1569f58f1f0a01017bfe0d46a6a14602
2017-01-17 11:50:25 +01:00
Wes Kocher
6ff8201ffe
Merge inbound to central, a=merge
...
MozReview-Commit-ID: 4mN7daXzULJ
2017-02-08 16:08:42 -08:00
Andrew Osmond
6dc0c7d3e0
Bug 1337790 - Fix null pointer dereference when a frame has no surface and one is requested. r=me
2017-02-08 10:51:08 -05:00
Marco Bonardo
da3a159603
Bug 1337829 - ImageOps::DecodeToSurface tries to complete an already complete Sourcebuffer.r=aosmond
...
MozReview-Commit-ID: 18OM4WgQNud
--HG--
extra : rebase_source : f5491533d7497c2b4e610d83d34a3b3f5c46c87f
2017-02-08 17:33:39 +01:00
Kartikaya Gupta
1af1a82edf
Bug 1312319 - Add a NS_INLINE_DECL_PURE_VIRTUAL_REFCOUNTING macro and replace existing pure-virtual AddRef/Release declarations. r=froydnj
...
MozReview-Commit-ID: 5yt3O4Hoois
--HG--
extra : rebase_source : 5dad12cd8400b8a783e8407de874d4b7c75cb645
2017-01-25 14:51:34 -05:00
Andrea Marchesini
359ae91eac
Bug 1328653 - Merging all the various *OriginAttributes to just one, r=huseby
2017-01-12 17:38:48 +01:00
Bill McCloskey
8ebd98768a
Back out bug 1323207, part 2 - Assert early if we're painting at various points we enter JS (a=backout)
...
This reverts commit cc6bc31c9f3fb10877292b31c1cf26927856a837.
MozReview-Commit-ID: Dljoh4lYVZ9
2017-01-11 13:20:21 -08:00
Geoff Brown
d11d18336a
Bug 1328771 - Run reftests on tc linux32; r=jmaher
2017-01-11 13:47:06 -07:00
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
Andrew McCreight
55073ae53d
Bug 1333974, part 2 - Use new API for images. r=tnikkel
...
MozReview-Commit-ID: CmjVpXAFmjx
--HG--
extra : rebase_source : 16349f1628e54ed59df3003ab6dca1b7aa12cc7d
2017-01-31 11:34:01 -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
Timothy Nikkel
e1b5e6ec5d
Bug 1323877. r=aosmond
2017-01-08 22:04:19 -06:00
Iris Hsiao
7e248d8cc9
Merge mozilla-central to autoland
2017-01-06 11:13:22 -05:00
Markus Stange
2e1ec8d9dd
Bug 1323100 - Use nsThreadPoolNaming::GetNextThreadName and NS_NewNamedThread in the DecodePool. r=froydnj
...
MozReview-Commit-ID: CAbaAe0bKe8
--HG--
extra : rebase_source : c0329013903fa27812291ad0801c032a86740ee9
2016-12-20 14:20:48 +01: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
Wes Kocher
0f254a30d6
Merge inbound to central, a=merge
...
MozReview-Commit-ID: 1ij6nLf8f8s
2017-01-05 17:30:35 -08:00
cku
09c56e6da6
Bug 1323912 - Part 2. Pass opacity down to imgIContainer::Draw. r=mstange
...
Each concrete class of imgIContainer is able to handle opacity already. All we
need to do is pass opacity value to them.
MozReview-Commit-ID: EMkLnG3YXA1
--HG--
extra : rebase_source : b0a0aad1fec0c2765e96d23ed9b627345c793795
2017-01-03 13:53:22 +08:00
Iris Hsiao
c8e876e89c
Backed out changeset c868ab532766 (bug 1323912)
2017-01-04 21:47:12 -05:00
cku
adab9bea9f
Bug 1323912 - Part 2. Pass opacity down to imgIContainer::Draw. r=mstange
...
Each concrete class of imgIContainer is able to handle opacity already. All we
need to do is pass opacity value to them.
MozReview-Commit-ID: EMkLnG3YXA1
--HG--
extra : rebase_source : 080a843b34cc1ca27831310d474243b4066f59f2
2017-01-03 13:53:22 +08:00
Masatoshi Kimura
0c6dc2ea73
Bug 1323683 - Fold nsIURIWithQuery into nsIURI. r=valentin.gosu
...
MozReview-Commit-ID: BFfgr42sNyx
--HG--
extra : rebase_source : a28d6a3c96f0c86dd7269147f130b3195b1f1faf
2016-12-28 20:40:21 +09:00
Wes Kocher
26a1ba5c14
Backed out 27 changesets (bug 1323100) for clipboard leaktest failures a=backout
...
Backed out changeset 84fb749698ab (bug 1323100)
Backed out changeset d6d25e8bd001 (bug 1323100)
Backed out changeset 1b0855bb0c38 (bug 1323100)
Backed out changeset b6953e3f5739 (bug 1323100)
Backed out changeset 5572f3b63215 (bug 1323100)
Backed out changeset 12fb4c533659 (bug 1323100)
Backed out changeset c36524e4e919 (bug 1323100)
Backed out changeset 1e3b3eddbe26 (bug 1323100)
Backed out changeset 061110f1ae12 (bug 1323100)
Backed out changeset 413dbd31725b (bug 1323100)
Backed out changeset 06550f7eca62 (bug 1323100)
Backed out changeset 940933b13b36 (bug 1323100)
Backed out changeset a6d75c1cd724 (bug 1323100)
Backed out changeset 681cacbbaa3b (bug 1323100)
Backed out changeset 3d53787293f6 (bug 1323100)
Backed out changeset c0340dfe4766 (bug 1323100)
Backed out changeset 9f554991549d (bug 1323100)
Backed out changeset 757539e7039a (bug 1323100)
Backed out changeset a3c9b45aa917 (bug 1323100)
Backed out changeset 23d69df98a66 (bug 1323100)
Backed out changeset 1297ded6a01d (bug 1323100)
Backed out changeset f4235b97257f (bug 1323100)
Backed out changeset 93419cb4f29f (bug 1323100)
Backed out changeset 865d1b81c804 (bug 1323100)
Backed out changeset 54acf4ef8e84 (bug 1323100)
Backed out changeset 88d17bcd8205 (bug 1323100)
Backed out changeset 0c466e5e8933 (bug 1323100)
2016-12-29 16:28:36 -08:00
Markus Stange
67aee994bd
Bug 1323100 - Use nsThreadPoolNaming::GetNextThreadName and NS_NewNamedThread in the DecodePool. r=froydnj
...
MozReview-Commit-ID: CAbaAe0bKe8
--HG--
extra : rebase_source : bc0db71ff4dd1031ea74c292b2162e0ac8f302f2
2016-12-20 14:20:48 +01:00
Markus Stange
1b72f37c98
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 : ad47978ef81d048a90b9803803201eee32974024
2016-12-21 11:43:50 +01:00
Cameron McCormack
babad063ff
Bug 1328832
- Part 2: Rename mozFlushType to mozilla::FlushType and make it an enum class. r=bzbarsky
...
MozReview-Commit-ID: D3fIngSHSsl
2017-01-05 15:31:56 +08:00
Timothy Nikkel
5b5403b0a2
Bug 1323875. r=aosmond
2017-01-05 22:46:11 -06:00
Thomas Nguyen
0aaea58b69
Bug 1304623 - Create a pref to control the default referrer policy - part 3. r=bkelly
...
MozReview-Commit-ID: 1A6IHPeNYBQ
2017-01-05 11:29:56 +08:00
Andrew Osmond
136381647d
Bug 1290293 - Part 4. Remove surface buffer initialization for raster images.
2016-08-18 09:55:45 -04:00
Andrew Osmond
809e33acf0
Bug 1290292 - Part 3. Add/update image gtests.
2017-02-13 19:51:40 -05:00
Andrew Osmond
ca5d0ac0fd
Bug 1290293 - Part 2a. Make nsPNGDecoder clear on which surface format is being used. r=tnikkel
2016-08-18 09:55:45 -04:00
Andrew Osmond
6679005d2a
Bug 1290293 - Part 2e. Make SurfacePipe users clear unwritten pixels if the image is truncated. r=tnikkel
2016-08-18 09:55:45 -04:00
Andrew Osmond
57499ffb90
Bug 1320684 - Start metadata decoding when the first data chunk has been received. r=tnikkel
2016-11-28 08:42:55 -05:00
Andrew Osmond
ef3aee28a1
Bug 1332005 - Remove opaque BGRA8 image surface optimization. r=tnikkel
2017-01-18 12:52:42 -05:00
Florian Quèze
2cf30507bd
Bug 1334261 - script-generated patch to remove more newURI null parameters, r=jaws.
2017-01-27 10:51:02 +01:00
Andrew Osmond
f6a09f3997
Bug 1290293 - Part 2d. Make nsJPEGDecoder clear unwritten pixels if the image is truncated. r=tnikkel
2016-08-18 09:55:45 -04:00
Andrew Osmond
bd54fc7365
Bug 1290293 - Part 2b. Make nsBMPDecoder explicitly write transparent pixels for those skipped by delta encoding. r=tnikkel
2017-02-13 19:51:40 -05:00
Sebastian Hengst
3ce82bcd4f
Backed out changeset 45dd83a63162 (bug 1339202) for crashing in image processing related tests, e.g. xpcshell test test_imgtools.js. r=backout
2017-02-13 22:34:54 +01:00
Andrew Osmond
1683b602b4
Bug 1339202 - Decode images to shared surfaces for WebRender. r=tnikkel
2017-02-08 15:48:59 -05:00
Timothy Nikkel
748db52939
Bug 1325297. Create a variant of imgIContainer::StartDecoding that returns if the current image frame is complete. r=aosmond
...
During painting we do some image decoding, but we want to send the image progress notifications from that decoding async. The CSS image renderer checks if the image is complete before painting it. So if the decoding we did during painting resulted in the images becoming complete there is no way to tell that during the same paint. Thus making that decoding a waste of time.
So we add a limited way of telling if the result of a StartDecoding call has resulting in an image that is ready to paint so we can get that result during the same paint.
I would have prefered to change StartDecoding to just return a bool but that would have made the bool an outparam, which would make every StartDecoding call uglier with extra code. Changing it to a notxpcom function would have fixed that, but I'm not sure if that is safe.
2016-12-23 01:07:45 -06:00
Timothy Nikkel
b46e1a9d16
Bug 1325296. RasterImage::LookupFrame does not return a surface if it was created as a result of a sync decode from with the FLAG_SYNC_DECODE_IF_FAST flag. r=aosmond
...
The Decode call may result in synchronously creating the surface, but we only check again if the surface is there for FLAG_SYNC_DECODE, not FLAG_SYNC_DECODE_IF_FAST.
All of the decoding we do during painting is of the type FLAG_SYNC_DECODE_IF_FAST, which means it would be useless to do that decoding synchronously during painting because the paint doesn't benefit from the result of that decoding.
Looking at the history of this code it looks like https://hg.mozilla.org/mozilla-central/rev/435df926eb10 (part 6 of bug 1119774) was where this bug was introduced. Before that changeset we always did another LookupFrameInternal call after the Decode (called WantDecodedFrames back then). But that changeset changed it to only be done for standard sync decodes, not "sync decode if fast".
2016-12-22 13:15:41 -06:00
Yoshi Huang
2ceecc22f5
Bug 1324115 - Part 2: replace the callers to use C++ helper. r=smaug
2016-12-21 14:59:21 +08:00
Timothy Nikkel
3428a70b8d
Bug 1324642. Move assert from bug 1323207 from nsImageLoadingContent::Notify to ScriptedNotificationObserver. r=continuation
...
nsImageLoadingContent::Notify is where all image notifications for things like <img> elements go through. The vast majority being implemented in C++. Any image observers implemented in JS must go through ScriptedNotificationObserver.
We only use ScriptedNotificationObserver in tests. The addon repository only has six hits, and four of them seem to be different versions of the same addon. And they don't seem to be among the more popular addons.
The original location of the assert only caught some images anyway. Things like CSS background images don't go through nsImageLoadingContent. ProgressTracker is the origin of all image notifications.
2016-12-20 13:49:31 -06: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
Martin Husemann
6a9a8c76b3
Bug 1322112. Use memcpy() instead of dereferencing a casted pointer where the cast would increase alignement requirements on some architectures in nsIconDecoder. r=tnikkel
2016-12-08 14:10:58 -06:00
Timothy Nikkel
04b319ae6d
Bug 1322435. Limit the number of image decoding threads we use in the parent process. r=aosmond
...
There aren't as many images in chrome to decode, and they aren't as big, so we don't need as many threads.
2016-12-08 18:20:13 -06:00
a13d957952
Bug 1321877
. Fix compiler warnings in Downscaler.h when skia is not enabled. r=tnikkel
2016-12-08 18:20:12 -06:00
Timothy Nikkel
9ba87d3afb
Bug 1321946. Adjust asserts about the progress of an image to deal with how multipart images are handled. r=aosmond
...
For multipart images we create a MultipartImage which contains each part. Each part in turn is a VectorImage or RasterImage. The MultipartImage and each part image all have their own ProgressTracker. The ProgressTracker for the MultipartImage observes the notifications of each part image via the IProgressObserver interface. This interfaces notably has no way to notify about an image error. So when a part image has an error it never gets propagated to the MultipartImage's ProgressTracker. This confuses our assertions about consistency of progress notifications. In this case we expect that when we get the load complete notification then we either have the size of the image or we encountered an error. So if the first part of a multipart image is broken and we are unable to get a size from it we will trigger this assertion.
There are two ways to fix this. One would be to propagate errors to the MultipartImage's ProgressTracker. This would put the ProgressTracker for the MultipartImage permanently into error state and prevent showing the images from the remaining parts if one part image had an error.
So in this patch I create a way to tell a ProgressTracker that is is for a multipart image, and use that to relax the assertions. As far as I can tell our code should be able to handle "ignoring" an error in a bad part image.
Addtionaly there is a way that an error flag can get propagated to the MultipartImage's tracker: in MultipartImage::FinishTransition we get the progress directly from the part image and notify for it. This seems like an oversight as the comment at
https://dxr.mozilla.org/mozilla-central/rev/bfa85d23df57c8a1db17c99b267667becc1c4afd/image/imgRequest.cpp#989
indicates that we don't want one bad part to prevent later parts from displaying. So we add the error flag to the ones we filter out when we propagate progress.
2016-12-03 16:07:10 -06:00
Timothy Nikkel
3027ea82cf
Bug 1317837. RasterImage::RequestDecodeForSize should set mWantFullDecode just like StartDecoding if we don't have our size yet. r=aosmond
2016-12-01 15:52:06 -06:00
Ryan VanderMeulen
9bd4ab78e6
Merge m-c to inbound. a=merge
2016-12-01 09:33:46 -05:00
Andrea Marchesini
8bbeee69cf
Bug 1321261 - create dom/file for File APIs, r=qdot
...
--HG--
rename : dom/base/BlobSet.cpp => dom/file/BlobSet.cpp
rename : dom/base/BlobSet.h => dom/file/BlobSet.h
rename : dom/base/File.cpp => dom/file/File.cpp
rename : dom/base/File.h => dom/file/File.h
rename : dom/base/FileList.cpp => dom/file/FileList.cpp
rename : dom/base/FileList.h => dom/file/FileList.h
rename : dom/base/FileReader.cpp => dom/file/FileReader.cpp
rename : dom/base/FileReader.h => dom/file/FileReader.h
rename : dom/base/MultipartBlobImpl.cpp => dom/file/MultipartBlobImpl.cpp
rename : dom/base/MultipartBlobImpl.h => dom/file/MultipartBlobImpl.h
rename : dom/base/MutableBlobStorage.cpp => dom/file/MutableBlobStorage.cpp
rename : dom/base/MutableBlobStorage.h => dom/file/MutableBlobStorage.h
rename : dom/base/MutableBlobStreamListener.cpp => dom/file/MutableBlobStreamListener.cpp
rename : dom/base/MutableBlobStreamListener.h => dom/file/MutableBlobStreamListener.h
rename : dom/ipc/Blob.cpp => dom/file/ipc/Blob.cpp
rename : dom/ipc/BlobChild.h => dom/file/ipc/BlobChild.h
rename : dom/ipc/BlobParent.h => dom/file/ipc/BlobParent.h
rename : dom/ipc/BlobTypes.ipdlh => dom/file/ipc/BlobTypes.ipdlh
rename : dom/ipc/PBlob.ipdl => dom/file/ipc/PBlob.ipdl
rename : dom/ipc/PBlobStream.ipdl => dom/file/ipc/PBlobStream.ipdl
rename : dom/ipc/nsIRemoteBlob.h => dom/file/ipc/nsIRemoteBlob.h
rename : dom/base/nsHostObjectProtocolHandler.cpp => dom/file/nsHostObjectProtocolHandler.cpp
rename : dom/base/nsHostObjectProtocolHandler.h => dom/file/nsHostObjectProtocolHandler.h
rename : dom/base/nsHostObjectURI.cpp => dom/file/nsHostObjectURI.cpp
rename : dom/base/nsHostObjectURI.h => dom/file/nsHostObjectURI.h
rename : dom/base/nsIDOMBlob.idl => dom/file/nsIDOMBlob.idl
rename : dom/base/nsIDOMFileList.idl => dom/file/nsIDOMFileList.idl
rename : dom/base/test/create_file_objects.js => dom/file/tests/create_file_objects.js
rename : dom/base/test/file_blobURL_expiring.html => dom/file/tests/file_blobURL_expiring.html
rename : dom/base/test/file_mozfiledataurl_audio.ogg => dom/file/tests/file_mozfiledataurl_audio.ogg
rename : dom/base/test/file_mozfiledataurl_doc.html => dom/file/tests/file_mozfiledataurl_doc.html
rename : dom/base/test/file_mozfiledataurl_img.jpg => dom/file/tests/file_mozfiledataurl_img.jpg
rename : dom/base/test/file_mozfiledataurl_inner.html => dom/file/tests/file_mozfiledataurl_inner.html
rename : dom/base/test/file_mozfiledataurl_text.txt => dom/file/tests/file_mozfiledataurl_text.txt
rename : dom/base/test/file_nonascii_blob_url.html => dom/file/tests/file_nonascii_blob_url.html
rename : dom/base/test/fileapi_chromeScript.js => dom/file/tests/fileapi_chromeScript.js
rename : dom/base/test/fileutils.js => dom/file/tests/fileutils.js
rename : dom/base/test/test_blobURL_expiring.html => dom/file/tests/test_blobURL_expiring.html
rename : dom/base/test/test_blob_fragment_and_query.html => dom/file/tests/test_blob_fragment_and_query.html
rename : dom/base/test/test_blobconstructor.html => dom/file/tests/test_blobconstructor.html
rename : dom/base/test/test_file_from_blob.html => dom/file/tests/test_file_from_blob.html
rename : dom/base/test/test_file_negative_date.html => dom/file/tests/test_file_negative_date.html
rename : dom/base/test/test_fileapi.html => dom/file/tests/test_fileapi.html
rename : dom/base/test/test_fileapi_slice.html => dom/file/tests/test_fileapi_slice.html
rename : dom/base/test/test_ipc_messagemanager_blob.html => dom/file/tests/test_ipc_messagemanager_blob.html
rename : dom/base/test/test_mozfiledataurl.html => dom/file/tests/test_mozfiledataurl.html
rename : dom/base/test/test_nonascii_blob_url.html => dom/file/tests/test_nonascii_blob_url.html
2016-12-01 15:12:42 +01:00
Shih-Chiang Chien
ad4d822074
Bug 1320256 - use PR_GetThreadName as the register name in profiler. r=cyu
...
MozReview-Commit-ID: Hybb1zElpSO
--HG--
extra : rebase_source : 7bd2485eba40e9c80810e8e844ecfc8f91600ced
2016-11-29 19:00:04 +08:00
Sebastian Hengst
2fff66aaac
Backed out changeset d3ef6f3e9193 (bug 1321261) for build bustage (calling missing file BlobParent.h from dom/ipc/TabParent.cpp). r=backout on a CLOSED TREE
...
--HG--
rename : dom/file/BlobSet.cpp => dom/base/BlobSet.cpp
rename : dom/file/BlobSet.h => dom/base/BlobSet.h
rename : dom/file/File.cpp => dom/base/File.cpp
rename : dom/file/File.h => dom/base/File.h
rename : dom/file/FileList.cpp => dom/base/FileList.cpp
rename : dom/file/FileList.h => dom/base/FileList.h
rename : dom/file/FileReader.cpp => dom/base/FileReader.cpp
rename : dom/file/FileReader.h => dom/base/FileReader.h
rename : dom/file/MultipartBlobImpl.cpp => dom/base/MultipartBlobImpl.cpp
rename : dom/file/MultipartBlobImpl.h => dom/base/MultipartBlobImpl.h
rename : dom/file/MutableBlobStorage.cpp => dom/base/MutableBlobStorage.cpp
rename : dom/file/MutableBlobStorage.h => dom/base/MutableBlobStorage.h
rename : dom/file/MutableBlobStreamListener.cpp => dom/base/MutableBlobStreamListener.cpp
rename : dom/file/MutableBlobStreamListener.h => dom/base/MutableBlobStreamListener.h
rename : dom/file/nsHostObjectProtocolHandler.cpp => dom/base/nsHostObjectProtocolHandler.cpp
rename : dom/file/nsHostObjectProtocolHandler.h => dom/base/nsHostObjectProtocolHandler.h
rename : dom/file/nsHostObjectURI.cpp => dom/base/nsHostObjectURI.cpp
rename : dom/file/nsHostObjectURI.h => dom/base/nsHostObjectURI.h
rename : dom/file/nsIDOMBlob.idl => dom/base/nsIDOMBlob.idl
rename : dom/file/nsIDOMFileList.idl => dom/base/nsIDOMFileList.idl
rename : dom/file/tests/create_file_objects.js => dom/base/test/create_file_objects.js
rename : dom/file/tests/file_blobURL_expiring.html => dom/base/test/file_blobURL_expiring.html
rename : dom/file/tests/file_mozfiledataurl_audio.ogg => dom/base/test/file_mozfiledataurl_audio.ogg
rename : dom/file/tests/file_mozfiledataurl_doc.html => dom/base/test/file_mozfiledataurl_doc.html
rename : dom/file/tests/file_mozfiledataurl_inner.html => dom/base/test/file_mozfiledataurl_inner.html
rename : dom/file/tests/file_mozfiledataurl_text.txt => dom/base/test/file_mozfiledataurl_text.txt
rename : dom/file/tests/file_nonascii_blob_url.html => dom/base/test/file_nonascii_blob_url.html
rename : dom/file/tests/fileapi_chromeScript.js => dom/base/test/fileapi_chromeScript.js
rename : dom/file/tests/fileutils.js => dom/base/test/fileutils.js
rename : dom/file/tests/test_blobURL_expiring.html => dom/base/test/test_blobURL_expiring.html
rename : dom/file/tests/test_blob_fragment_and_query.html => dom/base/test/test_blob_fragment_and_query.html
rename : dom/file/tests/test_blobconstructor.html => dom/base/test/test_blobconstructor.html
rename : dom/file/tests/test_file_from_blob.html => dom/base/test/test_file_from_blob.html
rename : dom/file/tests/test_file_negative_date.html => dom/base/test/test_file_negative_date.html
rename : dom/file/tests/test_fileapi.html => dom/base/test/test_fileapi.html
rename : dom/file/tests/test_fileapi_slice.html => dom/base/test/test_fileapi_slice.html
rename : dom/file/tests/test_ipc_messagemanager_blob.html => dom/base/test/test_ipc_messagemanager_blob.html
rename : dom/file/tests/test_nonascii_blob_url.html => dom/base/test/test_nonascii_blob_url.html
rename : dom/file/ipc/Blob.cpp => dom/ipc/Blob.cpp
rename : dom/file/ipc/BlobChild.h => dom/ipc/BlobChild.h
rename : dom/file/ipc/BlobParent.h => dom/ipc/BlobParent.h
rename : dom/file/ipc/BlobTypes.ipdlh => dom/ipc/BlobTypes.ipdlh
rename : dom/file/ipc/PBlob.ipdl => dom/ipc/PBlob.ipdl
rename : dom/file/ipc/PBlobStream.ipdl => dom/ipc/PBlobStream.ipdl
rename : dom/file/ipc/nsIRemoteBlob.h => dom/ipc/nsIRemoteBlob.h
2016-12-01 12:27:28 +01:00
Andrea Marchesini
5fa67a1046
Bug 1321261 - create dom/file for File APIs, r=qdot
...
--HG--
rename : dom/base/BlobSet.cpp => dom/file/BlobSet.cpp
rename : dom/base/BlobSet.h => dom/file/BlobSet.h
rename : dom/base/File.cpp => dom/file/File.cpp
rename : dom/base/File.h => dom/file/File.h
rename : dom/base/FileList.cpp => dom/file/FileList.cpp
rename : dom/base/FileList.h => dom/file/FileList.h
rename : dom/base/FileReader.cpp => dom/file/FileReader.cpp
rename : dom/base/FileReader.h => dom/file/FileReader.h
rename : dom/base/MultipartBlobImpl.cpp => dom/file/MultipartBlobImpl.cpp
rename : dom/base/MultipartBlobImpl.h => dom/file/MultipartBlobImpl.h
rename : dom/base/MutableBlobStorage.cpp => dom/file/MutableBlobStorage.cpp
rename : dom/base/MutableBlobStorage.h => dom/file/MutableBlobStorage.h
rename : dom/base/MutableBlobStreamListener.cpp => dom/file/MutableBlobStreamListener.cpp
rename : dom/base/MutableBlobStreamListener.h => dom/file/MutableBlobStreamListener.h
rename : dom/ipc/Blob.cpp => dom/file/ipc/Blob.cpp
rename : dom/ipc/BlobChild.h => dom/file/ipc/BlobChild.h
rename : dom/ipc/BlobParent.h => dom/file/ipc/BlobParent.h
rename : dom/ipc/BlobTypes.ipdlh => dom/file/ipc/BlobTypes.ipdlh
rename : dom/ipc/PBlob.ipdl => dom/file/ipc/PBlob.ipdl
rename : dom/ipc/PBlobStream.ipdl => dom/file/ipc/PBlobStream.ipdl
rename : dom/ipc/nsIRemoteBlob.h => dom/file/ipc/nsIRemoteBlob.h
rename : dom/base/nsHostObjectProtocolHandler.cpp => dom/file/nsHostObjectProtocolHandler.cpp
rename : dom/base/nsHostObjectProtocolHandler.h => dom/file/nsHostObjectProtocolHandler.h
rename : dom/base/nsHostObjectURI.cpp => dom/file/nsHostObjectURI.cpp
rename : dom/base/nsHostObjectURI.h => dom/file/nsHostObjectURI.h
rename : dom/base/nsIDOMBlob.idl => dom/file/nsIDOMBlob.idl
rename : dom/base/nsIDOMFileList.idl => dom/file/nsIDOMFileList.idl
rename : dom/base/test/create_file_objects.js => dom/file/tests/create_file_objects.js
rename : dom/base/test/file_blobURL_expiring.html => dom/file/tests/file_blobURL_expiring.html
rename : dom/base/test/file_mozfiledataurl_audio.ogg => dom/file/tests/file_mozfiledataurl_audio.ogg
rename : dom/base/test/file_mozfiledataurl_doc.html => dom/file/tests/file_mozfiledataurl_doc.html
rename : dom/base/test/file_mozfiledataurl_img.jpg => dom/file/tests/file_mozfiledataurl_img.jpg
rename : dom/base/test/file_mozfiledataurl_inner.html => dom/file/tests/file_mozfiledataurl_inner.html
rename : dom/base/test/file_mozfiledataurl_text.txt => dom/file/tests/file_mozfiledataurl_text.txt
rename : dom/base/test/file_nonascii_blob_url.html => dom/file/tests/file_nonascii_blob_url.html
rename : dom/base/test/fileapi_chromeScript.js => dom/file/tests/fileapi_chromeScript.js
rename : dom/base/test/fileutils.js => dom/file/tests/fileutils.js
rename : dom/base/test/test_blobURL_expiring.html => dom/file/tests/test_blobURL_expiring.html
rename : dom/base/test/test_blob_fragment_and_query.html => dom/file/tests/test_blob_fragment_and_query.html
rename : dom/base/test/test_blobconstructor.html => dom/file/tests/test_blobconstructor.html
rename : dom/base/test/test_file_from_blob.html => dom/file/tests/test_file_from_blob.html
rename : dom/base/test/test_file_negative_date.html => dom/file/tests/test_file_negative_date.html
rename : dom/base/test/test_fileapi.html => dom/file/tests/test_fileapi.html
rename : dom/base/test/test_fileapi_slice.html => dom/file/tests/test_fileapi_slice.html
rename : dom/base/test/test_ipc_messagemanager_blob.html => dom/file/tests/test_ipc_messagemanager_blob.html
rename : dom/base/test/test_nonascii_blob_url.html => dom/file/tests/test_nonascii_blob_url.html
2016-12-01 11:43:18 +01:00
Sebastian Hengst
3d3ca51d8d
Backed out changeset 806c3d121dd4 (bug 1321261) for timing out in test_fileapi.html, test_mozfiledataurl.html and test_nonascii_blob_url.html on Linux x64 asan and debug. r=backout
...
--HG--
rename : dom/file/BlobSet.cpp => dom/base/BlobSet.cpp
rename : dom/file/BlobSet.h => dom/base/BlobSet.h
rename : dom/file/File.cpp => dom/base/File.cpp
rename : dom/file/File.h => dom/base/File.h
rename : dom/file/FileList.cpp => dom/base/FileList.cpp
rename : dom/file/FileList.h => dom/base/FileList.h
rename : dom/file/FileReader.cpp => dom/base/FileReader.cpp
rename : dom/file/FileReader.h => dom/base/FileReader.h
rename : dom/file/MultipartBlobImpl.cpp => dom/base/MultipartBlobImpl.cpp
rename : dom/file/MultipartBlobImpl.h => dom/base/MultipartBlobImpl.h
rename : dom/file/MutableBlobStorage.cpp => dom/base/MutableBlobStorage.cpp
rename : dom/file/MutableBlobStorage.h => dom/base/MutableBlobStorage.h
rename : dom/file/MutableBlobStreamListener.cpp => dom/base/MutableBlobStreamListener.cpp
rename : dom/file/MutableBlobStreamListener.h => dom/base/MutableBlobStreamListener.h
rename : dom/file/nsHostObjectProtocolHandler.cpp => dom/base/nsHostObjectProtocolHandler.cpp
rename : dom/file/nsHostObjectProtocolHandler.h => dom/base/nsHostObjectProtocolHandler.h
rename : dom/file/nsHostObjectURI.cpp => dom/base/nsHostObjectURI.cpp
rename : dom/file/nsHostObjectURI.h => dom/base/nsHostObjectURI.h
rename : dom/file/nsIDOMBlob.idl => dom/base/nsIDOMBlob.idl
rename : dom/file/nsIDOMFileList.idl => dom/base/nsIDOMFileList.idl
rename : dom/file/tests/file_blobURL_expiring.html => dom/base/test/file_blobURL_expiring.html
rename : dom/file/tests/file_nonascii_blob_url.html => dom/base/test/file_nonascii_blob_url.html
rename : dom/file/tests/fileutils.js => dom/base/test/fileutils.js
rename : dom/file/tests/test_blobURL_expiring.html => dom/base/test/test_blobURL_expiring.html
rename : dom/file/tests/test_blob_fragment_and_query.html => dom/base/test/test_blob_fragment_and_query.html
rename : dom/file/tests/test_blobconstructor.html => dom/base/test/test_blobconstructor.html
rename : dom/file/tests/test_file_from_blob.html => dom/base/test/test_file_from_blob.html
rename : dom/file/tests/test_file_negative_date.html => dom/base/test/test_file_negative_date.html
rename : dom/file/tests/test_fileapi.html => dom/base/test/test_fileapi.html
rename : dom/file/tests/test_fileapi_slice.html => dom/base/test/test_fileapi_slice.html
rename : dom/file/tests/test_ipc_messagemanager_blob.html => dom/base/test/test_ipc_messagemanager_blob.html
rename : dom/file/tests/test_mozfiledataurl.html => dom/base/test/test_mozfiledataurl.html
rename : dom/file/tests/test_nonascii_blob_url.html => dom/base/test/test_nonascii_blob_url.html
rename : dom/file/ipc/Blob.cpp => dom/ipc/Blob.cpp
rename : dom/file/ipc/BlobChild.h => dom/ipc/BlobChild.h
rename : dom/file/ipc/BlobParent.h => dom/ipc/BlobParent.h
rename : dom/file/ipc/BlobTypes.ipdlh => dom/ipc/BlobTypes.ipdlh
rename : dom/file/ipc/PBlob.ipdl => dom/ipc/PBlob.ipdl
rename : dom/file/ipc/PBlobStream.ipdl => dom/ipc/PBlobStream.ipdl
rename : dom/file/ipc/nsIRemoteBlob.h => dom/ipc/nsIRemoteBlob.h
2016-12-01 11:05:56 +01:00
Tooru Fujisawa
5931477b72
Bug 1321220 - Remove legacy generator from image/. r=aosmond
2016-12-01 18:12:14 +09:00
Andrea Marchesini
0606c6006d
Bug 1321261 - create dom/file for File APIs, r=qdot
...
--HG--
rename : dom/base/BlobSet.cpp => dom/file/BlobSet.cpp
rename : dom/base/BlobSet.h => dom/file/BlobSet.h
rename : dom/base/File.cpp => dom/file/File.cpp
rename : dom/base/File.h => dom/file/File.h
rename : dom/base/FileList.cpp => dom/file/FileList.cpp
rename : dom/base/FileList.h => dom/file/FileList.h
rename : dom/base/FileReader.cpp => dom/file/FileReader.cpp
rename : dom/base/FileReader.h => dom/file/FileReader.h
rename : dom/base/MultipartBlobImpl.cpp => dom/file/MultipartBlobImpl.cpp
rename : dom/base/MultipartBlobImpl.h => dom/file/MultipartBlobImpl.h
rename : dom/base/MutableBlobStorage.cpp => dom/file/MutableBlobStorage.cpp
rename : dom/base/MutableBlobStorage.h => dom/file/MutableBlobStorage.h
rename : dom/base/MutableBlobStreamListener.cpp => dom/file/MutableBlobStreamListener.cpp
rename : dom/base/MutableBlobStreamListener.h => dom/file/MutableBlobStreamListener.h
rename : dom/ipc/Blob.cpp => dom/file/ipc/Blob.cpp
rename : dom/ipc/BlobChild.h => dom/file/ipc/BlobChild.h
rename : dom/ipc/BlobParent.h => dom/file/ipc/BlobParent.h
rename : dom/ipc/BlobTypes.ipdlh => dom/file/ipc/BlobTypes.ipdlh
rename : dom/ipc/PBlob.ipdl => dom/file/ipc/PBlob.ipdl
rename : dom/ipc/PBlobStream.ipdl => dom/file/ipc/PBlobStream.ipdl
rename : dom/ipc/nsIRemoteBlob.h => dom/file/ipc/nsIRemoteBlob.h
rename : dom/base/nsHostObjectProtocolHandler.cpp => dom/file/nsHostObjectProtocolHandler.cpp
rename : dom/base/nsHostObjectProtocolHandler.h => dom/file/nsHostObjectProtocolHandler.h
rename : dom/base/nsHostObjectURI.cpp => dom/file/nsHostObjectURI.cpp
rename : dom/base/nsHostObjectURI.h => dom/file/nsHostObjectURI.h
rename : dom/base/nsIDOMBlob.idl => dom/file/nsIDOMBlob.idl
rename : dom/base/nsIDOMFileList.idl => dom/file/nsIDOMFileList.idl
rename : dom/base/test/file_blobURL_expiring.html => dom/file/tests/file_blobURL_expiring.html
rename : dom/base/test/file_nonascii_blob_url.html => dom/file/tests/file_nonascii_blob_url.html
rename : dom/base/test/fileutils.js => dom/file/tests/fileutils.js
rename : dom/base/test/test_blobURL_expiring.html => dom/file/tests/test_blobURL_expiring.html
rename : dom/base/test/test_blob_fragment_and_query.html => dom/file/tests/test_blob_fragment_and_query.html
rename : dom/base/test/test_blobconstructor.html => dom/file/tests/test_blobconstructor.html
rename : dom/base/test/test_file_from_blob.html => dom/file/tests/test_file_from_blob.html
rename : dom/base/test/test_file_negative_date.html => dom/file/tests/test_file_negative_date.html
rename : dom/base/test/test_fileapi.html => dom/file/tests/test_fileapi.html
rename : dom/base/test/test_fileapi_slice.html => dom/file/tests/test_fileapi_slice.html
rename : dom/base/test/test_ipc_messagemanager_blob.html => dom/file/tests/test_ipc_messagemanager_blob.html
rename : dom/base/test/test_mozfiledataurl.html => dom/file/tests/test_mozfiledataurl.html
rename : dom/base/test/test_nonascii_blob_url.html => dom/file/tests/test_nonascii_blob_url.html
2016-12-01 09:21:54 +01:00
Carsten "Tomcat" Book
06069f9b3c
Merge mozilla-central to mozilla-inbound
2016-11-29 16:49:35 +01:00
Carsten "Tomcat" Book
68202ee27c
merge mozilla-inbound to mozilla-central a=merge
2016-11-29 16:47:18 +01:00
Andrew Osmond
1f7abbe2a9
Bug 1299498 - Keep a main thread only pointer to the underlying nsIURI for ImageURL. r=tnikkel
2016-11-28 08:40:42 -05:00
Timothy Nikkel
b69c01ee55
Bug 1317907. Refactor FrameAnimator::GetCompositedFrame to be a bit simpler. r=aosmond
...
FrameAnimator::GetCompositedFrame is only ever called with the current animation frame index. This is good because it can return invalid results if it is called for some other frame number.
2016-11-29 01:01:43 -06:00