Граф коммитов

528571 Коммитов

Автор SHA1 Сообщение Дата
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
Scott Wu cc062e76c1 Bug 1019483 - (Part 2) Add mochitest-browser-chrome tests for manage profiles dialog. r=MattN
MozReview-Commit-ID: AHhLuy5ZXRv

--HG--
extra : rebase_source : e989000a39dee557eebe77ae817b10f93a37b368
2017-03-30 14:34:38 +08: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
Petr Sumbera 904e4613b3 Bug 1351309 - Look for hypot in libm instead of libc in function-definition.js. r=arai 2017-03-28 07:03:59 -07:00
Ryan VanderMeulen 94a51643a0 Bug 1352260 - Upgrade to SQLite 3.18.0. r=mak 2017-04-01 15:08:18 -04:00
Sebastian Hengst 36def3ff3b merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-04-01 19:17:00 +02:00
Maxim Breev f982515e79 Add a new flag to nsIWebProgressListener for redirects (bug 1342989). r=smaug
MozReview-Commit-ID: 5q29n6d3Iz8
2017-04-01 20:07:47 +03:00
Dale Harvey f9e45a8cf7 Bug 1351834 - Give webapp tabs correct type when launched. r=janh 2017-04-01 15:23:18 +01:00
Sebastian Hengst 948595ff2f merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-04-01 13:12:04 +02:00
Sebastian Hengst 0cb6e36e75 Backed out changeset 1b4e77a9d11d (bug 1350522) for leaking in browser_ext_incognito_popup.js. r=backout 2017-04-01 12:39:05 +02:00
Sebastian Hengst 6709885298 Backed out changeset a3ed5ad1bc33 (bug 1350522) 2017-04-01 12:38:28 +02:00
Sebastian Hengst 58d7b72241 Backed out changeset 42015d3bfe49 (bug 1350522) 2017-04-01 12:38:23 +02:00
Sebastian Hengst 7e2f368910 Backed out changeset 7fd4ade88118 (bug 1350522)
--HG--
rename : browser/components/extensions/ext-browser.js => browser/components/extensions/ext-desktop-runtime.js
2017-04-01 12:38:19 +02:00
Sebastian Hengst b16bea09f2 Backed out changeset 8f8891e51936 (bug 1350522) 2017-04-01 12:38:14 +02:00
Sebastian Hengst f8b77a93c4 Backed out changeset 650808cfe044 (bug 1350522) 2017-04-01 12:38:09 +02:00
Sebastian Hengst 68eccd6f65 Backed out changeset 069dbaa8300e (bug 1350522) 2017-04-01 12:38:05 +02:00
Brian Birtles 9d5c0d1978 Bug 1351038 - Completely disable test_animations_effect_timing_enddelay.html; r=me
This will be restored in bug 1352336.

MozReview-Commit-ID: 8OqaH5gmCJA
2017-04-01 18:05:37 +09:00