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
Go to file
Nika Layzell 58ee355a1b Bug 196078 - Part 2: Support displaying arbitrary text/* MIME types as plain text, r=smaug,necko-reviewers,valentin
This patch refactors how we check for text formats when deciding how to handle
resources, such that more text MIME types will be rendered in-browser, rather
than downloaded.

This change requires us to move more away from using the Gecko-Content-Viewers
category in the category manager for this decision, as we need to handle an
unlimited number of MIME types behind the scenes.

Support for Gecko-Content-Viewers was left in for both the in-tree use for
application/http-index-format and dynamically determining whether image/avif
and image/jxl are supported, as well as for the message/rfc822 type used by
Thunderbird.

Differential Revision: https://phabricator.services.mozilla.com/D212078
2024-05-31 17:30:23 +00:00
.cargo Bug 1899617 - Update application-services to pick up new rusqlite/sqlite. r=lina,supply-chain-reviewers 2024-05-29 20:34:18 +00:00
.github/workflows
.vscode
accessible Backed out changeset 29e984633f5e (bug 1888310) for causing mochitest failures @ accessible/tests/browser/mac/browser_app.js CLOSED TREE 2024-05-31 00:47:54 +03:00
browser Bug 1899939 - Fix typo in type of tab parameter to commands.onCommand. r=willdurand 2024-05-31 16:42:32 +00:00
build Bug 1896413 - Move LIBFUZZER checks from old.configure to moz.configure r=glandium 2024-05-31 06:02:54 +00:00
caps Backed out changeset 25f376fb859f (bug 1873973) for causing various regressions. 2024-05-31 15:08:52 -04:00
chrome Bug 1864896: Autofix unused function arguments (general). r=nika,jfkthame,ckerschb 2024-03-19 14:59:22 +00:00
config Bug 1849075 - Update builders to clang 18. r=firefox-build-system-reviewers,sergesanspaille 2024-05-23 04:28:37 +00:00
devtools Bug 1897659. Implement parsing of CSS 'position-try-order' property. r=emilio,firefox-style-system-reviewers 2024-05-31 10:35:07 +00:00
docs Bug 1878764 - Update builders to rustc 1.78. r=firefox-build-system-reviewers,sergesanspaille 2024-05-23 04:28:38 +00:00
docshell Bug 196078 - Part 2: Support displaying arbitrary text/* MIME types as plain text, r=smaug,necko-reviewers,valentin 2024-05-31 17:30:23 +00:00
dom Bug 196078 - Part 2: Support displaying arbitrary text/* MIME types as plain text, r=smaug,necko-reviewers,valentin 2024-05-31 17:30:23 +00:00
editor Bug 1898408 - Make our editor disconnect <br> element temporarily when its type is changed from or to padding one r=m_kato 2024-05-31 00:42:13 +00:00
extensions Bug 1811451 - Update en-US dictionary with new words, r=bolsson 2024-05-30 06:07:57 +00:00
gfx Bug 196078 - Part 2: Support displaying arbitrary text/* MIME types as plain text, r=smaug,necko-reviewers,valentin 2024-05-31 17:30:23 +00:00
gradle/wrapper Bug 1881094 - 7. cleanup firefox-android exclusions in license.yml r=gl,android-reviewers 2024-05-09 16:28:42 +00:00
hal
image Bug 196078 - Part 2: Support displaying arbitrary text/* MIME types as plain text, r=smaug,necko-reviewers,valentin 2024-05-31 17:30:23 +00:00
intl Bug 1899990 - Eliminate dependency on ICU4C's ubidi.h in BidiEmbeddingLevel.cpp. r=platform-i18n-reviewers,dminor 2024-05-31 13:13:27 +00:00
ipc Bug 1884221, 1895375: apply code formatting via Lando 2024-05-30 18:30:24 +00:00
js Bug 1835987 - Change RFP-spoofed TZ to Atlantic/Reykjavik. r=tjr 2024-05-31 14:16:36 +00:00
layout Bug 196078 - Part 2: Support displaying arbitrary text/* MIME types as plain text, r=smaug,necko-reviewers,valentin 2024-05-31 17:30:23 +00:00
media Bug 1899864 - Update mmloadusi64.patch to meet latest code r=media-playback-reviewers,alwu 2024-05-31 00:33:34 +00:00
memory Bug 1872320 - Fix --enable-project=memory build. r=pbone 2024-05-28 01:13:59 +00:00
mfbt Bug 1897752 - Make EnumeratedArray constructor constexpr. 2024-05-20 19:08:32 +02:00
mobile Bug 1896735 - Implement "Save to collection" menu functionality. r=gl,android-reviewers 2024-05-31 17:29:12 +00:00
modules Bug 1898659 - Remove network.cors_preflight.block_userpass_uri pref r=gregp,necko-reviewers,valentin CLOSED TREE 2024-05-31 01:06:05 +00:00
mozglue Bug 1337955 - Switch the toolchains project branch to nightly rust compiler. r=firefox-build-system-reviewers,sergesanspaille 2024-05-30 06:03:28 +00:00
netwerk Bug 196078 - Part 2: Support displaying arbitrary text/* MIME types as plain text, r=smaug,necko-reviewers,valentin 2024-05-31 17:30:23 +00:00
nsprpub Bug 1879120 - Remove all python deprecation warning: invalid escape sequence r=ahochheiden,webdriver-reviewers,perftest-reviewers,afinder UPGRADE_NSPR_RELEASE 2024-02-26 08:26:38 +00:00
other-licenses Bug 1896868: update InetBgDL.dll nsis plugin with a statically linked version r=nalexander,jcristau 2024-05-27 14:19:48 +00:00
parser Bug 1898601 - Remove fake webrtc/gkmedias libs. r=glandium,media-playback-reviewers,webrtc-reviewers,cubeb-reviewers,pehrsons,padenot 2024-05-28 16:14:47 +00:00
python Backed out 4 changesets (bug 1881272) for causing l10n related Android bustages CLOSED TREE 2024-05-31 22:33:33 +03:00
remote Bug 1898222 - [bidi] Introduce a workaround for "storage.setCookie" command until CHIPS support is enabled. r=webdriver-reviewers,whimboo 2024-05-31 12:11:21 +00:00
security Bug 1894459 - land NSS a4c9d2760c66 UPGRADE_NSS_RELEASE, r=keeler 2024-05-30 22:55:59 +00:00
services No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes mobile-experiments - r=release-managers,RyanVM 2024-05-30 12:59:35 +00:00
servo Backed out 2 changesets (bug 1670993) for causing reftest process crash and mochitest failures on test_property_database.html CLOSED TREE 2024-05-31 21:08:03 +03:00
startupcache Bug 1882581: Implement @scope parsing. r=firefox-style-system-reviewers,saschanaz,emilio 2024-03-19 13:36:48 +00:00
storage Bug 1842682 - Remove unused ChromeUtils.requestIOActivity and IOActivityMonitor, r=necko-reviewers,valentin. 2024-05-17 14:03:21 +00:00
supply-chain Bug 1892230 - Update to Glean v60.1.1 r=TravisLong,supply-chain-reviewers,mach-reviewers,android-reviewers,daabel 2024-05-31 16:25:30 +00:00
taskcluster Bug 1899403: remove android tasks from cypress r=releng-reviewers,taskgraph-reviewers,jcristau 2024-05-30 13:48:47 +00:00
testing Bug 1681457 - Allow non-auxiliary BrowsingContexts created by script to close themselves, r=smaug 2024-05-31 17:27:15 +00:00
third_party Bug 1892230 - Update to Glean v60.1.1 r=TravisLong,supply-chain-reviewers,mach-reviewers,android-reviewers,daabel 2024-05-31 16:25:30 +00:00
toolkit Bug 196078 - Part 2: Support displaying arbitrary text/* MIME types as plain text, r=smaug,necko-reviewers,valentin 2024-05-31 17:30:23 +00:00
tools Bug 1883430 - Update perfdoc owners. r=perftest-reviewers,sparky 2024-05-30 21:26:15 +00:00
uriloader Bug 1718673 - Allow loading text/event-stream in-browser as plain-text, r=smaug,necko-reviewers,kershaw 2024-05-31 17:30:22 +00:00
view Bug 1895928 - PresShell::ScheduleViewManagerFlush shouldn't set the layout flush bit. r=smaug 2024-05-10 08:08:42 +00:00
widget Bug 1888330 - Don't use composition if unnecessary. r=geckoview-reviewers,masayuki,ohall 2024-05-31 10:21:33 +00:00
xpcom Backed out changeset 25f376fb859f (bug 1873973) for causing various regressions. 2024-05-31 15:08:52 -04:00
xpfe/appshell Bug 1626741 - Roll-up other panels when the Address Bar results panel opens. r=NeilDeakin,jteow 2024-05-27 12:24:54 +00:00
.arcconfig
.babel-eslint.rc.js
.clang-format
.clang-format-ignore Bug 1889978 - Vendor ffmpeg 7.0 headers. r=media-playback-reviewers,frontend-codestyle-reviewers,alwu 2024-04-30 14:21:45 +00:00
.cron.yml Bug 1899553: switch nightly-all scheduling back to 2x day r=releng-reviewers,jcristau 2024-05-29 17:59:26 +00:00
.eslintignore Bug 1897221 - Exclude more Rust/mobile build artifacts from ESLint & Prettier. r=frontend-codestyle-reviewers,Gijs 2024-05-20 13:47:38 +00:00
.eslintrc-rollouts.js Bug 1897898 - Separate out ESLint rule rollouts configurations to a separate module. r=frontend-codestyle-reviewers,Gijs 2024-05-21 13:38:01 +00:00
.eslintrc-test-paths.js Bug 1898690 - Move statuspanel tests into browser/components/tabbrowser/. r=tabbrowser-reviewers,frontend-codestyle-reviewers,mak 2024-05-28 17:00:44 +00:00
.eslintrc.js Bug 1897898 - Separate out ESLint rule rollouts configurations to a separate module. r=frontend-codestyle-reviewers,Gijs 2024-05-21 13:38:01 +00:00
.git-blame-ignore-revs Bug 1882465 - Update .hg-annotate-ignore-revs and .git-blame-ignore-revs to reflect firefox-android monorepo migration r=glandium,geckoview-reviewers,tthibaud 2024-04-04 14:55:00 +00:00
.gitattributes
.gitignore Bug 1894617: ignore the root .vscode directory too; r=sheehan 2024-05-02 18:26:11 +00:00
.hg-annotate-ignore-revs Bug 1882465 - Update .hg-annotate-ignore-revs and .git-blame-ignore-revs to reflect firefox-android monorepo migration r=glandium,geckoview-reviewers,tthibaud 2024-04-04 14:55:00 +00:00
.hg-format-source
.hgignore Bug 1894619 - Remove the invalid regex escape sequences in .hgignore. r=sheehan 2024-05-02 18:28:22 +00:00
.hgtags No bug - tagging 41e8bcefc0ec9c22e3dfe0dbc8dd122cfe6316f8 with FIREFOX_NIGHTLY_127_END a=release DONTBUILD CLOSED TREE 2024-05-13 15:05:44 +00:00
.lando.ini Bug 1871425: re-enable autoformatting after disabling WPT linter r=zeid DONTBUILD 2024-02-29 21:22:27 +00:00
.lldbinit
.mailmap Bug 1892339 - Add my name to .mailmap r=nika 2024-04-19 13:42:34 +00:00
.prettierignore Bug 1898197 - Move tabs tests into browser/components/tabbrowser/. r=tabbrowser-reviewers,frontend-codestyle-reviewers,mak 2024-05-23 12:54:24 +00:00
.prettierrc.js
.stylelintignore Bug 1899373 - Update PDF.js to 24e12d515dce2f11b392410dd6e6e9926270ac65 r=pdfjs-reviewers,frontend-codestyle-reviewers,marco 2024-05-30 12:35:49 +00:00
.stylelintrc.js
.taskcluster.yml
.trackerignore
.yamllint
.ycm_extra_conf.py
aclocal.m4 Bug 1894951 - Move MOZ_CHECK_ALLOCATOR to moz.configure r=glandium 2024-05-28 06:53:55 +00:00
AUTHORS
build.gradle Bug 1892641 - include timestamps in BUILDSTATUS lines from gradle, r=glandium. 2024-04-30 08:17:13 +00:00
Cargo.lock Bug 1892230 - Update to Glean v60.1.1 r=TravisLong,supply-chain-reviewers,mach-reviewers,android-reviewers,daabel 2024-05-31 16:25:30 +00:00
Cargo.toml Bug 1899617 - Update application-services to pick up new rusqlite/sqlite. r=lina,supply-chain-reviewers 2024-05-29 20:34:18 +00:00
client.mk
client.py
CLOBBER Bug 1900045 - clobber after libaom update. a=bustage-fix 2024-05-31 15:30:18 +02:00
configure
configure.py
GNUmakefile
gradle.properties Bug 1881094 - 7. cleanup firefox-android exclusions in license.yml r=gl,android-reviewers 2024-05-09 16:28:42 +00:00
gradlew
gradlew.bat
LICENSE
mach
mach.cmd
mach.ps1
Makefile.in
mots.yaml Bug 1837575 - Move Tabbed Browser related files to browser/components/tabbrowser/. r=mconley,desktop-theme-reviewers,zeid,tabbrowser-reviewers,frontend-codestyle-reviewers,Itiel 2024-05-17 13:25:23 +00:00
moz.build Bug 1888321 - Rename .cargo/config.in to .cargo/config.toml.in. r=firefox-build-system-reviewers,webdriver-reviewers,ahochheiden 2024-04-01 21:26:49 +00:00
moz.configure Bug 1776255 - Add the appropriate 'when' to all 'option' that end up calling 'pkg_check_modules' later r=firefox-build-system-reviewers,glandium 2024-05-23 23:55:38 +00:00
mozilla-config.h.in
old-configure.in Bug 1894951 - Move MOZ_CHECK_ALLOCATOR to moz.configure r=glandium 2024-05-28 06:53:55 +00:00
package-lock.json Bug 1898556 - Remove eslint-plugin-file-header, update various node modules. r=frontend-codestyle-reviewers,Gijs 2024-05-24 14:55:33 +00:00
package.json Bug 1898556 - Remove eslint-plugin-file-header, update various node modules. r=frontend-codestyle-reviewers,Gijs 2024-05-24 14:55:33 +00:00
pyproject.toml Bug 1879558 - Reactivate invalid escape sequence warning in ruff r=ahochheiden 2024-02-28 08:16:06 +00:00
README.txt
settings.gradle Bug 1895781 - Move the App Services and Glean auto-publish logic to its own settings file. r=nalexander 2024-05-10 06:21:28 +00:00
substitute-local-geckoview.gradle
test.mozbuild

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.