Commit Graph

657698 Commits

Author SHA1 Message Date
Razvan Maries
5df6d6e3ce Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2019-06-23 00:49:16 +03:00
Razvan Caliman
ddacf7fb9f Bug 1559589 - Ensure Font Editor supports "normal" as computed style value for line-height; r=gl
Remove conversion for computed `line-height` value to unitless value to prevent Font Editor from crashing when the patch from [Bug 1536871](https://bugzilla.mozilla.org/show_bug.cgi?id=1536871) is applied (the default computed value for `line-height` is no longer numeric).

Add support for `normal` keyword value for `line-height` as the default returned by `getComputedStyle()`, similar to existing behavior for `letter-spacing`.

Fix misnomer of the class in `LetterSpacing.js` component.

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

--HG--
extra : moz-landing-system : lando
2019-06-21 17:28:21 +00:00
He Yifei
ed9d09a791 Bug 1557524 - Add top margin for about:addons inline settings page. r=mstriemer,rpl
Added a top margin for about:addons inline settings page such that
the paddings would be consistent.

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

--HG--
extra : moz-landing-system : lando
2019-06-21 23:22:16 +00:00
Dale Harvey
aa72d212cf Bug 1558452 - Fix sitePermission column header width. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D35545

--HG--
extra : moz-landing-system : lando
2019-06-21 23:13:08 +00:00
David Walsh
34f1734412 Bug 1560571 - Enable event listener breakpoints r=Harald
Differential Revision: https://phabricator.services.mozilla.com/D35554

--HG--
extra : moz-landing-system : lando
2019-06-21 21:41:56 +00:00
Gurzau Raul
e639b0bebd Backed out changeset 5656e43f9b43 (bug 1560006) for debugger test fails at SourcesTreeItem.spec.js
--HG--
extra : rebase_source : bb5081c6c4b2e735f41745bf047a39404cd1e6e4
2019-06-22 01:51:11 +03:00
Erica Wright
2c4d0c79fb Bug 1549830 - Create content blocking database. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D33716

--HG--
extra : moz-landing-system : lando
2019-06-21 22:45:47 +00:00
Nicolas Chevobbe
a71fef0c9c Bug 1560429 - Fix low-alpha hexa longAlphaHex getter. r=miker.
A test case is added to make sure this is fixed.
We also add the ability to not run a given test case in the color test.

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

--HG--
extra : moz-landing-system : lando
2019-06-21 22:17:34 +00:00
Michael Ratcliffe
7b2e58e5d4 Bug 1560006 - Upgrade React to v16.8.6 r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D35265

--HG--
extra : moz-landing-system : lando
2019-06-21 21:22:42 +00:00
Byron Campen [:bwc]
d65a769702 Bug 1560562: Check whether we should log before building the log string. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D35543

--HG--
extra : moz-landing-system : lando
2019-06-21 21:09:22 +00:00
Geoff Brown
46ae70c525 Bug 1560162 - Handle psutil exception in 'mach android-emulator'; r=denschub
I haven't reproduced this failure myself, but this change *should* help.

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

--HG--
extra : moz-landing-system : lando
2019-06-21 20:07:20 +00:00
avneeshsinghal
6b007e9918 Bug 1556844 - Enable more ESLint rules for netwerk, (auto & manual) fixes & format changes , r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D33992

--HG--
extra : moz-landing-system : lando
2019-06-21 20:13:40 +00:00
Rob Wood
f525b60bef Bug 1560575 - Add missing aarch64 cold page-load suites to production (test-sets.yml) r=perftest-reviewers,stephendonner
Differential Revision: https://phabricator.services.mozilla.com/D35558

--HG--
extra : moz-landing-system : lando
2019-06-21 18:58:54 +00:00
Paul Adenot
e100119b87 Bug 1429847 - Promote audio threads to real-time priority before locking down the sandbox. r=kinetik
Differential Revision: https://phabricator.services.mozilla.com/D34888

--HG--
extra : moz-landing-system : lando
2019-06-21 19:49:10 +00:00
Paul Adenot
88c421c259 Bug 1429847 - Allow promoting CpuPool threads for audio remoting separately from the client creation. r=kinetik
Differential Revision: https://phabricator.services.mozilla.com/D34887

--HG--
extra : moz-landing-system : lando
2019-06-21 19:49:08 +00:00
Paul Adenot
356d945008 Bug 1429847 - Promote the GraphRunner thread. r=pehrsons
Differential Revision: https://phabricator.services.mozilla.com/D32499

--HG--
extra : moz-landing-system : lando
2019-06-21 19:51:22 +00:00
Paul Adenot
6af26dcc3d Bug 1429847 - Vendor rust, to pick up the changes. r=kinetik
Differential Revision: https://phabricator.services.mozilla.com/D30907

--HG--
extra : moz-landing-system : lando
2019-06-21 19:51:22 +00:00
Paul Adenot
be02258965 Bug 1429847 - Add audio_thread_priority to mozilla-central. r=kinetik
Differential Revision: https://phabricator.services.mozilla.com/D30906

--HG--
extra : moz-landing-system : lando
2019-06-21 19:48:52 +00:00
Csoregi Natalia
92490775ef Backed out changeset 86a122959152 (bug 1559551) for failures on test_menu_button.html. CLOSED TREE 2019-06-21 22:53:40 +03:00
Drew Willcoxon
ed7b16480f Bug 1559264 - Quantumbar: Don't call setValueFromResult when opening the history popup. r=dao
The problem is that on switching back to the first tab (see the bug), userTypedValue is non-null when URLBarSetURI is called. Therefore the proxy state can't be valid. Something about bug 1529931 caused userTypedValue to go from null to non-null in this case. Details below, but the summary is that we shouldn't be calling UrlbarInput.setValueFromResult when opening the history popup, because setValueFromResult sets userTypedValue.

Before bug 1529931, result.autofill would always be undefined for the first result in the history popup, because we didn't allow UnifiedComplete to return an autofill result for the search triggered by the history popup. After that bug, UnifiedComplete could return an autofill result in that case -- and it likely would since the first result in the history popup has a very high frecency, which also makes it eligible for autofill.

The problem with having an autofill result in the history popup is that it triggers the input.setValueFromResult() call in UrlbarController.receiveResults [1], and setValueFromResult sets userTypedValue. So when the user opens the history popup, userTypedValue gets set to a non-null value (input._lastSearchString).

The fix is to not allow autofill for the history popup. After making that fix on revision https://hg.mozilla.org/mozilla-central/rev/5e2a3b886e64, the bug went away.

However, after I made that fix on a fresh tree, the bug still happened. It turns out that input.setValueFromResult still ends up getting called, by UrlbarView._selectItem [2], which is called when results are received [3]. The fix for this afaict is just to pass `updateInput: false` to _selectItem.

The autofill-related fix doesn't seem to be necessary at all anymore (likely due to the substantial changes to autofill since that bug landed), but I left it in anyway since it seems right to not allow autofill results for the history popup.

One other useful bit of info is that userTypedValue is set to null by tabbrowser on page load [4], so that's how userTypedValue has a null value when the bug manifests and it goes from null to non-null.

[1] https://hg.mozilla.org/mozilla-central/file/5e2a3b886e647af1968b9e52a6672bdeee2a0d6f/browser/components/urlbar/UrlbarController.jsm#l150
[2] https://searchfox.org/mozilla-central/rev/da14c413ef663eb1ba246799e94a240f81c42488/browser/components/urlbar/UrlbarView.jsm#685
[3] https://searchfox.org/mozilla-central/rev/da14c413ef663eb1ba246799e94a240f81c42488/browser/components/urlbar/UrlbarView.jsm#220
[4] https://searchfox.org/mozilla-central/rev/da14c413ef663eb1ba246799e94a240f81c42488/browser/base/content/tabbrowser.js#5118

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

--HG--
extra : moz-landing-system : lando
2019-06-21 18:37:27 +00:00
Matthew Noorenberghe
33956ae957 Bug 1559997 - Use a monospace password font in generated autocomplete. r=sfoster
Also fix the autocomplete footer size.

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

--HG--
extra : moz-landing-system : lando
2019-06-21 19:07:38 +00:00
Makoto Kato
cb97dec989 Bug 1560517 - Update LICENSE, README and license.hunspell to 1.6.1 r=RyanVM
No one includes `license.hunspell`, so we don't need our custimze block (`#include "config.h"`)

Also, some files isn't updated to 1.6.1, so we should update it.

Depends on D35516

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

--HG--
extra : moz-landing-system : lando
2019-06-21 14:26:53 +00:00
Makoto Kato
e20f6f80c7 Bug 1560517 - Add update script and patch files for hunspell library r=masayuki
Add `update.sh` script and patch files to update hunspell library easily.

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

--HG--
extra : moz-landing-system : lando
2019-06-21 18:57:35 +00:00
meandave
94264b7887 Bug 1559551 - Add Feedback menuitem to ellipsis menu.?jaws r=fluent-reviewers,jaws,flod
Differential Revision: https://phabricator.services.mozilla.com/D35379

--HG--
extra : moz-landing-system : lando
2019-06-21 01:31:42 +00:00
David Walsh
53fb636dc3 Bug 1557782 - Update event listener breakpoints label to existing tools r=jlast
Per Harald's request

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

--HG--
extra : moz-landing-system : lando
2019-06-21 17:15:43 +00:00
David Walsh
ddef526000 Bug 1557784 - Align event listner breakpoint arrows and checkboxes with header r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D35540

--HG--
extra : moz-landing-system : lando
2019-06-21 17:15:41 +00:00
Mihai Alexandru Michis
68de945c39 Bug 1557518 - Expect attachment-scroll-positioning-1.html to pass on Windows 10 AArch64 opt. r=jgraham
Differential Revision: https://phabricator.services.mozilla.com/D35329

--HG--
extra : moz-landing-system : lando
2019-06-21 17:18:58 +00:00
Andreea Pavel
bc764309ea Bug 1559494 - disabled new_window_null.tentative.html on android r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D35410

--HG--
extra : moz-landing-system : lando
2019-06-20 17:02:27 +00:00
Jeff Muizelaar
0b68652b49 Bug 1539702. Improve CreateClippedDrawTarget API r=jwatt,rhunt
This changes CreateClippedDrawTarget so that instead of taking
a max size and a transform it just takes a user space rect of
the desired bounds.

This change allows the caller to not worry about the computing
a max size based on the current clip. Instead this responsibility
is lowered into the specific backends.

The main motivation for this work is to allow blob recoordination
to create recordings that don't depend on the current clip.

Some additional benefits are that the API is easier to use and
as can be seen simplifies the SVG masking code because it doesn't
need to track surface offsets manually.

It's also an important step towards removing all the uses of
gfxContext::GetClipExtents which will let us get rid of the separate
clipping stack in gfxContext and help us move off of gfxContext
completely.

Most backend implementations of CreateClippedDrawTarget are relatively
simple. DrawTargetCapture is modified to track the current clip rect
so that it can create a new DrawTargetCapture of the appropriate size
without needing to worry about lazy resolution.

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

--HG--
extra : moz-landing-system : lando
2019-06-21 09:51:00 +00:00
Andrea Marchesini
6c816c5de8 Bug 1560040 - Introduce 2 new URL-Classifier features to annotate and block social trackers - tests, r=dimi
Differential Revision: https://phabricator.services.mozilla.com/D35422

--HG--
extra : moz-landing-system : lando
2019-06-22 16:54:04 +00:00
Nicolas Chevobbe
85b42f62ab Bug 1358983 - Fix zombie highlighters. r=miker.
Due to how highlighters work, it requires the inspector to be initialized.
It can happen than the user will mouseenter/mouseout on an element that
calls highlight/unhighlight very quickly.
Since the hightlight can take some time, it might happen that the unhighlight
call is handled first, before the highlight call, meaning that we now have an
highlighter displayed, even though the user isn't hovering anything that
should cause this anymore.

This patch introduces a new toolbox function called `getHighlighter` that
returns an object with a `highlight and a `unhighlight` function.
We keep a reference to any possible pending `highlight` call so we can wait
for it to be done in `unhighlight`, before destroying it.

The console makes use of the new helper function, and a test is added to ensure
we don't have zombie highlighters anymore.

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

--HG--
extra : moz-landing-system : lando
2019-06-21 22:15:57 +00:00
Mark Banner
fc492ced11 Bug 1464007 - Specify the 'html' plugin in .eslintrc.js by default for better editor integration. r=mossop
This moves the html plugin enabling from the ./mach command line to the configuration, which means editors can pick this up automatically.

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

--HG--
extra : moz-landing-system : lando
2019-06-20 21:33:34 +00:00
Mark Banner
e1ab91141b Bug 1556431 - Add signature verification to the search service ignore list. r=daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D35359

--HG--
extra : moz-landing-system : lando
2019-06-22 19:09:58 +00:00
Alex Henrie
3dc2f0f450 Bug 1544432 part 1: Scale around (0,0) when transforming SVG text from run user space to user space. r=longsonr
--HG--
extra : rebase_source : 09777821eca0aa0133e09a51a13c6677a3ab027f
2019-06-20 09:41:55 -07:00
Brian Hackett
359882bb51 Bug 1484818 - Fix record/replay problems with protocol.js ThreadClient, r=yulia.
--HG--
extra : rebase_source : 71683eca53cc53ba03f3d356bd73c40667d44073
2019-06-20 06:31:55 -10:00
Daniel Varga
f0b91ebea6 Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2019-06-25 00:50:54 +03:00
Mike Shal
d3085f4d0f Bug 1557785 - Enable 3-tier PGO on Windows builds; r=tomprince
Differential Revision: https://phabricator.services.mozilla.com/D34803

--HG--
extra : moz-landing-system : lando
2019-06-19 22:06:22 +00:00
Mike Shal
26b533deae Bug 1557785 - Process install manifests in 3-tier Windows builds; r=firefox-build-system-reviewers,chmanchester
Windows 1-tier PGO builds only partially clobber between the
profile-generate and profile-use stages, so that exports/installed files
don't have to be reprocessed. Unfortunately we can't skip the install
manifests in 3-tier PGO because the profile-generate build happens on a
different machine, so we have to differentiate between 1-tier and 3-tier
PGO builds. A new variable, MOZ_1TIER_PGO, is used for this purpose.

Eventually this logic can be cleaned up in bug 1557788 once all PGO
builds use the 3-tier model.

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

--HG--
extra : moz-landing-system : lando
2019-06-19 22:06:14 +00:00
Mike Shal
e988157224 Bug 1557785 - Switch backslashes to forward-slashes in JARLOG_FILE_AB_CD for Windows; r=glandium
Our version of mozmake in Windows has issues with how it shells out to
commands that contain double-quote characters. For
example:

FOO="bar" $(PYTHON) script.py

behaves differently than:

FOO='bar' $(PYTHON) script.py

With a double-quote anywhere in the command-line, backslashes get
slurped, so Z:\task/foo becomes Z:task/foo, and python fails to open the
file.

The backslash comes from the WORKSPACE variable in Taskcluster, which is
used in many places, so it seems prudent here to simply convert the
backslash to a forward-slash as a workaround for the issue. Another
possible workaround is to change WORKSPACE to use forward-slashes, and
work around any potential issues with that.

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

--HG--
extra : moz-landing-system : lando
2019-06-19 22:06:11 +00:00
Mike Shal
9ea52410d9 Bug 1557785 - Fix automatic setting of LTO with clang-cl; r=dmajor
With clang-cl and PGO enabled, toolchain.configure automatically turns
on LTO for compatibility with MSVC. However, MOZ_PGO is set for both the
profile-generate and profile-use builds in a 3-tier PGO setup via
imply_option(), but we only want LTO enabled for the profile-use build
(see bug 1483778).

For 1-tier PGO builds, which are still used by local developers, MOZ_PGO
will be set and --enable-profile-generate will be unset, so LTO will be
automatically enabled. The profiledbuild target in make is responsible
for disabling MOZ_LTO on the profile-generate build.

For 3-tier PGO builds, MOZ_PGO will still be set, so we can skip setting
LTO in configure when --enable-profile-generate is set.

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

--HG--
extra : moz-landing-system : lando
2019-06-25 18:38:15 +00:00
Mike Shal
628c15f57c Bug 1557785 - Allow LLVM_PROFDATA to work even if not explicitly set in the environment; r=firefox-build-system-reviewers,chmanchester
Windows finds llvm-profdata in the PATH, in contrast to Linux or Android
builds that set LLVM_PROFDATA as an environment variable in mozconfigs.
The pgo_profile_path() configure checks should still work in this case.

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

--HG--
extra : moz-landing-system : lando
2019-06-19 22:05:56 +00:00
Mike Shal
5e2e67f17f Bug 1557785 - Hook MOZ_PGO_PROFILE_USE environment variable into common Windows mozconfig; r=firefox-build-system-reviewers,chmanchester
MOZ_PGO_PROFILE_USE is set when the use-pgo attribute is defined in the
task. This environment variable is used to enable --enable-profile-use
and related configure flags.

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

--HG--
extra : moz-landing-system : lando
2019-06-19 22:05:52 +00:00
Mike Shal
7453191883 Bug 1557785 - Add Windows generate profile task; r=tomprince
Differential Revision: https://phabricator.services.mozilla.com/D34797

--HG--
extra : moz-landing-system : lando
2019-06-19 22:05:43 +00:00
Mike Shal
f1f2c9715a Bug 1557785 - Update run-profileserver.sh for Windows compatibility; r=firefox-build-system-reviewers,chmanchester
The run-profileserver.sh script is a bridge between the Taskcluster task
and profileserver.py. It was originally written as a Linux-only script,
but with a few modifications it can support Windows as well. The xvfb
support needs to be optional, and the UPLOAD_PATH and PGO_RUNDIR
variables must not assume a Linux filesystem.

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

--HG--
extra : moz-landing-system : lando
2019-06-19 22:05:41 +00:00
Mike Shal
3bdb950687 Bug 1557785 - Add win64 PGO-instrumented task; r=tomprince
Differential Revision: https://phabricator.services.mozilla.com/D34795

--HG--
extra : moz-landing-system : lando
2019-06-19 22:05:26 +00:00
Eden Chuang
44bb94af31 Bug 1427396 - Twice the dom.serviceWorkers.idle_timeout value for tests under dom/tests/mochitest/fetch/ to reduce the impact SW termination by timeout. r=perry
The ServiceWorker is terminated by idleWorkerTimer timeout, and in slow platforms/machines, it would cancel the uncompleted fetching and make unexpected behavior during running tests.

The SW idle termination implementation has no defects, so the fix would just double the dom.serviceWorkers.idle_timeout to let fetchings have more chance to finish before idleWorkerTimer timeout.

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

--HG--
extra : moz-landing-system : lando
2019-06-25 15:21:15 +00:00
Logan Smyth
d0d8f42f64 Bug 1561392 - Handle backward-compat for new event-breakpoint implementation. r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D35847

--HG--
extra : moz-landing-system : lando
2019-06-25 20:17:24 +00:00
Michael Cooper
591aa42a3b Bug 1541923 - Avoid leaking cookies via Normandy fetches r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D31810

--HG--
extra : moz-landing-system : lando
2019-06-25 20:14:23 +00:00
Nick Alexander
871427c9e4 Bug 1555255 - Don't require a network connection to produce Javadoc. r=geckoview-reviewers,agi
See https://stackoverflow.com/a/24026735.

Adding the `docs` package requirement is not ideal, but it's not worth
the effort to install it only in automation (or in the relevant task),
and it's not *that* large: 1.0G on my macOS installation.

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

--HG--
extra : moz-landing-system : lando
2019-06-25 19:58:26 +00:00
Mike Hommey
2bd4c4799f Bug 1560826 - Make bootstrap upgrade mercurial when it is older than 4.8. r=nalexander
4.3.3 is the strict minimum required for v-c-t's config wizard, but it
is preferable people use more modern versions. We could go with 5.0, but
it feels like people still using 4.8 and 4.9 don't really need to be
bugged to update to a more recent version, they are kind of modern
enough. OTOH MozillaBuild comes with 4.5.x, and this will force an
upgrade for those.

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

--HG--
extra : moz-landing-system : lando
2019-06-25 16:50:17 +00:00