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 8751f930ce Bug 1471091: Avoid cloning and caching process scripts. r=mccr8
We only run process scripts once per process, so there's no need to compile
them for the compilation scope, or to keep a separate cloned copy alive for
the length of the session.

This patch changes the caching behavior of message managers to compile
single-use scripts directly for the target global, and avoid caching them for
the rest of the session. It also changes the preloader to drop references to
these scripts after they've been executed and/or encoded, as appropriate.

MozReview-Commit-ID: EfKo2aYbBxl

--HG--
extra : rebase_source : aebc5812bef4413d497ac4fdb59aced00a5a4c8e
extra : absorb_source : cf5795eb0bff47d08b1ab45f002afb3f05109c93
extra : histedit_source : e92619d2a818095241c52d8f1961ccad38300d32
2018-06-29 18:07:46 -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
accessible Merge inbound to mozila-central. a=merge 2018-07-06 12:47:20 +03:00
browser Bug 1473598 - Remove "browser-window.css" since the workaround isn't needed anymore. r=paolo 2018-07-06 08:41:48 +01:00
build Bug 1473436 - Default to lld for local *nix builds when it is available. r=chmanchester 2018-07-05 09:28:49 +09:00
caps Bug 1418246 - Return valid columnNumber value in CSP violation events, r=ckerschb 2018-07-05 08:21:04 +02:00
chrome Bug 1449791 - Remove platform support of overlays. r=bz 2018-03-28 18:20:04 -07:00
config Merge inbound to mozilla-central. a=merge 2018-07-07 01:00:41 +03:00
db Bug 1467121 - Upgrade to SQLite 3.24.0. r=mak 2018-06-06 09:52:32 -04:00
devtools Bug 1470872 - Load "dropmarker.css", "groupbox.css", and "splitter.css" as document stylesheets. r=bgrins 2018-07-07 11:18:36 +01:00
docshell Backed out 1 changesets (bug 1468523) for mochitest failures on test_bug475636.html. CLOSED TREE 2018-07-04 04:49:52 +03:00
dom Bug 1471091: Avoid cloning and caching process scripts. r=mccr8 2018-06-29 18:07:46 -07:00
editor Bug 1473515 - Make AutoDisableUndo restores enabled state of undo/redo with previous number of maximum transactions r=m_kato 2018-07-05 19:44:23 +09:00
embedding
extensions Bug 1453751: Load favicons in the content process. r=mak, r=gijs, r=aswan, r=mixedpuppy 2018-06-28 16:06:09 -07:00
gfx Bug 1473815 - Simplify WebRenderBridgeParent::mAnimStorage iteration code r=nical 2018-07-07 09:30:50 +09:00
gradle/wrapper
hal Bug 1470994 - remove unused accuracy field from SensorData; r=gsvelto 2018-06-27 16:05:48 +03:00
image Bug 1472520 - Fix a crash when generating image decoder telemetry. r=tnikkel 2018-07-04 08:50:02 -04:00
intl Bug 1470771: Follow-up: Fix null deref in Windows GPU process. r=me 2018-06-30 16:37:51 -07:00
ipc Bug 1472806 - fix missing typename warning in COMPtrHolder.h; r=aklotz 2018-07-03 17:04:26 -04:00
js Bug 1471091: Avoid cloning and caching process scripts. r=mccr8 2018-06-29 18:07:46 -07:00
layout Bug 1474093: Annotate reftest contain-size-inline-flex-001.html as slightly fuzzy on Windows WebRender. (test-manifest-only) 2018-07-07 09:32:54 -07:00
media Bug 1409664 - P9. Remove AutoTaskQueue and its use r=bryce 2018-07-03 11:45:19 -07: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 Bug 1473771 - Part 2: Make LinkedList::Iterator work when element type inherits from multiple LinkedListElement<T>s. r=Waldo 2018-07-06 10:56:08 +10:00
mobile Merge inbound to mozila-central. a=merge 2018-07-06 12:47:20 +03:00
modules Merge mozilla-inbound to mozilla-central. a=merge 2018-07-05 19:26:15 +03:00
mozglue Backed out 1 changesets (bug 1473371)for windows-specific changes and fails on windows CLOSED TREE 2018-07-06 22:22:05 +03:00
netwerk Bug 1472718 - Convert ChromeUtils.requestIOActivity to a Promise - r=baku,valentin 2018-07-06 13:43:08 +02: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 1465585: Switch from mozilla::Move to std::move. r=froydnj 2018-06-01 10:45:27 +02:00
parser Bug 1418246 - Return valid columnNumber value in CSP violation events, r=ckerschb 2018-07-05 08:21:04 +02:00
python Bug 1472199 - [mozbuild] Remove unittest dependency from test_pythonutil.py and narrow to tests module; r=ahal 2018-07-05 14:27:29 +01:00
security Bug 1470914 - land NSS 247bf1dc3121 UPGRADE_NSS_RELEASE, r=me 2018-07-06 15:56:42 +02:00
services Bug 1473533 - Change the nsINavHistoryObserver::OnDeleteVisits visit time parameter to be a boolean for partial removal. r=mak 2018-07-05 13:18:31 +00:00
servo Bug 1473735 - Add memory reporting for MediaQueryLists. r=emilio 2018-07-06 11:09:12 +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 Bug 1470623 - name the action purge-cache to align with the spec; r=tomprince 2018-07-05 20:17:10 +00:00
testing Merge mozilla-inbound to mozilla-central. a=merge 2018-07-07 13:32:05 +03:00
third_party Bug 1472538: Revendor dependencies. 2018-07-01 16:04:49 +02:00
toolkit Bug 1470872 - Load "dropmarker.css", "groupbox.css", and "splitter.css" as document stylesheets. r=bgrins 2018-07-07 11:18:36 +01:00
tools Bug 1473308 - [flake8] Pass custom extension list into the flake8 binary r=marco 2018-07-06 12:39:39 +00: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 1472611 - Don't link DBus 1.5.12 symbol dbus_validate_bus_name(), r=stransky 2018-07-04 09:24:34 +02:00
xpcom Bug 1457728: Support tri-state comparators in nsTArray. r=erahm 2018-04-28 15:15:04 -07:00
xpfe/appshell Bug 1473034 - Ignore the gfx sanitytest window when recording start-up paints. r=florian 2018-07-05 15:02:46 -04:00
.arcconfig Bug 1460463 - Update .arcconfig to make history mutable; r=gps 2018-05-09 23:49:52 +00:00
.clang-format
.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 1469376 - Initial stubs for WebGPU sketch API. - r=kvark,qdot 2018-06-13 10:43:48 -07:00
.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
.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
.mailmap NO BUG - Use ato's new address. r=me 2018-02-26 15:59:29 +00:00
.taskcluster.yml Bug 1470886 - only produce tasks for recognized tasks_for; r=tomprince 2018-07-03 18:07:42 +00: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 Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2018-06-25 09:34:19 -07:00
Cargo.lock Bug 1472538: Update bindgen. r=xidorn 2018-07-01 16:04:49 +02:00
Cargo.toml Bug 1468950 - Update serde_derive patch for changes in WR PR 2819. r=Gankro 2018-06-21 08:15:40 -04:00
GNUmakefile
LEGAL
LICENSE
Makefile.in Bug 1470552 - Update Makefile.in to refer to stub file target for buildid.h and source-repo.h generated in backend.mk r=froydnj 2018-06-22 15:10:39 -07: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
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 1457168 - Make configure tests use LINKER_LDFLAGS. r=chmanchester 2018-07-04 16:18:48 +09: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