Commit Graph

746235 Commits

Author SHA1 Message Date
Geoff Brown
413323460d Bug 1694275 - Add comment to mozprocess warning about shortcomings; r=jmaher
The python subprocess module keeps getting better, while mozprocess is poorly
maintained and subject to various problems (like this bug!), so this patch
adds a comment to mozprocess warning about shortcomings.

Differential Revision: https://phabricator.services.mozilla.com/D106198
2021-02-24 21:34:04 +00:00
Emma Malysz
fc2ffae60a Bug 1694650, update fxa avatar when proton is enable r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D106320
2021-02-24 21:28:33 +00:00
Emma Malysz
86a7eeaf5a Bug 1694648, ensure toolbarseparators are added correctly for menu headers when proton is enabled r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D106310
2021-02-24 21:28:23 +00:00
Bernard Igiri
a406661d0f Bug 1685961 - Hide Content Process Limit UI r=Gijs
Hides the "Content Process Limit" UI when Fission is enabled.

Differential Revision: https://phabricator.services.mozilla.com/D105055
2021-02-24 20:42:31 +00:00
Emma Malysz
e2feec63e1 Bug 1686526, hide sidebar button in proton toolbar r=mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D105819
2021-02-24 20:00:15 +00:00
Glenn Watson
f50764ccd0 Bug 1694554 - Remove unused picture info stack. r=nical
Existing code does push/pop of this during the visibility pass,
but it's no longer used so can be removed.

Differential Revision: https://phabricator.services.mozilla.com/D106243
2021-02-24 19:54:51 +00:00
Tom Schuster
f490362655 Bug 1689836 - Improve clipboard.write error messages and check image decoding more. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D105114
2021-02-24 19:51:05 +00:00
Tom Schuster
c7a4215236 Bug 1689883 - Update wpt metadata for setPermission changes. r=jgraham
Differential Revision: https://phabricator.services.mozilla.com/D105113
2021-02-24 19:51:04 +00:00
Tom Schuster
f532cf3f5f Bug 1689883 - Turn marionette UnsupportedOperationException into NotImplementedError. r=jgraham
Differential Revision: https://phabricator.services.mozilla.com/D105112
2021-02-24 19:51:04 +00:00
James Graham
925142a80e Bug 1689883 - Implement testdriver set_permission. r=jgraham
Differential Revision: https://phabricator.services.mozilla.com/D105111
2021-02-24 19:51:04 +00:00
James Graham
e59f9029ac Bug 1689883 - Provide a marionette implementation of setPermission. r=marionette-reviewers,whimboo,jgraham
This is specialised to just provide some basic/test-only support for the
asyncclipboard permissions, entirely to get the tests working a little better.

Differential Revision: https://phabricator.services.mozilla.com/D105110
2021-02-24 19:51:03 +00:00
Andrew Osmond
08a4397790 Bug 1688096 - Part 2. Add flag to CompositorOptions to allow SW-WR on a per widget basis. r=mattwoodrow
The pref gfx.webrender.software.unaccelerated-widget.allow may be used
to allow software WebRender to be used with new windows/popups that have
transparency on Windows. Otherwise they would fallback to basic layers.

Similarly, the pref gfx.webrender.software.unaccelerated-widget.force
may be used to force software WebRender for all windows that would
fallback to basic layers.

Differential Revision: https://phabricator.services.mozilla.com/D104855
2021-02-24 19:40:00 +00:00
Andrew Osmond
271ea44146 Bug 1688096 - Part 1. Merge SW-WR and WR render texture host paths to allow mixed compositors. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D104854
2021-02-24 19:39:59 +00:00
Csoregi Natalia
e50ad13694 Backed out 2 changesets (bug 1693927, bug 1693126) for failures on browser_urlbar_telemetry_quicksuggest.js. CLOSED TREE
Backed out changeset 681c90aa832e (bug 1693126)
Backed out changeset 7525ec04b82a (bug 1693927)
2021-02-24 22:00:43 +02:00
Drew Willcoxon
8b20784ab6 Bug 1693126 - Add telemetry for when users disable Quick Suggest. r=harry,nanj
This adds event telemetry that's recorded when the
`browser.urlbar.suggest.quicksuggest` pref is toggled. This pref corresponds to
the checkbox in about:preferences#search labeled "Show suggested and sponsored
results in the address bar".

I used `contextservices.quicksuggest` as the event telemetry category name to be
similar to the `contextual.services.quicksuggest.*` scalars. Event names are
limited to 30 chars, so it couldn't be exactly the same.

This is based on my earlier revision for scalar telemetry in D106173.

Depends on D106173

Differential Revision: https://phabricator.services.mozilla.com/D106248
2021-02-24 19:13:50 +00:00
Jim Blandy
d05c7d7131 Bug 1694547: Let chrome JavaScript control WebRender capture sequence parameters. r=jrmuizel
This patch is plumbing to get a path and a flags word through from the content
process to the graphics process, to pass to `wr_api_start_capture_sequence`.

Differential Revision: https://phabricator.services.mozilla.com/D106229
2021-02-24 18:52:08 +00:00
Andrew Osmond
8c069808bb Bug 1693383 - Part 4. Add jobs for Linux Software WebRender mochitests. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D105665
2021-02-24 18:47:25 +00:00
Andrew Osmond
a4745549bc Bug 1693383 - Part 3. Disable mochitests currently broken with Software WebRender and Linux. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D105664
2021-02-24 18:47:24 +00:00
Andrew Osmond
49ab54fc3d Bug 1693383 - Part 2. Add 'swgl' for Software WebRender in mochitest manifest parsing. r=jgraham
This matches 'swgl' for reftests.

Differential Revision: https://phabricator.services.mozilla.com/D105663
2021-02-24 18:47:24 +00:00
Andrew Osmond
29848ac31b Bug 1693383 - Part 1. Adjust tests to correctly detect HW-WR and SW-WR variants. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D105620
2021-02-24 18:47:23 +00:00
Lee Salzman
6d0dfe44e3 Bug 1690216 - Clarify that StartRemoteDrawingInRegion does not actually modify the region. r=mattwoodrow
It caused us substantial confusion investigating this bug under the belief that
StartRemoteDrawingInRegion may have been modifying the dirty region. None of our
existing widget code anymore uses the API in this way, so it makes sense to just
force this dirty region to be const so that we no longer support the assumption
and alleviate confusion in the future about how our widget code actually behaves.

Depends on D106246

Differential Revision: https://phabricator.services.mozilla.com/D106247
2021-02-24 18:34:52 +00:00
amurali
8632afe08c Bug 1691453 - Remove ObservesTypeOfEntry again in PerformanceObserver::QueueEntry.r=sefeng
Differential Revision: https://phabricator.services.mozilla.com/D106290
2021-02-24 18:07:35 +00:00
Tim Nguyen
5ac084ec38 Bug 1694722 - Remove unreachable check in IsAccessKeyTarget. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D106296
2021-02-24 18:05:15 +00:00
Drew Willcoxon
0b23a69777 Bug 1693927 - Record keyed scalar telemetry for impressions and clicks on Quick Suggest results. r=harry,nanj
This adds three new keyed scalars:

* `contextual.services.quicksuggest.impression`: Incremented when a Quick
  Suggest result is shown in an address bar engagement where the user picks any
  result.
* `contextual.services.quicksuggest.click`: Incremented when the user picks a
  Quick Suggest result (not including the help button).
* `contextual.services.quicksuggest.help``: Incremented when the user picks the
  onboarding help button in a Quick Suggest result.

The changes to telemetry.rst and Scalars.yaml have more details.

I modified `TelemetryEvent.typeFromElement()` to return `"help"` for clicks on
the help button so that the quick suggest provider can tell whether the main
part of the result was picked or the help button. I left `"tiphelp"` for tip
help buttons in case anything depends on that.

Depends on D106060

Differential Revision: https://phabricator.services.mozilla.com/D106173
2021-02-24 18:01:37 +00:00
Michelle Goossens
46dd0460da Bug 1692670 - Remove separator between delete and "select all" in the content context menu r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D105992
2021-02-24 17:54:03 +00:00
Agi Sferro
a5bf648b7d Bug 1692058 - Open temporary file in w mode when running multiple junit tests. r=droeh,mhentges
We're trying to store a string in a file open in binary mode which doesn't work :)

I'm guessing this was allowed in Python2 or some older 3 version.

Differential Revision: https://phabricator.services.mozilla.com/D104751
2021-02-24 17:03:32 +00:00
Agi Sferro
816cdb938f Bug 1609198 - Print logcat on junit test failure. r=droeh,nalexander
This also adds a --verbose flag to |mach geckoview-junit| which always prints
the logcat for every test.

Differential Revision: https://phabricator.services.mozilla.com/D104769
2021-02-24 17:02:54 +00:00
Nan Jiang
59c6a49f3a Bug 1693393 - add telemetry for sponsored TopSites in Urlbar r=dao,harry
Differential Revision: https://phabricator.services.mozilla.com/D105639
2021-02-24 16:57:27 +00:00
Butkovits Atila
df23c6e58c Backed out 4 changesets (bug 1689499, bug 1686218) for causing failure at bug1689499.js;module;async. CLOSED TREE
Backed out changeset e5819ad68d91 (bug 1686218)
Backed out changeset b42024c79b4c (bug 1689499)
Backed out changeset 83dcd14e375a (bug 1689499)
Backed out changeset bf45ac283ab7 (bug 1689499)
2021-02-24 19:53:42 +02:00
Chris H-C
d537f7541d Bug 1694466 - Name the 'fog-validation'-ping-sending thread r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D106190
2021-02-24 16:39:32 +00:00
Valentin Gosu
86622ba6a3 Bug 1694604 - Fix static analysis warnings in netwerk/dns r=necko-reviewers,dragana
Depends on D106262

Differential Revision: https://phabricator.services.mozilla.com/D106263
2021-02-24 16:37:04 +00:00
Valentin Gosu
ff32c214b6 Bug 1694604 - Move TRRSkippedReason out of nsHostResolver.h r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D106262
2021-02-24 16:37:03 +00:00
Emma Malysz
0ce624d6d7 Bug 1694652, change device heading font-size in proton fxa panel r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D106285
2021-02-24 16:35:22 +00:00
Emilio Cobos Álvarez
9882821e73 Bug 1692684 - Don't create transitions for invalid ::marker properties. r=hiro
The test-case in the bug does something interesting, where it causes a
transition on the parent by removing a CSS rule, and that causes us to
transition text-underline-offset on our ::marker, via the magic of
font-size-relative properties.

text-underline-offset, while it gets inherited from ::marker, is not a
valid CSS property to specify on marker per spec, so we trim it here:

  https://searchfox.org/mozilla-central/rev/899bbd9e5a0d6de9bb9f068c48b1445c7905d9cf/servo/ports/geckolib/glue.rs#5709-5712

And that causes us to create a transition with an empty effect and
everything goes downhill from here.

For now, just bail out in a nicer way than we were doing. I still need
to look into whether we should handle inherited transitions differently
from non-inherited one in this case...

I think our behavior after this patch would be correct for the test-case
(because text-underline-offset would transition on the parent and
::marker would inherit it). If you specify transition only on the marker
we'd refuse to transition (which I guess it is somewhat of a sensible
behavior).

Differential Revision: https://phabricator.services.mozilla.com/D105124
2021-02-24 16:35:17 +00:00
Chris H-C
6932f969a5 Bug 1694505 - Add an optional data path override to FOG init r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D106192
2021-02-24 16:33:58 +00:00
Gijs Kruitbosch
d079588fd9 Bug 1694427 - fix background colours and button padding in about:support, r=jaws,desktop-theme-reviewers,harry
Differential Revision: https://phabricator.services.mozilla.com/D106281
2021-02-24 16:08:45 +00:00
harry
9399451d61 Bug 1691535 - Add Proton styles for the Urlbar results panel. r=mak,desktop-theme-reviewers,ntim
This patch changes the selection colour in the Urlbar view. It only changes the colours when a theme is not applied, to not break the many themes that depend on the panel background/color being Highlight/HighlightText. It also only changes the default theme on macOS and the default Windows theme. Windows High Contrast and Linux OS themes would break if the autocomplete background was not Highlight.

This patch also reduces the padding in the search one-offs and changes the color of arrowpanel-dimmed slightly to better match the spec. The hover colour shown in the spec is rgb(240,240,244). The new arrowpanel-dimmed colour is rgb(240,240,240).

Differential Revision: https://phabricator.services.mozilla.com/D105535
2021-02-24 16:02:40 +00:00
harry
27e7bad0be Bug 1691544 - Part 2 - Update focused-and-closed state for Proton. r=mak,desktop-theme-reviewers,dao
This patch mainly does three things:
1. Changes the necessary CSS to meet the Proton spec.
2. Removes several calls to UrlbarInput.startLayoutBreakout(), because the Urlbar no longer expands when the panel is not open.
3. Introduces a [suppress-focus-border] attribute. This attribute hides the 2px focus ring around the Urlbar. This ensures that we don't flash the focus ring when the user clicks a Urlbar that will autoOpen, seeing as the open Urlbar no longer has a border. It also hides the focus border after the user presses Esc, as specified in Figma.

Differential Revision: https://phabricator.services.mozilla.com/D105097
2021-02-24 16:02:40 +00:00
harry
fb163ac908 Bug 1691544 - Part 1 - Use -moz-accent-color for focus ring on Linux. r=yzen,dao
Dao points out at https://phabricator.services.mozilla.com/D105097#inline-590409 that prefers-contrast is not adequate when accounting for various Linux OS themes. We have to use the OS accent color on Linux if we want to maintain compatibility with OS themes. This follows not supporting the new color for the unfocused Urlbar on Linux (see D104898) and not supporting the grey result-highlight colour on Linux (see D105535). We should change focus-outline-color universally on Linux for the same reasons.

Differential Revision: https://phabricator.services.mozilla.com/D105672
2021-02-24 16:02:40 +00:00
Chun-Min Chang
ace92a2b09 Bug 1692910 - P2: mach vendor rust r=cubeb-reviewers,kinetik
Depends on D106252

Differential Revision: https://phabricator.services.mozilla.com/D106253
2021-02-24 15:59:53 +00:00
Chun-Min Chang
22072baa9a Bug 1692910 - P1: Update cubeb-coreaudio to ad56ea1 r=cubeb-reviewers,kinetik
Differential Revision: https://phabricator.services.mozilla.com/D106252
2021-02-24 15:59:53 +00:00
Emma Malysz
bc95f784cb Bug 1693902, clicking pip label should change tab r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D106034
2021-02-24 15:51:51 +00:00
Valentin Gosu
f2077de9ab Bug 1677719 - Disable AppCache API on nightly & early beta r=baku
Depends on D97302

Differential Revision: https://phabricator.services.mozilla.com/D106124
2021-02-24 15:47:35 +00:00
Valentin Gosu
28196b0f88 Bug 1677719 - Disable the AppCache API on nightly/early beta r=annevk
Differential Revision: https://phabricator.services.mozilla.com/D97302
2021-02-24 15:47:35 +00:00
Andrew McCreight
98e63afa54 Bug 1694297 - Re-enable legacy-mb-tchinese/big5/ WPTs on Linux Fission. r=hsivonen
Differential Revision: https://phabricator.services.mozilla.com/D106052
2021-02-24 15:39:12 +00:00
Tim Nguyen
a6c8b320d3 Bug 1590884 - Extra small cleanups. DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D106278
2021-02-24 15:21:38 +00:00
Jared Wein
d756db4fb0 Bug 1691488 - Change DRM infobar to use info styling instead of warning since the user hasn't necessarily done anything wrong. r=mstriemer,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D105581
2021-02-24 15:20:09 +00:00
Jared Wein
50acbfa8b6 Bug 1691488 - Remove the 'No thanks' button from the URI fixup infobar r=mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D105579
2021-02-24 15:20:09 +00:00
Jared Wein
fcc697ff62 Bug 1691488 - Change infobar button text to sentence case. r=fluent-reviewers,flod,Gijs
The "Preferences" -> "Settings" changes have been reverted so this can land now. Those string changes will be handled in bug 1694511.

Differential Revision: https://phabricator.services.mozilla.com/D105577
2021-02-24 15:20:08 +00:00
Jon Coppeard
6d59bf19ea Bug 1689394 - Increase idle time nursery collection timeout to make it less agressive r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D106127
2021-02-24 15:14:15 +00:00