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
Перейти к файлу
Jed Davis 850869a8df Bug 1595453 - Allow serializing zero-length `ByteBuf`s. r=nika
If someone tried to serialize a zero-size ByteBuf, it could add a
zero-length segment to the `BufferList` and cause an assertion failure
later when trying to send the message.  This patch makes it a no-op (and
frees the supplied buffer, because the BufferList becomes its owner).

We previously asserted against adding zero-*capacity* segments (likely
also zero size, but possibly not) with WriteBytesZeroCopy, but only on
debug builds, and it was likely happening on release builds despite
that.  That case is now allowed.

Also, error handling for `BufferList::WriteBytesZeroCopy` has been
improved.  (This doesn't affect `Pickle` because it's using infallible
allocation, and no other instances of `BufferList` seem to use
`WriteBytesZeroCopy` at this time.)

Differential Revision: https://phabricator.services.mozilla.com/D192531
2023-11-02 18:05:31 +00:00
.cargo Bug 1861443 - neqo v0.6.6, r=necko-reviewers,supply-chain-reviewers,jesup 2023-10-27 16:47:17 +00:00
.github/workflows Bug 1853618 - address issue with GitHub PR closer, and optimise r=hwine DONTBUILD 2023-09-20 15:33:26 +00:00
.vscode Bug 1858932 - Skip bash and run mach directly on powershell for tasks.json r=tcampbell DONTBUILD 2023-10-17 19:49:17 +00:00
accessible Bug 1775683: Request a longer timeout for accessible/tests/browser/e10s/browser_caching_name.js. r=eeejay 2023-11-01 00:40:00 +00:00
browser Bug 1855992 - remove about: specialcase from principal validation in BrowserParent, r=nika,necko-reviewers,jesup 2023-11-02 17:41:17 +00:00
build Bug 1860360 - Disable -Wvla-cxx-extension warning in clang 18. r=firefox-build-system-reviewers,andi 2023-10-24 05:48:56 +00:00
caps Bug 1856578 - follow up - Empty Lines at end of file r=nataliaCs 2023-10-03 11:35:36 +00:00
chrome Bug 1855225 - Use system principal for chrome:// skin URIs too. r=dveditz 2023-10-12 08:59:50 +00:00
config Bug 1861564 - Disambiguate markers when tracking them. r=florian,releng-reviewers,jcristau 2023-10-27 20:13:53 +00:00
devtools Bug 1861941 - [devtools] Avoid clearing documents when navigating. r=devtools-reviewers,bomsy 2023-11-02 16:12:55 +00:00
docs Bug 1858889 - [Linux] Remove dbus-glib from docs and CI. r=stransky 2023-10-31 18:34:17 +00:00
docshell Bug 1855992 - remove about: specialcase from principal validation in BrowserParent, r=nika,necko-reviewers,jesup 2023-11-02 17:41:17 +00:00
dom Bug 1855992 - remove about: specialcase from principal validation in BrowserParent, r=nika,necko-reviewers,jesup 2023-11-02 17:41:17 +00:00
editor Bug 1858794 - Make `AutoMoveOneLineHandler` track the new line range while moving content nodes r=m_kato 2023-11-01 01:32:40 +00:00
extensions Bug 1855300 - convert .ini manifests to .toml: batch 11 remaining **/mochitest.ini r=jmaher,geckoview-reviewers,extension-reviewers,valentin,credential-management-reviewers,cookie-reviewers,sgalich,m_kato,robwu 2023-10-13 02:32:24 +00:00
gfx Bug 1862581 - Remove unused functions in layers r=gfx-reviewers,lsalzman 2023-11-02 11:26:01 +00:00
gradle/wrapper
hal Bug 1858153 [Linux] Migrate UPowerClient from dbus-glib to GDBus r=emilio 2023-10-12 11:16:25 +00:00
image Bug 1722322 - Implement LargestContentfulPaint r=emilio 2023-11-02 17:04:47 +00:00
intl Bug 1861622 - Simplify the code by removing some 'else' r=jfkthame DONTBUILD 2023-11-01 08:43:57 +00:00
ipc Bug 1595453 - Allow serializing zero-length `ByteBuf`s. r=nika 2023-11-02 18:05:31 +00:00
js Backed out 6 changesets (bug 1853907) for causing spidermonkey bustages. CLOSED TREE 2023-11-02 19:05:27 +02:00
layout Bug 1722322 - Implement LargestContentfulPaint r=emilio 2023-11-02 17:04:47 +00:00
media Backed out 2 changesets (bug 1861618, bug 1856240) for causing build bustages in ClearKeyUtils.cpp CLOSED TREE 2023-11-01 18:03:05 -04:00
memory Bug 1857107 - Update the PHC gtest for apple silicon's page size r=glandium 2023-10-26 05:41:15 +00:00
mfbt Bug 1595453 - Allow serializing zero-length `ByteBuf`s. r=nika 2023-11-02 18:05:31 +00:00
mobile Bug 1815339 - Flip the assertion for the GeckoView translation test; r=geckoview-reviewers,ohall 2023-11-02 17:11:15 +00:00
modules Bug 1722322 - Implement LargestContentfulPaint r=emilio 2023-11-02 17:04:47 +00:00
mozglue Backed out 2 changesets (bug 1861618, bug 1856240) for causing build bustages in ClearKeyUtils.cpp CLOSED TREE 2023-11-01 18:03:05 -04:00
netwerk Bug 1855992 - tidy up nsAboutProtocolHandler::NewChannel, r=nika,necko-reviewers,jesup 2023-11-02 17:41:18 +00:00
nsprpub
other-licenses Bug 1857121: Update IA2TypeLibrary.idl to latest revision (IAccessible2 repo commit 4461630f). r=morgan 2023-10-11 22:10:23 +00:00
parser Bug 1862311 - Clean up the comments in nsHtml5AtomTable.h and increase the cache size a tiny bit, r=emilio 2023-10-31 23:05:59 +00:00
python Bug 1862515 - Add 'nobara' to FEDORA_DISTROS in 'mach bootstrap', r=firefox-build-system-reviewers,sergesanspaille 2023-11-02 14:02:27 +00:00
remote Bug 1860170 - Use mozprocess.run_and_wait in puppeteer r=hneiva,webdriver-reviewers,Sasha 2023-10-30 16:43:16 +00:00
security Bug 1862599 - Don't let certmanager treecol intrinsic sizes affect its minimum size. r=Gijs 2023-11-02 14:34:27 +00:00
services No Bug, mozilla-central repo-update HSTS HPKP remote-settings - r=release-managers,RyanVM 2023-11-02 13:27:24 +00:00
servo Bug 1833679 - DevTools warnings infrastructure. r=nchevobbe,emilio 2023-11-02 15:29:12 +00:00
startupcache Bug 1856530 - run file-whitespace on toml files r=linter-reviewers,Standard8 2023-10-03 09:22:18 +00:00
storage Bug 1856795 - ride along: use = default; on some recently modified files r=emilio 2023-10-15 15:29:03 +00:00
supply-chain Bug 1861443 - neqo v0.6.6, r=necko-reviewers,supply-chain-reviewers,jesup 2023-10-27 16:47:17 +00:00
taskcluster Bug 1862502 - Fixup voidlinux's repo in the docker image config. r=firefox-build-system-reviewers,sergesanspaille 2023-11-02 08:48:43 +00:00
testing Bug 1861720: test(webgpu): run `moz-webgpu-cts fmt` r=webgpu-reviewers,teoxoy 2023-11-02 18:04:33 +00:00
third_party Bug 1811076: Part 4 - Add gtests for correctly-behaving and misbehaving DLP agents 2023-10-31 16:38:55 +00:00
toolkit Bug 1815339 - Change the method for knowing when the engine process is ready; r=nordzilla 2023-11-02 17:11:15 +00:00
tools Bug 1862624 - Enable codespell on search schemas and docs. r=sylvestre 2023-11-02 12:20:03 +00:00
uriloader Bug 1828334 r=Gijs,dveditz,extension-reviewers,fluent-reviewers,flod,robwu 2023-11-02 12:08:39 +00:00
view Bug 1421651 - Remove obseleted timeline and TimelineMarker code r=canaltinova,webidl,devtools-reviewers,saschanaz,smaug,ochameau 2023-10-24 15:18:12 +00:00
widget Bug 1861954 - Remove vibrancy on the osx sidebar. r=desktop-theme-reviewers,dao 2023-11-01 09:05:51 +00:00
xpcom Backed out changeset e2815494f2f2 (bug 1861848) for causing failures at browser_gc_schedule.js. CLOSED TREE 2023-11-01 16:39:16 +02:00
xpfe/appshell Bug 1107433 - macOS: Add fallback menu bar for early startup modals. r=mac-reviewers,spohl 2023-10-26 16:55:11 +00:00
.arcconfig
.babel-eslint.rc.js
.clang-format Bug 1851529 - Set clang-format ColumnLimit consistently. r=sylvestre,necko-reviewers,kershaw 2023-09-05 11:23:01 +00:00
.clang-format-ignore Bug 1816519 - implement getAuthenticatorData for AuthenticatorAttestationResponse. r=keeler,webidl,emilio,smaug 2023-08-31 22:56:50 +00:00
.cron.yml Bug 1750351 - Include push tasks for sp-perftests to prevent rescheduling builds. r=aryx DONTBUILD 2023-10-04 12:51:26 +00:00
.eslintignore Bug 1854786 - Move exclusion from linting for talos devtools pages to ThirdPartyPaths.txt. r=bomsy 2023-11-01 08:00:39 +00:00
.eslintrc-test-paths.js Bug 1844125 - Remove more bits of old translations code. r=gregtatum 2023-10-30 16:20:55 +00:00
.eslintrc.js Bug 1861865 - Fix ESLint valid-jsdoc issues in various browser code and enable on directories where it is already passing. r=Gijs 2023-11-01 17:20:41 +00:00
.git-blame-ignore-revs
.gitattributes
.gitignore Bug 1854874 - Add comm/ to .gitignore r=glandium 2023-10-25 01:32:19 +00:00
.hg-annotate-ignore-revs
.hg-format-source
.hgignore Bug 1842198 - [remote] Update hgignore to ignore readme files in puppeteer packages r=Sasha 2023-07-25 07:10:08 +00:00
.hgtags No bug: Removed tag FIREFOX_BETA_120_BASE a=release 2023-10-16 15:00:23 -04:00
.lando.ini Bug 1835962: add support for `mach try` to submit to Lando r=zeid,mach-reviewers,ahochheiden 2023-10-02 14:31:43 +00:00
.lldbinit
.mailmap
.prettierignore Bug 1854786 - Move exclusion from linting for talos devtools pages to ThirdPartyPaths.txt. r=bomsy 2023-11-01 08:00:39 +00:00
.prettierrc.js
.stylelintignore Bug 1857522 - Reduce max nesting depth to 3. r=Gijs 2023-10-08 22:33:39 +00:00
.stylelintrc.js Bug 1860666 - Add pref-gated ::slider-* pseudo-elements, and some tests. r=layout-reviewers,jfkthame 2023-10-30 15:15:24 +00:00
.taskcluster.yml Bug 1831143 - use new mozillareleases/gecko_decision:4.1.0 docker image. r=releng-reviewers,bhearsum 2023-08-22 15:22:43 +00:00
.trackerignore
.yamllint Bug 1858299 - moz.yaml file should not start with --- r=tjr 2023-10-13 11:56:37 +00:00
.ycm_extra_conf.py
AUTHORS
CLOBBER Bug 1857862 - Vendor libwebrtc from b38d9d2b6f - moz.build file updates 2023-10-23 20:42:39 +02:00
Cargo.lock Bug 1861443 - neqo v0.6.6, r=necko-reviewers,supply-chain-reviewers,jesup 2023-10-27 16:47:17 +00:00
Cargo.toml Bug 1861220 - Vendor application services into moz central r=lina,adw 2023-10-26 23:27:39 +00:00
GNUmakefile
LICENSE
Makefile.in Bug 1861288 - Improve coverage of the pre-export and export phases in profiles. r=firefox-build-system-reviewers,ahochheiden 2023-10-27 00:01:35 +00:00
README.txt
aclocal.m4
build.gradle Bug 1852921 - Upgrade to Glean v54.0.0 r=chutten,supply-chain-reviewers,mach-reviewers,ahochheiden 2023-09-19 08:18:12 +00:00
client.mk
client.py
configure
configure.py Bug 1861273 - Add some profile markers for sub-phases of configure. r=firefox-build-system-reviewers,ahochheiden 2023-10-26 00:49:31 +00:00
gradle.properties
gradlew
gradlew.bat
mach Bug 1695312 - Activate the virtualenv associated with a mach command much earlier r=firefox-build-system-reviewers,glandium 2023-07-25 00:24:53 +00:00
mach.cmd
mach.ps1
mots.yaml Bug 1859966 - Add Andrew Osmond to the list of gfx peers. r=zeid 2023-10-24 16:11:06 +00:00
moz.build Bug 1842620: Add overviews of the main applications to the docs. r=Gijs,geckoview-reviewers,owlish,bgrins 2023-07-26 18:22:32 +00:00
moz.configure Bug 1786490 - reformat the tree using black 23.3.0 r=sylvestre,webdriver-reviewers,taskgraph-reviewers,whimboo,jmaher,ahal,perftest-reviewers,geckoview-reviewers,afinder,m_kato 2023-09-06 16:14:30 +00:00
mozilla-config.h.in
old-configure.in Bug 1854493 - Use -O2 on Linux debug builds. r=firefox-build-system-reviewers,ahochheiden 2023-09-22 02:27:22 +00:00
package-lock.json Bug 1847580 - Update ESLint to read .toml as well as .ini for test manifests r=Standard8 2023-10-23 17:22:29 +00:00
package.json Bug 1563927 - Upgrade stylelint to the latest version. r=Gijs 2023-09-05 12:59:31 +00:00
pyproject.toml
settings.gradle Bug 1846523 - Call `python mach` on Windows from settings.gradle r=nalexander 2023-08-01 18:26:32 +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.