Commit Graph

528121 Commits

Author SHA1 Message Date
Franziskus Kiefer
c2c9435c51 Bug 1345368 - land NSS 215207b4864c, r=me
--HG--
extra : rebase_source : 727d919dd9bd85ee2a5b6dc3d71653d022d136ad
2017-03-31 06:01:05 +02:00
Felipe Gomes
93b3d9b7c7 Bug 1350381 - Define this pref so that the test doesn't fail. r=me a=test-fix
MozReview-Commit-ID: hwIFebaw3B

--HG--
extra : source : 1edf2dfa3809bdaaa83a3b8914fe80d4fe91a912
2017-03-30 23:08:30 -03:00
Geoff Brown
f04ad9ab13 Bug 1348653 - Increase fuzziness for reftest 722923-1.html; r=me,test-only
Checked with :mats about this.
2017-03-30 21:42:04 -06:00
Geoff Brown
d88e730a52 Bug 1284763 - Request longer timeout for test_anchor_area_referrer.html; r=jmaher
This test runs 276 seconds on average on Android Debug; when it takes longer
than 300 seconds, the test times out, producing intermittent failures.
2017-03-30 21:42:02 -06:00
L. David Baron
28b9e9b1d4 Bug 1351359 - Make nsGridContainerFrame call ReflowInput::SetBResize(true) because of auto-block-size swapping between measuring reflows and regular reflows. r=mats
This fixes the failure of
layout/reftests/css-grid/grid-min-max-content-sizing-002.html with the
primary patch in bug 1308876 (which causes a child whose parent is dirty
to pick up the dirty bit from the parent only the first reflow of the
child if the parent reflows the child multiple times).  A simplified
testcase for that failure is
https://bugzilla.mozilla.org/attachment.cgi?id=8849771 .

The failure was caused by an error in height calculation of the first
<x> in the test.  The div that is the parent of that x has a definite
height (presumably due to rules in grid), and the x has a specified
height.  The div gets three reflows:  two measuring reflows (from
MinContentContribution and then from MaxContentContribution) and then a
final reflow from nsGridContainerFrame::ReflowInFlowChild.  Prior to the
primary patch in this bug, the div was marked dirty on all three
reflows, but with it it is marked dirty only on the first.  This means
that, without the block-resize flag, the div optimizes away the reflow
of its children, since ShouldReflowAllKids returns false because
IsBResize() is false, even though NS_FRAME_CONTAINS_RELATIVE_BSIZE is
correctly set.

In order to fix this, we need to make sure the BResize flag on the
reflow state in at least some cases (see the comments in the patch for
when, and for how the cases could be optimized in the future).

Note that:

 * when the dirty bit is set on the grid container, the new behavior
   (with the combination of the patches) is strictly more efficient than
   the old, since we will sometimes do non-dirty reflows on the grid
   items (with the b-resize flag)

 * when the dirty bit is *not* set on the grid container, the new
   behavior is less efficient than the old, since we will set the
   b-resize flag when we did not do so before.  However, this slowdown
   fixes existing bugs such as the one in the reftest.

Given that I was able to construct a reftest that triggers the failure
without the changes from bug 1308876, I've moved this to a separate bug.
Without the patch, grid-measuring-reflow-resize-dynamic-001.html fails,
but grid-measuring-reflow-resize-static-001.html passes.  With the patch
both tests pass.  (And without the patch, doing a text zoom on the
dynamic test fixes the layout error.)

MozReview-Commit-ID: JQOdVTQIkU0

--HG--
extra : transplant_source : %8B%2ARO%3B%D0%7B%EC%C9_%B3%60Sp%F9T%14X%85%DC
2017-03-30 22:56:14 -04:00
L. David Baron
14dccbfd0b Bug 1352056 - Call nsIFrame::StyleDisplay less from nsFrame::FinishAndStoreOverflow. r=dholbert
MozReview-Commit-ID: 5zuNLfyPv8o

--HG--
extra : transplant_source : %17%5Bm6%BE%DF%D0%12%19%8BZ%FE%E4%EE%E2%7F%9FR%DF%BA
2017-03-30 22:56:14 -04:00
L. David Baron
eb43b5f7d9 Bug 1352056 - Add nsIFrame::Style*WithOptionalParam helpers. r=dholbert
MozReview-Commit-ID: DFGBeKtg7hI

--HG--
extra : transplant_source : %F1%A7%FF%1Bo7%BD%FBkB%3D%F7%06C0%0B%18Z%B4%8F
2017-03-30 22:56:14 -04:00
Edgar Chen
f76afcbcd5 Bug 1351979 - Change CustomElementRegistry::Define code to properly propagate out JS exceptions; r=wchen 2017-03-30 11:44:09 +08:00
Phil Ringnalda
57f1484fe3 Backed out changeset ada34cba0052 (bug 1348941) for image-related bustages
CLOSED TREE
2017-03-30 19:28:00 -07:00
Phil Ringnalda
4cb08c4110 Backed out 2 changesets (bug 1351831, bug 1351820) for Windows build bustage
CLOSED TREE

Backed out changeset 91c2f1592df1 (bug 1351831)
Backed out changeset f825bdbb2ece (bug 1351820)
2017-03-30 19:21:06 -07:00
Eric Rahm
02c3c2e880 Bug 1351831 - Build more xpconnect code in unified sources. r=bholley
These files were being excluding because we thought they used plarena.h, but it
turns out they did not. A few tweaks needed to be made to clarify whether we
wanted to use mozilla::UniquePtr or js::UniquePtr.

MozReview-Commit-ID: 1su5dO3rR0T
2017-03-30 18:32:18 -07:00
Eric Rahm
e5c9b989b3 Bug 1351820 - Build more more netwerk files in unified mode. r=mcmanus
This updates the unifed sources for a few netwerk build files. In some cases
files were excluded because we thought they used plarena.h, but that turned
to be false.

A few files needed to be updated to add missing imports/exports due to shifting
of compilation units.

MozReview-Commit-ID: 4mh8VApFoe1
2017-03-30 18:32:17 -07:00
Nicholas Nethercote
6e2f13d8c2 Bug 1351946 (part 2) - Inline and remove GetEntries() and GetInterval(). r=mstange.
--HG--
extra : rebase_source : 127ff560940a93bf9bd5298ac6ab92812bdd94c7
2017-03-30 17:49:27 +11:00
Nicholas Nethercote
35bc116a65 Bug 1351946 (part 1) - Remove SigstartHandler from the profiler. r=mstange.
It was only needed for B2G.

--HG--
extra : rebase_source : 2063f1560503989d0ae0d3f2609e031bd06851a9
2017-03-30 16:27:20 +11:00
Sean Stangl
ed0406e63e Bug 1352179 - Remove redundant calls to loadJSContext(). r=tcampbell 2017-03-30 12:08:00 -04:00
Ryan VanderMeulen
3dd93aa05c Bug 1352276 - Update pdf.js to version 1.7.401. r=bdahl 2017-03-30 20:52:55 -04:00
Bryce Van Dyk
3d31dcb64c Bug 1349421 - Update handling of values derived from chunk duration in OpusTrackEncoder. r=derf
This changeset updates the handling of the variables based on
chunk.GetDuration() within the OpusTrackEncoder. This changeset alters places
where overflow could have taken place previously. It also adds asserts with
the dual purpose of defense and documentation for future developers.

MozReview-Commit-ID: 28vmAfE84ik

--HG--
extra : rebase_source : ebbd5f0d55c793324aec6b095dbe5403a7bf7b4c
extra : source : 21705a96856dc54a3330de9a55f19eef31badeec
2017-03-31 07:57:37 +13:00
Bryce Van Dyk
5aabc59b13 Bug 1349421 - Adjust handling of chunk duration in opus encoder. r=jesup
For very long chunks, the opus encoder could run into issues with processing.
This changeset seeks to address that by using CheckedInt to prevent a potential
int overflow when encountering extremely long durations.

MozReview-Commit-ID: 7uLZAARLf5w

--HG--
extra : rebase_source : 9519ce2a9e171c2e56fa445699770ab84596cdad
extra : source : fdbc277dbcc49c3a6785bfefe4ba7d80e03817d2
2017-03-30 13:38:10 +13: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
Eric Rahm
0b32fdd753 Bug 1351804 - Switch libpref over to ArenaAllocator. r=froydnj
MozReview-Commit-ID: 4GovbBFUBb9
2017-03-30 16:48:32 -07:00
Eric Rahm
478755933a Bug 1351732 - Part 2: Replace use of PLArena with ArenaAllocator in xpcom. r=froydnj
This swaps xpcom's plarena usage to ArenaAllocator. The new ArenaStrdup
extensions are used as well.

MozReview-Commit-ID: DHDfl6IkGJL
2017-03-30 16:46:58 -07:00
Eric Rahm
f4d91001fe Bug 1351732 - Part 1: Add an ArenaAllocator strdup extension. r=froydnj
This adds an extension to ArenaAllocator that provides strdup-like
functionality for various string types.

MozReview-Commit-ID: 87SHTs6flHY
2017-03-30 16:46:56 -07:00
Eric Rahm
131c4c002f Bug 943156 - Add a templated ArenaAllocator. r=froydnj
This adds an arena allocator that can be used as a drop-in replacement for
NSPR's PLArena. Example usage for defining an 8-byte aligned allocator that
uses a 4K arena size:

mozilla::ArenaAllocator<4096,8> a;
void* memory = a.Allocate(200);
2017-03-30 16:46:55 -07:00
Alexander Surkov
696f8370cf Bug 1351414 - shutdown a moving accessible if it has no insertion point, r=yzen 2017-03-30 15:56:22 -04:00
Dragana Damjanovic dd.mozilla@gmail.com
83c58678dc Bug 1344171 - Improve connection management. r=mcmanus 2017-03-30 11:08:00 -04:00
Ryan VanderMeulen
05037eec1a Merge m-c to inbound. a=merge 2017-03-30 15:21:27 -04:00
Ryan VanderMeulen
615c542a03 Merge inbound to m-c. a=merge
CLOSED TREE
2017-03-30 15:20:22 -04:00
Ryan VanderMeulen
ee0df52b99 Merge autoland to m-c. a=merge 2017-03-30 15:18:40 -04:00
Sebastian Hengst
f7bdfd47a4 Backed out changeset 23de710cae6f (bug 1322554) for breaking at least Windows 8 x64 builds (likely all Windows builds). r=backout on a CLOSED TREE 2017-03-30 18:47:15 +02:00
ffxbld
72fe012899 No bug, Automated blocklist update from host bld-linux64-spot-388 - a=blocklist-update 2017-03-30 07:59:26 -07:00
ffxbld
8aa12a88dc No bug, Automated HPKP preload list update from host bld-linux64-spot-388 - a=hpkp-update 2017-03-30 07:59:23 -07:00
ffxbld
27b59fd695 No bug, Automated HSTS preload list update from host bld-linux64-spot-388 - a=hsts-update 2017-03-30 07:59:20 -07:00
Carsten "Tomcat" Book
74e36e1adb Merge mozilla-central to autoland on a CLOSED TREE
--HG--
extra : amend_source : 5026c19958cdc458c0f0887582fd00b8038fe93e
2017-03-30 16:48:10 +02:00
Iris Hsiao
0d26c7dc74 Backed out changeset 3d0faaeb8496 (bug 1350229) for eslint failure 2017-03-30 18:07:37 +08:00
Catalin Badea
fce9859c14 Bug 1325942 - Fix test_fetch_cors_sw_empty_reroute.html. r=ehsan 2017-03-29 01:49:00 +08:00
Locke Chen
151dbfed9b Bug 1350229 - Removing Preview side panel. r=rickychien. 2017-03-29 23:29:00 +08:00
Ted Mielczarek
68002ffc75 bug 1275780 - capture Rust panic message in crash reports. r=froydnj
MozReview-Commit-ID: IUlYqPEtkgg

--HG--
extra : rebase_source : 4ff228f90fe9114720f7f7a91df77a6899806a89
2017-03-27 14:40:22 -04:00
Michal Novotny
791ecf863b Bug 1342360 - "Crash in mozilla::net::WyciwygChannelParent::ActorDestroy" .r=valentin.gosu 2017-03-02 05:00:00 +08:00
Jon Coppeard
2060e390eb Bug 1351756 - Fix style test bustage r=me 2017-03-30 10:27:50 +01:00
Jon Coppeard
710cfac229 Bug 1351756 - Add a testing function to dump arena cell layout information r=sfink 2017-03-30 10:03:57 +01:00
Jon Coppeard
4744f1eb7f Bug 1351405 - Simplify incremental sweeping implementation r=sfink 2017-03-30 10:03:57 +01:00
Tim Taubert
00b8400985 Bug 1351779 - Removed unused variable 'loopDetected' from PathBuildingStep::Check() r=keeler 2017-03-29 20:17:06 +02:00
Ben Kelly
02aeaadc9f Bug 1351959 Fix skip-waiting and other WPT tests broken by request-end-to-end.https.html. r=asuth 2017-03-30 16:47:27 +08:00
Timothy Nikkel
7e9f01203e Backed out changeset 80bea9982b5f (bug 686905) 2017-03-30 03:16:46 -05:00
Jonathan Watt
c1539cd5b0 Bug 1351990 - Initialize SVGContextPaint's members. r=baku
MozReview-Commit-ID: EZJ5QFuLyna
2017-03-09 12:49:21 +00:00
Florian Queze
8bca08a425 Bug 1349005 - verify that all the resource:// files we ship are actually referenced, r=Gijs. 2017-03-30 09:18:47 +02:00
Florian Queze
0ac961905a Bug 1351659 - Use jwcrypto.jsm with the resource://services-crypto prefix, r=markh. 2017-03-30 09:18:45 +02:00
Lars T Hansen
1a9a31f465 Bug 1351607 - pass -e expressions to the JS shell as separate command line arguments. r=sfink
--HG--
extra : rebase_source : 334c7a6d8ae60927c2a1c5269ca1bca102fd47a9
extra : amend_source : b56d1aecd95994d06e305f5762343d64938b1e2c
2017-03-29 13:37:58 +02:00
Timothy Nikkel
4e95a79d21 Bug 686905. Enable the pref image.mem.animated.discardable to allow discarding of animated images. r=aosmond 2017-03-30 00:06:21 -05:00