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
Andrew McCreight faa1eb2316 Bug 1295688 - InfallibleAllocPolicy should crash on overflow. r=glandium
Code that uses InfallibleAllocPolicy presumably wants for operations
to always succeed. However, Vector and HashTable can end up detecting
that growing the data structure will fail due to integer overflow, and
then will call reportAllocOverflow() and fail. I think these cases
should crash.

In addition, pod_malloc and pod_realloc should crash rather than
returning NULL when they detect overflow.

This calls mozalloc_abort rather than MOZ_CRASH directly to avoid
circular #includes, because Assertions.h includes nsTraceRefcnt.h
which includes nscore.h which includes mozalloc.h.

MozReview-Commit-ID: 1g99BXLceQI

--HG--
extra : rebase_source : 927d842588c1f85a50a7a1c50a5546d5f688555f
2016-08-16 10:56:14 -07:00
accessible Bug 1297171 - Unconditionally export COMPtrTypes.h rather than depending on accessibility enabled/disabled status. r=aklotz 2016-08-22 14:33:00 -04:00
addon-sdk Backed out changeset 5e10edf2ce87 (bug 1224863) for landing with the wrong patch author. 2016-08-18 13:33:17 -04:00
b2g Bug 1252570 - Remove mozPay. r=ehsan,mfinkle,fabrice 2016-08-22 10:42:22 +02:00
browser Bug 1297039 - Implement the preference for showing dropmarker or not in Downloads Panel., r=Paolo 2016-08-22 18:44:24 +08:00
build Bug 1276003 - Move --enable-necko-protocols to python configure. r=chmanchester 2016-08-18 09:57:06 +09:00
caps Bug 1295103 - Use MOZ_MUST_USE in OriginAttributes. r=allstars 2016-08-15 18:22:44 +08:00
chrome Bug 1286877 - do not set c-basic-offset for python-mode; r=gps 2016-07-14 10:16:42 -06:00
config Bug 1240134 - Incorporate the interfaces.xpt from downloaded artifacts instead of building XPIDL during an artifact build. r=glandium 2016-08-17 15:02:31 -07:00
db/sqlite3 Bug 1293367 - Upgrade to SQLite 3.14.1. r=asuth 2016-08-18 22:02:22 -04:00
devtools Bug 1296870 - Do not clear output of BrowserConsole when receiving console.clear();r=bgrins 2016-08-22 23:51:01 +02:00
docshell merge mozilla-inbound to mozilla-central. r=merge a=merge 2016-08-22 17:28:28 +02:00
dom Backed out changeset 7e3e593e8141 (bug 1295352) for failing mda test test_getUserMedia_basicTabshare.html. r=backout on a CLOSED TREE 2016-08-23 20:46:13 +02:00
editor Bug 1265800 part 3 - Move cursor into all adjacent nodes after delete; r=masayuki 2016-08-22 14:27:17 +03:00
embedding Bug 1293596 (part 4) - Tweak nsIWidget::Create. r=mstange. 2016-08-19 09:03:17 +10:00
extensions Bug 1291700 - Allow negotiate/ntml to work when in the 'Never remember history' mode. r=jduell 2016-08-16 06:24:00 -04:00
gfx Merge m-c to autoland. a=merge 2016-08-23 10:07:52 -04:00
gradle/wrapper Bug 1263390 - Use Gradle 2.10 and Android Gradle plugin 2.0. r=mcomella 2016-04-19 20:01:38 +02:00
hal Bug 1292323 - Update usage of UsesNativeCallProxy; r=snorp 2016-08-12 23:15:53 -04:00
image Bug 1260324. Don't draw garbage to the screen if an image doesn't happen to be decoded. r=seth 2016-08-22 21:15:38 -05:00
intl Bug 1295053 (part 6) - Don't use NS_METHOD for intl/uconv/ functions. r=froydnj. 2016-08-16 12:12:29 +10:00
ipc Bug 1296316 - Convert nsNSSShutDownObject::CalledFromType to an enum class. r=mgoodwin 2016-08-20 23:00:19 +08:00
js Merge inbound to m-c. a=merge 2016-08-23 10:05:18 -04:00
layout Bug 1296561 - calculate initial-letter's size according to specification. r=jfkthame 2016-08-23 09:40:14 +08:00
media Merge m-c to autoland. a=merge 2016-08-23 10:07:52 -04:00
memory Bug 1295688 - InfallibleAllocPolicy should crash on overflow. r=glandium 2016-08-16 10:56:14 -07:00
mfbt Bug 1264642 - Part 4. Use BufferList to replace raw buffers in StructuredClone. r=baku r=billm r=jorendorff 2016-08-23 00:40:46 +08:00
mobile Merge m-c to autoland. a=merge 2016-08-23 10:07:52 -04:00
modules Merge inbound to m-c. a=merge 2016-08-22 09:40:41 -04:00
mozglue Bug 1294479 - Update auto-generated bindings; r=me 2016-08-19 17:17:25 -04:00
netwerk Bug 1296316 - Convert nsNSSShutDownObject::CalledFromType to an enum class. r=mgoodwin 2016-08-20 23:00:19 +08:00
nsprpub Bug 1257250 - pr_getnameforidentity bounds check and locking r=ted.mielczarek 2016-03-15 17:44:17 -04:00
other-licenses Bug 1296449, statically link mbsdiff.exe, like we do for mar.exe r=glandium 2016-08-22 16:59:33 +12:00
parser Merge inbound to central, a=merge 2016-08-12 13:44:29 -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 Bug 1276003 - Move --enable-necko-protocols to python configure. r=chmanchester 2016-08-18 09:57:06 +09:00
rdf bug 778777 - kill off most of rdf/tests/ irc-r=ted 2016-08-18 09:23:24 -04:00
release/docker Bug 1294040 - Funsize should accept downloads from https://archive.mozilla.org r=philor a=automation DONTBUILD 2016-08-10 09:44:36 -04:00
security bug 1296619 - add a test to ensure that prompting for the master password probably works r=Cykesiopka 2016-08-18 15:31:56 -07:00
services Bug 1289287 - Store Sync clients outgoing commands in a different collection until uploaded. r=markh 2016-08-11 11:01:15 -07:00
startupcache Bug 1295138 - Change NS_ASSERTION(false, "Existing entry in StartupCache.") to a NS_WARNING, r=nfroyd 2016-08-16 22:26:40 -07:00
storage Bug 1293117 (part 4) - Change many NS_IMETHODIMP occurrences to NS_IMETHOD. r=froydnj. 2016-08-08 10:54:47 +10:00
taskcluster Backed out changeset 70e8a2680183 (bug 1284874) 2016-08-23 18:54:30 +02:00
testing Backed out changeset b7e4a7997738 (bug 1284874) for Marionette and Android x86 xpcshell failures. r=backout 2016-08-23 18:55:37 +02:00
toolkit Bug 1296316 - Convert nsNSSShutDownObject::CalledFromType to an enum class. r=mgoodwin 2016-08-20 23:00:19 +08:00
tools Merge m-c to autoland, a=merge 2016-08-16 22:07:30 -07:00
uriloader Bug 1268962 - Add load / error event to prefetch link. r=bz 2016-08-12 15:09:05 +08:00
view Bug 1293596 (part 2) - Rework nsIWidget bounds getters. r=mstange. 2016-08-19 09:03:04 +10:00
widget Merge inbound to m-c. a=merge 2016-08-23 10:05:18 -04:00
xpcom Initialize nsAppShell in the GPU process. (bug 1294350 part 5, r=nfroyd) 2016-08-22 22:57:36 -07:00
xpfe Bug 1293596 (part 4) - Tweak nsIWidget::Create. r=mstange. 2016-08-19 09:03:17 +10:00
.clang-format
.clang-format-ignore
.eslintignore Bug 1282726 - Simple CSS Grid highlighter that displays grid lines r=pbro 2016-08-19 10:26:39 -07:00
.eslintrc Bug 1245916: Unify eslint global discovery rules. r=pbrosset 2016-02-05 11:37:50 -08:00
.flake8 Bug 1283129 - Flake8 linter is accidentally linting some eslint related .lint files, r=maja_zf 2016-06-29 10:37:27 -04:00
.gdbinit bug 985566 - add some pretty printers to .gdbinit r=froydnj r=glandium 2016-06-02 13:33:07 -04: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 1289258 - Part 2 - Add mocha test for search. r=bgrins 2016-07-26 12:35:42 -04:00
.hgignore Bug 1289258 - Part 2 - Add mocha test for search. r=bgrins 2016-07-26 12:35:42 -04:00
.hgtags No bug - Tagging mozilla-central 465d150bc8be5bbf9f02a8607d4552b6a5e1697c with FIREFOX_AURORA_50_BASE a=release DONTBUILD CLOSED TREE 2016-08-01 07:05:25 -07: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 1291070 - Tag and use decision image 0.1.4; r=dustin 2016-08-01 18:09:09 -07:00
.ycm_extra_conf.py Bug 1293534: Fix .ycm_extra_conf after bug 1195748. r=gps 2016-08-09 10:30:58 -07:00
aclocal.m4 merge mozilla-inbound to mozilla-central a=merge 2016-07-27 16:35:44 +02:00
Android.mk
AUTHORS
build.gradle Bug 1268453 - Use Android Gradle plugin 2.1. r=mcomella 2016-04-29 14:48:43 +02:00
client.mk Bug 1295751 - Make it possible to copy configure.in to configure. r=gps 2016-08-16 19:35:00 -07:00
client.py
CLOBBER Bug 1294803 needed a CLOBBER a=CLOBBER 2016-08-19 12:12:04 -07:00
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 1257049 - Stop spawning a separate process for config.status from configure.py. r=gps 2016-08-19 11:11:57 +09:00
GNUmakefile
gradle.properties Bug 1218370 - Use Gradle daemon in srcdir builds. r=me 2015-10-26 09:28:14 -07:00
gradlew Bug 1123416 - Part 1: Make topsrcdir a valid Gradle project root. r=sebastian 2015-10-21 15:07:55 -07:00
LEGAL
LICENSE
mach Bug 1279020 - [mach] Follow symlinked mach binary when searching for a srcdir, r=gps 2016-06-09 17:20:02 -04:00
Makefile.in bug 1262337 - add symbols for test plugins to symbols zip on Windows. r=gps 2016-08-22 06:42:59 -04:00
moz.build Bug 1286877 - do not set c-basic-offset for python-mode; r=gps 2016-07-14 10:16:42 -06:00
moz.configure Backed out changeset c0e6aae0b93d (bug 1294803) for breaking artifact builds. 2016-08-19 11:12:07 -07: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 Bug 1252570 - Remove mozPay. r=ehsan,mfinkle,fabrice 2016-08-22 10:42:22 +02:00
README.txt
settings.gradle Bug 1233882 - Fold base Gradle project into app Gradle project. r=sebastian,mcomella 2016-02-17 19:25:54 -08:00
test.mozbuild Bug 1229233 - Add a (incomplete) end-to-end build test. r=gps 2015-12-01 13:57:52 +09:00

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/