Commit Graph

474639 Commits

Author SHA1 Message Date
Jed Davis
7e91f65f43 Bug 1191452 - Limit IPDL-generated Move()s to Recv methods. r=billm
Specifically, it's important not to try to use Move() in the
Alloc+SendConstructor convenience method, because that Move()s the same
value twice (as discovered in bug 1186706), and neither callee
requires rvalue references in that case anyway.

This also removes the previous feature of calling makeCxxArgs with
params=0 to omit the message's input parameters, because it's not being
used and doesn't appear to have ever been used; it could be restored
(e.g., as paramsems=None) if needed.
2016-05-11 09:37:00 +02:00
Jean-Yves Avenard
d4512b29ea Bug 1270154: P1. Forget the media element's media-resource-specific tracks when error occurs. r=jwwang
MozReview-Commit-ID: BFpw2sS7aa7

--HG--
extra : rebase_source : 70dc3a468341c57cef1baefefea66902e66b07ae
2016-05-11 21:18:46 +10:00
Seth Fowler
0b1e158092 Bug 1259281 - Mark frames NONVISIBLE if their pres shell is inactive or frozen. r=mstange 2016-05-11 19:27:29 -07:00
Seth Fowler
55f8a34cb9 Bug 1269937 - Manage updating visible frames and regions using RAII. r=mstange 2016-05-11 19:27:28 -07:00
Seth Fowler
298a9f9d69 Bug 1269935 - Replace PresShell::DecVisibleCount() with a general map function. r=mstange 2016-05-11 19:27:28 -07:00
Seth Fowler
1678f1d3bb Bug 1269934 - Handle visible frame sets more generically in PresShell. r=mstange 2016-05-11 19:27:27 -07:00
Seth Fowler
40f1aa269b Bug 1269931 - Send visible region updates for pres shells associated with nested views. r=botond 2016-05-11 19:27:27 -07:00
Seth Fowler
180fb0583d Bug 1268348 - Pass the previous visibility state to OnVisibilityChange(). r=mstange 2016-05-11 19:27:27 -07:00
JW Wang
1039567f4e Bug 1271517. Part 2 - remove use of FlushableTaskQueue. r=jya.
MozReview-Commit-ID: 8pkErp6UjC5
2016-05-11 11:30:57 +08:00
JW Wang
92da48deee Bug 1271517. Part 1 - remove use of FlushableTaskQueue::Flush() from FFmpegDataDecoder::Flush(). r=jya.
MozReview-Commit-ID: 2jAyXo2P6p7
2016-05-11 11:30:55 +08:00
Gregory Szorc
ed7bf22170 Bug 1271077 - Print system resource utilization so it appears in Treeherder; r=jlund
The system resource utilization during job execution is important: it
gives us an idea of the efficiency (or lack thereof) of activities.

As bug 1271035 showed us, there can be some really wonky things going
on during job execution. To help us notice these things, this commit
prints some overall resource utilization data with the special
"TinderboxPrint" syntax so it appears in Treeherder. This should
hopefully draw the attention of more eye balls and cause people to
ask questions about what jobs are doing.

This supplements the existing printing of total resource usage in the
logs. Unfortunately nobody was really looking at that data because it
wasn't exposed that well. This commit should change that.

MozReview-Commit-ID: AXNRDS9lrOd

--HG--
extra : rebase_source : c5e6b440092853649456d89a1f7dc370ca4ec29a
2016-05-09 23:12:19 -07:00
Xidorn Quan
7af86ba4a3 Bug 1270009 - Ensure CSSPROPS_FOR_SHORTHAND_SUBPROPERTIES is type-safe. r=heycam
MozReview-Commit-ID: 3QntFmOGTFR

--HG--
extra : source : d2e238129cb2e0c042cf10e1db55ea8be5ab9b4f
2016-05-12 10:28:56 +10:00
Xidorn Quan
efc89967ed Bug 1269157 - Add Document.fullscreen attribute. r=smaug
MozReview-Commit-ID: 7mMjGoc7cvA

--HG--
extra : source : 0a5755272461d84a6a8082ca706d10b1ece84bc6
2016-05-12 10:28:56 +10:00
Xidorn Quan
adac331402 Bug 1268798 part 4 - Mark Document.fullscreenElement and fullscreenEnabled with LenientSetter. r=smaug
MozReview-Commit-ID: B2F2sCLm0G8

--HG--
extra : source : be1844a64bb5207f84692a9a2ed73c2dacb45aa9
2016-05-12 10:28:56 +10:00
Xidorn Quan
114633161f Bug 1268798 part 3 - Add LenientSetter extended attribute. r=khuey
MozReview-Commit-ID: 61wybyS36KE

--HG--
extra : source : 98e1ae5fa2ddf5308fba6e09b47cbb831c60ac8a
2016-05-12 10:28:56 +10:00
Xidorn Quan
fe0ed0d00a Bug 1268798 part 2 - Add result summary for WebIDL parser test. r=khuey
MozReview-Commit-ID: DMgATDa9yXX

--HG--
extra : source : 94aba7834b4c813251b8a8714ef7a9b10b1f3603
2016-05-12 10:28:56 +10:00
Xidorn Quan
82fa51890c Bug 1268798 part 1 - Fix exception whitelist in WebIDL parser. r=khuey
MozReview-Commit-ID: 5rBXjHgQuGd

--HG--
extra : source : 0fbdf91d6cec99db9baf0646c372da0f5cb664e4
2016-05-12 10:28:56 +10:00
Matt Woodrow
96fd641cc2 Bug 881832 - Fix test_bug602962.xul to not assume that resizes have finished flushing when the resize event fires. r=tnikkel
--HG--
extra : rebase_source : 435b12ae6f61e63d2f0cb421a7a06e50ed2f2e14
2016-05-12 12:09:50 +12:00
Matt Woodrow
62f3ec6605 Bug 881832 - Fix hover_helper to handle that multiple resizes due to :hover oscillation are now coalesced and don't fire resize events. r=dbaron
--HG--
extra : rebase_source : 806449975140c30fca612d647605b953b3511e00
2016-05-12 12:08:31 +12:00
Mats Palmgren
e04a74ec14 Bug 881832 - Make inner document reflow asynchronous. r=tnikkel
--HG--
extra : rebase_source : 9987e19e3318d5bc58ac8214496893041bc1775c
2016-05-12 12:07:45 +12:00
Matt Woodrow
a93f3b746c Bug 881832 - When flushing changes made by :hover style, make sure we also flush any pending changes on child documents. r=dbaron
--HG--
extra : rebase_source : 70d8e5f6805809fc8770f37932873b1ade7b0946
2016-05-12 12:06:38 +12:00
Matt Woodrow
175d6d32b1 Bug 881832 - Specify whether the height has changed when calling PresShell::ResizeReflow, since the PresContext size might have already been updated. r=dbaron
--HG--
extra : rebase_source : 05e6b4100b881848c78a5323d5ada4b65cf9963e
2016-05-12 12:06:11 +12:00
Gregor Wagner
a870069721 Bug 1271749 - Followup for Remove LayerManagerComposite access to nsIWidget. r=dvander 2016-05-11 17:09:43 -07:00
Gregor Wagner
bba6d952c7 Bug 1271747 - Fix AndroidBridge.h include in GLContextProviderEGL.cpp. r=snorp 2016-05-11 17:08:37 -07:00
Dan Glastonbury
526fdd85f6 Bug 1224973 - Part 5: Implement suspend decoding for background video. r=cpearce,jwwang,jya
Implemented by short-circuiting calls to RequestVideoData in MDSM so no
frames are decoded. Resuming playback when video moves to foreground by
using the SeekTask/SeekJob/Seek in MDSM with result of GetMediaTime().

Special consideration is made to only seek the video part of Seek() to
remove an audible glitch in the audio playback when the video becomes
visible again.

MozReview-Commit-ID: 7YFDTanslXu
2016-05-12 09:54:15 +10:00
Dan Glastonbury
26d0966736 Bug 1224973 - Part 4: Pref media.suspend-bkgnd-video.enabled. r=cpearce,jwwang
Pref to control feature. Enabled at request of :cpearce.

MozReview-Commit-ID: 7Ci7mNqugOh
2016-05-12 09:54:00 +10:00
Dan Glastonbury
78730160f5 Bug 1224973 - Part 3: Plumb element visibility into MDSM. r=jya,jwwang
change MediaDecoder::mIsVisible to be a Canonical<bool> and plumb through to
the MediaDecoderStateMachine.  This will be used to trigger suspending the
decoding of video frames.

MozReview-Commit-ID: F3Dpf0ogE7c
2016-05-12 09:53:51 +10:00
Dan Glastonbury
9f98a19f8c Bug 1224973 - Part 2: Set MediaDecoder visibility via NotifyOwnerActivityChanged. r=cpearce,jwwang
Make MediaDecoder::SetElementVisibility private.

MozReview-Commit-ID: GjCuSNPalkE
2016-05-12 09:53:02 +10:00
Dan Glastonbury
d4be2cf480 Bug 1224973 - Part 1: Remove MediaDecoderOwner->IsHidden(). r=cpearce,jwwang
Used only by dormant mode calculations, remove IsHidden() and replace with
mIsVisible in MediaDecoder.

MozReview-Commit-ID: CksjiXsbsrb
2016-05-12 09:52:43 +10:00
Jeff Gilbert
80f726ea0b Bug 1271478 - Implement WebGLContextCreationError. - r=jrmuizel,smaug,mtseng 2016-05-11 16:45:43 -07:00
Nicholas Nethercote
d30f02eaad Bug 1267551 (part 9) - Use MOZ_MUST_USE more in js/src/jit/. r=h4writer.
This catches a few missing failure checks.

The patch also changes the return type of IonBuilder::pushConstant() to void,
because it never fails.
2016-05-11 09:23:05 +10:00
Botond Ballo
15982f20e6 Bug 1267438 - Remove the redundant aTransformAffectsLayerClip argument to AlignFixedAndStickyLayers. r=mstange
MozReview-Commit-ID: AjHA70EdCeX

--HG--
extra : rebase_source : a0122ee7e33de1a7dcd40eba63580703099b7165
extra : source : 63c9e4fbc1bec70de51ccde350e554c54207cf65
extra : histedit_source : 6fc0fc354e0bd469ed9ee6b80772df8efa0b0bf2
2016-05-04 20:20:57 -04:00
Botond Ballo
0c3f8a3e7d Bug 1267438 - Remove the (no longer used) isClipFixed=false annotation. r=mstange
MozReview-Commit-ID: LicG7zFHnX3

--HG--
extra : rebase_source : 1b39fcb34403dfa92f19100b3a59c3f550d52ff1
extra : source : 2bf1247f574319f27f570bb372a71d6a826ab1fb
extra : histedit_source : cc75a6e848225552adb9b3148ca4e2bb87b94f80
2016-05-04 20:07:42 -04:00
Botond Ballo
11c0c8ea42 Bug 1267438 - For fixed backgrounds, use the scrolled clip rather than the isClipFixed=false annotation. r=mstange
MozReview-Commit-ID: 9STe7ypglpP

--HG--
extra : rebase_source : c8ed350bc1eb9a0aecb47b9e81730162deeaaf87
extra : source : 4aa07089ce57c4e66e6f4f4cacc915118ea39429
extra : histedit_source : cdc3f82d57dc231ff148e35ab40c2dd197947ad4
2016-05-06 19:02:26 -04:00
Botond Ballo
de687339fd Bug 1267438 - Support adding ancestor mask layers from places other than SetupScrollingMetadata. r=mstange
MozReview-Commit-ID: DwdbSRdEMEc

--HG--
extra : rebase_source : 703ff74d56cecf0546457ff8940265f97a3331cc
extra : source : 1c8e4840f8b40b7e02b9274e446e278e8c907053
extra : histedit_source : 6efd4834b4ec52a6d57a05bdd9529cf39a7669a4
2016-05-06 19:34:16 -04:00
Botond Ballo
241127e62f Bug 1267438 - Use the scrolled clip in AsyncCompositionManager. r=mstange
MozReview-Commit-ID: LjV8bEhCexE

--HG--
extra : rebase_source : a7497faaeab313844db3337c91f72e0096c03974
extra : amend_source : 3a23b9ce26056641346aed16df9045253c158672
extra : source : 641eef89309781af7a63df344d0e1f495ba5efd8
extra : histedit_source : 733ac29096b2e70c8b3a6048f1a89d9c79c9be80%2Ce1dd6b10d1bd8d9cd9265a9a732ca743c80cda06
2016-05-10 01:10:29 -04:00
Botond Ballo
26dd60d1c9 Bug 1267438 - During AlignFixedAndStickyLayers, only un-adjust the fixed portion of a layer's clip rect. r=mstange
MozReview-Commit-ID: 62JVHL5AVhP

--HG--
extra : rebase_source : edc2325417a3c27804643d4f3560c497be4f7172
extra : amend_source : 32756b9a4e4d5b4e2e28d6409b6cae0d888121ba
extra : source : 14ee768229fa8e4e346ff0b62a59c3dff2bc164a
extra : histedit_source : 0c0b5c09661309bdceda9f2fd18fa760ec84f2f7%2C122f6ba007fa88a9df17f04eb64869af20e89a21
2016-05-11 15:16:57 -04:00
Botond Ballo
ea8d856fa1 Bug 1267438 - Factor out a helper function to check if a layer is fixed or sticky. r=mstange
MozReview-Commit-ID: A1qrxW3KVVE

--HG--
extra : rebase_source : bd835e3241855a6202a14f57f44d7d473e361522
extra : source : 68b48bf17f7baa4ac96bd4099c4a4089456eb77c
extra : histedit_source : 233d4da0d5491a47ba9bfd5a20d77206a58446c6
2016-05-04 17:32:12 -04:00
Botond Ballo
29ef36444d Bug 1267438 - Use the layer's scrolled clip during compositor hit testing. r=mstange
MozReview-Commit-ID: 2nodwaZHeWZ

--HG--
extra : rebase_source : 4a61e20fa5ea6de457132aa7e06c27e48286f28c
extra : source : 6618e805fce8e1b45241783d8ba3b5bec5ad182a
extra : histedit_source : 4b27d55d0f26de7a13ef741feef9df6f8e6c4f13
2016-05-04 17:30:26 -04:00
Botond Ballo
771407a83d Bug 1267438 - Give layers an optional scrolled clip that is scrolled by all scroll frames associated with the layer. r=mstange
MozReview-Commit-ID: EGqVZuISSZQ

--HG--
extra : rebase_source : cf1e70734524cb740cb0cb64190d5a780d2b692f
extra : amend_source : b91d3f887a78da248950289fa8917db5fa62910b
extra : source : 54cb97cee6810ec56308d1f2f66e5b8fda02da3e
extra : histedit_source : dc982f0a16e8c2c042c260bc56252425cc6f76c4
2016-04-29 17:32:53 -04:00
Botond Ballo
b6836691eb Bug 1267438 - Do not propagate the scroll clip to APZC's copy of ScrollMetadata. r=kats
MozReview-Commit-ID: 9E1QGnoxUjN

--HG--
extra : rebase_source : de1b5a5db98721f86be9ab065f6874b76b6ea719
extra : source : 5bf9a7962ad4c5d75d6a57a7fc4289f0b6fd680d
extra : histedit_source : 688cfcc68480fa61ae9e4125178e869454c0d849
2016-04-29 16:16:29 -04:00
Botond Ballo
0702a1f217 Bug 1267438 - Group ScrollMetadata's optional clip rect and mask layer index into a LayerClip structure. r=mstange
MozReview-Commit-ID: 6W0GZYkioov

--HG--
extra : rebase_source : f99b4c8bd571fd82ddd7e6121caac57b13c380f7
extra : source : b802e4ef209948f307565f2ba750b2fbd340bcb6
extra : histedit_source : 016fe1d78bde06feeb483446fdfb508448573d72
2016-04-29 16:14:21 -04:00
Botond Ballo
dde17de868 Bug 1267438 - Use IntersectMaybeRects() in Layer::GetCombinedClipRect(). r=mstange
MozReview-Commit-ID: 5DkpzyFrDQ0

--HG--
extra : rebase_source : 02074a9ea70bb33ded2cc592b4e29bd8f5e79969
extra : source : 1065434be718ec94d30480100f1c409cc446c6ac
extra : histedit_source : 8d9d4d7c203c20a73838c7bdbe8849dd5f23333a
2016-04-29 15:44:08 -04:00
Bob Owen
ac6f5350a0 Bug 1271900: Don't require a minimum page size when setting up DEVMODE from print settings. r=jimm
MozReview-Commit-ID: ByO4KHPtkkM

--HG--
extra : rebase_source : c7e58471e259b366491ddb5903ade247645f28c5
2016-05-11 10:18:10 +01:00
Nick Fitzgerald
10fa163e08 Bug 1271507 - Don't insert nullptr into the cache; r=jimb 2016-05-11 14:40:42 -07:00
Kartikaya Gupta
6a456833c3 Bug 1270955 - Add mochitests for scrolling while over position:fixed and sticky elements. r=botond
MozReview-Commit-ID: curYWJlnOQ
2016-05-11 17:28:07 -04:00
Kartikaya Gupta
4e803a8887 Bug 1270955 - When hit-testing on fixed-pos layers, find the root APZC for the scroll container rather than the layers id. r=botond
MozReview-Commit-ID: IvcMbpINOBI
2016-05-11 17:28:04 -04:00
Nathan Froyd
ba6687453e Bug 1270832 - turn on debug mode for libstdc++ headers; r=glandium 2016-05-11 17:01:39 -04:00
David Keeler
3a4d7b486c bug 883718 - remove nsIEntropyCollector and implementation r=mgoodwin,mrbkap
The rationale behind nsIEntropyCollector was to supplement NSS' source of
entropy with randomness from mouse move events. This obviously doesn't work on
platforms without a mouse (e.g. mobile platforms). Furthermore, as NSS seeds its
random number generator with robust randomness from the operating system, this
is unnecessary anyway. The primary concern is that initialization of the random
number generator must happen after forking, which is exactly what we do with the
child process in e10s mode.

MozReview-Commit-ID: GYQDElSCZy0

--HG--
extra : rebase_source : 6273a78203121c4d4ddf3ed97451f393ceef4b88
2016-05-10 16:24:44 -07:00
Mason Chang
1ed5c6b7b4 Bug 1120485. Add more logging to find failed uses of MessageChannel::mEvent. r=milan 2016-05-10 17:59:15 -07:00