Commit Graph

746096 Commits

Author SHA1 Message Date
Scott
9da4bf1ea8 Bug 1691226 - Remove personalization code from the old activity stream topstories. r=gvn
Differential Revision: https://phabricator.services.mozilla.com/D104408
2021-02-23 00:45:24 +00:00
Mihai Alexandru Michis
5fff3c0a33 Backed out changeset 8908ec20b487 (bug 1677459) for causing reftest assertion failures in LayersTypes.cpp
CLOSED TREE
2021-02-23 03:11:50 +02:00
Emilio Cobos Álvarez
e7806ac06c Bug 1694202 - Avoid link preload header and the parser creating two preload requests for the same script. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D106022
2021-02-23 00:43:37 +00:00
Emilio Cobos Álvarez
8f71d41341 Bug 1691798 - Prefer finding by ipp name when canonicalizing paper size in gtk. r=AlaskanEmily
Due to a rounding issue in gtk_paper_size_new[1], we were ending up with
a custom page size regardless, which causes issues with some printers.

Instead, use the gtk_paper_size_new_from_ipp, which is available in
almost all gtk versions we support, works nicely for our use case, has
some tolerance for minor floating point rounding issues, and should also
get a nicer codepath than the custom page size.

Before bug 1660527 we were using the printer settings, which had a paper
size created from gtk itself without parsing the ipp header, so we were
getting the happy path.

[1]: https://gitlab.gnome.org/GNOME/gtk/-/issues/3685

Differential Revision: https://phabricator.services.mozilla.com/D105841
2021-02-23 00:41:48 +00:00
Emilio Cobos Álvarez
818b69bbe4 Bug 1694146 - Turn on layout.css.outline-follows-border-radius.enabled on all channels. r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D105970
2021-02-23 00:20:28 +00:00
Mike Conley
d4da30ccf4 Bug 1690573 - Migrate the report-site-issue UI access point to the Help menu. r=denschub,mixedpuppy,fluent-reviewers,webcompat-reviewers,flod
We're not 100% certain if Help is the right spot for this, but we're going
to give it a shot and see. If it turns out it _is_ the right spot, we'll
probably do something a little more self-contained, and less hacky.

I'm leaving the old .properties file just in case we change our mind here.
Yes, we'll want to port to Fluent anyways, but our ultimate choice of where
we put this thing is probably going to dictate where the string lives.

Differential Revision: https://phabricator.services.mozilla.com/D104832
2021-02-23 00:11:05 +00:00
owlishDeveloper
0ff7359c48 Bug 1684923 - Implement Web Extension downloads.onChanged event in GeckoView r=agi,robwu,geckoview-reviewers,esawin
Differential Revision: https://phabricator.services.mozilla.com/D101377
2021-02-22 23:54:22 +00:00
smolnar
c245e071f7 Backed out changeset 7c67e3cb1ded (bug 1403348) for causing xpc failures in AsyncShutdown. CLOSED TREE 2021-02-23 02:17:08 +02:00
Drew Willcoxon
1c90b59add Bug 1693123 - Add a checkbox to the Search Suggestions preferences UI that allows Quick Suggest to be toggled. r=Gijs
This is an unusual revision, but it adds a checkbox to the Search Suggestions
section of the Search pane for the urlbar Quick Suggest experiment, which is
en-US only. The checkbox is hidden by default and it's only shown if the
`browser.urlbar.quicksuggest.enabled` pref, which controls the experiment, is
true. Because this is an experiment and it's en-US only, I've hardcoded some
strings. Bug 1692518 has info on the experiment, and bug 1693345 has a
discussion about hardcoding strings.

The checkbox controls the new pref `browser.urlbar.suggest.quicksuggest`. It's
similar to the other existing `browser.urlbar.suggest.*` prefs.

There's a learn-more link but we don't know the final URL yet, so I'm using
mozilla.org. There's a TODO with a bug number.

We also want to change the Search Suggestions description when the experiment is
enabled. I've hardcoded that new string, too.

The test is pretty thorough and I started writing it before the new prefs
landed, so it doesn't assume the prefs exist or which branch they're on.

Differential Revision: https://phabricator.services.mozilla.com/D105701
2021-02-22 23:08:12 +00:00
Glenn Watson
c9a99d4ee4 Bug 1684781 - Improve performance of mix-blend-mode. r=nical
This patch enables the faster mix-blend-mode path that allows using
picture cache tiles as the backdrop source for blends where that
is appropriate (most of the underlying work is in previous patches
or the dependencies of this bug).

In addition to avoiding an extra intermediate surface for blends
that are on a picture cache surface, it also avoids constant
invalidation of picture cache tiles due to the blend container
not being part of the main content scroll root.

As an example of the typical performance improvement, the GPU times
on an AMD 5700 GPU at 4k, when using the Firelux color temperature addon
browsing pages drops from ~1.8ms to ~0.3 ms.

Differential Revision: https://phabricator.services.mozilla.com/D104491
2021-02-22 23:00:57 +00:00
Mike Hommey
2cfc4551be Bug 1694272 - Add missing #include for MakeScopeExit. r=hiro
Differential Revision: https://phabricator.services.mozilla.com/D106036
2021-02-22 22:56:01 +00:00
Tim Nguyen
617dd08efc Bug 1689230 - Simplify gViewController API methods. r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D103251
2021-02-22 22:44:03 +00:00
sotaro
55810f9262 Bug 1694089 - Add MacIOSurface look up failure handling to MacIOSurfaceTextureHostOGL r=nical
Differential Revision: https://phabricator.services.mozilla.com/D105940
2021-02-22 22:41:51 +00:00
Mike Hommey
e7f8314703 Bug 1693717 - Remove paths_have_priority argument to check_prog. r=firefox-build-system-reviewers,andi,sheehan,mhentges
It hasn't been used since bug 1482435.

Differential Revision: https://phabricator.services.mozilla.com/D105715
2021-02-22 22:20:42 +00:00
Drew Willcoxon
c9c969f3e6 Bug 1693178 - Show the Quick Suggest help/info button the first 5 times the user sees a Quick Suggest result. r=daleharvey
Depends on D105679

Differential Revision: https://phabricator.services.mozilla.com/D105815
2021-02-22 22:20:18 +00:00
Dão Gottwald
c3496ae6ca Bug 1690849 - Remove obsolete comment. r=mstange DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D106035
2021-02-22 22:18:17 +00:00
Christoph Walcher
0a52b7c0ad Bug 1410861 - Support for unwrapKey of ECDH/ECDSA keys r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D97711
2021-02-22 22:15:57 +00:00
Mike Hommey
e83b8b7220 Bug 1693215 - Simplify the ffvpx configuration. r=firefox-build-system-reviewers,dmajor
Since MOZ_LIBAV_FFT doesn't need the flags, we simplify the libav_fft
function to return true in the conditions it used to return flags for,
which is clearer.
We then move all these flags to the ffvpx function, and rearrange the
tests to be less convoluted, and with hope, more readable.

This has been verified to not change the outcomes on the following
targets:
- i686-pc-linux-gnu
- x86_64-pc-linux-gnu
- aarch64-unknown-linux-gnu
- arm-unknown-linux-gnueabi
- s390x-unknown-linux-gnu
- i686-apple-darwin
- x86_64-apple-darwin
- aarch64-apple-darwin
- i686-pc-mingw32
- x86_64-pc-mingw32
- aarch64-pc-mingw32

Differential Revision: https://phabricator.services.mozilla.com/D105400
2021-02-22 22:11:26 +00:00
Mike Hommey
caa72b33bd Bug 1693215 - Don't check for yasm for libav. r=firefox-build-system-reviewers,dmajor
Bug 1476231 actually removed libav, so we don't build it, and don't need
neither the yasm check nor the LIBAV_FFT_ASFLAGS variable.
However, we still have checks, both in moz.build and code, for
MOZ_LIBAV_FFT, so we need to keep that.

Differential Revision: https://phabricator.services.mozilla.com/D105399
2021-02-22 22:11:26 +00:00
Mike Hommey
346820ef1f Bug 1693215 - Always depend on yasm >= 1.2 for ffvpx. r=firefox-build-system-reviewers,dmajor
Yasm 1.2 was released in October 2011. Let's just assume everyone can
use that now.

Differential Revision: https://phabricator.services.mozilla.com/D105398
2021-02-22 22:11:25 +00:00
sotaro
5758b0e880 Bug 1677459 - Split platform independent part to RenderCompositorCompositorSWGL r=mattwoodrow
The change is a preparation of Bug 1673342

Differential Revision: https://phabricator.services.mozilla.com/D99046
2021-02-22 21:55:50 +00:00
sotaro
29ed168dc4 Bug 1690621 - Send DidComposite only when it is necessary r=nical
Differential Revision: https://phabricator.services.mozilla.com/D105591
2021-02-22 21:55:04 +00:00
Micah Tigley
7ebb03087c Bug 1690575 - Clarify toolbar context menu items. r=Gijs,fluent-reviewers,jaws
Differential Revision: https://phabricator.services.mozilla.com/D104862
2021-02-22 21:41:29 +00:00
Mike Hommey
c5d5a8c466 Bug 1692944 - Add a clang-tidy toolchain for arm64 mac. r=firefox-build-system-reviewers,andi,dmajor
We don't hook it yet because `mach bootstrap` aborts early on arm64 right
now. And mach static analysis commands don't have enough information to
get the native toolchain.

Differential Revision: https://phabricator.services.mozilla.com/D105595
2021-02-22 21:38:34 +00:00
Mike Hommey
35d498a886 Bug 1692944 - Add a clang toolchain for arm64 mac. r=firefox-build-system-reviewers,andi,dmajor
Differential Revision: https://phabricator.services.mozilla.com/D105267
2021-02-22 21:38:34 +00:00
Mike Hommey
d7ab7ac4f9 Bug 1692944 - Reflect the fact that we're building clang with SDK 10.12. r=firefox-build-system-reviewers,andi,dmajor
We've been building clang with SDK 10.12 since bug 1680152, but the
build-clang script is still assuming we're building with an older one.

Differential Revision: https://phabricator.services.mozilla.com/D105266
2021-02-22 21:38:34 +00:00
Kris Maglione
9e57d6f966 Bug 1403348: Follow-up: Remove crash annotations for AsyncShutdown load failures. r=mccr8
They've done their job. It's clear at this point that these failures are
happening because of omni.ja corruption.

Differential Revision: https://phabricator.services.mozilla.com/D105834
2021-02-22 21:37:28 +00:00
Mike Hommey
116e628b2b Bug 1693718 - Build openh264 with a sysroot for Linux. r=firefox-build-system-reviewers,andi,dmajor DONTBUILD
This will allow to upgrade the underlying docker image independently.
The resulting binary has been verified to be identical bit for bit.

Differential Revision: https://phabricator.services.mozilla.com/D105714
2021-02-22 21:36:52 +00:00
Kris Maglione
993f2ff09e Bug 1691963: Handle destroyed inner window in IsSameOriginWithAncestors. r=nika
The WindowGlobalChild for a window will be null after it's been destroyed
(such as by a frame being removed), so we need to null check and fail safe.

Differential Revision: https://phabricator.services.mozilla.com/D106023
2021-02-22 21:30:39 +00:00
Emma Malysz
f05741c80d Bug 1690854, remove slow startup notification r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D105993
2021-02-22 21:20:36 +00:00
Lee Salzman
e2f1115dc4 Bug 1694196 - Document swgl_drawSpanRGBA8/R8. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D106014
2021-02-22 21:07:26 +00:00
Alexandre Poirot
c2b5a6345f Bug 1685474 - [devtools] Stop having intermediate "storage resources" dictionary. r=ladybenko
* onResourceListAvailable and populateStorageTree were both computing distinct dictinary. `storages` versus `this.storageResources` (with the resourcesWithHosts making them both differents). It is easier to follow if we have only one dictionary, build by onResourceListAvailable and that's the straight object given by the ResourceWatcher API.
* Since we migrated to resources API. `resources` object passed to onResourceAvailable
should no longer have any `from` attribute. This is no longer a RDP packet, but an array computed by the ResourceWatcher API.
* This isn't really useful to filter out resources with empty `hosts` because `populateTreeFromResource` will be a noop
if that's empty. I think it is easier to follow if we pass all the resources to this method.

Differential Revision: https://phabricator.services.mozilla.com/D105646
2021-02-22 21:04:20 +00:00
Alexandre Poirot
cfda62b223 Bug 1685474 - [devtools] Rename storageTypes to storageResources. r=ladybenko
This variable name was confusing and didn't help understand the great complexity of this object.
This is a dictionary of storage resources, which also happen to be fronts, keyed by storage type/key (string).

Differential Revision: https://phabricator.services.mozilla.com/D105645
2021-02-22 21:04:20 +00:00
Alexandre Poirot
83b6a355d2 Bug 1685474 - [devtools] Update StorageFront/Resource's hosts attribute on single-store-update events r=ladybenko
Differential Revision: https://phabricator.services.mozilla.com/D105345
2021-02-22 21:04:20 +00:00
Alexandre Poirot
256ca192eb Bug 1685474 - [devtools] Clear storage fronts/resources when a target is destroyed. r=ladybenko
Differential Revision: https://phabricator.services.mozilla.com/D105224
2021-02-22 21:04:19 +00:00
Alexandre Poirot
edce8d4404 Bug 1685474 - [devtools] Stop using resource-updated and resource-destroyed for storage resources. r=ladybenko,devtools-backward-compat-reviewers
Resource updates and destroyed were ignored because the singleton storage resource
was cleaned on will-navigate.
So, we instead revert back to listen to events on fronts.
But instead of listening to a unique event on storageFront,
we listen to each individual storage resource front (one per type and per target).
This is why we have to do some filtering, still. Both on legacy listener and Watcher classes.

I'm also clarfifying things a bit in ContentProcessStorageWatcher,
I forked StorageActor completely, while removing its protocol.js Actor inheritance
and some stuff that we don't need for the Watcher class.

This help emitting stores-updated and stores-cleared and reuse the exact same
code between legacy listener and watcher class regarding filtering.

Differential Revision: https://phabricator.services.mozilla.com/D104687
2021-02-22 21:04:19 +00:00
Florian Quèze
b58b45313b Bug 1693561 - avoid stat'ing profiles.ini twice during startup, r=mossop.
Differential Revision: https://phabricator.services.mozilla.com/D105644
2021-02-22 20:48:14 +00:00
Zibi Braniecki
fe0003065b Bug 1693955 - Narrow down the zero_byte_load probe to tailor results for YSOD, part 2. r=kershaw
Differential Revision: https://phabricator.services.mozilla.com/D105860
2021-02-22 20:44:54 +00:00
Tooru Fujisawa
fe9e88dcf7 Bug 1642709 - Make a relative path from topsrcdir work in jstestbrowser. r=jmaher
jsreftest tests are staged into objdir, and specifying a path inside it isn't
user friendly.

Made it automatically try resolving the relative path from staged area, if
the relative path doesn't find any test.

Differential Revision: https://phabricator.services.mozilla.com/D106010
2021-02-22 20:32:26 +00:00
Tooru Fujisawa
500580e010 Bug 1391853 - Update the code to receive --filter option from pref. r=jmaher
manifest[""] value is modified from filter string to [filter string, null]
array, in bug 1596567.

Updated the reftest.jsm side to follow the convension, and also added some
runtime check, to catch future change.

Differential Revision: https://phabricator.services.mozilla.com/D105996
2021-02-22 20:21:58 +00:00
smolnar
ddcaebfbd0 Backed out changeset fc222543876b (bug 1694196) for causing webrender lint failure. CLOSED TREE 2021-02-22 22:44:37 +02:00
Emilio Cobos Álvarez
15ff419df0 Bug 1694059 - Rename various nnt prefs. r=spohl,mstange
As per feedback in D105931.

Differential Revision: https://phabricator.services.mozilla.com/D105991
2021-02-22 20:05:35 +00:00
Nan Jiang
1a0e71c351 Bug 1688698 - Add telemetry for sponsored TopSites r=thecount
Differential Revision: https://phabricator.services.mozilla.com/D104846
2021-02-22 20:03:18 +00:00
Ting-Yu Lin
8cd24b333e Bug 1674268 - Add a wpt reftest table-item-flex-percentage-min-width.html. r=dholbert,mats
This test is developed by Mats Palmgren, and fixed by bug 1674302.

Differential Revision: https://phabricator.services.mozilla.com/D105843
2021-02-22 19:59:18 +00:00
Lee Salzman
3334d30f14 Bug 1694196 - Document swgl_drawSpanRGBA8/R8. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D106014
2021-02-22 19:58:46 +00:00
Lee Salzman
b2e764a5fc Bug 1694165 - Override SWGL blend mode for drop shadows. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D105981
2021-02-22 19:58:15 +00:00
Joel Maher
f5334a8b26 Bug 1692570 - Allow failure jobs to handle timeouts and crashes for browser-chrome, mochitest, xpcshell. r=releng-reviewers,bhearsum
Allow failure jobs to handle timeouts and crashes for browser-chrome, mochitest, xpcshell.

Differential Revision: https://phabricator.services.mozilla.com/D105057
2021-02-22 19:38:12 +00:00
Gijs Kruitbosch
300f34dbef Bug 1678255 - fix eslint warning for HandlerServiceTestUtils import. a=lint-fix
CLOSED TREE

Differential Revision: https://phabricator.services.mozilla.com/D106021
2021-02-22 19:39:04 +00:00
Gijs Kruitbosch
eff2a84fae Bug 1678255 - avoid crashing if trying to initialize a fission frameloader with a nullprincipal, r=ckerschb,nika
Differential Revision: https://phabricator.services.mozilla.com/D104865
2021-02-22 19:00:10 +00:00
Gijs Kruitbosch
8002a3c48c Bug 1678255 - prompt for external protocol links whose loads were also triggered externally, instead of looping forever, r=pbz,nika
This passes around the "are we external" bit of load information a bunch,
such that the external protocol handling code has access to it.

In this bug and bug 1667468, I think ideally I would have used a check
if we're the OS default for a given protocol before continuing. However,
this information is currently unavailable on Linux (bug 1599713), and
worse, I believe is likely to remain unavailable in flatpak and other
such restricted environments (cf. bug 1618094 - we aren't able to find
out anything about protocol handlers from the OS).

So instead, we prompt the user if we are about to open a link passed
to us externally. There is a small chance this will be Breaking People's
Workflows, where I don't know whether anyone relies on Firefox happily
passing these URIs along to the relevant application (more convenient
than doing all the registry/API work yourself in scripts!) or anything
like that. To help with that, there's a pref,
`network.protocol-handler.prompt-from-external`, that can be created and
set to false to avoid prompting in this case.

Differential Revision: https://phabricator.services.mozilla.com/D103967
2021-02-22 19:00:10 +00:00