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
Перейти к файлу
Boris Zbarsky 9789fc91bb Bug 1615035. Use ErrorResults, not nsresults, to propagate errors in CDM code. r=bryce
Please review this very carefully!  This exposes a bunch of error messages that
used to only be visible on DetailedPromise to web content.  Are there any
privacy/security issues with exposing those?  If needed, we could use more
generic messages instead, but exposing this information if we can seemed like
the right way to go.

I did look over the error messages coming from GeckoMediaDrmBridgeV21.java and
none of them look like they expose any interesting state.  The messages from
ChromiumCDMProxy expose mKeySystem, but that came from the web page to start
with, I think.

Also, are these messages even meaningful for web content?  Some of the error
messages (like the one from MediaDrmCDMProxy::md_SetServerCertificate) seem
like they include internal function names, so are not great for web content...
I'm not quite sure what the best thing to do there is.

Note: There is a behavior change to ChromiumCDMParent::GetStatusForPolicy because
NS_ERROR_INVALID_ARG is not a valid thing to throw to web content.  I've used
TypeError, since that's what normally gets used for invalid args.

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

--HG--
extra : moz-landing-system : lando
2020-02-19 01:15:33 +00:00
.cargo Bug 1615786 - Fix crash report about wasm library sandbox creation on AMD machines r=froydnj 2020-02-17 15:37:27 +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 Bug 1596007: Fire an a11y state change event when an image's size becomes available. r=eeejay,emilio 2020-02-18 17:22:35 +00:00
browser Bug 1611778 - Fix flickering of the "Firefox Home Content" section in about:preferences on slower machines r=Mardak 2020-02-18 23:48:07 +00:00
build Bug 1611326 - Default to py3_action, and add a py2 attribute to GENERATED_FILES; r=firefox-build-system-reviewers,rstewart 2020-02-14 13:22:46 +00:00
caps Bug 1615029 - Remove GetURI calls from CorsListenerProxy r=ckerschb 2020-02-17 13:57:41 +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 1611326 - Default to py3_action, and add a py2 attribute to GENERATED_FILES; r=firefox-build-system-reviewers,rstewart 2020-02-14 13:22:46 +00:00
devtools Bug 1610981 - Eliminate usage of CSSPseudoElement from KeyframeEffect. r=birtles,smaug 2020-02-18 20:44:14 +00:00
docs No bug - static analysis doc: Add info about the matrix chat + review group r=static-analysis-reviewers,andi 2020-02-17 16:59:37 +00:00
docshell Backed out 2 changesets (bug 1605072) for causing reftest failures with splitText-normalize.html. 2020-02-18 17:58:31 +02:00
dom Bug 1615035. Use ErrorResults, not nsresults, to propagate errors in CDM code. r=bryce 2020-02-19 01:15:33 +00:00
editor Bug 1615581: part 1) Rename `TableSelection` to `TableSelectionMode`. r=jfkthame 2020-02-18 12:28:45 +00:00
extensions Bug 1611415 - Prefer using std::move over forget. r=froydnj 2020-02-13 14:38:48 +00:00
gfx Bug 1616386 - Fix Quaternion copy constructor r=lsalzman 2020-02-18 21:37:21 +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 1614959 - Remove ReqLocation in imgLoader r=ckerschb 2020-02-17 13:58:06 +00:00
intl Bug 1611326 - Default to py3_action, and add a py2 attribute to GENERATED_FILES; r=firefox-build-system-reviewers,rstewart 2020-02-14 13:22:46 +00:00
ipc Bug 1615155 - Don't generate default `Recv__delete__` if there are args. r=nika 2020-02-18 20:46:21 +00:00
js Bug 1611326 - Default to py3_action, and add a py2 attribute to GENERATED_FILES; r=firefox-build-system-reviewers,rstewart 2020-02-14 13:22:46 +00:00
layout Bug 1596007: Fire an a11y state change event when an image's size becomes available. r=eeejay,emilio 2020-02-18 17:22:35 +00:00
media Bug 1611326 - Default to py3_action, and add a py2 attribute to GENERATED_FILES; r=firefox-build-system-reviewers,rstewart 2020-02-14 13:22:46 +00:00
memory Backed out 2 changesets (bug 1598068) for build bustage at ShowSSEConfig on a CLOSED TREE 2020-02-14 00:48:07 +02:00
mfbt Bug 1611415 - Prefer using std::move over forget. r=froydnj 2020-02-13 14:38:48 +00:00
mobile Bug 1304268 - permanently record MEDIA_DECODING_PROCESS_CRASH telemetry data. r=bryce 2020-02-18 22:13:10 +00:00
modules Bug 1610981 - Add a separate pref for CSSPseudoElement. r=smaug 2020-02-18 20:44:17 +00:00
mozglue Bug 1611326 - Default to py3_action, and add a py2 attribute to GENERATED_FILES; r=firefox-build-system-reviewers,rstewart 2020-02-14 13:22:46 +00:00
netwerk Bug 1615481. Throw the right exception from DataChannel.send() when the message is too big. r=jib 2020-02-18 20:34:28 +00:00
nsprpub Bug 1600803 - NSPR_4_25_RTM for Firefox 74. r=kjacobs UPGRADE_NSPR_RELEASE 2020-02-03 12:17:20 +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 1611415 - Prefer using std::move over forget. r=froydnj 2020-02-13 14:38:48 +00:00
python Bug 1611326 - Default to py3_action, and add a py2 attribute to GENERATED_FILES; r=firefox-build-system-reviewers,rstewart 2020-02-14 13:22:46 +00:00
remote Bug 1614108 - Truncate Remote Agent log messages; r=remote-protocol-reviewers,whimboo 2020-02-15 08:22:56 +00:00
security Bug 1606927 - land NSS 9e0d34a6cf91 UPGRADE_NSS_RELEASE, r=jcj 2020-02-18 20:51:39 +00:00
services No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings tld-suffixes - a=repo-update r=RyanVM 2020-02-17 14:03:43 +00:00
servo Bug 1607667 - Change initial value of image-orientation to from-image. r=emilio 2020-02-14 11:11:27 +00:00
startupcache Bug 1616186 - Don't try to write StartupCache if it doesn't exist r=froydnj 2020-02-18 17:49:47 +00:00
storage Bug 1611415 - Prefer using std::move over forget. r=froydnj 2020-02-13 14:38:48 +00:00
taskcluster Bug 1616319 - Increase test chunks for macosx/debug wpt; r=bc 2020-02-18 21:52:14 +00:00
testing Bug 1610981 - Add a separate pref for CSSPseudoElement. r=smaug 2020-02-18 20:44:17 +00:00
third_party Bug 1615694. Declare our render targets up front to ANGLE. r=kvark 2020-02-18 18:33:48 +00:00
toolkit Bug 1614919 fix redirect handling in launchWebAuthFlow r=rpl 2020-02-18 23:55:58 +00:00
tools Bug 1614908 - [docs] Stop applying redirects to the 'main/<ver>' namespace, r=firefox-source-docs-reviewers,sylvestre 2020-02-18 15:27:38 +00:00
uriloader Backed out changeset 0a121aa7d527 (bug 1612403) for android crashes on a CLOSED TREE 2020-02-18 01:13:03 +02:00
view Bug 1556568. Fix the first paint telemetry metric. r=mattwoodrow,chutten 2020-02-18 20:56:10 +00:00
widget Bug 1583575 - Remove resize when creating GeckoView window. r=geckoview-reviewers,snorp 2020-02-14 16:53:18 +00:00
xpcom Bug 1596490 - Remove NS_ERROR_XBL_BLOCKED from ErrorList.py r=smaug 2020-02-17 12:05:36 +00:00
xpfe/appshell Bug 1614208 - Stop including AccessibleCaretEventHub and PresShell.h from Selection.h. r=TYLin 2020-02-11 01:22:29 +00:00
.arcconfig
.clang-format
.clang-format-ignore Bug 1353652 - Initial Draft of MPRIS API Provider (Media API on Linux) r=alwu 2020-02-12 13:10:50 +00:00
.cron.yml Bug 1612540 - bake geckoview in the push phase of releases. r=jlorenzo 2020-02-11 11:10:42 +00:00
.eslintignore Bug 1614822 - Enable ESLint for testing/mochitest/tests/Harness_sanity/. r=kmag 2020-02-12 19:38:40 +00:00
.eslintrc.js Bug 1614822 - Enable ESLint for testing/mochitest/tests/Harness_sanity/. r=kmag 2020-02-12 19:38:40 +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 1614314 - Use GitHub as upstream for the Java code of the HTML parser. r=alchen 2020-02-10 15:05:17 +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 f53ecf8eee2a0d2a7705d7ea3ec8682028e922a0 with FIREFOX_NIGHTLY_74_END a=release DONTBUILD CLOSED TREE 2020-02-10 10:54:50 +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 1609671 - Inspect binding should try to get the sourcemapped location while inspecting a function. r=jdescottes,vporof 2020-01-24 12:58:24 +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 1615694. Declare our render targets up front to ANGLE. r=kvark 2020-02-18 18:33:48 +00:00
Cargo.toml Bug 1615786 - Fix crash report about wasm library sandbox creation on AMD machines r=froydnj 2020-02-17 15:37:27 +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 1614771 - Run `./mach addtest` with Python 3 r=ahal 2020-02-13 16:56:44 +00:00
moz.build Bug 1611326 - Default to py3_action, and add a py2 attribute to GENERATED_FILES; r=firefox-build-system-reviewers,rstewart 2020-02-14 13:22:46 +00:00
moz.configure Bug 1609881 - Part 3: build the fork server for Linux & FreeBSD. r=gsvelto 2020-02-14 16:50:33 +00:00
mozilla-config.h.in
old-configure.in Bug 1615204 - Remove some MSVC-only compiler flags. r=dmajor 2020-02-13 13:40:15 +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.