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
Перейти к файлу
Andrew McCreight 0b1d21cd8e Bug 1608760 - Make ClonedErrorHolder::ToErrorValue() deal with a null filename. r=bzbarsky
If you serialize and then deserialize a JSErrorReport with a null filename
field, then we end up passing a null filename to JS::CreateError, which ends
up crashing. Perhaps CreateError should be robust against a null filename,
but the fact that whatever latent null filename issue wasn't causing crashes
until this serialization was added suggests it might be reasonable to deal
with it inside ClonedErrorHolder.

This patch causes a null string to instead become an empty string. We could do
this on the sending side, but by dealing with it on the receiving side we get
the bonus of keeping a malicious sender from crashing us.

Differential Revision: https://phabricator.services.mozilla.com/D60587

--HG--
extra : moz-landing-system : lando
2020-01-23 21:03:44 +00:00
.cargo Bug 1610535 - Update Cranelift to 98633eeb0d249efae23ee69ec03dc35b7d9bec17. r=bbouvier 2020-01-23 18:41:11 +00:00
.vscode Bug 1594520 - Change directory before running mach in .vscode/tasks.json on Windows. r=jya 2019-11-14 10:35:12 +00:00
accessible Backed out 2 changesets (bug 1609737) for causing build bustages on nsCSSRenderingGradients after backing out Bug 1609711. CLOSED TREE 2020-01-23 07:39:48 +02:00
browser Bug 1595915 - Move the password generation context menu item to the top-level. r=sfoster,fluent-reviewers,flod 2020-01-23 20:19:17 +00:00
build Backed out 2 changesets (bug 1611231) for causing a linting falure in /builds/worker/checkouts/gecko/build/docs/sccache-dist.rst CLOSED TREE 2020-01-23 23:02:38 +02:00
caps Bug 1594781 -- Refactor nsGlobalWindowOuter r=ckerschb 2020-01-22 17:14:08 +00:00
chrome Bug 1609996 - Reorder some includes affected by the previous patches. r=froydnj 2020-01-20 16:19:48 +00:00
config Bug 1607503 - mozbuild/test/configure/test_configure.py supports Python 3 r=ahal,mars 2020-01-10 21:04:14 +00:00
devtools Backed out changeset c41e5432b3c5 (bug 1609815) for build bustages at JSControl.cpp on a CLOSED TREE 2020-01-23 22:34:40 +02:00
docs Bug 1606894 - Add Linux Build preparation Page.r=sylvestre 2020-01-12 10:02:40 +00:00
docshell Bug 1609869 - Make about:networking an HTML page r=Gijs 2020-01-23 16:42:02 +00:00
dom Bug 1608760 - Make ClonedErrorHolder::ToErrorValue() deal with a null filename. r=bzbarsky 2020-01-23 21:03:44 +00:00
editor Bug 1609998 - Enable ESLint for non-third party files in editor/libeditor/tests/browserscope/. r=m_kato 2020-01-21 20:46:49 +00:00
extensions Bug 1357107 - Remove nsContentBlocker. r=bzbarsky 2020-01-21 19:19:17 +00:00
gfx Bug 1606771 - Add a reftest. r=kvark 2020-01-23 14:20:27 +00:00
gradle/wrapper Bug 1595926 - Don't use distribution256Sum until Android Studio is fixed. r=snorp 2019-11-14 17:04:32 +00:00
hal Bug 1605934 - Use nested namespaces r=sg 2020-01-18 13:48:34 +00:00
image Bug 1357107 - Move the handling of the permissions.default.image pref to ImageBlocker.cpp. Original patch by ehsan. r=bzbarsky 2020-01-22 10:45:15 +00:00
intl Bug 1607052 - Cut out the POSIX encoding part from the locale during sanitization. r=jfkthame 2020-01-22 13:52:23 +00:00
ipc Bug 1595834: Make GeckoProcessManager interface e10s-multi aware; r=snorp 2020-01-23 18:12:51 +00:00
js Bug 1610535 - Update Cranelift to 98633eeb0d249efae23ee69ec03dc35b7d9bec17. r=bbouvier 2020-01-23 18:41:11 +00:00
layout Bug 1610819 - Remove support for creating some non-standard event types; r=smaug 2020-01-23 17:37:34 +00:00
media Backed out 2 changesets (bug 1322095) for build bustage at dist/include/mtransport/runnable_utils.h on a CLOSED TREE 2020-01-23 19:50:51 +02:00
memory Bug 1609996 - Reorder some includes affected by the previous patches. r=froydnj 2020-01-20 16:19:48 +00:00
mfbt Bug 1601024 - ThreadSafeWeakReference::tryDetach must acquire its lock r=froydnj 2020-01-21 13:33:04 +00:00
mobile Bug 1610353 - [5.1] Update API changelog. r=geckoview-reviewers,agi 2020-01-23 20:04:10 +00:00
modules Bug 1610944 - configure/test_toolchain_configure.py and configure/test_toolchain_helpers.py support Python 3 r=firefox-build-system-reviewers,mshal 2020-01-23 17:15:38 +00:00
mozglue Bug 1598119 - Disable Control Flow Guard for WindowsDllInterceptor returns r=handyman 2020-01-21 18:50:22 +00:00
netwerk Backed out 2 changesets (bug 1322095) for build bustage at dist/include/mtransport/runnable_utils.h on a CLOSED TREE 2020-01-23 19:50:51 +02:00
nsprpub Bug 1600803 - NSPR_4_25_BETA1 for FF 74. r=jcj UPGRADE_NSPR_RELEASE 2020-01-07 11:04:03 +00:00
other-licenses Backed out changeset fbbb42a15738 (bug 1585356) for bustage on city.cpp. CLOSED TREE 2020-01-08 00:51:00 +02:00
parser Bug 1519636 - Automatically reformat recent changes using clang-format r=Ehsan 2020-01-21 09:51:27 +00:00
python Bug 1610944 - configure/test_toolchain_configure.py and configure/test_toolchain_helpers.py support Python 3 r=firefox-build-system-reviewers,mshal 2020-01-23 17:15:38 +00:00
remote Bug 1587845 - [remote] Use _contentRect as name for internal helper that returns the content bounding box. r=remote-protocol-reviewers,maja_zf 2020-01-23 01:51:53 +00:00
security No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings - a=repo-update r=RyanVM 2020-01-23 13:31:34 +00:00
services No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings - a=repo-update r=RyanVM 2020-01-23 13:31:34 +00:00
servo Bug 1611044 - Convert stroke-linejoin #defines to an enum class. r=emilio 2020-01-23 17:19:27 +00:00
startupcache Bug 1606102 - Don't use putNew in StartupCache::LoadArchive r=froydnj 2019-12-30 18:50:56 +00:00
storage Bug 1414737 - Ensure Connection::GetQuotaObjects only returns NS_OK if the quota objects are non-null. r=janv,dom-workers-and-storage-reviewers 2020-01-23 12:46:46 +00:00
taskcluster Backed out 2 changesets (bug 1611231) for causing a linting falure in /builds/worker/checkouts/gecko/build/docs/sccache-dist.rst CLOSED TREE 2020-01-23 23:02:38 +02:00
testing Bug 1611237. Fix which sort of SyntaxError we throw from PeerConnection.jsm. r=jib 2020-01-23 20:36:11 +00:00
third_party Bug 1610535 - Update Cranelift to 98633eeb0d249efae23ee69ec03dc35b7d9bec17. r=bbouvier 2020-01-23 18:41:11 +00:00
toolkit Bug 1595915 - Don't check #fill-login-popup visibility in pwgen context menu tests. r=sfoster 2020-01-23 06:36:05 +00:00
tools Bug 1608535 - [lint] Forward new --no-error-on-unmatched-pattern to eslint, r=Standard8 2020-01-23 13:30:27 +00:00
uriloader Bug 1605102, r=mak,dimi 2020-01-22 18:20:23 +00:00
view Bug 1596317 - Use CallState for nsContentUtils::CallOnAllRemoteChildren. r=smaug 2019-12-19 07:58:27 +00:00
widget Bug 1595834: Make GeckoProcessManager interface e10s-multi aware; r=snorp 2020-01-23 18:12:51 +00:00
xpcom Bug 1607575 - Remove support for the XUL ordinal attribute r=bgrins,bz 2020-01-21 18:46:13 +01:00
xpfe/appshell Bug 1432856 - Extended focus methods in Window.webidl, Client.webidl and Element.webidl to pass CallerType. r=smaug 2020-01-16 14:38:40 +00:00
.arcconfig
.clang-format
.clang-format-ignore Bug 1607014 Part 2 - Remove references to toolkit/recordreplay/udis86, r=jlast. 2020-01-05 01:43:41 +00:00
.cron.yml Bug 1596775: Run system-symbols task daily; r=glandium 2019-12-11 10:14:31 +00:00
.eslintignore Bug 1609998 - Enable ESLint for non-third party files in editor/libeditor/tests/browserscope/. r=m_kato 2020-01-21 20:46:49 +00:00
.eslintrc.js Bug 1608799 - Load devtools debugger's .eslintignore directly into ESLint to avoid duplication. r=jdescottes 2020-01-21 20:46:38 +00:00
.flake8 Bug 1611023: [taskgraph] Fix python3 flake8 errors in taskgraph; r=Callek 2020-01-23 03:35:31 +00:00
.gdbinit
.gdbinit_python
.git-blame-ignore-revs
.gitattributes
.gitignore Bug 1588223 - Use many domains in iframes for tabswitch test r=stephendonner,perftest-reviewers,rwood 2019-11-25 18:31:36 +00:00
.hg-annotate-ignore-revs
.hg-format-source
.hgignore Bug 1600339 - Measure responsiveness while evaluating messages r=k88hudson,mconley 2020-01-18 21:08:40 +00:00
.hgtags No bug - Tagging mozilla-central d5843cae64d30255b242d051888e99bef3de5c05 with FIREFOX_NIGHTLY_73_END a=release DONTBUILD CLOSED TREE 2020-01-06 15:50:11 +00:00
.lldbinit Bug 1603804. Move third_party/python/lldbutils to python/lldbutils. r=ahal 2019-12-20 17:10:12 +00:00
.mailmap
.prettierignore Bug 1606787 - Exclude CSS files from Prettier configuration r=vporof 2020-01-03 12:26:41 +00:00
.prettierrc Bug 1601681 - Re-enable unix-line endings on ESLint controlled files. r=mossop 2019-12-11 08:12:57 +00:00
.taskcluster.yml Bug 1606869: Switch decision task docker caches to match the rest the in-tree caches; r=Callek 2020-01-03 22:18:29 +00:00
.trackerignore
.yamllint Bug 1606009 - Fix & silent some tests r=Callek 2019-12-26 22:13:18 +00:00
.ycm_extra_conf.py
AUTHORS
CLOBBER Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2019-12-02 11:59:11 +00:00
Cargo.lock Bug 1610535 - Update Cranelift to 98633eeb0d249efae23ee69ec03dc35b7d9bec17. r=bbouvier 2020-01-23 18:41:11 +00:00
Cargo.toml Bug 1610535 - Update Cranelift to 98633eeb0d249efae23ee69ec03dc35b7d9bec17. r=bbouvier 2020-01-23 18:41:11 +00:00
GNUmakefile
LEGAL
LICENSE
Makefile.in Bug 1557788 - Remove spurious MOZ_PROFILE_USE ifndefs; r=firefox-build-system-reviewers,chmanchester 2019-12-09 18:03:53 +00:00
README.txt Bug 1606026: Move existing documentation into new locations r=sylvestre 2020-01-06 16:38:34 +00:00
aclocal.m4
build.gradle Bug 1608570 - Remove some old Fennec-related build variables r=nalexander 2020-01-10 22:51:03 +00:00
client.mk
client.py
configure.in
configure.py Bug 1593948 - Touch clobber in configure.py instead of clobber.py; r=firefox-build-system-reviewers,chmanchester 2019-11-19 21:49:13 +00:00
gradle.properties
gradlew
gradlew.bat
mach Bug 1601578 - mach - doc environment with python 3 r=ahal,firefox-build-system-reviewers,chmanchester 2019-12-17 19:17:43 +00:00
moz.build Bug 1598746 - Add some SCHEDULES optimizations for changes to test files; r=ahal 2020-01-07 16:46:46 +00:00
moz.configure Bug 1607103 - Allow forkserver on FreeBSD r=gsvelto 2020-01-16 11:26:45 +00:00
mozilla-config.h.in
old-configure.in Bug 1591725 - Optimize at -O2 on android, clang r=froydnj,dmajor 2020-01-20 19:34:10 +00:00
package-lock.json Bug 1607172 - Update ESLint to the latest version and use ignorePatterns to ignore paths listed in ThirdPartyPaths.txt. r=mossop 2020-01-21 20:46:06 +00:00
package.json Bug 1607172 - Update ESLint to the latest version and use ignorePatterns to ignore paths listed in ThirdPartyPaths.txt. r=mossop 2020-01-21 20:46:06 +00:00
settings.gradle Bug 1598010 - Move examples into mozilla-central r=agi 2019-11-22 13:30:57 +00:00
substitute-local-geckoview.gradle Bug 1581979 - Use -SNAPSHOT versions locally to enable the local GeckoView substitution flow. r=nalexander 2019-12-11 21:29:44 +00: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://firefox-source-docs.mozilla.org/contributing/directory_structure.html

For information on how to build Mozilla from the source code and create the patch see:

    https://firefox-source-docs.mozilla.org/contributing/how_to_contribute_firefox.html

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 on IRC at irc.mozilla.org in #introduction channel.

Nightly development builds can be downloaded from:

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

Keep in mind that nightly builds, which are used by Mozilla developers for
testing, may be buggy.