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 8fa7fe5499 Bug 1663128 - part2 : let MediaControlService determine when we should open/close the event source. r=chunmin
The old way to open/close the event source, which is triggered by controller amount change event, is less intuitive, and we do the extra clean up when close the event source by assigning some parameters [1] that causes an issue on Windows where the control interface can't be clear up completely.

Each platform has its own way to clean the interface. For example, on Windows, we can simply call `ISystemMediaTransportControlsDisplayUpdater::ClearAll()`. So calling those functions actually helps nothing. The best way to do that is to ask the event source to do the clean up, rathering than setting those unnecessary parameters.

Therefore, we make it happen closer to when we determine or clear main controller and ask the event source to take a responsible to clean up when it closes.

[1] https://searchfox.org/mozilla-central/rev/35245411b9e8a911fe3f5adb0632c3394f8b4ccb/dom/media/mediacontrol/MediaControlService.cpp#410-413

Differential Revision: https://phabricator.services.mozilla.com/D92115
2020-10-07 02:51:43 +00:00
.cargo Backed out changeset 34fddbf97cc7 (bug 1669055) for bustages complaining about rust. CLOSED TREE 2020-10-07 01:44:54 +03:00
.vscode Bug 1656740 - Integrate `clangd` in `vscode` for C++ language support. r=froydnj 2020-08-06 06:25:17 +00:00
accessible Bug 1668958 - Don't wrap to first word when getting right word at end of input. r=morgan 2020-10-06 22:19:13 +00:00
browser Bug 1440203 - Prelude: ignore memfd for the "main thread I/O" test. r=Gijs 2020-10-05 22:34:07 +00:00
build Bug 1669409: Convert the nsIPrintSettings:kEnableSelectionRB flag into a boolean, since it's the only entry in a bitfield. r=jwatt,emilio 2020-10-07 00:36:51 +00:00
caps Bug 1668357 - Disable tests which fail when fission and session-history-in-parent are enabled, r=peterv,marionette-reviewers,whimboo 2020-10-01 10:23:47 +00:00
chrome Bug 1650145 - Replace all value uses of Empty[C]String by 0-length _ns literals. r=froydnj,geckoview-reviewers,agi 2020-09-23 15:17:15 +00:00
config Bug 1440203 - Support memfd_create in IPC shared memory. r=glandium 2020-10-06 19:20:29 +00:00
devtools Bug 1667839 - Test console message resources against remoted iframes. r=nchevobbe 2020-10-05 20:52:00 +00:00
docs Bug 1667436 - Merge content of `docs/setup/mach.rst` into existing documentation r=firefox-build-system-reviewers,mhentges DONTBUILD 2020-10-05 16:51:41 +00:00
docshell Bug 1669555 - Make docshell/test/mochitest/historyframes.html wait for popstate events when navigating, r=smaug 2020-10-06 19:54:16 +00:00
dom Bug 1663128 - part2 : let MediaControlService determine when we should open/close the event source. r=chunmin 2020-10-07 02:51:43 +00:00
editor Bug 1668757 - Fix lifetime extension issues with 0-length literals. r=xpcom-reviewers,nika 2020-10-06 15:03:01 +00:00
extensions Bug 1650145 - Replace all value uses of Empty[C]String by 0-length _ns literals. r=froydnj,geckoview-reviewers,agi 2020-09-23 15:17:15 +00:00
gfx Bug 1669575 - experimental backout of macOS 11 CoreText crash workaround in bug 1657440. r=jfkthame 2020-10-06 20:37:27 +00:00
gradle/wrapper
hal Bug 1664374 - Replace MOZ_MUST_USE with [[nodiscard]] in hal. r=gsvelto 2020-09-11 06:35:02 +00:00
image Bug 1601980 - use MOZ_ATOMIC_BITFIELDS in imagelib to avoid races on flags. r=aosmond,decoder 2020-10-01 13:22:49 +00:00
intl Bug 1617369 - Reformat recent rust changes with rustfmt r=emilio,webdriver-reviewers,necko-reviewers,dragana,whimboo 2020-10-06 16:12:13 +00:00
ipc Bug 1440203 - Support memfd_create in IPC shared memory. r=glandium 2020-10-06 19:20:29 +00:00
js Bug 1669108 - Unused MOZ_ASSERTed variable in non-DEBUG opt gcc compile r=anba 2020-10-06 17:56:05 +00:00
layout Bug 1669409: Convert the nsIPrintSettings:kEnableSelectionRB flag into a boolean, since it's the only entry in a bitfield. r=jwatt,emilio 2020-10-07 00:36:51 +00:00
media Bug 1661093 - Update libdav1d to 0243c3ff for Firefox 82. r=mjf 2020-10-06 15:53:50 +00:00
memory Bug 1668421 - Improve a use of fallible in jemalloc r=glandium 2020-10-05 00:49:22 +00:00
mfbt Bug 1519636 - Reformat recent changes to the Google coding style r=andi,necko-reviewers,dragana 2020-10-06 16:12:00 +00:00
mobile Bug 1667811 - Fix typo in E10SUtils.redirectLoad. r=esawin,nika 2020-10-06 20:45:00 +00:00
modules Bug 1667829 - CRLite: allow taking the log merge delay into account r=jcj 2020-10-07 00:16:49 +00:00
mozglue Bug 1668057: Allow DLL interceptor to patch 64-bit immediate MOVs r=tkikuchi 2020-10-05 22:25:44 +00:00
netwerk Backed out 5 changesets (bug 1652717, bug 1665878, bug 1666620, bug 1652713) for XPCshell failures in components/migration/tests/unit/xpcshell.ini. CLOSED TREE 2020-10-06 22:39:34 +03:00
nsprpub Bug 1660371 - NSPR_4_29_RTM. r=kjacobs UPGRADE_NSPR_RELEASE DONTBUILD 2020-09-17 15:26:54 +00:00
other-licenses Bug 1663217 - Remove MOZ_MUST_USE comment from NSIS BitsUtils.cpp. r=agashlin 2020-09-09 17:23:34 +00:00
parser Bug 1650145 - Replace all value uses of Empty[C]String by 0-length _ns literals. r=froydnj,geckoview-reviewers,agi 2020-09-23 15:17:15 +00:00
python Bug 1669471 - Get rid of `DeprecationWarning` in `file_generate.py` r=firefox-build-system-reviewers,mhentges 2020-10-06 16:38:29 +00:00
remote Backed out changeset 35066da8f3c3 (bug 1666499) as per Henrik's request. CLOSED TREE 2020-10-02 10:55:34 +03:00
security Bug 1669367 - avoid needing a CERTCertificate in nsNSSCertificate::GetSha256SubjectPublicKeyInfoDigest r=rmf 2020-10-07 00:17:40 +00:00
services No Bug, mozilla-central repo-update HSTS HPKP remote-settings - a=repo-update r=jcristau 2020-10-06 10:21:24 +00:00
servo Backed out changeset 20fadec3e9dc (bug 1187682) for perma failures on layout/reftests/mathml/stretchy-munderover-1c.html. CLOSED TREE 2020-10-02 17:11:33 +03:00
startupcache Bug 1656261 - Back out all recent StartupCache work r=RyanVM 2020-09-14 17:00:53 +00:00
storage Bug 1663924 - Split BorrowedStatement from CachedStatement. r=dom-workers-and-storage-reviewers,janv 2020-09-29 10:57:19 +00:00
taskcluster Bug 1668908 - beta to release migration needs to unset EARLY_BETA_OR_EARLIER. r=releng-reviewers,jlorenzo DONTBUILD 2020-10-06 13:21:30 +00:00
testing Bug 1669251 - py3 compatibility changes for iceserver and websocketprocessbridge; r=ahal 2020-10-06 21:31:47 +00:00
third_party Backed out changeset 34fddbf97cc7 (bug 1669055) for bustages complaining about rust. CLOSED TREE 2020-10-07 01:44:54 +03:00
toolkit Bug 1652134 - Add fission to the Experimental Features section of preferences. r=preferences-reviewers,nika,flod,neha 2020-10-06 18:47:35 +00:00
tools Bug 1665810 - Add an end-to-end mochitest for DOMEvent markers r=gerald 2020-10-06 13:57:50 +00:00
uriloader Bug 1653026 - Added HTTPS-Only Mode upgrade info to browser UI state. r=mattwoodrow,necko-reviewers,dragana 2020-10-06 00:34:55 +00:00
view
widget Bug 1669409: Convert the nsIPrintSettings:kEnableSelectionRB flag into a boolean, since it's the only entry in a bitfield. r=jwatt,emilio 2020-10-07 00:36:51 +00:00
xpcom Bug 1669214 - Part 6: Remove code for PrioritizedEventQueue. r=smaug 2020-10-06 13:21:58 +00:00
xpfe/appshell Bug 1667081 - Part 3: Remove windowLowered in nsIFocusManager; r=hsivonen 2020-09-29 07:21:34 +00:00
.arcconfig
.babel-eslint.rc.js Bug 1620537 - Upgrade to ESLint 7.5.0, remove now unnecessary Babel plugins. r=mossop 2020-07-24 21:37:12 +00:00
.clang-format
.clang-format-ignore Bug 1667674 - [Wayland] Support public primary-selection unstable protocol. r=stransky 2020-10-02 09:13:06 +00:00
.cron.yml Backed out changeset a7713a786523 (bug 1668605) in order to enable m-c nightlies a=backout DONTBUILD 2020-10-03 12:48:32 +03:00
.eslintignore Bug 1665713 - pt1 - move dom/media/tests/mochitest to dom/media/webrtc/tests/mochitests. r=ng 2020-10-02 16:30:58 +00:00
.eslintrc.js Bug 1665713 - pt3 - fix js lint issues resulting from moving mochitest directory. r=ng 2020-10-02 16:29:35 +00:00
.flake8 Bug 1622686 - Make testing/web-platform flake8 compliant. r=sylvestre,jgraham 2020-09-29 14:22:49 +00:00
.git-blame-ignore-revs
.gitattributes
.gitignore Bug 1663372 - Ignore toolchains.json file with git. r=glandium 2020-09-25 13:09:50 +00:00
.hg-annotate-ignore-revs
.hg-format-source
.hgignore Bug 1658396 - Make hg ignore newtab node_modules, r=Mardak 2020-08-10 23:32:15 +00:00
.hgtags No bug - tagging cecca8e309497b6a0e7d2ab52a4956d7e48c91f6 with FIREFOX_NIGHTLY_82_END a=release DONTBUILD CLOSED TREE 2020-09-21 14:12:19 +00:00
.lldbinit
.mailmap Bug 1650456 - Correct name in a few places, r=froydnj 2020-07-03 20:20:29 +00:00
.prettierignore
.prettierrc
.taskcluster.yml Bug 1666809 - Insert decision task indexes directly via taskluster API rather than index-task, r=taskgraph-reviewers,aki 2020-09-24 19:19:36 +00:00
.trackerignore
.yamllint
.ycm_extra_conf.py Bug 1646256 - Make rust-analyzer and YouCompleteMe work with mozilla-central. r=sylvestre 2020-06-17 17:53:56 +00:00
AUTHORS
CLOBBER Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2020-08-24 14:18:41 +00:00
Cargo.lock Backed out changeset 34fddbf97cc7 (bug 1669055) for bustages complaining about rust. CLOSED TREE 2020-10-07 01:44:54 +03:00
Cargo.toml Backed out changeset 34fddbf97cc7 (bug 1669055) for bustages complaining about rust. CLOSED TREE 2020-10-07 01:44:54 +03:00
GNUmakefile
LEGAL
LICENSE
Makefile.in Bug 1664077 - Remove xpcom-private.h. r=sg 2020-09-15 14:53:10 +00:00
README.txt Bug 1659631 - readme: update the wording to firefox, DONTBUILD.r=sylvestre 2020-08-18 04:04:36 +00:00
aclocal.m4 Bug 1635764 - Move --with-system-icu and --with-intl-api to python configure. r=firefox-build-system-reviewers,rstewart 2020-05-29 21:29:52 +00:00
build.gradle Bug 1553459 - Migrate to AndroidX r=geckoview-reviewers,agi 2020-09-18 22:29:04 +00:00
client.mk Bug 1660614 - Upgrade `sccache` to pick up more resilient behavior in the presence of cache read failures r=froydnj 2020-08-25 21:16:53 +00:00
client.py Bug 1650306 - Address the defects found by the pylint/no-else-return rule. r=sylvestre 2020-07-08 09:24:49 +00:00
configure.in Bug 1644887 - `configure` calls into `$PYTHON3` rather than `python3` directly r=glandium 2020-06-10 21:29:27 +00:00
configure.py Bug 1664077 - Remove _NON_GLOBAL_ACDEFINES. r=firefox-build-system-reviewers,mhentges,rstewart 2020-09-15 14:25:14 +00:00
gradle.properties Bug 1553459 - Migrate to AndroidX r=geckoview-reviewers,agi 2020-09-18 22:29:04 +00:00
gradlew
gradlew.bat
mach Bug 1638974 - Run 'mach mochitest' with Python 3; r=bc 2020-09-28 16:30:33 +00:00
moz.build Bug 1665854 - fx doc: Various improvements + configuration + fixes in the doc r=firefox-build-system-reviewers,rstewart 2020-09-22 06:26:17 +00:00
moz.configure Bug 1667892 - Move search for `wget` binary from `old-configure` to Python `configure` r=dmajor 2020-09-30 15:37:21 +00:00
mozilla-config.h.in
old-configure.in Bug 1667892 - Move search for `wget` binary from `old-configure` to Python `configure` r=dmajor 2020-09-30 15:37:21 +00:00
package-lock.json Bug 1668274 - update eslint, eslint-plugin-no-unsanitized and mocha to allow use of logical assignment operators, r=Standard8 2020-10-02 18:00:40 +00:00
package.json Bug 1668274 - update eslint, eslint-plugin-no-unsanitized and mocha to allow use of logical assignment operators, r=Standard8 2020-10-02 18:00:40 +00:00
settings.gradle Backed out changeset d0ff30e1d830 (bug 1650692) for toolchains failures on ImageDecoderTest.kt. CLOSED TREE 2020-07-15 07:42:37 +03:00
substitute-local-geckoview.gradle
test.mozbuild

README.txt

An explanation of the Firefox 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 Firefox from the source code and create the patch see:

    https://firefox-source-docs.mozilla.org/contributing/contribution_quickref.html

If you have a question about developing Firefox, and can't find the solution
on https://firefox-source-docs.mozilla.org/, you can try asking your question on Matrix at chat.mozilla.org in `Introduction` (https://chat.mozilla.org/#/room/#introduction:mozilla.org) 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 Firefox developers for
testing, may be buggy.