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
Перейти к файлу
Kris Maglione 8316d5a0c0 Bug 1463587: Part 3 - Add bindings for SharedMap, and expose it via process message managers. r=erahm,baku,bz
This is the first basic implementation of a shared-memory key-value store for
JS message managers. It has one read-write endpoint in the parent process, and
separate read-only endpoints for each child-process message manager.

Changes to the parent endpoint are broadcast to the children as snapshots.
Each snapshot triggers a "change" event with a list of changed keys.

It currently has the following limitations:

- It only supports basic structured clone data. There's no support for blobs,
  input streams, message ports... Blob support will be added in a follow-up
  patch.

- Changes are currently only broadcast to child endpoints when flush() is
  explicitly called in the parent, or when new child processes are launched.
  In a follow-up, this will be changed to automatically flush after changes
  when the event loop is idle.

- All set operations clone their inputs synchronously, which means that
  there's no trivial way for callers to batch multiple changes to a single key
  without some additional effort. It might be useful to add a
  delayed-serialization option to the .set() call in a follow-up, for callers
  who are sure they know what they're doing.

MozReview-Commit-ID: IM8a3UgejXU

--HG--
extra : rebase_source : 66c92d538a5485349bc789028fdc3a6806bc5d5a
extra : source : 2ebaf5f8c6055b11b11d7ec334d54ee941115d48
2018-06-29 14:55:27 -07:00
.cargo Bug 1468950 - Update serde_derive patch for changes in WR PR 2819. r=Gankro 2018-06-21 08:15:40 -04:00
.vscode Bug 1423565 - Update tasks.json as per documentation. r=rillian 2017-12-06 14:59:35 +01:00
accessible Backed out 2 changesets (bug 1471951) for failing android at org.mozilla.geckoview.test.AccessibilityTest.testClipboard on a CLOSED TREE 2018-07-12 22:27:17 +03:00
browser Bug 1474384 - Memoize the nsIURI object returned from the currentURI getter for lazy <xul:browser> objects; r=dao 2018-07-12 13:11:00 +03:00
build Merge inbound to mozilla-central. a=merge 2018-07-12 01:04:09 +03:00
caps Bug 1416066 - Enable caching for scripts with codebase URLs of about:home, about:newtab, and about:welcome. r=kmag 2018-07-03 21:24:52 -04:00
chrome Bug 1449791 - Remove platform support of overlays. r=bz 2018-03-28 18:20:04 -07:00
config Bug 1470047 - Implement InitBySystemSettingsWayland() and get key modifiers on Wayland, r=ashie 2018-07-10 18:28:32 +02:00
db Bug 1467121 - Upgrade to SQLite 3.24.0. r=mak 2018-06-06 09:52:32 -04:00
devtools Bug 1475045 - Update Debugger Frontend v71. r=dwalsh 2018-07-12 19:03:55 -04:00
docshell Merge inbound to mozilla-central. a=merge 2018-07-12 01:04:09 +03:00
dom Bug 1463587: Part 3 - Add bindings for SharedMap, and expose it via process message managers. r=erahm,baku,bz 2018-06-29 14:55:27 -07:00
editor Bug 1443902 - Part 2. Update spellcheck status on focused element after turning off contenteditable. r=masayuki 2018-07-10 14:17:50 +09:00
embedding Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian 2018-01-29 15:20:18 -08:00
extensions Bug 1469759 - Part 4. Get rid of mozISpellI18NUtil. r=masayuki 2018-07-02 11:22:08 +09:00
gfx Bug 1473041 - save and restore PermitSubpixelAA state for basic layer paint callback. r=mstange 2018-07-12 14:19:07 -04:00
gradle/wrapper Bug 1411654 - Part 1: Upgrade to Android-Gradle 3.0+ and build-tools;26.0.2. r=maliu 2017-10-26 11:00:36 -07:00
hal Bug 1470994 - remove unused accuracy field from SensorData; r=gsvelto 2018-06-27 16:05:48 +03:00
image Bug 1470447 - JPEG decoder should post an invalidation for each row. r=tnikkel 2018-07-11 11:44:17 -04:00
intl Bug 1474786 - Update Fluent to master. r=stas 2018-07-10 17:49:02 -07:00
ipc Bug 1459209 P1 Add IPC actor boilerplate for PServiceWorker, PServiceWorkerContainer, and PServiceWorkerRegistration. r=mrbkap 2018-07-09 16:02:39 -07:00
js Bug 1463587: Part 2 - Add a shared-memory structured clone key-value store. r=erahm,bz 2018-06-22 20:35:49 -07:00
layout Merge mozilla-inbound to mozilla-central. a=merge 2018-07-13 00:51:26 +03:00
media Backed out 12 changesets (bug 1445683) on request by dminor (will break msvc win32 pgo build) 2018-07-12 21:25:02 +03:00
memory Bug 1471352 - Don't export functions from gcc_throw.h in mingw builds. r=froydnj 2018-06-26 18:55:14 +02:00
mfbt Add support for char32_t to mozilla::IsIntegral. Found in the process of fixing another bug, no bug and r=me as so unbelievably trivial that it can't possibly deserve anything else 2018-07-12 02:26:49 -07:00
mobile Backed out 7 changesets (bug 1420514) for breaking bc on different files on a CLOSED TREE 2018-07-12 21:22:32 +03:00
modules Bug 1471838: Turn layout.css.offset-logical-properties.enabled off by default. r=xidorn 2018-07-12 07:28:58 +02:00
mozglue Bug 1473175: Add support for catalog files to DLL signature verifications; r=mhowell 2018-07-10 14:09:44 -06:00
netwerk Bug 1467102 - Fix the ftp diversion. r=bagder 2018-07-11 10:01:43 -04:00
nsprpub Bug 1432480, land NSPR_4_19_RTM, no code changes, only version numbers. Require version 4.19 for building. r=me 2018-03-05 17:05:18 +01:00
other-licenses Bug 1448804 Part 1 - NSIS plugin for creating unelevated processes from an elevated [un]installer. r=aklotz 2018-07-09 10:49:36 -07:00
parser Bug 1418246 - Return valid columnNumber value in CSP violation events, r=ckerschb 2018-07-05 08:21:04 +02:00
python Backed out 12 changesets (bug 1445683) on request by dminor (will break msvc win32 pgo build) 2018-07-12 21:25:02 +03:00
security No Bug, mozilla-central repo-update HSTS HPKP remote-settings - a=repo-update r=RyanVM 2018-07-12 13:23:01 +00:00
services Backed out changeset a97d964a2157 (bug 1471901) for xpcshell failures at services/common/tests/unit/test_blocklist_certificates.js on a CLOSED TREE 2018-07-12 14:52:56 +03:00
servo Bug 1461285 followup - Remove a unused line to fix a warning. 2018-07-12 14:19:16 +10:00
startupcache Bug 1465585: Switch from mozilla::Move to std::move. r=froydnj 2018-06-01 10:45:27 +02:00
storage Merge mozilla-central to autoland 2018-06-27 13:33:04 +03:00
taskcluster Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2018-07-13 00:55:18 +03:00
testing Merge mozilla-inbound to mozilla-central. a=merge 2018-07-13 00:51:26 +03:00
third_party Backed out 12 changesets (bug 1445683) on request by dminor (will break msvc win32 pgo build) 2018-07-12 21:25:02 +03:00
toolkit Backed out changeset c64603aec7e5 (bug 1469825) for breaking mochitest chrome at toolkit/content/tests/chrome/test_tree.xul on a CLOSED TREE 2018-07-13 06:10:19 +03:00
tools Bug 1474273 - Add xpc::CurrentNativeGlobal and use it instead of NativeGlobal(JS::CurrentGlobalOrNull(cx)). r=bz 2018-07-11 14:07:02 +02:00
uriloader Bug 1472145 - Part 1. Add support for identifying the WebP images MIME type. r=tnikkel 2018-06-29 20:30:05 -04:00
view Bug 1462784 - Remove EVENTS category. r=njn 2018-05-18 17:36:30 -04:00
widget Bug 1470047 - Implement InitBySystemSettingsWayland() and get key modifiers on Wayland, r=ashie 2018-07-10 18:28:32 +02:00
xpcom Bug 1474636 - Report memory used by nsMemoryReporterManager. r=njn 2018-07-10 15:38:52 -07:00
xpfe/appshell Bug 1472087 - deCOMtaminate nsIDocShellLoadInfo; r=nika 2018-07-11 20:19:14 -07:00
.arcconfig Bug 1460463 - Update .arcconfig to make history mutable; r=gps 2018-05-09 23:49:52 +00:00
.clang-format Bug 1414764 - Remove Mozilla specific options to avoid build warnings with gcc and -Wcomment enabled. r=sylvestre 2017-11-06 11:47:40 +02:00
.clang-format-ignore Bug 1464452 - Add richtext to the list of thirdparties r=andi 2018-05-25 09:01:11 -07:00
.cron.yml Bug 1469803 Update cron bouncer check to use product-details r=rail 2018-06-29 18:41:42 +00:00
.eslintignore Bug 1344286 - Fix eslint errors from devtools files ignored previously; r=gregtatum,ntim 2018-06-16 15:45:58 +05:30
.eslintrc.js Bug 1436303 - Enable mozilla/no-define-cc-etc for some DevTools files;r=ochameau,standard8 2018-06-08 16:46:59 +02:00
.flake8 Bug 1473308 - [flake8] Pass custom extension list into the flake8 binary r=marco 2018-07-06 12:39:39 +00:00
.gdbinit Bug 1400460 - Rename nsIAtom as nsAtom. r=hiro. 2017-10-03 09:05:19 +11:00
.gdbinit_python
.gitignore Bug 1439727 - Ignore third_party/python/psutil/tmp/ in VCS; r=nalexander 2018-03-07 08:59:48 -08:00
.hgignore Bug 1469801 - Add gcov-related files to .hgignore. r=jmaher (DONTBUILD) 2018-06-20 11:05:46 +01:00
.hgtags No bug - Tagging mozilla-central 4f6e597104dabedfecfafa2ab63dc79fd7f8bc7a with FIREFOX_NIGHTLY_62_END a=release DONTBUILD CLOSED TREE 2018-06-25 09:31:32 -07:00
.inferconfig
.lldbinit Bug 1400460 - Rename nsIAtom as nsAtom. r=hiro. 2017-10-03 09:05:19 +11:00
.mailmap NO BUG - Use ato's new address. r=me 2018-02-26 15:59:29 +00:00
.taskcluster.yml Backed out changeset 66956b121b93 (bug 1470886) for signin exceptions. CLOSED TREE 2018-07-03 21:39:52 +03:00
.yamllint
.ycm_extra_conf.py
AUTHORS Bug 1459852 - Get rid of the AUTHORS list r=mossop 2018-05-08 10:37:41 +02:00
CLOBBER Bug 1371485 - Moving gyp requires a clobber; r=chmanchester 2018-07-09 14:48:41 -04:00
Cargo.lock Bug 1474871 - Link dump_syms against rustc-demangle. r=ted 2018-07-12 10:23:12 +09:00
Cargo.toml Bug 1474871 - Link dump_syms against rustc-demangle. r=ted 2018-07-12 10:23:12 +09:00
GNUmakefile
LEGAL
LICENSE
Makefile.in Bug 1444171 - use the order file during re-link with clang-cl; r=glandium 2018-07-09 18:36:14 -04:00
Pipfile Bug 1472201 - Vendor pytest 3.6.2 and dependencies; r=ahal 2018-06-29 15:37:31 +01:00
Pipfile.lock Bug 1472201 - Vendor pytest 3.6.2 and dependencies; r=ahal 2018-06-29 15:37:31 +01:00
README.txt Bug 1460030 - Update the nightly URL in the README.txt file r=kohei 2018-05-08 21:22:10 +02:00
aclocal.m4
build.gradle Bug 1457863 - 1. Update kotlin to 1.2.41; r=nalexander 2018-05-02 13:49:57 -04:00
client.mk Bug 1461836 - Write out complete configure dependencies from configure for consumption by make and non-make backends. r=mshal 2018-05-21 14:01:50 -07:00
client.py Bug 1399100 - fix client.py follow-up, r=kaie 2017-09-20 09:13:14 +02:00
configure.in
configure.py Bug 1461836 - Write out complete configure dependencies from configure for consumption by make and non-make backends. r=mshal 2018-05-21 14:01:50 -07:00
gradle.properties Bug 1453413 - Use aapt2 to build Firefox for Android. r=mcomella 2018-04-11 09:59:22 -07:00
gradlew
mach
moz.build Bug 1346026 - Vendor pipenv 2018.5.18 and transient dependencies; r=ahal 2018-05-17 19:06:20 +01:00
moz.configure Bug 1469091 - Build the clang plugin as a host shared library. r=ted 2018-07-05 14:58:09 +09:00
mozilla-config.h.in Bug 1463637: Remove mozilla-config.h hacks for Hunspell extra includes. r=ted 2018-05-22 20:36:39 -07:00
old-configure.in Bug 1471556 - Support mingw clang in configure scripts. r=glandium 2018-06-26 18:53:42 +02:00
package-lock.json Bug 1461921 - Block storage access for third-parties on the tracking protection list - part 2 - First tests for DOM storages, r=ehsan 2018-06-20 13:38:21 -04:00
package.json Bug 1464100 - Update eslint-plugin-no-unsanitized to v3.0.2. r=ahal 2018-05-24 16:54:54 +01:00
settings.gradle Bug 1444546 - Part 2: Build annotationProcessors with Gradle. r=jchen 2018-02-22 16:11:14 -08:00
test.mozbuild

README.txt

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

    https://developer.mozilla.org/en/Mozilla_Source_Code_Directory_Structure

For information on how to build Mozilla from the source code, see:

    https://developer.mozilla.org/en/docs/Build_Documentation

To have your bug fix / feature added to Mozilla, you should create a patch and
submit it to Bugzilla (https://bugzilla.mozilla.org). Instructions are at:

    https://developer.mozilla.org/en/docs/Creating_a_patch
    https://developer.mozilla.org/en/docs/Getting_your_patch_in_the_tree

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 in a
mozilla.* Usenet group, or on IRC at irc.mozilla.org. [The Mozilla news groups
are accessible on Google Groups, or news.mozilla.org with a NNTP reader.]

You can download nightly development builds from the Mozilla FTP server.
Keep in mind that nightly builds, which are used by Mozilla developers for
testing, may be buggy. Firefox nightlies, for example, can be found at:

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