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
alwu f986ca0c1f Bug 1509933 - part1 : add new pref 'media.autoplay.blocking_policy'. r=geckoview-reviewers,snorp,padenot
This patch will do :
- rename the old pref `media.autoplay.enabled.user-gestures-needed` to  the new pref `media.autoplay.blocking_policy`
- modify the value of the pref to `int` in order to introduce new policy
- implement new policy in `AutoplayPoliocy`

The advantage of doing so :
- rename the pref to explicitly indicate that it's related the block policy we use
- use the transient user gesture activation as a new policy to replace the old one using the user input, which doesn't work on the async handler

More details :
The old `click-to-play` policy we use is using the user input to determine if the play invocation is called by users or by scripts. But `UserActivation::IsHandlingUserInput()` is buggy which would fail when you call `video.play()` inside an async event handler. So we would like to replace it with the new transient user activation, which would treat the action as an user input if the action is performed within a certain period of time after a user interacts (eg. click) with the page.

[1] https://html.spec.whatwg.org/multipage/interaction.html#transient-activation

Differential Revision: https://phabricator.services.mozilla.com/D73971
2020-05-15 03:40:31 +00:00
.cargo Bug 1637537 - Bump application-services and anyhow versions. r=vladikoff 2020-05-13 18:36:56 +00:00
.vscode
accessible Bug 312971 - Unprefix -moz-read-write / -moz-read-only. r=edgar 2020-05-14 16:46:08 +00:00
browser Bug 1509933 - part1 : add new pref 'media.autoplay.blocking_policy'. r=geckoview-reviewers,snorp,padenot 2020-05-15 03:40:31 +00:00
build Bug 1636148 - Disable Building Principal->GetURI r=ckerschb 2020-05-14 19:42:59 +00:00
caps Bug 1636148 - "BandAid" - Cast Remaining Callers To BasePrincipal r=ckerschb,geckoview-reviewers,agi 2020-05-14 19:42:57 +00:00
chrome Bug 1536556 - Replace raw thrown Cr.ERRORs with Components.Exception. r=mossop,remote-protocol-reviewers,marionette-reviewers,whimboo,necko-reviewers,geckoview-reviewers,valentin,agi 2020-05-05 17:41:36 +00:00
config Bug 1633156 - Don't emit cached table files from ply r=glandium 2020-05-07 00:39:28 +00:00
devtools Bug 1637540: Add test for a property defined with prefix. r=rcaliman 2020-05-14 18:19:42 +00:00
docs Bug 1636887 - how_to_contribute_firefox.rst : adding precisions to the windows dependencies setup explanations. r=sylvestre 2020-05-13 16:50:07 +00:00
docshell Bug 1636148 - "BandAid" - Cast Remaining Callers To BasePrincipal r=ckerschb,geckoview-reviewers,agi 2020-05-14 19:42:57 +00:00
dom Bug 1509933 - part1 : add new pref 'media.autoplay.blocking_policy'. r=geckoview-reviewers,snorp,padenot 2020-05-15 03:40:31 +00:00
editor Bug 312971 - Unprefix -moz-read-write / -moz-read-only. r=edgar 2020-05-14 16:46:08 +00:00
extensions Bug 1629274 - Fix Intermittent failure in test_permmanager_removeall.js, r=timhuang 2020-05-11 08:34:04 +00:00
gfx Bug 1622360 - Remove the RenderRoot enum entirely, along with the feature docs. r=jrmuizel 2020-05-15 00:07:01 +00:00
gradle/wrapper
hal Bug 1626570 - Improve handling of copying arrays in hal/. r=gsvelto 2020-05-05 10:14:24 +00:00
image Bug 1635037 - Add missing fuzzing instrumentation in image/decoders/. r=truber 2020-05-08 15:18:49 +00:00
intl Bug 1637254 - Update docs about fluent.migrate 0.9. r=Pike 2020-05-14 06:30:05 +00:00
ipc Bug 1553717 - Use Randomization on all arenas in non-Content Processes. r=glandium 2020-05-13 08:31:04 +00:00
js Bug 1638006 - Removed missed piece of optional parser allocation deferral r=caroline 2020-05-14 18:13:51 +00:00
layout Bug 1564128 part 3 - Reftests checking for if animations are applied in print preview r=hiro 2020-05-14 23:15:51 +00:00
media Bug 1279153 - Add support for rtcp-rsize;r=bwc,dminor 2020-05-15 01:54:34 +00:00
memory Bug 1553717 - Use Randomization on all arenas in non-Content Processes. r=glandium 2020-05-13 08:31:04 +00:00
mfbt Bug 1637599 - Rephrase documentation referring to copies of errors. r=froydnj 2020-05-13 15:44:31 +00:00
mobile Bug 1509933 - part1 : add new pref 'media.autoplay.blocking_policy'. r=geckoview-reviewers,snorp,padenot 2020-05-15 03:40:31 +00:00
modules Bug 1509933 - part1 : add new pref 'media.autoplay.blocking_policy'. r=geckoview-reviewers,snorp,padenot 2020-05-15 03:40:31 +00:00
mozglue Bug 1637707 - Suppress LibEGL_mesa.so required by xvfb. r=decoder 2020-05-14 21:37:29 +00:00
netwerk Bug 1633942 - P2 pass HttpChannelOnStartRequestArgs through PHttpChannel, r=mayhemer,necko-reviewers 2020-05-14 23:33:46 +00:00
nsprpub
other-licenses Bug 1634535 - Move ply to third_party/python r=glandium 2020-05-05 16:02:02 +00:00
parser Bug 1618322 - Merge network.preload.experimental pref to network.preload, r=dragana 2020-05-11 14:15:30 +00:00
python Bug 1637709 - Configure purge extension when calling hg purge r=nalexander 2020-05-14 18:14:11 +00:00
remote Bug 1593226 - [remote] Use frame's window for dynamic isolated world creation on new document. r=remote-protocol-reviewers,maja_zf 2020-05-14 15:23:10 +00:00
security Bug 1631847 - use effectiveTimestamp and parent fields from CRLite entries to determine most recent full and incremental filters r=jcj 2020-05-14 20:06:47 +00:00
services Bug 1635352 (part 2) - Add TPS test for new extension-storage engine. r=lina 2020-05-15 01:30:21 +00:00
servo Bug 312971 - Unprefix -moz-read-write / -moz-read-only. r=edgar 2020-05-14 16:46:08 +00:00
startupcache Bug 1614795 - use the background task queue for startupcache writes, r=dthayer,decoder 2020-04-15 20:43:44 +00:00
storage Bug 1626570 - Remove obsolete copy enabling machinery. r=froydnj 2020-05-11 08:23:03 +00:00
taskcluster Bug 1638103 - Stop trying to hit bugbug after it times out. r=ahal 2020-05-14 20:05:48 +00:00
testing Backed out 3 changesets (bug 1509933) for Linting failure in gecko/mobile/android/app/mobile.js. CLOSED TREE 2020-05-15 05:02:07 +03:00
third_party Bug 1637537 - Bump application-services and anyhow versions. r=vladikoff 2020-05-13 18:36:56 +00:00
toolkit Backed out 3 changesets (bug 1509933) for Linting failure in gecko/mobile/android/app/mobile.js. CLOSED TREE 2020-05-15 05:02:07 +03:00
tools no bug - remove old references to inbound r=glob DONTBUILD 2020-05-14 14:03:43 +00:00
uriloader Backed out 2 changesets (bug 1558394) for nsDocShellLoadState related bustage CLOSED TREE 2020-05-14 15:17:32 +03:00
view
widget Backed out changeset e1c031719669 (bug 1638011) for Build bustages. CLOSED TREE 2020-05-15 05:14:51 +03:00
xpcom Bug 1638062 - Do StartupCache write before lateWriteChecksStage r=froydnj 2020-05-14 18:58:07 +00:00
xpfe/appshell Bug 1624550 - P4: Cleanup APIs for setting BrowsingContext::UseGlobalHistory. r=farre 2020-05-08 03:28:44 +00:00
.arcconfig
.babel-eslint.rc.js
.clang-format
.clang-format-ignore Bug 1635608 - Update OpenVR source code to use Unix line endings r=daoshengmu 2020-05-07 20:20:39 +00:00
.cron.yml Bug 1637231 - add applink tests r=acreskey 2020-05-14 13:01:59 +00:00
.eslintignore Bug 1628982 - Activate the condprofile on desktop + GV r=Bebe,perftest-reviewers,whimboo 2020-04-16 14:01:55 +00:00
.eslintrc.js Bug 1623245 - A new browser.storage.sync local storage implementation, pref'd off. r=rpl 2020-05-15 01:29:56 +00:00
.flake8 Bug 1622687 - toolkit/crashreporter/: Make it flake8 compliant r=gsvelto,rstewart 2020-04-16 14:40:31 +00:00
.gdbinit
.gdbinit_python
.git-blame-ignore-revs Bug 1633969 - Add bug 1298559 to .{hg-annotate,git-blame}-ignore-revs. r=sylvestre 2020-04-30 12:54:10 +00:00
.gitattributes
.gitignore Bug 1635514 - Delete tup CI/configure stuff r=froydnj 2020-05-05 18:34:16 +00:00
.hg-annotate-ignore-revs Bug 1633969 - Add bug 1298559 to .{hg-annotate,git-blame}-ignore-revs. r=sylvestre 2020-04-30 12:54:10 +00:00
.hg-format-source
.hgignore Bug 1635514 - Delete tup CI/configure stuff r=froydnj 2020-05-05 18:34:16 +00:00
.hgtags No bug - tagging 5b8406a0446906d7228e5d745549b50a3496dc0f with FIREFOX_NIGHTLY_77_END a=release DONTBUILD CLOSED TREE 2020-05-04 14:53:30 +00:00
.lldbinit
.mailmap
.prettierignore
.prettierrc
.taskcluster.yml Bug 1628832: [KaiOS] Factor out trust-domain in .taskcluster.yml; r=Callek 2020-05-14 18:47:47 +00:00
.trackerignore
.yamllint
.ycm_extra_conf.py Bug 1632497 - Make YouCompleteMe clangd completer work. r=jgraham 2020-04-28 10:08:00 +00:00
aclocal.m4
AUTHORS
build.gradle Bug 1633039 - Don't check for Python 2 in configure r=glandium 2020-05-05 16:02:02 +00:00
Cargo.lock Bug 1637537 - Bump application-services and anyhow versions. r=vladikoff 2020-05-13 18:36:56 +00:00
Cargo.toml Bug 1618595 - Bump Cranelift to b7cfd39b531680217537cfcf5294a22077a0a58d; r=jseward 2020-04-30 11:57:24 +00:00
client.mk Bug 1633016 - Remove a bunch of references to PYTHON(2) in Makefiles r=glandium 2020-05-05 19:53:22 +00:00
client.py
CLOBBER Bug 1632434 - Part 7: Updating ICU requires a clobber. r=jwalden 2020-04-29 23:48:06 +00:00
configure.in
configure.py Bug 1631633 - Generate config.status deterministically. r=rstewart 2020-04-21 21:32:30 +00:00
GNUmakefile
gradle.properties
gradlew
gradlew.bat
LEGAL
LICENSE
mach Bug 1579329 - Run mach file-info with Python 3 r=nalexander 2020-05-14 18:20:22 +00:00
Makefile.in Bug 1599658 - Delete previous definition of py_action in Makefiles. Now py_action calls into Python 3 and py3_action doesn't exist. r=glandium 2020-05-05 20:04:30 +00:00
moz.build Bug 1621095 - add reftest-qr to run focused webrender reftests on android phones. r=bc 2020-04-24 18:54:51 +00:00
moz.configure Bug 1635514 - Delete tup CI/configure stuff r=froydnj 2020-05-05 18:34:16 +00:00
mozilla-config.h.in
old-configure.in Bug 1636656 - land NSS e3444f4cc638 UPGRADE_NSS_RELEASE, 2020-05-11 18:20:52 +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://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 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 Mozilla developers for
testing, may be buggy.