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

646171 Коммитов

Автор SHA1 Сообщение Дата
Michael Froman 0b07404bf5 Bug 1539029 - pt 1 - give RDD its own process selector. r=froydnj
Originally, RDD reused the GPU process selector since they were
using all the same services, and it reduced the number of places
that had to be touched.  Now that RDD needs pref handling, it
needs its own process selector to avoid GPU inheriting pref
handling.

Differential Revision: https://phabricator.services.mozilla.com/D26566

--HG--
extra : moz-landing-system : lando
2019-04-09 21:13:16 +00:00
Aaron Klotz ede6539296 Bug 1520309: Set HGPLAIN env var when running hg push-to-try; r=ahal
If there are a large number of untracked files in the working directory, hg
will attempt to print them all out with the default pager. This does not
interact very will with commands that are built atop this functionality. We
set HGPLAIN=1 so that the underlying hg will not attempt to use a pager.

Differential Revision: https://phabricator.services.mozilla.com/D26607

--HG--
extra : moz-landing-system : lando
2019-04-09 21:10:49 +00:00
Mike Shal ca72d9f976 Bug 1522931 - Vendor biplist; r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D26390

--HG--
extra : moz-landing-system : lando
2019-04-08 16:29:55 +00:00
Glenn Watson 2e71f94491 Bug 1542972 - Reduce use of world_content_transform in WR. r=emilio
The way that world content transform is calculated has some
inconsistencies related to transform flattening, compared to
the get_relative_transform implementation.

Reducing usage of this field will make it simpler to take
advantage of the external scroll offset, which is needed for
some of the planned picture caching improvements.

This patch removes the simple uses of world_content_transform,
but there are still a small number of more complicated uses that
need to be handled separately.

Differential Revision: https://phabricator.services.mozilla.com/D26651

--HG--
extra : moz-landing-system : lando
2019-04-09 10:40:35 +00:00
Andrew Erickson 311344a2eb Bug 1541955: Update Android 7.0 emulator r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D26383

--HG--
extra : moz-landing-system : lando
2019-04-09 20:46:11 +00:00
Alexandre Poirot 102536e7ea Bug 1541819 - Record allocations of Target class. r=jdescottes
This records on Talos the number of allocated objects after creating, attaching and destroying a Tab Target.

Depends on D26107

Differential Revision: https://phabricator.services.mozilla.com/D26108

--HG--
extra : moz-landing-system : lando
2019-04-09 18:58:37 +00:00
Alexandre Poirot 859279017c Bug 1541819 - Expose the number of still-allocated objects via the allocation tracker. r=jdescottes
Depends on D26106

Differential Revision: https://phabricator.services.mozilla.com/D26107

--HG--
extra : moz-landing-system : lando
2019-04-09 18:58:29 +00:00
Alexandre Poirot 93a3d67506 Bug 1541819 - Ship allocation-tracker when running tests and test it. r=jdescottes
Using official build flag was breaking tests on try as the builds
are done with the official build flag turned on.
Convert this module into a "supports" file, like other test-only files.
And also introduce a test for this module. It helps as we have to have
a browser.ini file in order to reference allocation-tracker.js,
and you can't have a browser.ini without any test in it.

Depends on D26105

Differential Revision: https://phabricator.services.mozilla.com/D26106

--HG--
extra : moz-landing-system : lando
2019-04-09 18:58:27 +00:00
Alexandre Poirot 1b208f0f0e Bug 1541819 - Allow the loader to load modules in a distinct system compartment. r=jdescottes
Depends on D26104

Differential Revision: https://phabricator.services.mozilla.com/D26105

--HG--
extra : moz-landing-system : lando
2019-04-09 18:58:25 +00:00
Alexandre Poirot 74167a96b0 Bug 1541819 - Allow tracking memory only for one global or only DevTools ones. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D26104

--HG--
extra : moz-landing-system : lando
2019-04-09 18:58:23 +00:00
Andreas Tolfsen a697e45782 bug 1542861: browser, toolkit: fix remote agent packaging; r=firefox-build-system-reviewers,mshal
The RemoteAgent.js script has (temporarily) changed name to
remote/command-line-handler.js, and the chrome component remote.jar
was not included during packaging.  This patch fixes both these things.

Differential Revision: https://phabricator.services.mozilla.com/D26591

--HG--
extra : moz-landing-system : lando
2019-04-09 20:33:19 +00:00
Michael Kaply 7da5caf32f Bug 1457146 - Add policy for turning the new tab page off r=Felipe,flod
Differential Revision: https://phabricator.services.mozilla.com/D25675

--HG--
extra : moz-landing-system : lando
2019-04-09 19:56:58 +00:00
Jason Laster 093defcb13 Bug 1537598 - Test Column Breakpoints. r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D26708

--HG--
extra : moz-landing-system : lando
2019-04-09 19:44:14 +00:00
Jason Laster 4f2055890d Bug 1497393 - replace onPauseChange with native threadClient event. r=bhackett
Differential Revision: https://phabricator.services.mozilla.com/D26754

--HG--
extra : moz-landing-system : lando
2019-04-09 20:18:48 +00:00
Nick Alexander b525daac01 Bug 1540820 - Don't write generated JNI wrappers for every Java-level change. r=agi
This was fallout from Bug 1509572, which moved the "invalidation
smarts" to Gradle. Unfortunately, those smarts are not smart enough:
there are many situations where the annotations might change (a new
method) but where they don't actually change (a new method that isn't
annotated with @JNITarget).

Since we don't want to spend the time to make the "invalidation
smarts" truly smart, we need to bring back this little bit of Bug
1509572.

While we're here, we ensure that there is only one JNI wrapper
generation task for GeckoView and Fennec, regardless of variant.
Right now, those are named like:

- geckoview:generateJNIWrappersForGeneratedWithGeckoBinariesDebug
- app:generateJNIWrappersForFennecWithoutGeckoBinariesDebug

See https://bugzilla.mozilla.org/show_bug.cgi?id=1509539#c1 for some
discussion of these JNI wrapper generation tasks.

Differential Revision: https://phabricator.services.mozilla.com/D26427

--HG--
extra : moz-landing-system : lando
2019-04-09 20:02:44 +00:00
Brendan Dahl 44fd876aaf Bug 1080029 - Support HTML template in XUL documents. r=smaug
Check if the current parent element is an HTML template element and if it
is, append to the document fragment instead of it.

Differential Revision: https://phabricator.services.mozilla.com/D26768

--HG--
extra : moz-landing-system : lando
2019-04-09 19:50:00 +00:00
Gijs Kruitbosch bed81008f7 Bug 1533477 - check that the number of items in the app list doesn't change, r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D26751

--HG--
extra : moz-landing-system : lando
2019-04-09 19:37:16 +00:00
Andrea Marchesini 0ca645f0d6 Bug 1534351 - HTMLInputElement should always allow popups for system principal, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D26671

--HG--
extra : moz-landing-system : lando
2019-04-09 19:27:15 +00:00
Nathan Froyd a780e0f5a1 Bug 1541068 - add Rust compilation directories to GARBAGE_DIRS; r=nalexander
We add to `GARBAGE_DIRS` in the toplevel `Makefile.in` because all of
our Rust libraries share a single `CARGO_TARGET_DIR`, located in
topobjdir.

We add to `GARBAGE_DIRS` for Rust programs because Rust programs
currently do not share compilation artifacts with Rust libraries (as our
libraries are built with `panic=abort` and our programs are not, sharing
compilation artifacts between the two is a non-starter).

Differential Revision: https://phabricator.services.mozilla.com/D26762

--HG--
extra : moz-landing-system : lando
2019-04-09 18:59:19 +00:00
Ryan VanderMeulen 654fc0c672 Bug 1542735 - Don't try to build TestUCRTDepends if tests are disabled. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D26501

--HG--
extra : moz-landing-system : lando
2019-04-09 18:46:49 +00:00
Dave Townsend 58c5da3a73 Bug 1542716: Allow overriding the update channel that is used when generating the default profile name. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D26632

--HG--
extra : moz-landing-system : lando
2019-04-09 18:38:17 +00:00
Nathan Froyd a18df6e1a4 Bug 524410 - part 5 - merge adjacent line records where possible; r=gsvelto
After replacing precise line information from .debug_line with coarse
line information from DW_AT_call_{file,line}, it's very likely that
adjacent line records actually refer to identical file and line
numbers.  Such adjacent records are not really useful and take up more
space than they should in the symbol file.  We might as well merge them
and save ourselves some space.

Differential Revision: https://phabricator.services.mozilla.com/D25473

--HG--
extra : moz-landing-system : lando
2019-04-05 16:35:10 +00:00
Nathan Froyd 0bc682f0a1 Bug 524410 - part 4 - look through lexical block DIEs where appropriate; r=gsvelto
DW_TAG_subprogram DIEs sometimes have child DW_TAG_lexical_block DIEs
which in turn contain child DW_TAG_inlined_subroutine DIEs that we woud
like to look at.  If we skip the DW_TAG_inlined_subroutine DIEs, we miss
important information.  We therefore need to look through the
DW_TAG_lexical_block DIEs to find the DIEs that we are interested in.

Depends on D25471

Differential Revision: https://phabricator.services.mozilla.com/D25472

--HG--
extra : moz-landing-system : lando
2019-04-05 16:35:10 +00:00
Nathan Froyd 9deb471fc5 Bug 524410 - part 3 - replace line information for inlined functions; r=gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D25471

--HG--
extra : moz-landing-system : lando
2019-04-05 16:35:09 +00:00
Nathan Froyd 52be053c0b Bug 524410 - part 2 - parse DW_TAG_inlined_subroutine DIEs; r=gsvelto
We record the file and line that these subroutines were inlined from.
We'll use that information to provide more coarse-grained line
information in the next patch.

Depends on D25469

Differential Revision: https://phabricator.services.mozilla.com/D25470

--HG--
extra : moz-landing-system : lando
2019-04-05 16:35:09 +00:00
Nathan Froyd d648debc54 Bug 524410 - part 1 - extract file information out of .debug_line parsing; r=gsvelto
The DW_AT_call_file attributes that we eventually want to parse from
DW_TAG_inlined_subroutine DIEs refer to the file name table stored in
the .debug_line section.  To resolve those DW_AT_call_file attributes,
we need access to that table after parsing of the appropriate
.debug_line bits is done.  This patch adds support for extracting that
information from the .debug_line parsing process.

Differential Revision: https://phabricator.services.mozilla.com/D25469

--HG--
extra : moz-landing-system : lando
2019-04-05 16:35:09 +00:00
Bobby Holley 2a1f1c84f4 Bug 1542862 - Eagerly fail when building Android on OSX with rust 1.33 and point to the bug/workaround. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D26589

--HG--
extra : moz-landing-system : lando
2019-04-09 18:40:44 +00:00
shindli bab5ff2626 Backed out changeset d389f6f9743e (bug 1540861) for causing perma failing bc7 failures in browser/components/urlbar/tests/browser/browser_UrlbarInput_tooltip.js 2019-04-09 21:40:51 +03:00
Sebastian Hengst 139fa2a952 Bug 1543034 - ifdef traceMagic to avoid warning about unused variable. r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D26766

--HG--
extra : moz-landing-system : lando
2019-04-09 17:36:41 +00:00
Oriol Brufau c3e455508e Bug 1504567 - Don't prematurely insert lazy tabs in customize mode. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D24657

--HG--
extra : moz-landing-system : lando
2019-04-02 12:58:40 +00:00
Gijs Kruitbosch 683b585bc6 Bug 1381951 - reserve preferences shortcut on mac, r=dao
Differential Revision: https://phabricator.services.mozilla.com/D26721

--HG--
extra : moz-landing-system : lando
2019-04-09 18:15:55 +00:00
Oriol Brufau 4b939a88d2 Bug 1540530 - Don't tear down Customize Mode when reloading about:blank. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D25547

--HG--
extra : moz-landing-system : lando
2019-04-09 17:54:01 +00:00
Lina Cambridge 9e950e825b Bug 1542990 - Use "Toolkit :: Storage" for kvstore bugs. DONTBUILD r=mak,myk
Differential Revision: https://phabricator.services.mozilla.com/D26657

--HG--
extra : moz-landing-system : lando
2019-04-09 18:11:57 +00:00
Emilio Cobos Álvarez 00d2a2ad83 Bug 1540220 - Stop uselessly calling EffectCompositor from ResolveStyleLazily. r=hiro
It's the caller's responsibility to have up-to-date styles, and
nsComputedDOMStyle (which is the only of those callers that could ever care
about EffectCompositor stuff) already does it.

There's no need to explicitly update animation rules from here, since it would
only have a difference for display: none subtrees anyway (otherwise we re-use
the cached style already in the element before having a chance to process the
potential animation restyles).

My guess is that this was just copy-pasta from other functions. This doesn't
break any test.

Differential Revision: https://phabricator.services.mozilla.com/D25458

--HG--
extra : moz-landing-system : lando
2019-04-09 18:05:08 +00:00
Emilio Cobos Álvarez ae42478092 Bug 1540220 - Cleanup a bit the lazy style resolution APIs. r=heycam
There are some that only have one caller, and some slightly confusing naming.
Hopefully make it a bit clearer.

Differential Revision: https://phabricator.services.mozilla.com/D25457

--HG--
extra : moz-landing-system : lando
2019-04-09 18:05:04 +00:00
Emilio Cobos Álvarez f1b06a744a Bug 1540220 - Remove some useless usage of LazyComputeBehavior::Allow. r=dholbert
This switches nsFrameSetFrame's hacky frame construction codepath to operate on
the flattened tree, since it made me a bit more comfortable about it (all layout
should operate on is the flattened tree, though in this cause this should not
cause any web-observable behavior change, since <frameset> can't be a shadow
host per spec, and we no longer support XBL-in-content).

That doesn't need to compute styles lazily. You only need to compute styles
lazily in descendants of display: none elements, and even though this code
doesn't check on display: none _on the children_, the parent element should
never have display: none (since we're creating an nsFrameSetFrame for it).

There are other places that still call into this (apart from getComputedStyle).

One is nsImageFrame's cursor code. Given the <area> elements referencing an
image map could be anywhere, we need to have lazy computation here.

The other is the viewport style propagation stuff. There shouldn't be a need for
LazyComputeBehavior::Allow on the document element in order to check the
viewport styles propagation, since the root element can't have display: none
ancestors. But we run that code before actually constructing the doc element
containing block, which is when we do the initial document styling.

We could remove that with some more effort, but it's not worth it right now,
since we need to keep using it for the <body>, since the document element could
be display: none itself, and we propagate the overflow styles in that case
still. I filed https://github.com/w3c/csswg-drafts/issues/3779 to potentially
change that.

Differential Revision: https://phabricator.services.mozilla.com/D25455

--HG--
extra : moz-landing-system : lando
2019-04-09 18:03:51 +00:00
Emilio Cobos Álvarez b00da66ad1 Bug 1540220 - Cleanup unused style traversal flags. r=dholbert
Some of these were unused, some of them were only used in combination with
others, so I've unified them.

In particular, Forgetful and ClearAnimationOnlyDirtyDescendants were used only
together for a very specific task (the final animation traversal), so I merged
them into something that has that name.

ClearDirtyBits was unused, so I removed along with some code that would no
longer be called.

Differential Revision: https://phabricator.services.mozilla.com/D25454

--HG--
extra : moz-landing-system : lando
2019-04-09 18:03:41 +00:00
Andrew McCreight bf911424ef Bug 1543169 - Use nicer XPIDL arrays in nsITouchBarUpdater. r=spohl
Differential Revision: https://phabricator.services.mozilla.com/D26773

--HG--
extra : moz-landing-system : lando
2019-04-09 17:47:06 +00:00
Mathieu Leplatre 5d817cbe77 Bug 1541428 - Improve invalidation of polling when adding new Remote Settings client r=glasserc
Improve invalidation of polling when adding new Remote Settings client

Differential Revision: https://phabricator.services.mozilla.com/D26690

--HG--
extra : moz-landing-system : lando
2019-04-09 17:43:47 +00:00
Jeff Walden c904278324 Bug 1542910 - Make all script compilation APIs directly return a JSScript*, rather than returning a success code and returning the JSScript* via outparam that exactly duplicates the success code value's meaning. r=arai
Differential Revision: https://phabricator.services.mozilla.com/D26616

--HG--
extra : moz-landing-system : lando
2019-04-09 17:58:52 +00:00
Brindusan Cristian aac73a89d3 Backed out changeset 2647a23c02bf (bug 1534351) for mochitest failures at test_multipleFilePicker.html. CLOSED TREE
--HG--
extra : histedit_source : aa91bdf0dd2666052949d80d9910e03a0d787598
2019-04-09 20:45:05 +03:00
Brindusan Cristian 149c6ee879 Backed out changeset 53e379a5738f (bug 1542910) as requested by waldo on irc. CLOSED TREE
--HG--
extra : histedit_source : 8714b8dac07c146822952ede6a8d85b3bf4caf50
2019-04-09 20:43:52 +03:00
Jeff Walden 9f030a47c2 Bug 1542910 - Make all script compilation APIs directly return a JSScript*, rather than returning a success code and returning the JSScript* via outparam that exactly duplicates the success code value's meaning. r=arai
Differential Revision: https://phabricator.services.mozilla.com/D26616

--HG--
extra : moz-landing-system : lando
2019-04-09 17:24:31 +00:00
Mike Shal aa51b83c3a Bug 1536194 - Fix uses of MOZ_LTO in a few mozconfigs; r=firefox-build-system-reviewers,glandium
After bug 1530908 changed LTO to be environment driven, the macosx64
nightly mozconfig enables LTO by setting MOZ_LTO=1. The add-on-devel
mozconfig tried to disable LTO by using --disable-lto, but the
environment variable takes precedence, leaving LTO enabled for these
builds. This pushed the build time up to be close to the max runtime for
the task, causing frequent intermittent failures.

We should 'unset MOZ_LTO' everywhere that --disable-lto was used, and
'export MOZ_LTO=1' everywhere --enable-lto was used.

Differential Revision: https://phabricator.services.mozilla.com/D26608

--HG--
extra : moz-landing-system : lando
2019-04-09 06:37:06 +00:00
Chris Manchester 0a97a2b84e Bug 1542707 - Don't replace 'nightly' jobs with artifact builds on try. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D26658

--HG--
extra : moz-landing-system : lando
2019-04-09 09:16:15 +00:00
Andrew McCreight c975aef40e Bug 1542944 - Release nsITouchBarInputCallback earlier so it doesn't leak. r=spohl
Differential Revision: https://phabricator.services.mozilla.com/D26712

--HG--
extra : moz-landing-system : lando
2019-04-09 16:53:55 +00:00
Cosmin Sabou 537bd71d70 Backed out changeset 47d793fbd8cc (bug 1533385) at nalexander's request.
--HG--
extra : rebase_source : 64b1c5ba60037c5aaf2b3eb1b515f78db271a1ae
2019-04-09 19:57:58 +03:00
Jonathan Kew c48e7d41b9 Bug 1542773 - Make the mac font activation/sandbox test (browser_bug1393259.js) more robust. r=haik
When the test font is activated, the notification of the font configuration change
may be handled asynchronously by content processes, so that it's possible the content
process has not yet handled the update at the point when registerFont() detects the
change and returns to the test script.

(This issue becomes more acute with the upcoming shared-font-list system, where the
OS notification is not handled by the content process at all; it's only handled by
the parent process, which then notifies content processes *after* it has updated the
font list. So there's an inherent latency between the update being recognized by the
chrome process - and therefore "ready" as far as the test script is concerned - and
content processes receiving and handling the change.)

To handle this, we can explicitly wait for the width of the rendered content to change,
which will indicate that the font configuration change has been handled by the content
process.

Differential Revision: https://phabricator.services.mozilla.com/D26570

--HG--
extra : moz-landing-system : lando
2019-04-09 16:56:06 +00:00
Chris H-C b5cb77c347 Bug 1539257 - Show Origin Telemetry in about:telemetry l10n-r?flod r=janerik,flod
Differential Revision: https://phabricator.services.mozilla.com/D26715

--HG--
extra : moz-landing-system : lando
2019-04-09 16:53:09 +00:00
Tom Prince 5f84cb1802 Bug 1458385: Repackage windows builds on linux. r=glandium,Callek
This only uses cross-platform tools, so switch to running these on linux, which
cuts the runtime down from ~20m to ~3m.

Differential Revision: https://phabricator.services.mozilla.com/D1080

--HG--
extra : moz-landing-system : lando
2019-04-06 05:49:55 +00:00