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
Alastor Wu f74da16941 Bug 1580659 - part3 : call 'WindowAudioCaptureChanged()' explicitly. r=chunmin,karlt
Previously `AudioChannelService` called `WindowAudioCaptureChanged()` implicitly whenever we added the agent to the service [1], which made the audio capturing callback happen before finishing registration.

There are two drawbacks,
(1) it's hard to be aware of that the audio capturing callback would be called before finishing `AudioChannelAgent::NotifyStartedPlaying()` [2], which causes unclear call flow.

(2) If someone checks `AudioChannelAgent::IsPlayingStarted()` [3] inside audio capturing callback, then we would find that the `mIsRegToService` is false even if we have registered the agent to `AudioChannelService` because `mIsRegToService` is updated in the last line in the `AudioChannelAgent::NotifyStartedPlaying()`, but the audio capturing callback could be executed before that.

[1] https://searchfox.org/mozilla-central/rev/a777ff11b6d700a698c61e5bd17e73b044304494/dom/audiochannel/AudioChannelService.cpp#723
[2] https://searchfox.org/mozilla-central/rev/a777ff11b6d700a698c61e5bd17e73b044304494/dom/audiochannel/AudioChannelAgent.cpp#144
[3] https://searchfox.org/mozilla-central/rev/a777ff11b6d700a698c61e5bd17e73b044304494/dom/audiochannel/AudioChannelAgent.cpp#285

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

--HG--
extra : moz-landing-system : lando
2019-09-18 21:59:32 +00:00
.cargo Bug 1579471 - Remove the in-tree .cargo/config. r=mshal 2019-09-20 00:47:22 +00:00
.vscode
accessible Backed out 8 changesets (bug 1564549) for causing failures in browser_all_files_referenced.js CLOSED TREE 2019-09-24 02:38:39 +03:00
browser Bug 1580115 - Fix fxa menu disconnected avatar r=eoger,markh 2019-09-24 02:53:02 +00:00
build Bug 1581315 part 1. Adjust MOZ_MUST_RETURN_FROM_CALLER to only apply to method calls on arguments. r=nika 2019-09-20 02:17:01 +00:00
caps Bug 1570681 - Enforce eval restrictions in system contexts and the parent process r=ckerschb 2019-09-19 02:32:41 +00:00
chrome
config Bug 1581158 - Add fuzzing target for rkv r=froydnj 2019-09-20 21:27:35 +00:00
devtools Bug 1567330 - Add offset shorthand. r=emilio,birtles 2019-09-23 19:56:33 +00:00
docshell Bug 1582884 - Enable some crashtests on Android; r=geckoview-reviewers,agi 2019-09-24 01:12:09 +00:00
dom Bug 1580659 - part3 : call 'WindowAudioCaptureChanged()' explicitly. r=chunmin,karlt 2019-09-18 21:59:32 +00:00
editor Bug 1474978 - Add crashtest. r=masayuki 2019-09-23 10:37:40 +00:00
extensions Bug 1560570- FeaturePolicy should be considered when permissions.query() is called r=baku,johannh 2019-09-21 08:38:26 +00:00
gfx Backed out changeset 43dbcbd6f57a (bug 1581934) for causing reftest failures on 1081185-1.html. 2019-09-24 06:17:53 +03:00
gradle/wrapper
hal
image Bug 1582785 - Enable some xpcshell tests on Android; r=geckoview-reviewers,agi 2019-09-23 22:43:55 +00:00
intl Bug 1582785 - Enable some xpcshell tests on Android; r=geckoview-reviewers,agi 2019-09-23 22:43:55 +00:00
ipc Bug 1542830: Part 4 - Modify mozglue to use new untrusted modules interfaces; r=mhowell 2019-09-23 20:18:41 +00:00
js Bug 1582847 - Compute typeInfo.RootedPointers before they are needed by addGCType r=jonco 2019-09-23 18:23:37 +00:00
layout Bug 1575138 - Don't bother scheduling a reconstruct on <slot>s that have no fallback. r=smaug 2019-09-24 00:03:39 +00:00
media Bug 1582646: Cancel proxy lookup when socket closes. r=mjf 2019-09-20 15:13:44 +00:00
memory
mfbt Bug 1581315 part 1. Adjust MOZ_MUST_RETURN_FROM_CALLER to only apply to method calls on arguments. r=nika 2019-09-20 02:17:01 +00:00
mobile Backed out 8 changesets (bug 1564549) for causing failures in browser_all_files_referenced.js CLOSED TREE 2019-09-24 02:38:39 +03:00
modules Backed out changeset 5ed078313a10 (bug 1563063)for causing browser-chrome failures on browser_test_feature_preferencereads.js a=backout 2019-09-21 16:36:09 +03:00
mozglue Bug 1582992 - Removed unneded BlocksRingBuffer's entry destructor, and ProfilerBuffer's JS::AutoSuppressGCAnalysis - r=gregtatum 2019-09-23 20:50:20 +00:00
netwerk Bug 1582884 - Enable some crashtests on Android; r=geckoview-reviewers,agi 2019-09-24 01:12:09 +00:00
nsprpub
other-licenses Bug 1578489 - New Windows installer icon. r=agashlin 2019-09-23 22:00:43 +00:00
parser Bug 1490601 part 2 - Move C++ entry points to encoding_c_mem to mfbt/. r=jwalden 2019-09-18 08:26:34 +00:00
python Bug 1582662 - Fix xpcshell test suites against artifact builds on try. r=chmanchester 2019-09-23 21:47:42 +00:00
remote Backed out changeset 918818623794 (bug 1582230) as requested by kashav. a=backout 2019-09-19 21:41:17 +03:00
security Bug 1582785 - Enable some xpcshell tests on Android; r=geckoview-reviewers,agi 2019-09-23 22:43:55 +00:00
services Bug 1582785 - Enable some xpcshell tests on Android; r=geckoview-reviewers,agi 2019-09-23 22:43:55 +00:00
servo Bug 1567330 - Add offset shorthand. r=emilio,birtles 2019-09-23 19:56:33 +00:00
startupcache
storage Bug 1582379 - Include more context in Rust mozStorage errors. r=tcsc 2019-09-19 21:16:59 +00:00
taskcluster Bug 1566315 - Create a job to run lintpref in the CI. r=ahal 2019-09-24 00:12:07 +00:00
testing Bug 1582785 - Enable some xpcshell tests on Android; r=geckoview-reviewers,agi 2019-09-23 22:43:55 +00:00
third_party Bug 1581816 - Part 2: Revendor dependencies. r=froydnj 2019-09-21 16:38:59 +00:00
toolkit Bug 1555310 - remove unused variables in MockProvider r=robwu 2019-09-23 22:11:18 +00:00
tools Bug 1566315 - Add prefs to ignore_prefs r=njn 2019-09-24 00:11:19 +00:00
uriloader Backed out changeset 3af4309ffce7 (bug 1237782) for wpt assertions/leaks. CLOSED TREE 2019-09-17 01:03:46 +03:00
view
widget Bug 1557411 - Add GeckoView API to expose how touch events are handled. r=geckoview-reviewers,botond,agi 2019-09-23 21:00:44 +00:00
xpcom Bug 1582785 - Enable some xpcshell tests on Android; r=geckoview-reviewers,agi 2019-09-23 22:43:55 +00:00
xpfe/appshell Backed out changeset 44d3452f6a07 (bug 1550721) for build bustages on nsWindow.cpp. CLOSED TREE 2019-09-17 02:27:52 +03:00
.arcconfig
.clang-format
.clang-format-ignore Bug 1579506 - Remove OpenAES source code and references r=bryce,mhoye 2019-09-12 23:27:08 +00:00
.cron.yml Bug 1577037 - Stop running all Fennec performance tests; r=perftest-reviewers,stephendonner,sparky,Bebe 2019-09-23 16:49:29 +00:00
.eslintignore Bug 1532933 - Enable ESLint for dom/xhr (manual changes). r=Standard8,baku 2019-09-15 13:07:10 +00:00
.eslintrc.js Bug 1578683 Turn on ESLint rule prefer-boolean-length-check for toolkit and browser r=Standard8 2019-09-14 09:39:26 +00:00
.flake8 Bug 1581818 - Make sure client.py stays Python 2 compatible r=stephendonner 2019-09-18 15:16:57 +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
aclocal.m4
AUTHORS
build.gradle
Cargo.lock Bug 1581816 - Part 1: Update adler32 to 1.0.4. r=froydnj 2019-09-21 16:38:52 +00:00
Cargo.toml Bug 1581158 - Add fuzzing target for rkv r=froydnj 2019-09-20 21:27:35 +00:00
client.mk
client.py Bug 1559975 - fix python2 and python3 linter errors for client.py r=ahal 2019-09-11 21:06:34 +00:00
CLOBBER
configure.in
configure.py
GNUmakefile
gradle.properties
gradlew
gradlew.bat
LEGAL
LICENSE
mach Bug 1580492 - Run mach 'core' commands with Python 3. r=ahal 2019-09-12 20:26:45 +00:00
Makefile.in
moz.build Bug 1580028 - Always merge PGO profile data in the run task; r=firefox-build-system-reviewers,chmanchester 2019-09-10 21:56:15 +00:00
moz.configure Bug 1580670 - Disable Visual Studio backend when building GeckoView on Windows. r=froydnj 2019-09-17 13:47:50 +00:00
mozilla-config.h.in
old-configure.in Bug 1577822 - land NSS a3ee4f26b4c1 UPGRADE_NSS_RELEASE, r=kjacobs 2019-09-18 03:27:20 +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.