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
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
chrome
config
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
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
extensions
gfx Bug 1606771 - Add a reftest. r=kvark 2020-01-23 14:20:27 +00:00
gradle/wrapper
hal
image
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
mfbt
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
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
other-licenses Backed out changeset fbbb42a15738 (bug 1585356) for bustage on city.cpp. CLOSED TREE 2020-01-08 00:51:00 +02:00
parser
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
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
view
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
.arcconfig
.clang-format
.clang-format-ignore
.cron.yml
.eslintignore
.eslintrc.js
.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
.hg-annotate-ignore-revs
.hg-format-source
.hgignore
.hgtags
.lldbinit
.mailmap
.prettierignore
.prettierrc
.taskcluster.yml
.trackerignore
.yamllint
.ycm_extra_conf.py
AUTHORS
CLOBBER
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
README.txt
aclocal.m4
build.gradle
client.mk
client.py
configure.in
configure.py
gradle.properties
gradlew
gradlew.bat
mach
moz.build
moz.configure
mozilla-config.h.in
old-configure.in
package-lock.json
package.json
settings.gradle
substitute-local-geckoview.gradle
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.