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
Перейти к файлу
Bobby Holley 6559feed97 Bug 805807 - Rearchitect filtering policies so that check() doesn't throw on denial. r=mrbkap
This is another one of those annoying situaitons in XPConnect right now where we
can't ask a question without potentially throwing if the answer is no. There's
also a bunch of unused cruft in here (like the Perm*Access stuff), so this stuff
was ripe for a spring cleaning. Unfortunately, I wasn't able to divide this patch
up nicely. Sorry for the big diff. :-(

In a nutshell, this patch changes things so that Policy::check() just becomes
a predicate that says whether the access is allowed or not. There's the remote
possibility that one of the underlying JSAPI calls in a ::check() implementation
might throw, so callers to ::check() should check JS_IsExceptionPending
afterwards (this doesn't catch OOM, but we can just continue along until the
next OOM-triggering operation and throw there).

Aside from exceptional cases, callers should call Policy::deny if they want to
report the failure. Policy::deny returns success value that should be returned
to the wrapper's consumer.
2012-11-02 13:27:59 +01:00
accessible Bug 807596 - crash [@ Accessible::GetActionRule()], r=hub 2012-11-02 01:05:33 +09:00
b2g Bug 806605 - Replace loggedInEmail parameter with loggedInUser. r=benadida 2012-11-01 19:23:14 -04:00
browser Backout e35f252ca573 for mochitest-other orange. 2012-11-01 19:31:02 -04:00
build Bug 797162 - Add make target for b2g xpcshell tests, r=ted 2012-11-01 14:29:27 -07:00
caps Backed out changeset 212e1383eb6e (bug 802366) 2012-10-30 21:36:32 -04:00
chrome Bug 788242: Implement and make use of void versions of NS_ENSURE_* macros; r=ehsan,bsmedberg 2012-09-14 14:30:31 +04:30
config bug 797745, add support for relativesrcdir overrides, r=ted 2012-11-01 15:51:48 +01:00
content Bug 753981 - 'XHR in Web Workers bypasses Offline AppCache'. r=smaug. 2012-11-01 20:37:55 -07:00
db/sqlite3 Bug 801281 - Upgrade SQLite to version 3.7.14.1 (Mozilla changes). r=mak 2012-10-16 21:34:06 -04:00
dbm Backout the dbm/ portions of bug 795507 because that code is a read-only copy from the upstream NSS project 2012-10-09 16:38:15 -04:00
docshell Bug 693808 - Make number keywords in locationbar be searched as normal terms. r=jst 2012-11-01 19:23:14 -04:00
dom Bug 753981 - 'XHR in Web Workers bypasses Offline AppCache'. r=smaug. 2012-11-01 20:37:55 -07:00
editor Bug 805807 - Make Components wrapper throw on denial. r=mrbkap 2012-11-02 13:27:59 +01:00
embedding Bug 797277 - Part 4/5: Android implementation, r=mounir,blassey 2012-10-31 17:10:53 +08:00
extensions Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon 2012-10-31 09:13:28 -07:00
gfx Bug 807142: Make containers for DisplayRemote behave like leaf layers when we're resolution-scaling. r=mattwoodrow 2012-11-02 00:13:08 -07:00
hal Bug 771195 - Fire memory pressure events on Gonk. r=dhylands 2012-10-31 13:29:14 -04:00
image Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon 2012-10-31 09:13:28 -07:00
intl Backout 57d8f6cd245a (bug 803669), fb673c95d56b (bug 803665), 24d8e0cb73f2 (bug 803665), ac46bd0d9fba (bug 803669), c9c67b62799b (bug 803666), b3314c0ddaac (bug 803668) for debug build test failures 2012-10-31 13:23:17 -04:00
ipc Bug 806587: Restore getCodebasePrincipal since extensions use it. r=mounir 2012-10-30 22:24:41 +01:00
js Bug 805807 - Rearchitect filtering policies so that check() doesn't throw on denial. r=mrbkap 2012-11-02 13:27:59 +01:00
layout Bug 797021 - Allow unsigned start parameter in NS_FOR_VISIBLE_BACKGROUND_LAYERS_BACK_TO_FRONT_WITH_RANGE. r=me 2012-11-02 09:28:03 +00:00
media Bug 802787 - Work around misreported stride. r=cpeterson 2012-11-01 22:41:03 -04:00
memory Bug 807112 - change MOZ_EXPORT_API and MOZ_IMPORT_API to not take the type. r=Waldo. 2012-10-31 18:18:12 -04:00
mfbt Bug 807112 - change MOZ_EXPORT_API and MOZ_IMPORT_API to not take the type. r=Waldo. 2012-10-31 18:18:12 -04:00
mobile Bug 805162 - l. Avoid unnecessarily setting selection, which can lead to side-effects in automated tests; r=cpeterson 2012-11-01 16:11:03 -04:00
modules Bug 806369 - Stagefright blacklisting. Also extends Android Gfxinfo to support blacklist rules by Android API version, Model, Product, Hardware, Manufacturer - r=joe,doublec 2012-11-01 17:13:10 -04:00
mozglue Bug 742790 - Part 4/5: Android implementation, r=mounir,blassey 2012-10-30 18:53:31 +08:00
netwerk Bug 282432 - XPCShell test. r=bz 2012-11-01 19:23:13 -04:00
nsprpub Bug 795987: Upgrade NSPR to NSPR_4_9_3_RTM. Includes a patch for 2012-10-24 12:37:30 -07:00
other-licenses Bug 734628 - Fixed CityHash dll which will not generate leading spaces for the returned hexidecimal hash. r=jimm 2012-10-24 11:45:15 -04:00
parser Backout 57d8f6cd245a (bug 803669), fb673c95d56b (bug 803665), 24d8e0cb73f2 (bug 803665), ac46bd0d9fba (bug 803669), c9c67b62799b (bug 803666), b3314c0ddaac (bug 803668) for debug build test failures 2012-10-31 13:23:17 -04:00
probes Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
profile Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
python Bug 805127 - Upgrade virtualenv to 1.8.2; r=ted 2012-10-24 14:25:40 -07:00
rdf Bug 792581 - part 23: Replace LL_INIT and LL_UDIVMOD macros. r=ehsan 2012-11-01 20:57:25 -04:00
security Bug 785259 - tests, r=honzab 2012-10-31 22:17:28 +01:00
services Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon 2012-10-31 09:13:28 -07:00
startupcache Bug 724513 - Part 3 - Add telemetry for the invalid disk cache situation. r=taras 2012-10-11 09:50:41 +01:00
storage Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon 2012-10-31 09:13:28 -07:00
testing Backout e35f252ca573 for mochitest-other orange. 2012-11-01 19:31:02 -04:00
toolkit Bug 805807 - Make Components wrapper throw on denial. r=mrbkap 2012-11-02 13:27:59 +01:00
tools Bug 792581 - part 23: Replace LL_INIT and LL_UDIVMOD macros. r=ehsan 2012-11-01 20:57:25 -04:00
uriloader Backout 57d8f6cd245a (bug 803669), fb673c95d56b (bug 803665), 24d8e0cb73f2 (bug 803665), ac46bd0d9fba (bug 803669), c9c67b62799b (bug 803666), b3314c0ddaac (bug 803668) for debug build test failures 2012-10-31 13:23:17 -04:00
view Bug 792180 - Replace NS_{UN,}LIKELY with MOZ_{UN,}LIKELY; r=ehsan 2012-10-26 15:32:10 +02:00
webapprt Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon 2012-10-31 09:13:28 -07:00
widget Bug 750901 - Elm to mc migration work - metro related changes to Windows widget src to support building metro winrt bits (nsWidgetFactory, nsWindowGfx, nsToolkit, WinUtils). Also landing nsIWinMetroUtils.idl. r=bbondy 2012-11-02 06:54:44 -05:00
xpcom Bug 792581 - part 23: Replace LL_INIT and LL_UDIVMOD macros. r=ehsan 2012-11-01 20:57:25 -04:00
xpfe Backed out changeset a6a847452dbf (bug 802366) 2012-10-30 21:36:29 -04:00
xulrunner Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon 2012-10-31 09:13:28 -07:00
.gdbinit Bug 184013 - Add a .gdbinit containing useful debugging macros to the tree so that it is found automagically; r=jimb 2012-05-03 20:06:14 -04:00
.gitignore Bug 751795 - Part 1: mach, the new frontend to mozilla-central; r=jhammel 2012-09-26 09:43:54 -07:00
.hgignore Bug 751795 - Part 1: mach, the new frontend to mozilla-central; r=jhammel 2012-09-26 09:43:54 -07:00
.hgtags Added tag FIREFOX_AURORA_18_BASE for changeset 2704e441363f 2012-10-08 10:57:38 -07:00
AUTHORS Bug 763623 - Add AUTHORS file. 2012-09-17 10:47:50 +01:00
Android.mk Bug 794297: Block the android build system from looking in mozilla-central. r=mwu 2012-09-25 17:04:01 -07:00
LEGAL
LICENSE Bug 547914 - Replace /LICENSE with a mention of where the canonical license info lives, and stop shipping it with binaries, r=gerv,shaver 2010-02-23 09:37:07 -08:00
Makefile.in Bug 788955 - Without --enable-jemalloc detect and use jemalloc3 in libc. r=glandium 2012-10-17 16:36:49 +02:00
README.txt added nightly.mozilla.org mention to README.txt, pushing to a CLOSED TREE, a=davidb 2011-03-30 08:23:52 -03:00
aclocal.m4 Bug 788276 - Properly check for broken (deprecated) compilers. r=gps. 2012-09-12 14:54:40 -04:00
allmakefiles.sh Bug 788955 - Without --enable-jemalloc detect and use jemalloc3 in libc. r=glandium 2012-10-17 16:36:49 +02:00
client.mk Backed out changeset 6b87b58ff491 (follow-up to bug 793953) because of make insanity 2012-09-26 15:47:11 -04:00
client.py Bug 782784 - client.py update_nss and update_nspr should toggle the trailing whitespace line, r=glandium 2012-08-16 08:28:57 +02:00
configure.in Bug 794983 - Remove configure sdk version restrictions for enable-metro builds. r=ehsan 2012-10-31 10:08:00 -05:00
mach Bug 795769 - Add "bootstrap" command to mach; r=ted 2012-10-10 17:17:00 -07:00
mozilla-config.h.in Bug 774032 part 6 - Replace autoconf handling of config files and headers with our own. r=ted 2012-08-04 08:47:28 +02:00

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:

    ftp://ftp.mozilla.org/pub/firefox/nightly/latest-trunk/
            - or -
    http://nightly.mozilla.org/