Commit Graph

657413 Commits

Author SHA1 Message Date
Emilio Cobos Álvarez
568c07f7ef Bug 1560777 - Fix a typo in a comment. 2019-06-23 13:08:25 +02:00
Emilio Cobos Álvarez
ef914bd2f8 Bug 1559094 - Restore old behavior for background-size: cover + zero-sized background positioning area. r=dholbert
This restores our previous and per-spec behavior. Comparing only ratios was not
correct in the case one of the dimensions was zero and thus not scaled.

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

--HG--
extra : moz-landing-system : lando
2019-06-23 10:08:16 +00:00
prathiksha
a0838122e3 Bug 1556172 - Enable browser_aboutCertError.js on mac and linux64. r=johannh
Depends on D35498

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

--HG--
extra : moz-landing-system : lando
2019-06-23 02:27:02 +00:00
prathiksha
c2b5486f19 Bug 1556172 - Fix browser_aboutCertError.js from intermittently failing. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D35498

--HG--
extra : moz-landing-system : lando
2019-06-23 02:21:20 +00:00
Nihanth Subramanya
0cdf73ebb1 Bug 1550662 - Make "Reload All Tabs" simply discard browsers when switching Content Blocking modes. r=mconley,johannh
Differential Revision: https://phabricator.services.mozilla.com/D34524

--HG--
extra : moz-landing-system : lando
2019-06-23 01:36:36 +00:00
Nihanth Subramanya
0b7007a23b Bug 1557093 - Use altKey+click to trigger the protections panel. r=ewright
Differential Revision: https://phabricator.services.mozilla.com/D35438

--HG--
extra : moz-landing-system : lando
2019-06-21 19:35:51 +00:00
Nihanth Subramanya
df38762841 Bug 1557725 - Ensure protections panel is enabled for tests. r=ewright
Differential Revision: https://phabricator.services.mozilla.com/D35437

--HG--
extra : moz-landing-system : lando
2019-06-21 19:36:27 +00:00
Nihanth Subramanya
665d6f3c26 Bug 1558023 - Make CaptivePortalWatcher._showNotification idempotent. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D35546

--HG--
extra : moz-landing-system : lando
2019-06-21 18:02:40 +00:00
Razvan Maries
5df6d6e3ce Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2019-06-23 00:49:16 +03:00
Razvan Maries
2a9b886a7c Merge mozilla-inbound to mozilla-central a=merge 2019-06-23 00:44:35 +03:00
Andrea Marchesini
872502eaf3 Bug 1560040 - Introduce 2 new URL-Classifier features to annotate and block social trackers, r=dimi
Differential Revision: https://phabricator.services.mozilla.com/D35421

--HG--
extra : moz-landing-system : lando
2019-06-22 16:53:50 +00:00
Daniel Holbert
3d83ddc5c5 Bug 1558849: Temporarily disable web-platform-test ruby-inlinize-blocks-002.html on more categories of Windows testers. (no review, test-annotation-only)
This test is known intermittent on windows. It's already annotated to be
disabled for some categories of Windows testers, but that annotation was overly
specific.

I've already fixed the "upstream" version of this test (the version in
layout/reftests), so the intermittent failure will stop once that fix has been
synchronized around.  But in the meantime, let's adjust the annotation so that
it includes Win10 64-bit testers, so we don't get intermittent failures for
those testers.

--HG--
extra : amend_source : c815ae1200e6a615f932ddf36fba6f8a7a039500
2019-06-22 09:48:24 -07:00
Dorel Luca
543e1fbd04 Merge mozilla-inbound to mozilla-central. a=merge 2019-06-22 12:38:29 +03:00
Jeff Muizelaar
5d0404fc6b Bug 1560578. Add GetUnderlyingSurface so that we can see through Offset surfaces. r=lsalzman
There are a number of places where we look at a source surface's type
and then cast it to get inner information. Wrapping surfaces with offset
surfaces breaks this. Adding GetUnderlyingSurface will let us see
inside. We use this in the D2D backend to make sure we do
unintentionally convert to datasurfaces.

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

--HG--
extra : moz-landing-system : lando
2019-06-22 05:56:46 +00:00
Florens Verschelde
773855f4a1 Bug 1558226 - Use theme-twisty in event tooltip headers; r=miker
- Uses theme-twisty for the triangle icon.
- Icon now has the correct orientation in RTL (handled by theme-twisty styles in common.css).
- Header rows are now always 24px tall excluding the border (before they were all 25px tall, including the first one.
- Accessible text color for event headers (dark theme, was 4.12).
- Make the event name 12px (our usual "biggish font" size, used in accordion headers and tab labels).

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

--HG--
extra : moz-landing-system : lando
2019-06-21 22:06:35 +00:00
Valentin Gosu
15a509f708 Bug 1558023 - [CaptiveDetect.jsm] Check if xhr.channel is null before using it r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D35552

--HG--
extra : moz-landing-system : lando
2019-06-21 23:19:47 +00:00
Boris Chiou
88447089e6 Bug 1560198 - Fix the serialization of the computed value of background-size. r=emilio
This patch produces the following serialization:
```
    input      |  computed value
  ------------------------------
1. "auto"            "auto"
2. "auto auto"       "auto"
3. "15px auto"       "15px"
4. "15px"            "15px"
```
i.e. If the second value is 'auto', then it's omitted from our serialization,
because it's implied.

Besides, we update the wpt to address this spec issue:
https://github.com/w3c/csswg-drafts/issues/2574

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

--HG--
extra : moz-landing-system : lando
2019-06-21 21:48:54 +00:00
Mike Hommey
de3ed8119f Bug 1560620 - Export PKG_CONFIG so that the pkg-config rust crate picks the same pkg-config as configure. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D35582

--HG--
extra : moz-landing-system : lando
2019-06-21 23:54:12 +00: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