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

725937 Коммитов

Автор SHA1 Сообщение Дата
Barret Rennie 4820139e53 Bug 1661096 - Support system NSPR in IOUtils r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D89803
2020-09-10 22:43:30 +00:00
Agi Sferro d0fac0e5a3 Bug 1564451 - Add missing AddObserver calls for application-{background,foreground} r=pehrsons
This is a refuse from Bug 1658353, the AddObserver calls were removed by mistake.

Differential Revision: https://phabricator.services.mozilla.com/D89800
2020-09-11 05:41:05 +00:00
Jared Wein 5d182de8f6 Bug 1664065 - Remove Heartbeat specific styling since Firefox now shows notification bars in the same dimensions that Heartbeat wanted. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D89818
2020-09-11 23:48:02 +00:00
Dorel Luca 051c67f828 Backed out changeset 88f3ed4eed62 (bug 1661117) for Wrench failures. CLOSED TREE 2020-09-12 02:17:01 +03:00
Jed Davis c0cd7e11b5 Bug 1660826 - Work around apparent bug with sendmsg() in some 64-bit Android devices. r=nika
Some Android ARM64 devices appear to have a bug where sendmsg sometimes
returns 0xFFFFFFFF, which we're assuming is a -1 that was incorrectly
truncated to 32-bit and then zero-extended.  This patch detects that
value (which should never legitimately be returned, because it's 16x
the maximum message size) and replaces it with -1, with some additional
assertions.

The workaround is also enabled on x86_64 Android on debug builds only,
so that the code has CI coverage.

Differential Revision: https://phabricator.services.mozilla.com/D89845
2020-09-11 04:31:50 +00:00
David Major c4dd52a672 Bug 1664537 - Don't clobber CFLAGS in asan-fuzzing-ccov config r=marco
We should preserve e.g. the `-fcrash-diagnostics-dir` that is included indirectly via the sourcing of `mozconfig.asan` at line 14.

Differential Revision: https://phabricator.services.mozilla.com/D89952
2020-09-11 21:38:11 +00:00
Emma Malysz 9572584027 Bug 1664500, round margin values to ensure comparisons are made correctly r=sfoster
Since the marges directly from the paper and the default settings margin can return slightly
different numbers (off by .0001), we need to round in order to correctly return the minimum
value and allow the user to switch from the default preset.

Differential Revision: https://phabricator.services.mozilla.com/D89959
2020-09-11 21:55:31 +00:00
Mike Conley 4865e3d983 Bug 1656127 - Renew webrtc.ui.share_display event probe for another 6 months. r=pbz,data-review=chutten
Depends on D89790

Differential Revision: https://phabricator.services.mozilla.com/D89791
2020-09-10 17:36:34 +00:00
Mike Conley e0a8c9cdae Bug 1656127 - Remove some unneeded WebRTC UI probes. r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D89790
2020-09-10 17:36:46 +00:00
Drew Willcoxon 475e72fb04 Bug 1663025 - Fix Beta failure in browser/components/urlbar/tests/browser/browser_searchMode_autofill.js. r=harry
This test requires search mode, but it doesn't enable update2, so it fails on
non-Nightly.  It only needs to enable update2 like other search-mode tests do.

Differential Revision: https://phabricator.services.mozilla.com/D89850
2020-09-11 17:55:35 +00:00
Drew Willcoxon 20622667b0 Bug 1663016 - Fix Beta failure in browser/components/urlbar/tests/unit/test_search_suggestions_aliases.js. r=harry
The "Search in a Private Window" result is included only in Nightly builds, so
this test needs to either enable the corresponding pref, or disable the pref and
remove that result from the expected results. This patch does the latter.

Differential Revision: https://phabricator.services.mozilla.com/D89849
2020-09-11 17:55:42 +00:00
Gijs Kruitbosch b7978dc940 Bug 1663173 - disable commands that don't need to be enabled in customize mode, r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D89289
2020-09-11 20:40:28 +00:00
Frederic Wang 4f44f0d754 Bug 1664467: Remove runtime preferences for legacy MathML lengths. r=emilio
This commit remove the following preferences, which have been
disabled since Firefox 70:
- mathml.nonzero_unitless_lengths.disabled
- mathml.legacy_number_syntax.disabled

These are edge syntaxes for MathML3 lengths that don't align well
with CSS and we haven't received any bug report about it since they
were disabled. Tests are updated to treat attributes using such
values as invalid.

update tests

Differential Revision: https://phabricator.services.mozilla.com/D89920
2020-09-11 19:48:07 +00:00
Michael Goossens 8ca0706c76 Bug 1654833 - Improve error message when webRequest listener is passed an invalid urls filter r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D89944
2020-09-11 20:52:22 +00:00
Dzmitry Malyshau b343cb50cf Bug 1661117 - Switch to Mesa 20 r=gw,kats
updates to https://github.com/servo/osmesa-src PRs: 40, 41, 42

Differential Revision: https://phabricator.services.mozilla.com/D88448
2020-09-11 20:16:56 +00:00
Botond Ballo d5b3bf63f9 Bug 1661544 - Ensure initial viewport is computed before reporting innerWidth. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D88947
2020-09-09 21:14:31 +00:00
Caroline Cullen fe4e12f385 Bug 1662943 - Get happiness for report in C++. r=iain
Differential Revision: https://phabricator.services.mozilla.com/D89640
2020-09-11 16:53:52 +00:00
Caroline Cullen f224548043 Bug 1657206 - Get all scripts in the zone and run RateMyCacheIR on those scripts. r=iain
Differential Revision: https://phabricator.services.mozilla.com/D89178
2020-09-11 16:53:44 +00:00
Mark Banner dfd9659f80 Bug 1662944 - Set availableLocales at the start of search service tests to avoid maybeReloadEngines being called twice. r=daleharvey
Depends on D89497

Differential Revision: https://phabricator.services.mozilla.com/D89652
2020-09-11 20:06:39 +00:00
Mark Banner 1d79d8b04d Bug 1642995 - Move useDBForOrder to the search settings and rename it to useSavedOrder. r=daleharvey
"DB" refers to when the settings were stored in an sqlite file, I think we should drop that reference now.

Differential Revision: https://phabricator.services.mozilla.com/D89497
2020-09-11 19:56:39 +00:00
Mark Banner ddf0ff8f30 Bug 1663701 - Rename SearchCache to SearchSettings. r=daleharvey
Depends on D88623

Differential Revision: https://phabricator.services.mozilla.com/D89496
2020-09-11 15:53:25 +00:00
Mark Banner 1ea88a81e4 Bug 1619656 - Drop the separate recording of _shortName in the search service, use the telemetry Id instead. r=daleharvey
The _shortName variable is basically redundant, and we can transfer the remaining 'identifier' handling across to the telemetry Id as they were virtually the same.

Differential Revision: https://phabricator.services.mozilla.com/D88623
2020-09-11 19:31:42 +00:00
Mark Banner fcf7b37638 Bug 1567275 - Don't display the search related context items if the search service is not initialized yet. r=daleharvey.
This also moves gInitialised into SearchService, as it no longer needs to be separate, and it makes changing it for tests easier.

Depends on D88462

Differential Revision: https://phabricator.services.mozilla.com/D88622
2020-09-11 15:54:50 +00:00
Thomas Wisniewski b8d5dbfdb0 Bug 1662576 - add ability to disable picture-in-picture hotkeys on specific domains in webcompat addon, and disable PiP-seeking on Netflix; r=mconley,denschub,webcompat-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D89942
2020-09-11 20:14:09 +00:00
Nika Layzell c101f161b6 Bug 1664525 - Part 4: Various derive(xpcom) proc_macro style improvements, r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D89949
2020-09-11 20:19:06 +00:00
Nika Layzell dfbf9d4094 Bug 1664525 - Part 3: Improve errors produced by #[derive(xpcom)], r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D89948
2020-09-11 20:19:04 +00:00
Nika Layzell 4e658d39b8 Bug 1664525 - Part 2: Use NonNull in xpcom RefPtr, r=emilio
Previously, this code used a &'static T in order to get the null pointer
optimization. Since the code was written, `NonNull` has been stabilized, and now
should be used instead.

Differential Revision: https://phabricator.services.mozilla.com/D89947
2020-09-11 20:19:02 +00:00
Nika Layzell 7b154ea902 Bug 1664525 - Part 1: Update various xpcom crates to rust2018, r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D89946
2020-09-11 20:19:00 +00:00
Nika Layzell e0c3e2f9a8 Bug 1664553 - Default initialize outparameters in ipdl generated code, r=jld
Doing this helps lower the chances of accidentally trying to send an
uninitialized primitive value, like a raw pointer or integer, over IPC due to a
sync method or IPDLParamTraits::Read implementation failing to initialize the
outparameter.

Differential Revision: https://phabricator.services.mozilla.com/D89963
2020-09-11 19:49:20 +00:00
Nico Grunbaum b6b3c20d6f Bug 1654189 - Move sipcc SDP to third_party;r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D89943
2020-09-11 20:19:42 +00:00
Harry Twyford b896496e10 Bug 1657212 - Support one-off key modifiers and remove one-off context menus. r=adw
This patch adds support for key modifiers on the refreshed one-offs. They work the same as the old key modifiers, with one exception: Shift+Click and Shift+Enter both execute a search immediately in the current tab, replicating the behaviour of the old one-offs. For empty searches, Shift+Click and Shift+Enter just enter search mode. To support these Shift modifiers, we dropped support for opening a one-off search in a new window. Users can still search in a new window with a non-default engine by typing a search string, selecting a one-off with the keyboard, then Shift+Clicking the heuristic result or the Go button.

Other key modifiers worth pointing out include Accel+Click to search in a new background tab and Alt+Enter to search in a new foreground tab. If these modifiers are used on the local one offs or with an empty query, we open search mode in the new tab.

Differential Revision: https://phabricator.services.mozilla.com/D89504
2020-09-11 20:07:07 +00:00
Robert Helmer 658096a4ad Bug 1664545 - use correct RS bucket for badging Pioneer icon on new studies r=mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D89956
2020-09-11 19:41:06 +00:00
Mitchell Hentges 82521cb272 Bug 1663838: Refresh pacman before installing Arch Linux deps r=firefox-build-system-reviewers,rstewart
In bootstrap, pacman should ensure its database is up-to-date.
Otherwise, when installing packages, pacman will slowly query every
mirror when attempting to download an out-of-date package.

Differential Revision: https://phabricator.services.mozilla.com/D89958
2020-09-11 19:20:51 +00:00
Mark Striemer 1067a20604 Bug 1662365 - Fix browser_modal_print.js r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D89796
2020-09-11 18:01:21 +00:00
Scott b6b0d1fa4d Bug 1655124 - Creating enough structure to start attaching save to Pocket on save recs telemetry. r=gvn
Differential Revision: https://phabricator.services.mozilla.com/D89783
2020-09-11 18:53:17 +00:00
Brian Grinstead 4edb87a680 Bug 1664507 - Add documentation for testing policy r=Gijs DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D89941
2020-09-11 19:19:29 +00:00
Ben Hearsum 9ff5034f2f No bug: stop blocking release-update-verify on upload-symbols, because upload symbols is always included when builds are present from other work r=aki DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D89957
2020-09-11 19:13:17 +00:00
Jim Mathies c488d0d3b3 Bug 1664291 - Restrict credit card auotfill to Nightly builds. r=zbraniecki
Differential Revision: https://phabricator.services.mozilla.com/D89954
2020-09-11 19:04:30 +00:00
Dorel Luca 634b687351 Backed out 4 changesets (bug 1656526) for Browser-chrome failures in toolkit/xre/test/browser_checkdllblockliststate.js. CLOSED TREE
Backed out changeset 24648c48a49c (bug 1656526)
Backed out changeset 472b724994eb (bug 1656526)
Backed out changeset 6fbb7e7ac121 (bug 1656526)
Backed out changeset 88ff36a4bcfb (bug 1656526)
2020-09-11 23:17:23 +03:00
Dorel Luca c92b1a6c1b Backed out changeset 5631f20805da (bug 1657445) for WPT failures. CLOSED TREE 2020-09-11 22:31:39 +03:00
Andrew Halberstadt 0845c6922f Bug 1656465 - Drop the 'remove_on_projects' feature from the Backstop optimization, r=marco
In the past, the 'backstop' optimization was applied to tasks by default across
all projects, even though it only really made sense on autoland. To choose what
would happen on non-autoland branches, we invented this 'remove_on_projects'
concept.

These days, we only apply the backstop optimization in the first place for
autoland. So 'remove_on_projects' is no longer necessary.

Depends on D88149

Differential Revision: https://phabricator.services.mozilla.com/D88150
2020-09-10 14:42:10 +00:00
Andrew Halberstadt 455f1d3e89 Bug 1656465 - [taskgraph.optimize] Rename 'push-interval-{10,20}' strategies to 'expanded' and 'backstop' respectively, r=marco
This removes the last uses of the 'push-interval-10' and 'push-interval-20' strategies.
They are being removed because they are dangerous in that its easy to accidentally not run
tasks when they should.

Instead, task authors should decide whether they want their tasks to run on
"backstop" pushes (run everything) or "expanded" pushes (run more than usual,
but still not as much as a backstop). Note that using "expanded" means the task
will *also* run on backstop pushes. It'll just additionally run on "expanded"
pushes.

In practice 'backstop' pushes will be every 20th push and 'expanded' pushes
will be every 10th push. Though this may vary due to the time component in
backstops.

Differential Revision: https://phabricator.services.mozilla.com/D89503
2020-09-10 14:47:02 +00:00
Andrew Halberstadt 3abd53ae2c Bug 1656465 - [taskgraph.optimize] Refactor "optimized-backstop" pushes into "expanded" pushes, r=marco
This is a nomenclature change + refactoring. Now there is only a single
"backstop" push. Which is currently set to every 20th push on autoland (or
every push on non-autoland branches).

Now there is also a concept of an "expanded" push. These are pushes that run
more stuff than usual, but not as much as a backstop normally would. These are
currently set to run at half the interval of a backstop.

Concretely, here are the strategy changes:

* Renamed 'backstop' -> 'skip-unless-backstop'
* Introduced the 'skip-unless-expanded' strategy which has 'skip-unless-backstop' baked in
* Merged 'optimized-backstop' into the 'test' strategy (with expanded comments)
* Baked both 'skip-unless-expanded' and 'skip-unless-backstop' into the 'test' strategy

Differential Revision: https://phabricator.services.mozilla.com/D89501
2020-09-11 15:42:33 +00:00
Andrew Halberstadt fba47918cb Bug 1656465 - [taskgraph.optimize] Implement a 'Not' composite strategy, r=marco
It turns out that 'Not' is needed to negate "backstops". E.g, we normally
we want to use a pattern like so:

    All("skip-unless-backstop", "test")

Since 'skip-unless-backstop' returns False on backstop pushes, it disables
the test strategy there.

However, suppose we wanted to run a special optimization, *only* on backstop
pushes. I.e, the opposite of the above example. Then we need to use:

    All(Not("skip-unless-backstop"), "test-backstop")

Depends on D89500

Differential Revision: https://phabricator.services.mozilla.com/D89734
2020-09-11 09:07:21 +00:00
Andrew Halberstadt 3cffeac488 Bug 1656465 - [taskgraph.optimize] Allow 'split_bugbug_arg' to work with arbitrary number of substrategies, r=marco
This still assumes that the bugbug-based strategy is last however.

Differential Revision: https://phabricator.services.mozilla.com/D89500
2020-09-10 14:47:14 +00:00
Andrew Halberstadt 05dae59107 Bug 1656465 - [taskgraph] Consider all pushes to release branches as 'backstops', r=marco
The intent of a "backstop" push, is to run everything so we can be absolutely sure that
the push in question does not cause any regressions.

Previously, backstops were thought to be only something that ran on autoland.
This was because the other branches *already* ran everything so the concept of
a "backstop" didn't make much sense.

But going by the above definition, it would make more sense to say that *every*
non autoland (or try) push is a backstop. Since the intent there is to run
everything to avoid regressions.

This change will allow us to simplify our optimization algorithms.

Differential Revision: https://phabricator.services.mozilla.com/D89499
2020-09-10 14:40:44 +00:00
Scott a4e69e6bb5 Bug 1664192 - Newtab spocs in DE r=gvn
Differential Revision: https://phabricator.services.mozilla.com/D89825
2020-09-11 18:27:01 +00:00
Artem Polivanchuk 03d729e850 Bug 1661934 - Sync more preferences in Menu-Options-General. r=lina DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D89032
2020-09-11 18:38:19 +00:00
Ting-Yu Lin 8fb717c256 Bug 1663822 Part 8 - Revise nsIFrame::ComputeSize()'s documentation. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D89643
2020-09-11 18:22:37 +00:00
Ting-Yu Lin 8d19493543 Bug 1663822 Part 7 - Use constructor delegation for SizeComputationInput. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D89546
2020-09-11 17:59:28 +00:00