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

70103 Коммитов

Автор SHA1 Сообщение Дата
Zibi Braniecki e9823295ec Bug 1613705 - [localization] part1: Introduce localization-ffi bindings for fluent-fallback. r=emilio,nika
Depends on D117349

Differential Revision: https://phabricator.services.mozilla.com/D104788
2021-08-03 05:52:00 +00:00
Mike Hommey fa555a5b49 Bug 1723623 - Relax platform checks for wasm sandboxing. r=firefox-build-system-reviewers,andi
- Don't encode any platform dependency in the frontend itself, as that's
  dealt with by configure. Do check that there's a wasm compiler setup,
  though (also dealth with by configure).

- Allow to enable on any 64-bits platform when building with wasm2c
  instead of lucetc.

Differential Revision: https://phabricator.services.mozilla.com/D121582
2021-08-03 04:46:21 +00:00
Tim Huang 4cca7fc573 Bug 1720869 - Part 1: Add a telemetry probe for referrer policy. r=ckerschb,necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D121344
2021-08-02 19:24:54 +00:00
Zibi Braniecki 63410ff0f6 Bug 1723187 - Update l10nregistry-rs to handle sync-during-async overload. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D121543
2021-08-02 17:42:20 +00:00
Matjaz Horvat ee30b4c3f1 Bug 1711028: Update the "accented" pseudo l10n strategy with markers. r=dminor,flod
The updated strategy wraps parts of strings in square brackets, and hence
"marks" the beginning and the end of the part of the string.

Differential Revision: https://phabricator.services.mozilla.com/D121078
2021-08-02 16:44:25 +00:00
Jan-Erik Rediger 1b721576e3 Bug 1670261 - Split FOG crate into non-Android and Android parts. r=chutten
This doesn't actually initialize FOG on Android yet;
that part will come later.

For now it only separates out everything used on Desktop (full initialization, pref watching, user activity)
from what's necessary on mobile (where Glean is actually controlled by the embedding application, e.g. Fenix)

For desktop this simply moves most code out into a separate module.
For mobile it has a bare minimum init function.

Differential Revision: https://phabricator.services.mozilla.com/D121100
2021-08-02 16:22:47 +00:00
Jan-Erik Rediger d1298df426 Bug 1670261 - Ensure the Glean versions in the project match. r=agi,chutten
In GeckoView we need to depend on the same Glean version as the included
Glean Rust crate has.
We _could_ let Gradle read that from Cargo.lock directly,
but that complicates the build.

Instead we manually update both versions to the same
and have Gradle ensure we don't forget that.

Differential Revision: https://phabricator.services.mozilla.com/D116602
2021-08-02 16:22:46 +00:00
Jan-Erik Rediger 7c32951ef9 Bug 1670261 - Upgrade Glean, include glean-ffi and re-export its symbols. r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D121084
2021-08-02 16:22:45 +00:00
Paul Adenot 2b7b90b50f Bug 1687070 - Update pulse-rust to revision c3a51357f. r=cubeb-reviewers,kinetik
Differential Revision: https://phabricator.services.mozilla.com/D119954
2021-08-02 15:46:09 +00:00
Gijs Kruitbosch 51b740fe01 Bug 1703630 - update mac reftests for proton and remove last proton media queries from toolkit, r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D121204
2021-08-02 15:03:14 +00:00
Dimi Lee ba04b81c60 Bug 1723078 - Turn on the preference of supporting multi-page login form in password manager testcases r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D121377
2021-08-02 13:45:59 +00:00
Mark Banner 82575d3aa6 Bug 1714296 - Set up search engines for Scots (sco) locale. r=daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D121103
2021-08-02 11:42:57 +00:00
Cosmin Sabou 3564c330b3 Backed out 11 changesets (bug 1613705) for several test failures. CLOSED TREE
Backed out changeset 4e690882b6af (bug 1613705)
Backed out changeset 302e7a75affc (bug 1613705)
Backed out changeset 626b40e3aad1 (bug 1613705)
Backed out changeset 1cbab987bb7d (bug 1613705)
Backed out changeset 2213917abb30 (bug 1613705)
Backed out changeset c89aa0375690 (bug 1613705)
Backed out changeset 6466027c5767 (bug 1613705)
Backed out changeset 6c188c4b38bf (bug 1613705)
Backed out changeset 8d0c087b9896 (bug 1613705)
Backed out changeset 3404fd6725f1 (bug 1613705)
Backed out changeset c9cfbba15d90 (bug 1613705)
2021-08-02 14:04:29 +03:00
Zibi Braniecki dd790b71b1 Bug 1613705 - [localization] part1: Introduce localization-ffi bindings for fluent-fallback. r=emilio,nika
Depends on D117349

Differential Revision: https://phabricator.services.mozilla.com/D104788
2021-08-02 09:54:07 +00:00
Tooru Fujisawa 90726cc705 Bug 1720615 - Stop collecting telemetry for popup condition of window.open. r=smaug
This reverts bug 1710010 change.

Differential Revision: https://phabricator.services.mozilla.com/D120954
2021-08-02 01:12:38 +00:00
Alexandru Michis 326297bd47 Backed out changeset e41bfdf79fb8 (bug 1665476) for causing windows mochitest failures in test_windowminmaxsize.xhtml
CLOSED TREE
2021-08-02 02:14:52 +03:00
Emilio Cobos Álvarez 275707a51b Bug 1665476 - Remove nsRootBoxFrame to unify background propagation between XUL and non-XUL documents. r=layout-reviewers,mats
It's unused on mozilla-central, and Thunderbird can just use the canvas
frame as regular (X)HTML documents, so just use a canvas frame instead
of an nsRootBoxFrame for XUL as well.

nsRootBoxFrame was needed because of various XUL-specific things like
tooltips and so on lived there. But with the move away from XUL, that
functionality has been added to nsCanvasFrame already, behind a
principal check instead.

This also allows simplifying our background propagation setup, which was
only half-working for XUL documents (this bug is a consequence of that).

With this, most of the callers of nsCSSRendering::IsCanvasFrame can go.
They're only two of the frames that would return true for that that
actually paint backgrounds (nsCanvasFrame and nsRootBoxFrame), so the
codepaths in display list building and painting can just check
frame->IsCanvasFrame() instead.

The remaining caller to that function is
nsContainerFrame::SyncWindowProperties, and the change is also legit, in
the sense that the only thing SyncWindowProperties() really cares about
is propagating the max/min-width constraints from the root element's
style to the view/widget, and the only frame that would return true from
IsCanvasFrame and have a view is the viewport frame which is the root of
the frame tree.

Differential Revision: https://phabricator.services.mozilla.com/D90846
2021-08-01 21:57:28 +00:00
Kashav Madan f090aabc96 Bug 1718761 - Move {Start,Stop}ApzAutoscroll to CanonicalBrowsingContext, r=Gijs,hiro
This accomplishes 2 things:

1. Allows us to directly fetch the layersId of the process that is
   autoscrolling, which avoids having to fetch it in AutoScrollChild and pass it
   around. This fixes autoscrolling out-of-process frames with Fission enabled.
2. Makes it easier to handle autoscrolling of in-process documents, since that
   can't happen through PBrowser.

Differential Revision: https://phabricator.services.mozilla.com/D120766
2021-07-31 01:39:09 +00:00
Sandor Molnar ca94997814 Backed out changeset 4593c3d66951 (bug 1718761) for causing clang build bustages. CLOSED TREE 2021-07-31 03:44:56 +03:00
Kashav Madan c84c4eb9d7 Bug 1718761 - Move {Start,Stop}ApzAutoscroll to CanonicalBrowsingContext, r=Gijs,hiro
This accomplishes 2 things:

1. Allows us to directly fetch the layersId of the process that is
   autoscrolling, which avoids having to fetch it in AutoScrollChild and pass it
   around. This fixes autoscrolling out-of-process frames with Fission enabled.
2. Makes it easier to handle autoscrolling of in-process documents, since that
   can't happen through PBrowser.

Differential Revision: https://phabricator.services.mozilla.com/D120766
2021-07-30 23:39:32 +00:00
Nazım Can Altınova 6788f940ac Bug 1652560 - Remove the unused "gecko_profiler" feature from servo r=emilio
This was being used when we had special code for gecko profiler in the servo
codebase but we just removed the last one. This is safe to remove now. The
"enabled" feature in the gecko-profiler crate is being controlled by
gkrust-shared directly now.

Differential Revision: https://phabricator.services.mozilla.com/D120796
2021-07-30 21:49:23 +00:00
Molly Howell a0c6decba2 Bug 1709969 Part 3 - Migrate from an existing profile when creating the dedicated profile for a Windows app package. r=mossop,agashlin
Differential Revision: https://phabricator.services.mozilla.com/D117244
2021-07-30 19:09:47 +00:00
Molly Howell d0c2b60a53 Bug 1709969 Part 2 - Use the package family name to compute path hashes when in a package. r=agashlin
Differential Revision: https://phabricator.services.mozilla.com/D120530
2021-07-30 19:09:47 +00:00
Sandor Molnar 9137cd9ae2 Backed out changeset 3457f931cf65 (bug 1722437) for causing OS X AArch64 build bustage. CLOSED TREE 2021-07-30 23:16:15 +03:00
Sandor Molnar 1aa5913c7d Backed out 3 changesets (bug 1709969) for causing xpc failures in test_select_profile_package. CLOSED TREE
Backed out changeset 17ed7ca86998 (bug 1709969)
Backed out changeset a6b917838765 (bug 1709969)
Backed out changeset 6a80559a4055 (bug 1709969)
2021-07-30 21:26:09 +03:00
Molly Howell ba09a654e2 Bug 1709969 Part 3 - Migrate from an existing profile when creating the dedicated profile for a Windows app package. r=mossop,agashlin
Differential Revision: https://phabricator.services.mozilla.com/D117244
2021-07-30 17:34:26 +00:00
Molly Howell 5be5a1a024 Bug 1709969 Part 2 - Use the package family name to compute path hashes when in a package. r=agashlin
Differential Revision: https://phabricator.services.mozilla.com/D120530
2021-07-30 17:34:26 +00:00
Zibi Braniecki 9b6ec8c442 Bug 1660392 - [l10nregistry] part10: Fix mozapps update test to await for gAppUpdater. r=application-update-reviewers,bytesized
Differential Revision: https://phabricator.services.mozilla.com/D121126
2021-07-30 16:47:50 +00:00
Zibi Braniecki 7e9ce81479 Bug 1660392 - [l10nregistry] part9: Fix racy l10n checks in browser_history_navigation.js. r=robwu
Depends on D105585

Differential Revision: https://phabricator.services.mozilla.com/D117349
2021-07-30 16:47:49 +00:00
Zibi Braniecki 15e7d48273 Bug 1660392 - [l10nregistry] part7: Move L10nRegistry callees to use WebIDL one. r=preferences-reviewers,Gijs,platform-i18n-reviewers,gregtatum
Depends on D105416

Differential Revision: https://phabricator.services.mozilla.com/D105584
2021-07-30 16:47:49 +00:00
Zibi Braniecki ded73fe965 Bug 1660392 - [l10nregistry] part5: Move tests to use Rust L10nRegistry. r=platform-i18n-reviewers,gregtatum
Depends on D105583

Differential Revision: https://phabricator.services.mozilla.com/D102372
2021-07-30 16:47:48 +00:00
Emma Malysz 5a1d75c541 Bug 1681941, ensure nsXULTooltipListener shows tooltips when entering new target nodes r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D101951
2021-07-30 16:38:35 +00:00
Emilio Cobos Álvarez 982c820712 Bug 1720050 - Ensure to listen to transition events on <select>, not bubbled events from options. r=Gijs
Options can change styles for a variety of reasons and we don't want
transitions on them to re-update the whole menulist.

Differential Revision: https://phabricator.services.mozilla.com/D121353
2021-07-30 15:59:15 +00:00
Andrei Oprea 640ce71da0 Bug 1722465 - Investigate using telemetry archived data for determining profile activity r=Mardak
Differential Revision: https://phabricator.services.mozilla.com/D120959
2021-07-30 15:57:54 +00:00
Alexandru Michis d0864df559 Backed out changeset 93c0dc15cc3b (bug 1720828) for causing xpcshell failures in test_hunspell.js 2021-07-30 19:21:46 +03:00
Kashav Madan 32bc96ae12 Bug 1722103 - Add a probe for enumerated max content process count, r=jesup
Similar to CONTENT_PROCESS_MAX, but enumerated instead of ranged.

Also fixes a bug where we weren't actually updating sMaxContentProcesses, which
resulted in us reporting a new "max" for each new content process.

Depends on D121134

Differential Revision: https://phabricator.services.mozilla.com/D121135
2021-07-30 14:41:57 +00:00
Kashav Madan bf5b3b9d46 Bug 1722103 - Add a probe for enumerated content process count, r=jesup
Similar to CONTENT_PROCESS_COUNT, but enumerated instead of ranged.

Also fixes a typo which resulted in us not clearing the timer on uninit.

Differential Revision: https://phabricator.services.mozilla.com/D121134
2021-07-30 14:41:57 +00:00
William Durand b1c4ce35a8 Bug 1720845 - Remove the `extensions.webextPermissionPrompts` pref. r=rpl,robwu,asuth
This patch removes the `extensions.webextPermissionPrompts` pref as well as
`permissionPromptsEnabled` prop on `mozAddonManager`.

While working on this patch, we noticed that some of the `browser_webapi.js`
weren't testing anything for a while now. That has been fixed. In addition,
the `test_blocklistchange.js` file has been updated to handle the permissions
prompt.

Differential Revision: https://phabricator.services.mozilla.com/D121114
2021-07-30 14:25:24 +00:00
Dimi Lee 9ffcc24b65 Bug 1717603 - Ensure FormAutofill loads its script on all the opened window. r=Gijs
This patch uses Services.wm.getEnumerator("") instead of Services.wm.getEnumerator("navigator:browser")
to ensure we get all the opened window during FormAutofill initialization. See WindowTrackerBase#*browserWindows
in ext-tabs-base.js for more details.

Differential Revision: https://phabricator.services.mozilla.com/D121364
2021-07-30 14:20:33 +00:00
Christoph Kerschbaumer cb72f231aa Bug 1723115: Update tests within toolkit/components to work with https-first enabled r=dimi
Differential Revision: https://phabricator.services.mozilla.com/D121365
2021-07-30 13:50:59 +00:00
Andrei Oprea 540718ab95 Bug 1723106 - Source files accidentally exposed as resource:// urls r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D121358
2021-07-30 13:43:10 +00:00
Tomislav Jovanovic ee6142b0f6 Bug 1722966 - Warn and ignore new MV3 keys in existing MV2 extensions r=mixedpuppy,robwu,rpl
Differential Revision: https://phabricator.services.mozilla.com/D121242
2021-07-30 13:35:29 +00:00
Sebastian Streich 24b5b729d8 Bug 1706871 - Fix HandleInternally + Insecure Downloads r=mak
Differential Revision: https://phabricator.services.mozilla.com/D117412
2021-07-30 13:16:38 +00:00
Mike Hommey eda5c43145 Bug 1722437 - Enable wasm sandboxing on arm64 macosx. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D120922
2021-07-30 12:26:57 +00:00
Mike Hommey c07cacf0ad Bug 1720828 - Switch wasm sandboxing Linux x64 and Mac x64 builds from lucet to wasm2c. r=shravanrn,firefox-build-system-reviewers,andi
Still allow to explicitly opt-in lucetc with a non-empty LUCETC value.

Differential Revision: https://phabricator.services.mozilla.com/D120668
2021-07-30 12:03:52 +00:00
Mike Hommey 221139493a Bug 1721962 - Switch to pkg-config for X11 libraries. r=firefox-build-system-reviewers,jgilbert,andi
Differential Revision: https://phabricator.services.mozilla.com/D121309
2021-07-30 11:39:39 +00:00
Mike Hommey c14b27c7ec Bug 1721962 - Remove dependency on Xt. r=firefox-build-system-reviewers,andi
It hasn't been used since bug 326152.

Differential Revision: https://phabricator.services.mozilla.com/D121306
2021-07-30 11:39:38 +00:00
Mike Hommey 4872b9ffa3 Bug 1721962 - Don't link libxul against gthread. r=firefox-build-system-reviewers,andi
Only the crashreporter client needs it.

Differential Revision: https://phabricator.services.mozilla.com/D121305
2021-07-30 11:39:37 +00:00
Mike Hommey 5fafbc14fe Bug 1721962 - Remove dependency on pangocairo and pangoft2. r=firefox-build-system-reviewers,andi
pangocairo hasn't been used since bug 810252.
pangoft2 doesn't seem to have ever actually been used.

Differential Revision: https://phabricator.services.mozilla.com/D121304
2021-07-30 11:39:37 +00:00
Mike Hommey 78d7375561 Bug 1721962 - Remove MOZ_WEBRTC_X11_LIBS. r=firefox-build-system-reviewers,andi
It is redundant with the contents of
third_party/libwebrtc/webrtc/webrtc_gn/moz.build.

Differential Revision: https://phabricator.services.mozilla.com/D121303
2021-07-30 11:39:37 +00:00