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
Перейти к файлу
alwu a9d4b33f07 Bug 1565689 - part1 : implement MediaController and MediaControlService. r=baku
In order to have a centralized audio control in the parent process, we create two new classes here.

* MediaController
MediaController is a class used to control certain amount of media in the content process. Every controller corresponds to a browsing context.
For example, TabMediaController would correspond to the top level browsing context, which mean it can control all media in the specific tab.

* MediaControlService
As there might be multiple tabs playing audio, so there would be multiple controllers. MediaControlService is a place to manage all of them, you can access specific controller through MediaControlService by providing controller ID.
Everytime a controller becomes active, which means there is a media starts in corresponding browsing context, then controller would be added into the list of the MediaControlService. And it would be removed from the list when the media in corresponding browsering context stopped.

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

--HG--
extra : moz-landing-system : lando
2019-08-07 01:46:10 +00:00
.cargo Bug 1571464: Bump Cranelift to c927680fd42a56efcc9a5ee59e814d9eef6c5b4f; r=jseward 2019-08-07 14:20:48 +00:00
.vscode Bug 1563848 - Recommend a VSCode plugin for prettier. r=vporof 2019-07-06 07:33:28 +00:00
accessible Bug 1569262 - Rename nsIDocShellTreeItem::GetRootTreeItem to GetInProcessRootTreeItem for Fission marking. r=nika 2019-08-07 19:24:00 +00:00
browser Bug 1566489 - Avoid reading extension-setting.json on start-up, read it lazily. r=aswan,mixedpuppy 2019-08-08 16:15:17 +00:00
build Bug 1571596 - Repack GCC and related source tarballs. r=nalexander 2019-08-07 13:54:27 +09:00
caps Bug 1572229 - Use modern jsoncpp readers/writers when (de)serializing principals r=jkt 2019-08-08 22:39:07 +00:00
chrome Backed out changeset b197ca57677a (bug 1558915) for build bustages. CLOSED TREE 2019-08-07 01:04:43 +03:00
config Bug 1572046 - Build shared libraries in a separate target. r=nalexander 2019-08-07 22:50:14 +00:00
devtools Backed out changeset 0d73f35c5025 (bug 1172572) for failures on browser_dbg_rr_breakpoints-03.js 2019-08-08 05:11:13 +03:00
docshell Bug 1571063 - Removing comment lines, part of 8017e6d5cbb6. Relanded with the correct bug number on a CLOSED TREE DONTBUILD 2019-08-09 03:00:17 +03:00
dom Bug 1565689 - part1 : implement MediaController and MediaControlService. r=baku 2019-08-07 01:46:10 +00:00
editor Bug 1569262 - Rename nsIDocShellTreeItem::GetRootTreeItem to GetInProcessRootTreeItem for Fission marking. r=nika 2019-08-07 19:24:00 +00:00
extensions Backed out changeset b197ca57677a (bug 1558915) for build bustages. CLOSED TREE 2019-08-07 01:04:43 +03:00
gfx Bug 1561792 - Rename the pref gfx.font_ahem_antialias_none to gfx.font_rendering.ahem_antialias_none to avoid the additional pref observer added in the previous patch. r=jfkthame 2019-08-07 20:46:04 +00:00
gradle/wrapper Bug 1522795 - Update android gradle plugin to 3.4.2. r=nalexander 2019-07-24 18:48:54 +00:00
hal Bug 1289211 - Rename InfallibleTArray to nsTArray in hal/ r=gsvelto 2019-07-10 03:30:52 +00:00
image Bug 1523638 - Part 9: Use provided 'WindowGlobalChild' actors to create the initial about:blank document, r=kmag 2019-08-08 16:07:12 +00:00
intl Bug 1321281, add test framework for Fluent migration recipes, r=flod,ahal 2019-08-08 11:54:30 +00:00
ipc Bug 1568361: Use StaticLocalAutoPtr for BackgroundMTAData; r=Jamie 2019-08-07 01:48:31 +00:00
js Bug 1538557 - Use BytecodeLocation and BytecodeIterator in JitScript::initICEntriesAndBytecodeTypeMap to replace uses of jsbytecode* and pcToOffset. r=jandem,tcampbell 2019-08-08 17:46:44 +00:00
layout Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2019-08-09 02:57:47 +03:00
media Bug 1570673 - Add an active state to VideoFrameConverter and propagate it from MediaPipeline. r=bwc 2019-08-05 18:00:48 +00:00
memory Bug 1571505 - Properly add dbghelp where needed. r=nalexander 2019-08-06 18:14:12 +00:00
mfbt Bug 1570725 - Show type of assertion in crashreporter MozCrashReason, r=froydnj 2019-08-06 20:33:34 +00:00
mobile Backed out 3 changesets (bug 1511177) for web-platform-tests-reftests at /css/css-tables/percent-width-cell-dynamic.html on a CLOSED TREE 2019-08-09 01:28:23 +03:00
modules Bug 1572557 - Clarify a confusing comment in two security prefs 2019-08-08 21:42:16 +00:00
mozglue Bug 1572027 - Make BlocksRingBuffer::EntryReader move-only - r=gregtatum 2019-08-07 21:33:09 +00:00
netwerk Merge inbound to mozilla-central. a=merge 2019-08-07 07:34:55 +03:00
nsprpub Bug 1562330 - Upgrade Firefox 70 to NSPR 4.22 beta1. r=me 2019-07-09 17:40:27 +02:00
other-licenses Bug 1458385: Package mar and mbsdiff as a toolchain; r=glandium 2019-07-11 16:40:13 +00:00
parser Backed out changeset b197ca57677a (bug 1558915) for build bustages. CLOSED TREE 2019-08-07 01:04:43 +03:00
python Bug 1572046 - Build shared libraries in a separate target. r=nalexander 2019-08-07 22:50:14 +00:00
remote bug 1570378: remote: add bc test helper setup() for empty documents r=remote-protocol-reviewers,jdescottes 2019-08-05 11:43:58 +00:00
security Bug 1571934 - Inline security-prefs.js into all.js. r=keeler 2019-08-07 17:41:22 +00:00
services Bug 1568353 - set the default rest.js timeout to be 5 minutes. r=rfkelly 2019-08-07 05:25:49 +00:00
servo Bug 1572304: updating text-decoration-skip-ink to support ::first-line/first-letter/placeholder r=emilio 2019-08-08 18:44:03 +00:00
startupcache Backed out changeset b197ca57677a (bug 1558915) for build bustages. CLOSED TREE 2019-08-07 01:04:43 +03:00
storage Bug 1567739 - Stop using deprecated rust libc integer types in storage_variant and kvstore. r=lina 2019-07-23 00:13:43 +00:00
taskcluster Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2019-08-09 02:57:47 +03:00
testing Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2019-08-09 02:57:47 +03:00
third_party Bug 1567238 - Refactor the bookmarks mirror merge triggers to do less work. r=tcsc,markh 2019-08-06 23:48:03 +00:00
toolkit Bug 1572258 - Prevent concurrent instances of TemporaryAccessGrantObserver from being created for the same (principal, permission type) pair; r=baku 2019-08-08 22:00:44 +00:00
tools Bug 1526796 - Removed Sphinx documentation output files is not removed from web server. r=ahal 2019-08-08 10:22:00 +00:00
uriloader Bug 1571544 - Convert dom.largeAllocation.testing.allHttpLoads to static pref. r=njn 2019-08-05 23:28:34 +00:00
view Bug 1563139 - Remove StaticPrefs.h. r=glandium 2019-07-26 01:10:23 +00:00
widget Bug 1571544 - Convert mozilla.widget.disable-native-theme to static pref. r=njn 2019-08-07 23:05:05 +00:00
xpcom Bug 1568361: Use StaticLocalAutoPtr for BackgroundMTAData; r=Jamie 2019-08-07 01:48:31 +00:00
xpfe/appshell Bug 1523638 - Part 9: Use provided 'WindowGlobalChild' actors to create the initial about:blank document, r=kmag 2019-08-08 16:07:12 +00:00
.arcconfig
.clang-format Bug 1547143 - Force the pointer style declaration r=Ehsan 2019-05-01 08:46:08 +00:00
.clang-format-ignore Bug 1563903 - Remove libmar from the clang ignore list r=Ehsan 2019-07-08 15:39:24 +00:00
.cron.yml Bug 1568232 - Run raptor cold page-load test job on fenix and refbrow. r=perftest-reviewers,davehunt 2019-07-31 16:31:42 +00:00
.eslintignore Bug 1571934 - Inline security-prefs.js into all.js. r=keeler 2019-08-07 17:41:22 +00:00
.eslintrc.js Bug 1564555 - Enable some more ESLint rules for layout. r=Standard8,dholbert 2019-07-18 21:00:21 +00:00
.flake8 Bug 1542963 - Fix most flake8 issues in python/mozbuild/mozbuild/* r=firefox-build-system-reviewers,chmanchester 2019-05-28 14:22:20 +00:00
.gdbinit
.gdbinit_python Bug 1564314 - Move gdbpp back to python/. r=nalexander 2019-07-11 02:39:31 +00:00
.git-blame-ignore-revs Bug 1564862 - Update .git-blame-ignore-revs to ignore reformatting m-c using Prettier (bug 1561435) in blame/annotate, r=sylvestre 2019-07-10 13:47:38 +00:00
.gitattributes Bug 770286: Prevent git LF-to-CRLF autoconversion r=glandium 2019-07-06 02:36:03 +00:00
.gitignore Bug 1559479 - mach lint complains about newtab node_modules r=dmose 2019-07-12 15:24:07 +00:00
.hg-annotate-ignore-revs Bug 1563763 - Ignore reformatting m-c using Prettier (bug 1561435) in in blame/annotate, r=standard8, CLOSED TREE, DONTBUILD 2019-07-05 17:53:06 +02:00
.hg-format-source Bug 1556393 - Pre 1 (m-c): Update .hg-format-source to use Prettier when running format-source, r=andi, CLOSED TREE 2019-07-03 20:48:37 +02:00
.hgignore Bug 1559479 - mach lint complains about newtab node_modules r=dmose 2019-07-12 15:24:07 +00:00
.hgtags No bug - Tagging mozilla-central e596664275d5e3e2fdcb7fa8d1447289f99269c3 with FIREFOX_NIGHTLY_69_END a=release DONTBUILD CLOSED TREE 2019-07-08 16:13:40 +00:00
.lldbinit
.mailmap
.prettierignore Bug 1571934 - Inline security-prefs.js into all.js. r=keeler 2019-08-07 17:41:22 +00:00
.prettierrc Bug 1551218 - Part 3: Add a top-level .prettierrc and reformat the debugger, r=jlast 2019-05-17 15:51:36 +00:00
.taskcluster.yml Bug 1542233 - Add link to treeherder for all notification emails r=tomprince 2019-07-08 18:47:27 +00:00
.trackerignore
.yamllint
.ycm_extra_conf.py
AUTHORS
CLOBBER Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2019-07-08 17:27:36 +00:00
Cargo.lock Bug 1563555 - Use `static_prefs::pref!` in Stylo. r=emilio 2019-08-07 22:58:55 +00:00
Cargo.toml Bug 1571464: Bump Cranelift to c927680fd42a56efcc9a5ee59e814d9eef6c5b4f; r=jseward 2019-08-07 14:20:48 +00:00
GNUmakefile
LEGAL
LICENSE
Makefile.in Bug 1570798 - Restore relative path for MOZ_FETCHES_DIR. r=nalexander 2019-08-03 07:08:39 +09:00
README.txt
aclocal.m4 Bug 1557583 - Add a --enable-frame-pointers option. r=chmanchester 2019-06-12 22:30:46 +00:00
build.gradle Bug 1571326 - Update to apilint 0.2.5. r=droeh 2019-08-05 17:48:21 +00:00
client.mk
client.py
configure.in
configure.py Bug 1559975 - Make configure.py lint with 'py2' and 'py3' r=catlee 2019-07-08 17:34:09 +00:00
gradle.properties
gradlew
gradlew.bat
mach
moz.build Bug 1560425 - Remove old performance measurement API r=jorendorff 2019-07-02 14:37:17 +00:00
moz.configure Bug 1560340 - Only add confvars.sh as a dependency to config.status when it exists. r=chmanchester 2019-06-20 18:43:25 +00:00
mozilla-config.h.in
old-configure.in Bug 1569330 - Disable telemetry check in Normandy recipe runner r=mythmon,nalexander 2019-08-06 23:54:34 +00:00
package-lock.json Bug 1567134 - Update the node modules packages for the builders. r=ahal 2019-07-18 13:10:40 +00:00
package.json Bug 1564138 - Fix DevTools PropTypes errors when updating eslint. r=Ola. 2019-07-17 10:35:44 +00:00
settings.gradle Bug 1543982 - Part 1: Avoid re-configuring from within Gradle. r=emilio 2019-05-09 20:38:48 +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://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.