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
Perry Jiang 1ad4e039d4 Bug 1622451 - minimize stream copying across IPC boundaries r=asuth,baku
Initially, IPCInternal{Request,Response} had contained IPCStreams which would
result in unecessary copying when sending the objects over IPC. The patch
makes these streams either:

1) ParentToParentStream (just a UUID)
2) ParentToChildStream (a PIPCBlobInputStream actor, acting as a handle)
3) ChildToParentStream (a real IPCStream)

These three types are union-ed together by the BodyStreamVariant IPDL structure.
This structure replaces the IPCStream members in IPCInternal{Request,Response}
so that, depending on the particular IPDL protocol, we can avoid cloning streams
and just pass handles/IDs instead.

As a side effect, this makes file-backed Response objects cloneable. Initially,
these Responses would be backed by an nsFileInputStream, which is not cloneable
outside the parent process. They are now backed by IPCBlobInputStreams, which
are cloneable.

One thing that's not really satisfactory (IMO), is the manual management of
IPCBlobInputStreamStorage so that no streams are leaked, e.g. if we store a
stream in the IPCBlobInputStreamStorage but fail to send an IPC message and
therefore fail to remove the stream from storage on the other side of the IPC
boundary (only parent-to-parent in this case).

Differential Revision: https://phabricator.services.mozilla.com/D73173
2020-04-30 23:52:54 +00:00
.cargo Bug 1618595 - Bump Cranelift to b7cfd39b531680217537cfcf5294a22077a0a58d; r=jseward 2020-04-30 11:57:24 +00:00
.vscode
accessible Bug 1624954: query attribute string for aria-haspopup instead of relying on flag alone. r=eeejay 2020-04-30 21:38:45 +00:00
browser Bug 1634303 - make test support BEHAVIOR_REJECT_TRACKER_AND_PARTITION_FOREIGN; r=johannh 2020-04-30 21:40:02 +00:00
build Bug 1634187 - Turn xpcom/idl-parser/xpidl into a proper python 3-ready module. r=rstewart 2020-04-30 21:49:10 +00:00
caps Backed out changeset 8a194fc3bf96 (bug 1634411) for causing perma bc2 failure in browser/components/originattributes/test/browser/browser_postMessage.js CLOSED TREE 2020-04-30 19:08:34 +03:00
chrome
config Bug 1627805 - Allow the update agent to link against updatecommon r=glandium 2020-04-24 19:23:08 +00:00
devtools Bug 1598145 Part 3: Add a test of changed meta viewport tags. r=hiro 2020-04-30 23:25:53 +00:00
docs Bug 1634374 - Rename the doc title from Mozilla to Firefox in directory overview docs.r=ahal 2020-04-30 18:39:36 +00:00
docshell Bug 1634218 - Remove the zoom actors. r=nika 2020-04-30 16:35:35 +00:00
dom Bug 1622451 - minimize stream copying across IPC boundaries r=asuth,baku 2020-04-30 23:52:54 +00:00
editor Bug 1540037 - part 8: Move EditorBase::SplitNodeWithTransaction() to HTMLEditor r=m_kato 2020-04-30 11:27:33 +00:00
extensions Bug 1626570 - Improve handling of copying arrays in extensions/spellcheck. r=m_kato 2020-04-30 09:36:26 +00:00
gfx Bug 1621762: Part 5 - Change PWebGL alloc+constructor to Initialize message r=jgilbert,jld 2020-04-30 22:23:48 +00:00
gradle/wrapper
hal Bug 1626456 - Remove stray nsAutoPtr.h includes. r=KrisWright 2020-04-03 21:05:46 +00:00
image Backed out changeset 8cb47e0e268d (bug 1625363) for causing gtest failures at ImageDecoders.AVIFSingleChunk. CLOSED TREE 2020-04-30 08:26:53 +03:00
intl Bug 1627809 - Add Localization::AddResourceId and Localization::RemoveResourceId for DOM to use. r=stas 2020-04-30 17:56:24 +00:00
ipc Bug 1621762: Part 7 - Add IpdlQueue actor traits to WebGLParent/WebGLChild r=jgilbert,jld 2020-04-30 22:24:44 +00:00
js Bug 1634519 - Removing uses of FunctionBox::function. r=mgaudet 2020-04-30 20:25:56 +00:00
layout Bug 1633720 - [css-grid-2] Adjust the grid area stored in the Subgrid property as well for removed 'auto-fit' tracks in the parent. r=dholbert 2020-04-30 11:34:20 +00:00
media Backed out 4 changesets (bug 1622384) for causing build bustages on JsepSession.h 2020-05-01 00:03:03 +03:00
memory Bug 1619165 - Reformat recent changes to the Google coding style r=andi 2020-04-25 09:40:08 +00:00
mfbt Bug 1634023 - Add deduction guides for Span. r=hsivonen 2020-04-29 16:04:56 +00:00
mobile Bug 1630073 - Reenable WebExtensionTest.loadWebExtensionPage. r=agi 2020-04-30 18:29:32 +00:00
modules Bug 1621762: Part 7 - Add IpdlQueue actor traits to WebGLParent/WebGLChild r=jgilbert,jld 2020-04-30 22:24:44 +00:00
mozglue Bug 1630281 - Cache the executable's IAT for ntdll.dll before COM initialization. r=mhowell 2020-04-30 18:26:18 +00:00
netwerk Bug 1626570 - Improve handling of copying arrays in netwerk/url-classifier/. r=dimi 2020-04-30 09:41:04 +00:00
nsprpub
other-licenses Bug 1632463 - Part 2: Update WebBrowser.dll r=mhowell 2020-04-29 14:23:33 +00:00
parser Bug 1627809 - Rename Document::TriggerInitialTranslation to Document::OnParsingCompleted. r=smaug 2020-04-30 17:56:11 +00:00
python Bug 1634359 - improve coverage r=sparky 2020-04-30 16:13:22 +00:00
remote Bug 1634029 - [remote] Integrate WindowObserver into TabObserver. r=remote-protocol-reviewers,maja_zf 2020-04-30 02:12:26 +00:00
security Bug 1633879 - check for smart card changes at most once every 3 seconds r=kjacobs 2020-04-30 22:41:06 +00:00
services Bug 1634203 - Replace Kinto client with RemoteSettings client in test_remote_settings_poll r=glasserc 2020-04-30 19:52:14 +00:00
servo Bug 1632102 - Only override to default color in high-contrast / forced-colors mode if inheriting from transparent. r=morgan 2020-04-30 00:09:19 +00:00
startupcache Bug 1614795 - use the background task queue for startupcache writes, r=dthayer,decoder 2020-04-15 20:43:44 +00:00
storage Bug 1628715 - Part 15: Replace MOZ_NONNULL_RETURN by returning NotNull<elem_type*>. r=xpcom-reviewers,necko-reviewers,dragana,nika 2020-04-24 13:35:27 +00:00
taskcluster Bug 1631990 - additional filters on mach try selectors r=jmaher 2020-04-30 22:55:50 +00:00
testing Bug 1598145 Part 1: For user-scalable=no, force min and max zoom to match initial zoom, add WPT. r=hiro 2020-04-30 23:25:53 +00:00
third_party Bug 1634275 - Update glslopt to 0.1.2 to remove dependency on bindgen. r=jrmuizel,kats 2020-04-30 12:25:17 +00:00
toolkit Bug 557710 fix precedence handling with addons installed to multiple locations r=rhelmer,aswan 2020-04-30 23:26:05 +00:00
tools Bug 1580448 - JSProcessActor tests;r=nika 2020-04-30 16:45:14 +00:00
uriloader Bug 1626570 - Improve handling of copying arrays in uriloader/. r=Gijs 2020-04-30 09:38:40 +00:00
view Bug 1626456 - Remove stray nsAutoPtr.h includes. r=KrisWright 2020-04-03 21:05:46 +00:00
widget Bug 1633718 - Make sure not to call OpenThemeData if it failed before. r=mstange 2020-04-30 21:28:21 +00:00
xpcom Bug 1634187 - Turn xpcom/idl-parser/xpidl into a proper python 3-ready module. r=rstewart 2020-04-30 21:49:10 +00:00
xpfe/appshell Backed out 7 changesets (bug 1580565) for bustages on nsDocShell.cpp . CLOSED TREE 2020-04-24 05:31:55 +03:00
.arcconfig
.babel-eslint.rc.js
.clang-format
.clang-format-ignore Bug 1466070 - Integrate clang-format into mozlint r=linter-reviewers,ahal 2020-04-15 20:39:32 +00:00
.cron.yml Bug 1630009: Re-use on-push builds for generating conditioned profiles; r=jmaher 2020-04-14 20:23:14 +00:00
.eslintignore Bug 1628982 - Activate the condprofile on desktop + GV r=Bebe,perftest-reviewers,whimboo 2020-04-16 14:01:55 +00:00
.eslintrc.js Bug 1620621 - Unit tests for MLBF-based blocklist r=Gijs 2020-04-30 10:02:37 +00:00
.flake8 Bug 1622687 - toolkit/crashreporter/: Make it flake8 compliant r=gsvelto,rstewart 2020-04-16 14:40:31 +00:00
.gdbinit Bug 1627398 Part 5 - Support dumping frame trees in CSS pixels for gdb and lldb. r=heycam 2020-04-07 23:42:38 +00:00
.gdbinit_python
.git-blame-ignore-revs Bug 1633969 - Add bug 1298559 to .{hg-annotate,git-blame}-ignore-revs. r=sylvestre 2020-04-30 12:54:10 +00:00
.gitattributes
.gitignore
.hg-annotate-ignore-revs Bug 1633969 - Add bug 1298559 to .{hg-annotate,git-blame}-ignore-revs. r=sylvestre 2020-04-30 12:54:10 +00:00
.hg-format-source
.hgignore Bug 1627854 - Add documentation for spec-test importing. r=lth 2020-04-09 20:34:31 +00:00
.hgtags No bug - tagging 3cc678e923e6f105437db28740c8223fd4940c8d with FIREFOX_NIGHTLY_76_END a=release DONTBUILD CLOSED TREE 2020-04-06 14:28:44 +00:00
.lldbinit
.mailmap
.prettierignore
.prettierrc
.taskcluster.yml Bug 1626795: Use revision rather than push-id to look up existing tasks; r=aki 2020-04-10 22:29:39 +00:00
.trackerignore
.yamllint
.ycm_extra_conf.py Bug 1632497 - Make YouCompleteMe clangd completer work. r=jgraham 2020-04-28 10:08:00 +00:00
aclocal.m4
AUTHORS
build.gradle Bug 1631603 - Update apilint to 0.2.7. r=snorp 2020-04-27 15:56:00 +00:00
Cargo.lock Bug 1634275 - Update glslopt to 0.1.2 to remove dependency on bindgen. r=jrmuizel,kats 2020-04-30 12:25:17 +00:00
Cargo.toml Bug 1618595 - Bump Cranelift to b7cfd39b531680217537cfcf5294a22077a0a58d; r=jseward 2020-04-30 11:57:24 +00:00
client.mk
client.py
CLOBBER Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2020-04-06 14:28:50 +00:00
configure.in Bug 1627163 - Switch python configure to python 3. r=firefox-build-system-reviewers,rstewart 2020-04-07 18:31:56 +00:00
configure.py Bug 1631633 - Generate config.status deterministically. r=rstewart 2020-04-21 21:32:30 +00:00
GNUmakefile
gradle.properties
gradlew
gradlew.bat
LEGAL
LICENSE
mach Bug 1632348 - Convert mach artifact to python 3. r=rstewart 2020-04-26 21:53:57 +00:00
Makefile.in Bug 1621436 - Run process_install_manifest with python3. r=rstewart 2020-04-09 00:21:12 +00:00
moz.build Bug 1621095 - add reftest-qr to run focused webrender reftests on android phones. r=bc 2020-04-24 18:54:51 +00:00
moz.configure Bug 1626951 - Disable new pass manager on aarch64-windows builds without LTO. r=dmajor 2020-04-03 14:27:45 +00:00
mozilla-config.h.in
old-configure.in Bug 1629594 - land NSS 50dcc34d470d UPGRADE_NSS_RELEASE, r=jcj 2020-04-14 17:53:38 +00:00
package-lock.json
package.json
README.txt
settings.gradle
substitute-local-geckoview.gradle
test.mozbuild

An explanation of the Mozilla 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 Mozilla from the source code and create the patch see:

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

If you have a question about developing Mozilla, and can't find the solution
on https://developer.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 Mozilla developers for
testing, may be buggy.