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
Andreas Pehrson 18c4e9ab29 Bug 1212237 - Use a content principal by default for received tracks. r=bwc
This swaps things around so that received tracks in peer connections have a
content principal instead of a null principal initially.

This puts an extra requirement on us to not output any frames under the content
principal after ALPN has been negotiated with requested privacy, but before this
private principal has been signaled to the MediaPipelines. The private principal
is signaled from the STS thread, via the main thread, whereas media is consumed
directly by MediaPipelines after being received on the STS thread.

This patch adds an extra signaling path directly from the STS thread that tells
MediaPipelines to make their PrincipalHandle private, and to ignore any data
until the private PrincipalHandle is set. It also moves the responsibility of
updating the principal of the received MediaStreamTracks from TransceiverImpl
to MediaPipeline, so it's all in the same path.

This lets all MediaStream and MediaStreamTrack APIs consume received tracks
directly after getting exposed to JS without errors. In case privacy is later
requested, consumers that have already been set up must handle this on the fly.
(They do, in specs and impls)

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

--HG--
extra : moz-landing-system : lando
2019-11-05 20:04:45 +00:00
.cargo Backed out changeset ef59d327a1a4 (bug 1575008) for causing build bustages CLOSED TREE 2019-11-05 08:19:10 +02:00
.vscode
accessible Bug 1470510 - Rename nsXULWindow and nsIXULWindow to AppWindow and nsIAppWindow. r=smaug 2019-11-05 17:56:28 +00:00
browser Bug 1592739 - Make the sidebar non-vibrant when any lwtheme is in use. r=ntim 2019-11-05 18:48:49 +00:00
build Bug 1592981 - Use -import-instr-limit to mitigate size growth from ThinLTO r=froydnj 2019-11-04 15:58:54 +00:00
caps Bug 1579367 - Initialize XPCJSContext explicitly, after loading user prefs. r=kmag 2019-11-05 06:29:13 +00:00
chrome
config
devtools Backed out changeset 5d1f3e0160fa (bug 1592718) for BC failures on debugger.js . CLOSED TREE 2019-11-05 21:23:22 +02:00
docshell Bug 1470510 - Rename nsXULWindow and nsIXULWindow to AppWindow and nsIAppWindow. r=smaug 2019-11-05 17:56:28 +00:00
dom Bug 1212237 - Use MediaRecorder to test peerIdentity track isolation. r=jib 2019-11-05 20:04:08 +00:00
editor Bug 1588745 - part 6: Post processing of setting value with TextEditor should be done before dispatching "input" event r=Ehsan 2019-11-03 02:50:00 +00:00
extensions
gfx Bug 1592739 - Stop using the vibrant region as the transparent region. r=mattwoodrow 2019-11-05 19:04:14 +00:00
gradle/wrapper
hal
image Backed out 5 changesets (bug 1552176) for causing multiple build bustages CLOSED TREE 2019-11-02 23:20:28 +02:00
intl
ipc Bug 1591438 - Move DEFINE_IPC_SERIALIZER_WITH_FIELDS into IPCMessageUtils header r=bwc 2019-11-04 15:00:04 +00:00
js Bug 1594061 - Make FinalizationGroups work correctly when called from a different realm r=sfink 2019-11-05 18:12:09 +00:00
layout Bug 1588017 - Clean up nsIFrame::IntrinsicISizeOffsetData r=TYLin,dholbert 2019-11-05 18:52:03 +00:00
media Bug 1212237 - Use a content principal by default for received tracks. r=bwc 2019-11-05 20:04:45 +00:00
memory
mfbt
mobile Bug 1577192 - Adds a screenshot api using ScreenshotBuilder. r=geckoview-reviewers,snorp,rbarker 2019-11-05 16:15:09 +00:00
modules Backed out 2 changesets (bug 1588817) for mochitest failures on test_presentation_datachannel_sessiontransport. 2019-11-05 18:44:01 +02:00
mozglue Bug 1318858 - Block Digital Guardian's module which crashes Firefox. r=aklotz 2019-11-04 21:58:36 +00:00
netwerk Bug 1593810 - Mark a Http3Stream DONE when nsHttpTransaction has picked up the FIN/RESET signal. r=mayhemer 2019-11-05 18:59:23 +00:00
nsprpub
other-licenses
parser Bug 1581537 - Avoid several browser language leaks r=smaug 2019-11-04 16:56:27 +00:00
python Bug 1592855 - run mach vendor rust with python3 r=froydnj 2019-11-05 18:56:21 +00:00
remote bug 1591927: remote: implement Security.setIgnoreCertificateErrors; r=remote-protocol-reviewers,maja_zf 2019-11-02 18:08:56 +00:00
security Backed out 2 changesets (bug 1576733) for android build bustages on OSFileConstants.cpp. CLOSED TREE 2019-11-05 21:50:12 +02:00
services No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings - a=repo-update r=RyanVM 2019-11-04 13:51:07 +00:00
servo Bug 1591987 - Fix ElementWrapper::is_link. r=jwatt 2019-11-05 10:24:36 +00:00
startupcache
storage
taskcluster Bug 1582195 - Provide a job to build lucetc r=froydnj 2019-11-05 16:30:24 +00:00
testing Bug 1592754 - Improve TV handling of modified reftest reference files; r=ahal 2019-11-04 21:49:51 +00:00
third_party Backed out changeset ef59d327a1a4 (bug 1575008) for causing build bustages CLOSED TREE 2019-11-05 08:19:10 +02:00
toolkit Backed out 2 changesets (bug 1576733) for android build bustages on OSFileConstants.cpp. CLOSED TREE 2019-11-05 21:50:12 +02:00
tools Bug 1593420 - Fix a sphinx warning: sphinx.build_main has moved r=ahal 2019-11-05 07:31:08 +00:00
uriloader Backed out 5 changesets (bug 1552176) for causing multiple build bustages CLOSED TREE 2019-11-02 23:20:28 +02:00
view
widget Bug 1592739 - Stop using the vibrant region as the transparent region. r=mattwoodrow 2019-11-05 19:04:14 +00:00
xpcom Bug 1591174 - Fix some references to nsIDOMWindow. r=bzbarsky 2019-11-05 04:52:53 +00:00
xpfe/appshell Bug 1470510 - Rename nsXULWindow and nsIXULWindow to AppWindow and nsIAppWindow. r=smaug 2019-11-05 17:56:28 +00:00
.arcconfig
.clang-format
.clang-format-ignore Backed out changeset ef59d327a1a4 (bug 1575008) for causing build bustages CLOSED TREE 2019-11-05 08:19:10 +02:00
.cron.yml
.eslintignore Bug 1589333 - Enable ESLint for all of devtools/client/shared/ (manual changes). r=Standard8,jdescottes 2019-11-04 18:05:14 +00:00
.eslintrc.js
.flake8
.gdbinit
.gdbinit_python
.git-blame-ignore-revs
.gitattributes
.gitignore
.hg-annotate-ignore-revs
.hg-format-source
.hgignore
.hgtags
.lldbinit
.mailmap
.prettierignore
.prettierrc
.taskcluster.yml Bug 1589706: [firefox-ci] Use AWS Provider-based decision worker; r=Callek 2019-10-24 00:54:12 +00:00
.trackerignore
.yamllint
.ycm_extra_conf.py
aclocal.m4
AUTHORS
build.gradle
Cargo.lock Backed out changeset ef59d327a1a4 (bug 1575008) for causing build bustages CLOSED TREE 2019-11-05 08:19:10 +02:00
Cargo.toml Backed out changeset ef59d327a1a4 (bug 1575008) for causing build bustages CLOSED TREE 2019-11-05 08:19:10 +02:00
client.mk
client.py
CLOBBER
configure.in
configure.py
GNUmakefile
gradle.properties
gradlew
gradlew.bat
LEGAL
LICENSE
mach Bug 1592855 - run mach vendor python with python3 r=ahal 2019-11-05 15:29:44 +00:00
Makefile.in
moz.build
moz.configure
mozilla-config.h.in
old-configure.in Bug 1593474 - Require NSPR 4.23 in old-configure.in r=kaie 2019-11-04 23:41:44 +00:00
package-lock.json
package.json
README.txt
settings.gradle
substitute-local-geckoview.gradle
test.mozbuild

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:

    https://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:

    https://developer.mozilla.org/en/docs/Creating_a_patch
    https://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 https://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.]

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.