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 b60c5ff12b Bug 1306999 - Make HTMLMediaElement::CanActivateAutoplay() spec compliant. r=jya,jib
HTMLMediaElement::CanActivateAutoplay() had an exception for MediaStreams in its
check for whether autoplay can be activated. This removes that exception and
requires us to be in HAVE_ENOUGH_DATA regardless of source, per spec.

Doing this broke autoplay of an ended media element that's playing a
MediaStream, since autoplay of this MediaStream could no longer be immediately
activated. The exact sequence algorithm for autoplaying the stream in this case
is not defined in mediacapture-main, but we know we must reach HAVE_ENOUGH_DATA
to play, and we must run the load algorithm to reach HAVE_ENOUGH_DATA, that's
what we do:
When the MediaStream we're autoplaying once again becomes active, we run the
media element load algorithm.

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

--HG--
extra : moz-landing-system : lando
2019-06-10 13:11:49 +00:00
.cargo Bug 1556641 - Re-point cranelift to current HEAD. r=bbouvier 2019-06-04 09:17:12 +02:00
.vscode
accessible Bug 1556561 - Remove <children> usage from autocomplete binding. r=dao,surkov 2019-06-08 08:16:18 +00:00
browser No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings - a=repo-update r=RyanVM 2019-06-10 13:57:19 +00:00
build Bug 1556646 part 2 - Rename JS_POSIX_NSPR to JS_WITHOUT_NSPR and remove --enable-posix-nspr-emulation configure flag. r=sfink,glandium 2019-06-08 09:10:59 +00:00
caps Bug 1508939 - cpp serialization r=ckerschb,mccr8,mikedeboer 2019-06-03 12:37:12 +00:00
chrome
config Bug 1557229 - Add -d16 as a target_feature along +neon for rust code. r=nalexander 2019-06-07 00:47:03 +00:00
devtools Bug 1551612 - Add componentDidCatch in Message component. r=bgrins. 2019-06-10 06:22:05 +00:00
docshell Bug 1556559 - make about:license non-web-linkable again, r=valentin 2019-06-07 12:11:34 +00:00
dom Bug 1306999 - Make HTMLMediaElement::CanActivateAutoplay() spec compliant. r=jya,jib 2019-06-10 13:11:49 +00:00
editor Bug 1556235 - Make HTMLEditRules::WillDeleteSelection() remove empty parent blocks when it's called by drop handler r=m_kato 2019-06-10 10:31:13 +00:00
extensions Bug 1556925 part 2. Stop using [array] in mozISpellCheckingEngine.getDictionaryList. r=masayuki 2019-06-05 12:57:32 +00:00
gfx Bug 1558054 - Fix warning "type qualifiers ignored on cast result type" r=jfkthame 2019-06-09 15:34:20 +00:00
gradle/wrapper
hal
image Bug 1557225. Make MakeInputStream MOZ_MUST_USE. r=aosmond 2019-06-06 10:31:02 +00:00
intl Backed out 3 changesets (bug 1557291, bug 1552121) for causing reftest failures in hyphenation-caps-1.html 2019-06-10 14:47:58 +03:00
ipc Bug 1555050: Always (if non null) set any CSP as cspToInherit on the loadinfo of new document load. Update documentation for GetCSP, GetPreloadCSP() and GetCSPToInherit and update two callsites which called GetCSP instead of GetCSPToInherit. r=bzbarsky 2019-06-06 20:19:56 +00:00
js Bug 1556210 - Don't use TimeDuration in static initializer. r=jonco 2019-06-03 12:01:29 +00:00
layout Backed out 3 changesets (bug 1557291, bug 1552121) for causing reftest failures in hyphenation-caps-1.html 2019-06-10 14:47:58 +03:00
media Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan 2019-06-08 08:26:37 +00:00
memory Bug 997353 - Make powerpc not use static page sizes in mozjemalloc. r=njn 2019-06-06 05:25:59 +00:00
mfbt Bug 1554063 - Move decimal to mozglue. r=jwalden 2019-05-29 06:57:28 +00:00
mobile Bug 1557847. Stop using [array] in nsIClipboard. r=NeilDeakin 2019-06-09 01:06:39 +00:00
modules Bug 1557819 - Add a pref to disable async font sanitization, and disable it for now for running suspect code OMT. r=heycam 2019-06-07 23:35:26 +00:00
mozglue Bug 1557841 - Using renamed GetDebugPath in EHABIStackWalk.cpp - r=njn 2019-06-08 04:06:21 +00:00
netwerk Bug 1545523 - Set mRaceCacheWithNetwork to true if mCacheOpenFunc is assigned r=michal 2019-06-10 13:37:04 +00:00
nsprpub
other-licenses
parser Bug 1534681 Use ReferrerInfo class in document r=ckerschb,baku,Gijs 2019-06-06 07:23:37 +00:00
python Bug 1551368 - Part 3: Don't remove the rust incremental cache when clobbering. r=chmanchester 2019-06-06 18:35:33 +00:00
remote
security No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings - a=repo-update r=RyanVM 2019-06-10 13:57:19 +00:00
services No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings - a=repo-update r=RyanVM 2019-06-10 13:57:19 +00:00
servo Bug 1557430 - Add memory reporters for SVG mapped attribute declarations. r=njn,heycam 2019-06-08 18:58:57 +00:00
startupcache
storage Bug 1516333 - Part 1: Move group and origin re-escaping from QuotaManager::GetQuotaObject to GetQuotaObjectFromNameAndParameters in TelemetryVFS.cpp; r=janv,asuth 2019-06-07 08:04:57 +02:00
taskcluster Bug 1555330 - Include mozilla-central for p2 aarch64 youtube playback test r=perftest-reviewers,igoldan 2019-06-10 12:35:31 +00:00
testing Bug 1306999 - Add WPT. r=jib 2019-06-10 13:10:40 +00:00
third_party Bug 1556645 - Update libz-sys and revendor dependencies. r=dmajor 2019-06-04 18:44:05 +00:00
toolkit Bug 1546256- Disabled test_arrowpanel.xul on Windows7 x32 debug for mass of failures. r=jmaher 2019-06-10 14:01:00 +00:00
tools Bug 1556013 - Add prettier to the top-level eslint config, r=Standard8 2019-06-07 14:20:09 +00:00
uriloader Bug 1555374. Use StaticPrefs accessors for various prefs that moved to StaticPrefs recently. r=edgar 2019-06-01 02:29:26 +00:00
view
widget Bug 1555565 - Export correct user's preference for dark theme by prefers-color-scheme media query, r=mats 2019-06-10 09:43:27 +00:00
xpcom Merge mozilla-inbound to mozilla-central. a=merge 2019-06-07 19:19:50 +03:00
xpfe/appshell
.arcconfig
.clang-format
.clang-format-ignore Bug 1554063 - Move decimal to mozglue. r=jwalden 2019-05-29 06:57:28 +00:00
.cron.yml Bug 1554608 Schedule raptor fennec v64 tests in CI r=dustin,tomprince 2019-06-03 13:59:18 +00:00
.eslintignore Bug 1556013 - Add prettier to the top-level eslint config, r=Standard8 2019-06-07 14:20:09 +00:00
.eslintrc.js Bug 1554224 - Enable some ESLint rules for more of layout/. r=dholbert 2019-05-29 10:50:49 +00:00
.flake8
.gdbinit
.gdbinit_python
.git-blame-ignore-revs
.gitignore
.hg-annotate-ignore-revs
.hg-format-source
.hgignore
.hgtags
.lldbinit
.mailmap
.prettierignore Bug 1556013 - Add prettier to the top-level eslint config, r=Standard8 2019-06-07 14:20:09 +00:00
.prettierrc
.taskcluster.yml
.trackerignore
.yamllint
.ycm_extra_conf.py
aclocal.m4
AUTHORS
build.gradle
Cargo.lock Bug 1556645 - Update libz-sys and revendor dependencies. r=dmajor 2019-06-04 18:44:05 +00:00
Cargo.toml Bug 1556641 - Re-point cranelift to current HEAD. r=bbouvier 2019-06-04 09:17:12 +02:00
client.mk
client.py
CLOBBER Bug 1555661 - Fix client code inclusion in Google urls. r=daleharvey 2019-05-31 12:56:59 +00:00
configure.in
configure.py
GNUmakefile
gradle.properties
gradlew
gradlew.bat
LEGAL
LICENSE
mach
Makefile.in Bug 1551639 - Always update buildid but avoid rebuilding libxul. r=nalexander 2019-06-06 04:35:02 +00:00
moz.build
moz.configure
mozilla-config.h.in
old-configure.in bug 1555110 - Backed out changeset a187487af38a to disable cert_storage on non-nightly builds r=jcj,froydnj 2019-05-29 00:11:53 +00:00
package-lock.json Bug 1553926 - Add fetch-options eslint plugin to mozilla central r=Standard8 2019-06-06 11:31:20 +00:00
package.json Bug 1553926 - Add fetch-options eslint plugin to mozilla central r=Standard8 2019-06-06 11:31:20 +00:00
README.txt
settings.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.