Read-only Git mirror of the Mercurial gecko repositories at https://hg.mozilla.org. How to contribute: https://firefox-source-docs.mozilla.org/contributing/contribution_quickref.html
Перейти к файлу
Eemeli Aro 411a529019 Bug 1793557 - Convert Extension.jsm strings to Fluent. r=mkmelin,geckoview-reviewers,robwu,flod,owlish
This changes the arguments of `ExtensionData.formatPermissionStrings()`.
The second `bundle` arg is dropped, and a `localization` option is added.
Call sites in m-c are updated, but this will also need a matching update for Thunderbird.
A few Thunderbird test cases will also need to be updated,
as they currently point to a non-existing localization file paths
"messenger/addons.ftl" and "messenger/addonPermissions.ftl".

As discussed at the addon workweek,
the Fluent l10n keys for extension permissions match the pattern:

    webext-perms-description-{name}

where `{name}` is the permission's sanitized name.
A fluent-lint exception is added for the capitalization of these generated names.
To allow for message updates and subsequent l10n identifier updates,
a `PERMISSION_L10N_ID_OVERRIDES` map is provided.

Because Fluent localization keys are not enumerable
and attempting to format a missing key is an error,
the `PERMISSIONS_WITH_MESSAGE` set must be kept in sync with message updates.

Differential Revision: https://phabricator.services.mozilla.com/D158663
2023-05-23 12:00:01 +00:00
.cargo Backed out changeset ab9f3266184b (bug 1815186) for causing failures at test_color_to.html. 2023-05-22 23:29:17 +03:00
.vscode
accessible Bug 1833301: Remove unused LocalAccessible::Help. r=eeejay 2023-05-23 11:11:35 +00:00
browser Bug 1793557 - Convert Extension.jsm strings to Fluent. r=mkmelin,geckoview-reviewers,robwu,flod,owlish 2023-05-23 12:00:01 +00:00
build Bug 1834001 - Remove VS 2017 toolchain. r=firefox-build-system-reviewers,sergesanspaille 2023-05-23 03:00:02 +00:00
caps Bug 1826062 - Automatic fixes for upgrading Prettier to 2.8.8. r=mossop,perftest-reviewers,webcompat-reviewers,geckoview-reviewers,denschub,devtools-reviewers,sparky,calu 2023-05-20 12:26:53 +00:00
chrome Backed out 2 changesets (bug 1834176) for causing xpc failures in test_unload.js CLOSED TREE 2023-05-23 12:14:37 +03:00
config Bug 1831334 - Make sure every rust dependency has a default implicit rule r=glandium 2023-05-23 11:58:26 +00:00
devtools Bug 1834499 - fix path globbing for extensions in stylelint linter and fix debugger styles that this starts noticing, r=Standard8,devtools-reviewers 2023-05-23 11:41:20 +00:00
docs Bug 1834331 - Add #spidermonkey-reviewers to reviews.rst. r=firefox-source-docs-reviewers,spidermonkey-reviewers,sylvestre,nbp DONTBUILD 2023-05-22 14:42:59 +00:00
docshell Bug 291640, r=mak 2023-05-23 11:29:23 +00:00
dom Bug 1793557 - Convert Extension.jsm strings to Fluent. r=mkmelin,geckoview-reviewers,robwu,flod,owlish 2023-05-23 12:00:01 +00:00
editor Bug 1833320 - Make `HTMLEditor::HandleInsertParagraphInListItemElement` consider caret position without `WSScanResult` if it reaches a block boundary r=m_kato 2023-05-23 02:46:20 +00:00
extensions Backed out 2 changesets (bug 1834176) for causing xpc failures in test_unload.js CLOSED TREE 2023-05-23 12:14:37 +03:00
gfx Bug 1830588 - Fix clip on fractional composite prims r=gfx-reviewers,lsalzman 2023-05-22 21:48:13 +00:00
gradle/wrapper
hal Bug 1828383 - Make hal/ buildable outside of a unified build environment r=andi 2023-04-18 13:43:20 +00:00
image Backed out 2 changesets (bug 1834176) for causing xpc failures in test_unload.js CLOSED TREE 2023-05-23 12:14:37 +03:00
intl Backed out 2 changesets (bug 1834176) for causing xpc failures in test_unload.js CLOSED TREE 2023-05-23 12:14:37 +03:00
ipc Bug 1826530 - Implement MessagePumpForNonMainUIThreads for mac. r=xpcom-reviewers,ipc-reviewers,mstange,nika 2023-05-23 09:05:07 +00:00
js Backed out 2 changesets (bug 1834176) for causing xpc failures in test_unload.js CLOSED TREE 2023-05-23 12:14:37 +03:00
layout Bug 1834144 - Fix an assert in FontFaceSetDocumentImpl. 2023-05-23 14:02:20 +02:00
media Bug 1592988 - Implement RtcRtpReceiver jitterBufferTarget.r=bwc,jib,webidl,smaug,saschanaz 2023-05-22 15:05:01 +00:00
memory Bug 1802675 - Don't build winheap.cpp when mozglue is a static library. r=firefox-build-system-reviewers,andi 2023-05-23 03:01:22 +00:00
mfbt Bug 1833859 - Update double-conversion to version 3.3.0. r=glandium 2023-05-23 04:01:10 +00:00
mobile Bug 1793557 - Convert Extension.jsm strings to Fluent. r=mkmelin,geckoview-reviewers,robwu,flod,owlish 2023-05-23 12:00:01 +00:00
modules Bug 1834144 - Make stylo thread pool size configurable via pref rather than just env. r=smaug,perftest-reviewers,jgraham,afinder 2023-05-23 09:41:14 +00:00
mozglue Bug 1821972 part 2: Remove ipc/mscom code only used by the old accessibility architecture based on content process COM proxies. r=bobowen 2023-05-22 20:19:46 +00:00
netwerk Backed out 2 changesets (bug 1834176) for causing xpc failures in test_unload.js CLOSED TREE 2023-05-23 12:14:37 +03:00
nsprpub
other-licenses Bug 1815019 - Customize 7z to write provenance data r=nalexander 2023-03-02 16:44:10 +00:00
parser Bug 1826062 - Automatic fixes for upgrading Prettier to 2.8.8. r=mossop,perftest-reviewers,webcompat-reviewers,geckoview-reviewers,denschub,devtools-reviewers,sparky,calu 2023-05-20 12:26:53 +00:00
python Bug 1793557 - Convert Extension.jsm strings to Fluent. r=mkmelin,geckoview-reviewers,robwu,flod,owlish 2023-05-23 12:00:01 +00:00
remote Backed out 2 changesets (bug 1834176) for causing xpc failures in test_unload.js CLOSED TREE 2023-05-23 12:14:37 +03:00
security Backed out 2 changesets (bug 1834176) for causing xpc failures in test_unload.js CLOSED TREE 2023-05-23 12:14:37 +03:00
services Backed out 2 changesets (bug 1834176) for causing xpc failures in test_unload.js CLOSED TREE 2023-05-23 12:14:37 +03:00
servo Bug 1834144 - Make stylo thread pool size configurable via pref rather than just env. r=smaug,perftest-reviewers,jgraham,afinder 2023-05-23 09:41:14 +00:00
startupcache Bug 1826062 - Automatic fixes for Prettier 2.0.5 upgrade. r=mossop,perftest-reviewers,webcompat-reviewers,geckoview-reviewers,denschub,devtools-reviewers,sparky,owlish 2023-05-20 12:26:49 +00:00
storage Bug 1826062 - Automatic fixes for upgrading Prettier to 2.8.8. r=mossop,perftest-reviewers,webcompat-reviewers,geckoview-reviewers,denschub,devtools-reviewers,sparky,calu 2023-05-20 12:26:53 +00:00
supply-chain Backed out changeset ab9f3266184b (bug 1815186) for causing failures at test_color_to.html. 2023-05-22 23:29:17 +03:00
taskcluster Bug 1833630 - Use taskcluster-built python for static-analysis-autotest task r=glandium 2023-05-23 11:59:35 +00:00
testing Bug 1834144 - Trivial fixes for android wpt runner and gtest. 2023-05-23 13:25:34 +02:00
third_party Bug 1812539 - Drop vendored pytoml as unused. r=glandium 2023-05-23 10:58:34 +00:00
toolkit Bug 1793557 - Convert Extension.jsm strings to Fluent. r=mkmelin,geckoview-reviewers,robwu,flod,owlish 2023-05-23 12:00:01 +00:00
tools Bug 1793557 - Convert Extension.jsm strings to Fluent. r=mkmelin,geckoview-reviewers,robwu,flod,owlish 2023-05-23 12:00:01 +00:00
uriloader Backed out 2 changesets (bug 1834176) for causing xpc failures in test_unload.js CLOSED TREE 2023-05-23 12:14:37 +03:00
view Bug 1824986 - Use element more in popup manager code. r=mstange 2023-03-28 14:33:19 +00:00
widget Bug 1834042 - Make nsWindow::ConstrainPosition account for decorations. r=stransky 2023-05-23 10:30:05 +00:00
xpcom Bug 1826530 - Implement MessagePumpForNonMainUIThreads for mac. r=xpcom-reviewers,ipc-reviewers,mstange,nika 2023-05-23 09:05:07 +00:00
xpfe/appshell Bug 1834042 - Make nsWindow::ConstrainPosition account for decorations. r=stransky 2023-05-23 10:30:05 +00:00
.arcconfig
.babel-eslint.rc.js Bug 1830265 - Enable ESLint and Prettier on .babel-eslint.rc.js. r=Gijs 2023-05-04 17:21:03 +00:00
.clang-format
.clang-format-ignore
.cron.yml Bug 1824829 - Add a daily cron for building and running performance tests on custom-car. r=perftest-reviewers,afinder 2023-05-16 13:36:22 +00:00
.eslintignore Bug 1508369 - add stylelint linter support to mach lint, r=Standard8,dao,linter-reviewers,sylvestre 2023-05-11 16:06:38 +00:00
.eslintrc-test-paths.js Bug 1776480 - Remove OS.File et al. r=Gijs,webidl,smaug 2023-05-12 18:34:28 +00:00
.eslintrc.js Bug 1776480 - Remove OS.File et al. r=Gijs,webidl,smaug 2023-05-12 18:34:28 +00:00
.git-blame-ignore-revs
.gitattributes
.gitignore Bug 1829512 - Use .clangd rather than vscode-specific configuration to point to the compilation database. r=andi 2023-04-23 06:23:39 +00:00
.hg-annotate-ignore-revs
.hg-format-source
.hgignore Bug 1829512 - Use .clangd rather than vscode-specific configuration to point to the compilation database. r=andi 2023-04-23 06:23:39 +00:00
.hgtags No bug - tagging 715f01d61df8627117e6aefca540f0c1bba45011 with FIREFOX_NIGHTLY_114_END a=release DONTBUILD CLOSED TREE 2023-05-08 17:34:48 +00:00
.lando.ini
.lldbinit
.mailmap
.prettierignore Bug 1826063 - Enable Prettier on production xhtml and html files. r=mossop 2023-05-20 12:26:55 +00:00
.prettierrc.js Bug 1826062 - Upgrade Prettier to v2.0.5. r=mossop 2023-05-20 12:26:49 +00:00
.stylelintignore Bug 1508369 - add stylelint linter support to mach lint, r=Standard8,dao,linter-reviewers,sylvestre 2023-05-11 16:06:38 +00:00
.stylelintrc.js Bug 1831302 - [devtools] remove unused debugger .stylelintrc and .stylelintignore. r=Gijs,devtools-reviewers,ochameau. 2023-05-15 08:35:12 +00:00
.taskcluster.yml Bug 1827709: Notify Thunderbird CI Matrix channel after mozilla-central push. r=releng-reviewers,gabriel 2023-04-18 19:36:49 +00:00
.trackerignore
.yamllint
.ycm_extra_conf.py
AUTHORS
CLOBBER Bug 1828517 - Vendor libwebrtc from e6b3f48a06 - moz.build file updates 2023-05-12 09:16:37 -05:00
Cargo.lock Backed out changeset ab9f3266184b (bug 1815186) for causing failures at test_color_to.html. 2023-05-22 23:29:17 +03:00
Cargo.toml Backed out changeset ab9f3266184b (bug 1815186) for causing failures at test_color_to.html. 2023-05-22 23:29:17 +03:00
GNUmakefile
LICENSE
Makefile.in
README.txt
aclocal.m4
build.gradle Bug 1828066 - Update to Glean v52.7.0 r=chutten,supply-chain-reviewers 2023-05-11 11:25:33 +00:00
client.mk
client.py
configure
configure.py
gradle.properties
gradlew
gradlew.bat
mach Bug 1820915 - Attempt to re-launch Mach with a compatible python3 version if one is available r=firefox-build-system-reviewers,andi 2023-03-09 10:53:16 +00:00
mach.cmd
mach.ps1
mots.yaml Bug 1833794: Change peers of the accessible module. r=morgan,nlapre,zeid 2023-05-19 01:28:34 +00:00
moz.build Bug 1811850 - [lint] Replace flake8 linter with ruff, r=linter-reviewers,sylvestre 2023-03-20 13:06:27 +00:00
moz.configure Bug 1832209 - Remove a bunch of unused add_old_configure_assignment. r=firefox-build-system-reviewers,ahochheiden 2023-05-10 22:13:13 +00:00
mozilla-config.h.in
old-configure.in Bug 1821963 part 3: Remove various components supporting the old accessibility architecture based on content process COM proxies. r=nlapre,nalexander 2023-05-22 20:19:45 +00:00
package-lock.json Bug 1826062 - Upgrade Prettier to 2.8.8. r=mossop 2023-05-20 12:26:52 +00:00
package.json Bug 1826062 - Upgrade Prettier to 2.8.8. r=mossop 2023-05-20 12:26:52 +00:00
pyproject.toml Bug 1823694 - [lint.ruff] Disable some warnings we don't actually want to enforce, r=linter-reviewers,andi 2023-03-21 14:36:26 +00:00
settings.gradle Bug 1828719 - Remove omnijar Gradle project from srcdir r=geckoview-reviewers,nalexander,amejiamarmol 2023-04-18 23:20:43 +00:00
substitute-local-geckoview.gradle
test.mozbuild

README.txt

An explanation of the Firefox Source Code Directory Structure and links to
project pages with documentation can be found at:

    https://firefox-source-docs.mozilla.org/contributing/directory_structure.html

For information on how to build Firefox from the source code and create the patch see:

    https://firefox-source-docs.mozilla.org/contributing/contribution_quickref.html

If you have a question about developing Firefox, and can't find the solution
on https://firefox-source-docs.mozilla.org/, you can try asking your question on Matrix at chat.mozilla.org in `Introduction` (https://chat.mozilla.org/#/room/#introduction:mozilla.org) channel.


Nightly development builds can be downloaded from:

    https://archive.mozilla.org/pub/firefox/nightly/latest-mozilla-central/
            - or -
    https://www.mozilla.org/firefox/channel/desktop/#nightly

Keep in mind that nightly builds, which are used by Firefox developers for
testing, may be buggy.