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 085289b49f Bug 1333990: Part 3c - Evict cached content scripts after a timeout and on memory-pressure. r=aswan,billm
This change automatically evicts content scripts 5 minutes after their last
use, and flushes the entire cache whenever a memory-pressure event is
received.

In the case of memory-pressure events other than heap-minimize, we only evict
scripts that have been in the cache for longer than 3 seconds (which is a
fairly arbitrary number) in order to prevent pre-loads from being evicted and
then immediately re-loaded.

MozReview-Commit-ID: LCXkI9qVMxS

--HG--
extra : rebase_source : b81ed3b9962346154fa18eaee58a7411244a1936
2017-03-10 20:11:18 -08:00
.cargo Bug 1277338 - Part 1: Turn js/src into the mozjs-sys crate; r=sfink 2016-10-13 16:12:42 -07:00
accessible Backed out changeset 7c05090a2cd0 (bug 1342433) for failing browser_treeupdate_listener.js. r=backout 2017-03-15 19:11:12 +01:00
addon-sdk Bug 1346819 - Port SanitizeAsBCP47 to LocaleService. r=baku,jfkthame 2017-03-13 08:31:43 -07:00
b2g Bug 1346897 - Indent tooltool manifests. r=mshal 2017-03-15 12:27:51 -07:00
browser Merge m-c to inbound, a=merge 2017-03-16 14:07:10 -07:00
build Backed out changeset e73241bcb49a (bug 1340584) for Windows build failures a=backout CLOSED TREE 2017-03-16 10:25:15 -07:00
caps Bug 1347369 - Avoid dynamic allocation of URLParams in OriginAttributes methods; r=baku 2017-03-15 23:03:31 -04:00
chrome merge mozilla-inbound to mozilla-central a=merge 2017-02-03 13:25:24 +01:00
config Backed out changeset e73241bcb49a (bug 1340584) for Windows build failures a=backout CLOSED TREE 2017-03-16 10:25:15 -07:00
db Bug 1345627 - add BUG_COMPONENT to db/* files. r=mak 2017-03-10 12:31:59 -05:00
devtools Bug 1335055 - improving accessibility of a tree component (keyboard and semantics). r=Honza 2017-03-16 23:01:04 -04:00
docshell Bug 1333990: Part 2b - Don't enable editor until layout has started. r=ehsan 2017-03-14 21:22:06 -07:00
dom Bug 1333990: Part 2e - Test that document.blockParsing blocks the parser at its current state during document-element-inserted. r=hsivonen 2017-03-16 17:56:43 -07:00
editor Bug 1347092 part.3 Make EditorBase::CreateTxnForDeleteSelection() return already_AddRefed<EditAggregateTransaction> r=m_kato 2017-03-15 14:35:43 +09:00
embedding Bug 1332392 - embedding/* should have BUG_COMPONENTS specified in moz.build files. r=ted 2017-02-06 09:45:58 -05:00
extensions Bug 1345294 - script generated patch (+ some hand cleanup) to replace {get,set}ComplexValue for nsISupportsString by {get,set}StringPref, r=Mossop. 2017-03-16 19:26:01 +01:00
gfx Bug 1314543 - Make EnsureGPUReady() returns bool to make sure GPU process is readay. r=dvander 2017-03-17 09:49:13 +08:00
gradle/wrapper Bug 1300094 - Update Gradle to 2.14.1 and Gradle Plugin to 2.1.3 r=sebastian 2016-09-22 14:31:01 -07:00
hal Bug 1342636 - Part 3: Remove the GetCurrentScreenConfiguration sync IPC message; r=billm 2017-03-10 21:29:04 -05:00
image Merge mozilla-central to mozilla-inbound 2017-03-16 15:39:58 +01:00
intl merge mozilla-inbound to mozilla-central a=merge 2017-03-14 14:23:03 +01:00
ipc Bug 1344415 - Introduce a security check about which files can be opened by a content process, r=ehsan 2017-03-16 08:53:49 +01:00
js Bug 1333990: Part 1b - Add tests for script precompiler. r=shu 2017-03-16 16:55:59 -07:00
layout Bug 1347164 - css-color specified style test. r=dholbert 2017-03-16 15:29:00 -04:00
media merge mozilla-inbound to mozilla-central a=merge 2017-03-16 15:35:50 +01:00
memory Bug 1332491 - Delete SelectorCacheKey synchronously. r=bz 2017-03-13 14:37:19 +08:00
mfbt Bug 1331173 - Increase header segment capacity for TaskTracer. r=billm 2017-03-10 02:35:00 +01:00
mobile Bug 1345294 - script generated patch (+ some hand cleanup) to replace {get,set}ComplexValue for nsISupportsString by {get,set}StringPref, r=Mossop. 2017-03-16 19:26:01 +01:00
modules Bug 1343677 part 1. Add a way to get the current preferences init phase in debug builds. r=billm 2017-03-16 17:43:17 -04:00
mozglue Bug 1305815 - Fix false positives for x86 devices. r=snorp 2017-03-13 10:25:12 -05:00
netwerk Merge m-c to inbound, a=merge 2017-03-16 14:07:10 -07:00
nsprpub Bug 1347932, uplift NSPR_4_14_BETA2, r=franziskus 2017-03-16 17:22:25 +01:00
other-licenses Bug 1324617 - Allow any of multiple installations to be set as the Windows default browser; r=jimm,rstrong 2017-01-09 08:14:00 -08:00
parser Bug 1333990: Part 2c - Interrupt the flush loop after inserting document element. r=hsivonen 2017-03-16 18:50:28 -07:00
probes Bug 1286877 - do not set c-basic-offset for python-mode; r=gps 2016-07-14 10:16:42 -06:00
python Merge mozilla-central to mozilla-inbound 2017-03-16 15:39:58 +01:00
rdf Bug 1344876 - add BUG_COMPONENT to rdf/* files. r=pike 2017-03-07 13:06:54 -05:00
security Bug 1340351 - Allow sandboxed content process on macOS to access fonts synced by Adobe Creative Cloud. r=haik 2017-03-16 22:26:43 +00:00
services Bug 1345294 - script generated patch (+ some hand cleanup) to replace {get,set}ComplexValue for nsISupportsString by {get,set}StringPref, r=Mossop. 2017-03-16 19:26:01 +01:00
servo servo: Merge #15967 - Disabled tinyfiledialogs when running headless (from asajeffrey:headless-disable-tinyfd); r=jdm 2017-03-16 06:50:14 -07:00
startupcache Bug 1344615: Remove nsXPCOMStrings.{h,cpp} r=bsmedberg 2017-03-06 17:52:54 +13:00
storage Bug 1344629 - Part 6: Rewrite unnecessary uses of nsLiteralString. r=dbaron 2017-03-14 15:26:27 +13:00
taskcluster Bug 1347889 - use 'relative-datestamp' instead of typo 'relative-timestamp' in morphs, to unbreak task submission. r=dustin 2017-03-16 09:44:36 -04:00
testing Bug 1348119. Move the test for setRangeText setting the dirty value flag into upstream wpt. r=smaug 2017-03-16 17:51:51 -04:00
third_party/rust Merge m-c to graphics 2017-03-08 10:08:57 -05:00
toolkit Bug 1333990: Part 3c - Evict cached content scripts after a timeout and on memory-pressure. r=aswan,billm 2017-03-10 20:11:18 -08:00
tools Bug 1345294 - add an eslint rule to reject usage of {get,set}ComplexValue for nsISupportsString and suggest {get,set}StringPref instead, and make it pass, r=Mossop. 2017-03-16 19:26:02 +01:00
uriloader Bug 1348036 - Add a hidden permission for making all document loads act like Large-Allocation loads for manual testing, r=smaug 2017-03-16 14:58:36 -04:00
view Bug 1302071 - Part 5: Bucket PresContext invalidations by transaction ID, and only deliver them when the associated composite has completed. r=tnikkel 2017-02-17 15:16:15 +13:00
widget merge mozilla-inbound to mozilla-central a=merge 2017-03-16 15:35:50 +01:00
xpcom Bug 1346874 - Disable slow gray mark checks on Android, r=mccr8 2017-03-16 15:41:36 -07:00
xpfe Bug 1347983 - Part 1: Make forms submitted from a large-allocation page not leave the large-allocation process, r=smaug 2017-03-16 14:32:26 -04:00
.clang-format Bug 1322321 - Update the clang format file to match more our coding style r=ehsan 2016-12-06 17:43:17 -10:00
.clang-format-ignore Bug 1343185 - Add the JNI generate files in the list of ignored elements r=mystor 2017-02-28 08:27:33 +01:00
.clang-tidy Bug 1319396 - Update the list of checkers in the .clang-tidy file r=Ehsan 2016-11-22 12:30:19 +01:00
.cron.yml Bug 1338871 - Enable Talos tests for linux64-stylo builds r=dustin 2017-03-13 17:28:54 -04:00
.eslintignore Bug 1347906 - Add .git/.hg to .eslintignore to help speed up full ESLint runs. r=jaws 2017-03-16 12:42:49 +00:00
.eslintrc.js Bug 1345294 - add an eslint rule to reject usage of {get,set}ComplexValue for nsISupportsString and suggest {get,set}StringPref instead, and make it pass, r=Mossop. 2017-03-16 19:26:02 +01:00
.flake8 Bug 1321956 - Disable flake8 check for 'visually indented line with same indent as next logical line', r=ahal 2016-12-08 09:53:21 -10:00
.gdbinit Bug 1317802 - don't stop for SIGSYS in .gdbinit; r=jld 2016-11-16 01:13:22 -05:00
.gdbinit_python bug 985566 - add some pretty printers to .gdbinit r=froydnj r=glandium 2016-06-02 13:33:07 -04:00
.gitignore Bug 1301790 - Bundle codemirror into a single script;r=gl 2016-09-11 09:38:51 -07:00
.hgignore Bug 1332691: Add script to regenerate tests, update the WPT manifest and expectations; r=luke 2017-02-17 20:13:54 +01:00
.hgtags No bug - Tagging mozilla-central 6583496f169cd8a13c531ed16e98e8bf313eda8e with FIREFOX_AURORA_54_BASE a=release DONTBUILD CLOSED TREE 2017-03-06 23:43:32 +01:00
.lldbinit Bug 1254128 - Make the Mozilla .lldbinit use the full path for topsrcdir. r=sparky 2016-03-01 16:36:08 +00:00
.taskcluster.yml Bug 1334810: temporarily revert {{owner}}; r=garndt 2017-02-07 16:18:19 +00:00
.ycm_extra_conf.py Bug 1293534: Fix .ycm_extra_conf after bug 1195748. r=gps 2016-08-09 10:30:58 -07:00
AUTHORS Bug 1302763 - Move docker images out of testing/docker into taskcluster/docker; r=dustin r=CuriousLearner 2016-10-20 18:25:34 +05:30
Android.mk
CLOBBER Bug 1346967 - Generate metadata for all three ISimpleDOM interfaces via a single combined run of MIDL: CLOBBER. r=CLOBBER 2017-03-15 00:51:33 +01:00
GNUmakefile
LEGAL
LICENSE
Makefile.in Bug 1339182 - Remove OSX universal support in the build system; r=glandium 2017-02-10 16:52:17 -05:00
README.txt
aclocal.m4 Bug 1262155 - Use moz.build instead of libffi's build system. r=ted,glandium 2016-08-08 16:58:54 -07:00
build.gradle Bug 1318823 - Use com.getkeepsafe.dexcount in Gradle builds. r=sebastian 2016-11-18 18:28:58 -08:00
client.mk Bug 1317778 - Emit a depfile with python configure dependencies so Make will know when to re-run configure. r=glandium 2016-12-02 10:05:57 -08:00
client.py
configure.in Bug 1295751 - Make it possible to copy configure.in to configure. r=gps 2016-08-16 19:35:00 -07:00
configure.py Bug 1316140 - Allow use of multiprocessing from config.status on windows. r=mshal 2016-12-21 16:28:28 -08:00
gradle.properties
gradlew
mach Bug 1316140 - Allow use of multiprocessing from config.status on windows. r=mshal 2016-12-21 16:28:28 -08:00
moz.build Merge inbound to central, a=merge 2017-03-08 17:07:55 -08:00
moz.configure Bug 1339673 - Add an option to disable building the gtest xul and set it for valgrind builds in automation. r=ted 2017-02-16 10:47:55 -08:00
mozilla-config.h.in Bug 1231314 - Turn mozilla-config.h and js-confdefs.h into CONFIGURE_DEFINE_FILES. r=gps 2015-12-15 08:06:11 +09:00
old-configure.in Merge mozilla-central to mozilla-inbound 2017-03-08 14:28:34 +01:00
settings.gradle Bug 1291363 - Add geckoview and geckoview_example Gradle projects. r=jchen,sebastian 2016-10-05 20:23:38 -07: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:

    http://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:

    http://developer.mozilla.org/en/docs/Creating_a_patch
    http://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 http://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 -
    http://nightly.mozilla.org/