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

636913 Коммитов

Автор SHA1 Сообщение Дата
Masayuki Nakano cdf451cbdd Bug 1466208 - part 20: Create PresShell::EventHandler::EventTargetData::MaybeRetargetToActiveDocument() r=smaug
Now, we can create methods to update event target into EventTargetData().
This moves a block in PresShell::EventHandler::HandleEvent() to retarget
to active document into the new method.

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

--HG--
extra : moz-landing-system : lando
2019-02-15 02:06:31 +00:00
Paul Bone b3d35668cc Bug 1433007 - (part 6) Rename lazyCapacity() to committed() and remove sizeOfHeapCommitted() r=sfink
spaceToEnd() now works when the nursery is disabled.

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

--HG--
extra : moz-landing-system : lando
2019-02-15 04:30:41 +00:00
Paul Bone 00ead041fc Bug 1433007 - (part 5) Add a sub-chunk limit to the nursery r=sfink
+ Add a limit so that the nursery can collect after using a fraction of a
   chunk.
 + Don't do idle time collection if the nursery is empty, even though the
   free space may now be less than the free space threshold, collecting it
   wont help.
 + Modify a test that expects a larger nursery.

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

--HG--
extra : moz-landing-system : lando
2019-02-15 04:30:21 +00:00
Paul Bone 81b02541c7 Bug 1433007 - (part 4) Perform nursery resize calculation in bytes r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D19347

--HG--
extra : moz-landing-system : lando
2019-02-15 04:30:02 +00:00
Paul Bone 08738b6727 Bug 1433007 - (part 3) Store the nursery capacity in bytes r=sfink
To make the next change simpler we will store the nursery capacity in bytes
so it can be varied more granularly.

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

--HG--
extra : moz-landing-system : lando
2019-02-15 04:29:44 +00:00
Paul Bone 6f079a103a Bug 1433007 - (part 2) Add new size functions to the Nursery r=sfink
Add capacity(), lazyCapacity() and usedSpace() functions to the Nursery.

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

--HG--
extra : moz-landing-system : lando
2019-02-15 04:29:24 +00:00
Paul Bone 5e16082b60 Bug 1433007 - (part 1) Make growAllocableSpace more strict about its argument r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D19618

--HG--
extra : moz-landing-system : lando
2019-02-15 04:29:10 +00:00
Ed Lee 30b0aa948f Bug 1528119 - Add Discovery design tweaks, preference visibility and bug fixes to Activity Stream r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D19880

--HG--
extra : moz-landing-system : lando
2019-02-15 02:20:31 +00:00
Kartikaya Gupta 56bd94dd33 Bug 1516568 - Add jobs to cross-compile cargo test binaries and run them on macOS. r=glandium
Similar to the previous patch, this adds two jobs. One that
cross-compiles the binaries produced by `cargo test` and publishes them
as an artifact. The other job downloads the artifact and runs the
resulting binaries.

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

--HG--
extra : source : 79120d13e713114032263c0851455ec5f981d72c
2019-02-15 01:32:21 +00:00
Kartikaya Gupta 10e1acc2e9 Bug 1516568 - Add jobs to cross-compile wrench and use the resulting binaries. r=glandium
One job (which runs on a Linux docker worker) cross compiles wrench in
two configurations (regular and headless) and publishes artifacts with
the binaries. The other job (which runs on macOS) downloads the
artifacts and uses them to run the WebRender macOS CI release-mode
scripts, which basically consists of running the WebRender reftest
suite.

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

--HG--
extra : source : 028c0ed368b844a4e54f3c38177b0fe65211d484
2019-02-15 01:32:16 +00:00
Kartikaya Gupta ca0bceb4a8 Bug 1516568 - Fuzz a couple of mac reftests. r=gw
For some reason running these via cross-compiled wrench in Mozilla
automation produces a few pixels difference.

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

--HG--
extra : source : f06721b552a819e4d2456f1c31d62c782d9a42cb
2019-02-15 01:32:10 +00:00
Kartikaya Gupta c5e6c813f1 Bug 1516568 - Update WR mac CI scripts to allow cross-compiling. r=kvark
This introduces some env vars to allow running cross-compiled
binaries instead of running things on the builder. Additionally
the `cargo test --features "ipc"` check is modified to be `check`
instead since there are no actual tests being run by that command.
The only thing we lose is a rustdoc example check but we are
checking that on Linux anyway so doing it for Mac is redundant.

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

--HG--
extra : source : ee403c79877e028c58fa9091dd360fe50a80af37
2019-02-15 01:32:06 +00:00
Kartikaya Gupta e537a097f1 Bug 1516568 - Update osmesa-src to includes servo/osmesa-src#33 for cross-compiling support. r=kvark
Differential Revision: https://phabricator.services.mozilla.com/D19366

--HG--
extra : source : 8990eef6c31e6071a433f4007c08491dadb2ab5b
2019-02-15 01:32:02 +00:00
Kartikaya Gupta 3674245c97 Bug 1516568 - Provide path to python executable when invoking fetch-content script. r=ahal
The shebang at the top of fetch-content doesn't work on macOS because
the path to python3 is not /usr/bin. Using /usr/bin/env doesn't work
properly on all platforms either so instead we invoke the script using
the currently running python executable.

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

--HG--
extra : source : f6413e576a2169855f766085704570c9fc851ee2
2019-02-15 01:30:48 +00:00
Kartikaya Gupta 21e4a3d645 Bug 1516568 - Allow run-task jobs on docker-worker to use internal tooltool downloads. r=ahal
This code already exists for other (non-run-task jobs) on docker worker,
so this patch just reuses the existing code but adds a bit to the
run-task schema to allow the task to opt in.

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

--HG--
extra : source : e9f887f489e59e828c7a62a4818c32cb5121f182
2019-02-15 01:30:39 +00:00
Dorel Luca b73b2c4f67 Backed out 7 changesets (bug 1516568) for Docker and Toolchain failures. CLOSED TREE
Backed out changeset 79120d13e713 (bug 1516568)
Backed out changeset 028c0ed368b8 (bug 1516568)
Backed out changeset f06721b552a8 (bug 1516568)
Backed out changeset ee403c79877e (bug 1516568)
Backed out changeset 8990eef6c31e (bug 1516568)
Backed out changeset f6413e576a21 (bug 1516568)
Backed out changeset e9f887f489e5 (bug 1516568)
2019-02-15 05:16:55 +02:00
Markus Stange f033887443 Bug 1527228 - Include PlatformMacros.h in order to correctly pick up the GP_ARCH_arm define and turn off packing of the ProfileBufferEntry struct, so that we don't do unaligned accesses on ARM. r=gerald
Differential Revision: https://phabricator.services.mozilla.com/D19867

--HG--
extra : moz-landing-system : lando
2019-02-15 02:14:06 +00:00
Boris Zbarsky 8a0e2dabbe Bug 1527905. Switch from zone-per-tab to zone-per-toplevel-load. r=mccr8
The main reason for this change is that we don't really want to share
compartments across same-origin navigations in the same tab (because that will
tend to keep the oldest global involved alive, due to CCWs and
XPCWrappedNatives allocated in that global).  We could somehow flag
compartments as not sharable when we navigate, but it's simpler to just switch
zones, since we restrict our search of shareable compartments to a single zone.

A side benefit is that this way the lifetime of objects in a single zone is
more likely to be similar.

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

--HG--
extra : moz-landing-system : lando
2019-02-14 22:43:19 +00:00
Jan de Mooij 271bc01510 Bug 1527742 - Don't skip decommitting memory when we are doing a shrinking GC. r=sfink
This wins at least 4 MB on AWSY's JS Opt number because we could have a lot of
unused arenas.

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

--HG--
extra : moz-landing-system : lando
2019-02-15 01:32:33 +00:00
Kartikaya Gupta ad84b74ed1 Bug 1516568 - Add jobs to cross-compile cargo test binaries and run them on macOS. r=glandium
Similar to the previous patch, this adds two jobs. One that
cross-compiles the binaries produced by `cargo test` and publishes them
as an artifact. The other job downloads the artifact and runs the
resulting binaries.

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

--HG--
extra : moz-landing-system : lando
2019-02-15 01:32:21 +00:00
Kartikaya Gupta dc62fcc29a Bug 1516568 - Add jobs to cross-compile wrench and use the resulting binaries. r=glandium
One job (which runs on a Linux docker worker) cross compiles wrench in
two configurations (regular and headless) and publishes artifacts with
the binaries. The other job (which runs on macOS) downloads the
artifacts and uses them to run the WebRender macOS CI release-mode
scripts, which basically consists of running the WebRender reftest
suite.

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

--HG--
extra : moz-landing-system : lando
2019-02-15 01:32:16 +00:00
Kartikaya Gupta 7fdac6c6fe Bug 1516568 - Fuzz a couple of mac reftests. r=gw
For some reason running these via cross-compiled wrench in Mozilla
automation produces a few pixels difference.

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

--HG--
extra : moz-landing-system : lando
2019-02-15 01:32:10 +00:00
Kartikaya Gupta a79bc23095 Bug 1516568 - Update WR mac CI scripts to allow cross-compiling. r=kvark
This introduces some env vars to allow running cross-compiled
binaries instead of running things on the builder. Additionally
the `cargo test --features "ipc"` check is modified to be `check`
instead since there are no actual tests being run by that command.
The only thing we lose is a rustdoc example check but we are
checking that on Linux anyway so doing it for Mac is redundant.

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

--HG--
extra : moz-landing-system : lando
2019-02-15 01:32:06 +00:00
Kartikaya Gupta aab00418a2 Bug 1516568 - Update osmesa-src to includes servo/osmesa-src#33 for cross-compiling support. r=kvark
Differential Revision: https://phabricator.services.mozilla.com/D19366

--HG--
extra : moz-landing-system : lando
2019-02-15 01:32:02 +00:00
Kartikaya Gupta a03acb6831 Bug 1516568 - Provide path to python executable when invoking fetch-content script. r=ahal
The shebang at the top of fetch-content doesn't work on macOS because
the path to python3 is not /usr/bin. Using /usr/bin/env doesn't work
properly on all platforms either so instead we invoke the script using
the currently running python executable.

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

--HG--
extra : moz-landing-system : lando
2019-02-15 01:30:48 +00:00
Kartikaya Gupta e5c19300b2 Bug 1516568 - Allow run-task jobs on docker-worker to use internal tooltool downloads. r=ahal
This code already exists for other (non-run-task jobs) on docker worker,
so this patch just reuses the existing code but adds a bit to the
run-task schema to allow the task to opt in.

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

--HG--
extra : moz-landing-system : lando
2019-02-15 01:30:39 +00:00
Daisuke Akatsuka 4f2f7acba6 Bug 1521442: Change starting page to connect page. r=jdescottes,ladybenko
Differential Revision: https://phabricator.services.mozilla.com/D19093

--HG--
extra : moz-landing-system : lando
2019-02-15 00:36:53 +00:00
Paul Bone dceb7a3fc4 Bug 1527225 - Use mozilla::Clamp in maybeResizeNursery() r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D19743

--HG--
extra : moz-landing-system : lando
2019-02-15 01:51:15 +00:00
Masayuki Nakano dbf1103279 Bug 1525162 - Make nsClipboardCommand::IsCommandEnabled() check whether window has document before accessing the document r=smaug
nsClipboardCommand::IsCommandEnabled() accesses document without null-check.
That must be the cause of the reported crash.  This patch just adds the check.

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

--HG--
extra : moz-landing-system : lando
2019-02-13 00:11:03 +00:00
Emilio Cobos Álvarez f30b7747dd Bug 1528098 - Remove content-select code. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D19869

--HG--
extra : moz-landing-system : lando
2019-02-15 01:51:33 +00:00
Daniel Varga 3ee8a5a1e9 Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2019-02-15 03:45:59 +02:00
Daniel Varga 30780abeeb Merge mozilla-inbound to mozilla-central. a=merge 2019-02-15 03:41:17 +02:00
Steve Fink c0bbfe2ca1 Bug 1526676 - demote SM(msan) back to tier 3; it is getting run via ridealongs, r=catlee
Differential Revision: https://phabricator.services.mozilla.com/D19698

--HG--
extra : moz-landing-system : lando
2019-02-14 23:03:40 +00:00
Ting-Yu Lin 8c62035164 Bug 1527519 Part 3 - Replace remaining nsLayoutUtils::GetAsBlock() with do_QueryFrame(), and delete nsLayoutUtils::GetAsBlock(). r=mats
Depends on D19861

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

--HG--
extra : moz-landing-system : lando
2019-02-15 01:38:05 +00:00
Ting-Yu Lin 6694012956 Bug 1527519 Part 2 - Replace some nsLayoutUtils::GetAsBlock() with nsIFrame::IsBlockFrameOrSubclass(). r=mats
Depends on D19860

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

--HG--
extra : moz-landing-system : lando
2019-02-15 01:38:04 +00:00
Ting-Yu Lin 646fb37989 Bug 1527519 Part 1 - Make do_QueryFrame more const-friendly, and mark nsIFrame::IsBlockFrameOrSubclass() as a const method. r=mats
This patch makes do_QueryFrame() accept const frame pointer e.g.
"const nsIFrame*", and also helps eliminate a few const_cast in Part 3.

Note that the fast path of do_QueryFrame is const-correct, but the slow
path is not (due to nsIFrame::QueryFrame() returns void*).

For example:

```
const nsIFrame* f;
nsBlockFrame* a = do_QueryFrame(f); // fast path, compile error.
nsIAnonymousContentCreator* b = do_QueryFrame(f); // slow path, still compiles.
```

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

--HG--
extra : moz-landing-system : lando
2019-02-15 01:38:04 +00:00
Ryan Hunt fc7e92ad83 Bug 1520363 - Rename nsIScrollableFrame::GetAnchor() to Anchor(). r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D19872

--HG--
extra : moz-landing-system : lando
2019-02-15 01:25:55 +00:00
Robert Strong 1063b8aee3 Bug 1527717 - Check the registry for 'URL Protocol' when checking if a protocol handler exists. r=jmathies
Differential Revision: https://phabricator.services.mozilla.com/D19775

--HG--
extra : moz-landing-system : lando
2019-02-15 00:36:26 +00:00
Coroiu Cristina bf6382c227 Backed out 2 changesets (bug 1524688) for build bustages at build/src/obj-firefox/xpcom/components/StaticComponents.cpp on a CLOSED TREE
Backed out changeset 042a975d3971 (bug 1524688)
Backed out changeset abaf68fe399b (bug 1524688)
2019-02-15 01:00:33 +02:00
James Graham 5a16553f7c Bug 1527307 - More metadata updates, a=testonly CLOSED TREE 2019-02-14 22:50:29 +00:00
Edwin Gao e7669e0875 Bug 1525785 - include aarch64 in list of validArchs for xpcshell test that checks architecture r=jmaher,gbrown
This should address the bug noted above, as well as several other bugs where `validArchs` is responsible for TEST-UNEXPECTED-FAIL.

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

--HG--
extra : moz-landing-system : lando
2019-02-14 22:47:49 +00:00
Michael Kaply 3bca501987 Bug 1527766 - Add enterprise policy for support menu. r=Felipe,flod
Differential Revision: https://phabricator.services.mozilla.com/D19722

--HG--
extra : moz-landing-system : lando
2019-02-14 23:25:08 +00:00
Mike Hommey 9c34e0b914 Bug 1512504 - Don't set __PRETTY_FUNCTION__ on clang-cl. r=froydnj
clang-cl defines it on its own, although the value is slightly different
from __FUNCSIG__ (it doesn't contain the ABI, which doesn't really
matter). We've only been setting it this was on clang-cl by extension of
setting it for msvc.

Depends on D19616

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

--HG--
extra : moz-landing-system : lando
2019-02-14 18:56:29 +00:00
Mike Hommey 2980c6fe0b Bug 1512504 - Remove now unused CFG test. r=tjr
Depends on D19615

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

--HG--
extra : moz-landing-system : lando
2019-02-14 18:56:29 +00:00
Mike Hommey ef3ad686ee Bug 1512504 - Remove support for MSVC. r=froydnj
Consequently, this removes:
- MOZ_LIBPRIO, which is now always enabled.
- non_msvc_compiler, which is now always true.
- The cl.py wrapper, since it's not used anymore.
- CL_INCLUDES_PREFIX, which was only used for the cl.py wrapper.
- NONASCII, which was only there to ensure CL_INCLUDES_PREFIX still
  worked in non-ASCII cases.

This however keeps a large part of detecting and configuring for MSVC,
because we still do need it for at least headers, libraries, and midl.

Depends on D19614

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

--HG--
extra : moz-landing-system : lando
2019-02-14 21:45:27 +00:00
Mike Hommey 71158b6626 Bug 1512504 - Remove automated msvc builds. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D19614

--HG--
extra : moz-landing-system : lando
2019-02-14 22:00:55 +00:00
Tom Prince 4ecf218463 Bug 1525736: [taskgraph] Allow looking up parameters by project for trust-domains other than `gecko`; r=dustin
Previously, this code looked parameters under `gecko.v2`, but that doesn't work
for projects using the out-of-tree taskgraph code, or Thunderbird. This moves
the parameter loading slightly later to vary the index used based on trust domain.

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

--HG--
extra : moz-landing-system : lando
2019-02-14 21:34:49 +00:00
Thomas Daede 3fcd2d85d2 Bug 1511224 - Add win64-nasm toolchain. r=ted,jya,glandium
Differential Revision: https://phabricator.services.mozilla.com/D13875

--HG--
extra : moz-landing-system : lando
2019-02-14 21:30:22 +00:00
Gerald Squelart 349d4a5381 Bug 1527564 - Child forwards its process name to the profiler - r=mstange
Profiler was previously fetching process name at the time of shutdown
serialization, at which point that name could have already been destroyed.

Now the child process just forwards the name as soon as it is given, so
the profiler can store it for later.

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

--HG--
extra : moz-landing-system : lando
2019-02-14 21:19:42 +00:00
Jan Henning 6ae3b86617 Bug 1460874 - Part 12: Enforce sensible API usage for manual font size settings. r=snorp
Modifying the manual font size settings while the GeckoFontScaleListener is
active is theoretically possible, but probably not the most sensible way of
using that API. Therefore, we prohibit it and throw an exception in that case.

There is one complication, though: The very same API is used by the font scale
listener itself in order to modify the font size settings according to the
system font scale. Therefore, we have to move the GeckoFontScaleListener into
the GeckoView package itself, so that we can provide a package-private internal
API that bypasses the above usage checks.

This means that going forward, Fennec needs to use the official GeckoView API
to communicate with the font scale listener, too. As we've moved out the Shared-
Preferences watching  in part 5, this doesn't pose any insurmountable
difficulties.

Because for a short while I encountered some strange crashes where getRuntime()
in GeckoApplication apparently returned null while trying to initialise the
listener, I'm tying its initialisation to creation of the runtime, just to be on
the safe side.

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

--HG--
rename : mobile/android/geckoview/src/main/java/org/mozilla/gecko/GeckoFontScaleListener.java => mobile/android/geckoview/src/main/java/org/mozilla/geckoview/GeckoFontScaleListener.java
extra : moz-landing-system : lando
2019-02-14 20:43:25 +00:00