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
Chris Pearce f3acbf5f85 Bug 1277813 - Consider HTMLMediaElement.load() in user generated event handler to allow autoplay. r=kinetik
This is so that if media autoplay is disabled, a site can capture user intent
to play in their click handlers by calling load() on an empty video element to
"bless" the video element with the ability to play later when the video has
loaded.

Large video sites typically have a catalog view of videos to chose from on
their main page, and when the user clicks on one, with this patch, the site can
bless a video element so that it will play by beginning the load of that video
in the click handler. Often these sites do a bunch of asynchronous things
before they actually get around to playing the video, they don't call play in
the click handler, so we need another way to bless the videos so they can play.

We allow seeks in a click handler to capture user intent to play, so I don't
see why we should not also allow a load() to capture user intent.


MozReview-Commit-ID: KzjNcn3s6od

--HG--
extra : rebase_source : 6424e04ecb5220b765b69e815fc7b15c49ea6cb8
2016-07-12 16:25:33 +12:00
accessible Merge f-t to m-c, a=merge 2016-07-09 08:53:47 -07:00
addon-sdk Bug 1268898 - Fix leak in sdk/event/dom. r=gabor 2016-07-10 12:19:00 +02:00
b2g Bug 1280600: Merge Android and b2g branches in build scripts where possible, r=glandium 2016-07-11 15:16:56 +02:00
browser merge mozilla-inbound to mozilla-central a=merge 2016-07-13 17:27:34 +02:00
build Bug 1280600: Use Gecko's 'libgabi++' on b2g, r=glandium 2016-07-11 15:16:56 +02:00
caps Bug 1283855 part 20 - Make more principals code take JSContext instead of JSRuntime. r=luke 2016-07-05 16:49:46 +02:00
chrome Bug 1262671 - void** -> PickleIterator (r=froydnj) 2016-05-27 09:57:38 -07:00
config Bug 1280600: Use Gecko's 'libgabi++' on b2g, r=glandium 2016-07-11 15:16:56 +02:00
db/sqlite3 Bug 1273909 - Upgrade to SQLite 3.13.0. r=mak 2016-05-27 08:49:13 -04:00
devtools Merge m-c to autoland, a=merge 2016-07-13 14:12:44 -07:00
docshell Bug 1275746 - Fix tests that assume a HTTP url without a hostname is valid r=jrgm,MattN,jdm,gijs,smaug 2016-07-13 15:19:34 +03:00
dom Bug 1277813 - Consider HTMLMediaElement.load() in user generated event handler to allow autoplay. r=kinetik 2016-07-12 16:25:33 +12:00
editor Bug 1284963 - Make CreateBR return already_AddRefed. r=masayuki 2016-07-12 08:58:13 -07:00
embedding Bug 1285326 - Remove custom check in CheckUserContextCompatibility for UCI == 0 in nsWindowWatcher, r=smaug 2016-07-10 08:08:39 +02:00
extensions Bug 1275746 - Fix tests that assume a HTTP url without a hostname is valid r=jrgm,MattN,jdm,gijs,smaug 2016-07-13 15:19:34 +03:00
gfx Bug 1286218 - Do not clear our TextureClientPool when calling ClearCachedResources on a ClientLayerManager r=nical 2016-07-13 11:39:21 -04:00
gradle/wrapper
hal Bug 1276927: Add V4L ioctl 'VIDIOC_S_HW_FREQ_SEEK' if undefined by Linux, r=gsvelto 2016-06-16 08:43:51 +01:00
image Bug 1286317 - part 1 - remove Qt widget usage from gfx. r=jrmuizel 2016-07-12 20:27:57 -04:00
intl Back out 2 changesets (bug 1174386) for mochitest and xpcshell bustage. 2016-07-13 09:41:34 +02:00
ipc Bug 1285157 - Remove SetTransport(aChannel) for NUWA r=cyu 2016-07-07 10:07:24 +02:00
js Backed out changeset dcb7835534e2 (bug 1277008) for jit test failures a=backout 2016-07-13 11:24:02 -07:00
layout Bug 1280344 - Use first continuation's normal position in computing sticky scroll ranges for APZ. r=dholbert 2016-07-12 12:36:31 -04:00
media Backed out 2 changesets (bug 1285541) for causing a frequent mda failure 2016-07-08 15:21:43 -07:00
memory Bug 1284677 - Change how the default OSX malloc zone is found. r=njn 2016-07-08 14:48:16 +09:00
mfbt Bug 1277775 - Replace MOZ_CONSTEXPR{_VAR,_TMPL} with constexpr. r=froydnj 2016-07-08 14:39:53 -07:00
mobile Bug 1285211. Enable "Report Site Issue" menu item in Aurora + Nightly. r=sebastian 2016-07-13 12:32:54 -04:00
modules Bug 1242718 - Enable selection events outside of nightly, r=smaug 2016-07-13 13:59:41 -04:00
mozglue Bug 1285570 - Update auto-generated bindings; r=me 2016-07-11 18:07:35 -04:00
netwerk Bug 1274250 - Referrer host should be IDN encoded when trimmed by policy. r=valentin 2016-07-13 11:08:53 -04:00
nsprpub
other-licenses
parser Bug 1260651 part.16 Rename nsHTMLEditUtils to mozilla::HTMLEditUtils (and their files too) r=mccr8 2016-07-07 14:01:12 +09:00
probes
python Bug 1177128 - Added bootstrapper for MozillaBuild that installs rustup. r=gps 2016-07-07 16:26:48 -07:00
rdf Bug 1275744 - Reference MOZ_LOG in rdf comments. r=erahm 2016-05-26 11:40:52 -07:00
release/docker
security Bug 1285946 - Add sys_readv to seccomp whitelist. r=gcp 2016-07-11 18:51:33 +02:00
services merge mozilla-inbound to mozilla-central a=merge 2016-07-13 17:27:34 +02:00
startupcache Bug 1278452 - Add some null checks when getting streams. r=froydnj. 2016-06-07 16:03:32 +10:00
storage Bug 1277775 - Replace MOZ_CONSTEXPR{_VAR,_TMPL} with constexpr. r=froydnj 2016-07-08 14:39:53 -07:00
taskcluster Merge m-c to autoland, a=merge 2016-07-13 14:12:44 -07:00
testing Bug 1275746 - Fix tests that assume a HTTP url without a hostname is valid r=jrgm,MattN,jdm,gijs,smaug 2016-07-13 15:19:34 +03:00
toolkit merge mozilla-inbound to mozilla-central a=merge 2016-07-13 17:27:34 +02:00
tools Bug 1285554 - Remove remnants of widget/qt. r=dougt,mshal. 2016-07-12 09:16:45 +10:00
uriloader Bug 1285554 - Remove remnants of widget/qt. r=dougt,mshal. 2016-07-12 09:16:45 +10:00
view
widget Merge autoland to central, a=merge 2016-07-13 12:01:17 -07:00
xpcom Bug 1277775 - Replace MOZ_CONSTEXPR{_VAR,_TMPL} with constexpr. r=froydnj 2016-07-08 14:39:53 -07:00
xpfe Backed out changeset e7a3ba795e1a (bug 1276976) for timeouts in browser_tableWidget_mouse_interaction.js on a CLOSED TREE 2016-06-09 15:28:22 +02:00
.clang-format
.clang-format-ignore
.eslintignore Bug 1283583 - Clean up code style in devtools/server/main.js. r=ochameau 2016-07-01 18:35:25 -05:00
.eslintrc
.flake8 Bug 1283129 - Flake8 linter is accidentally linting some eslint related .lint files, r=maja_zf 2016-06-29 10:37:27 -04:00
.gdbinit bug 985566 - add some pretty printers to .gdbinit r=froydnj r=glandium 2016-06-02 13:33:07 -04:00
.gdbinit_python bug 985566 - add some pretty printers to .gdbinit r=froydnj r=glandium 2016-06-02 13:33:07 -04:00
.gitignore Bug 1271734 - Move all eslint related infrastructure to tools/lint, r=miker 2016-06-02 15:38:36 -04:00
.hgignore Bug 1271734 - Move all eslint related infrastructure to tools/lint, r=miker 2016-06-02 15:38:36 -04:00
.hgtags No bug - Tagging mozilla-central d98f20c25feeac4dd7ebbd1c022957df1ef58af4 with FIREFOX_AURORA_49_BASE a=release DONTBUILD CLOSED TREE 2016-06-06 15:11:06 -04:00
.lldbinit
.taskcluster.yml Bug 1273645: remove unnecessary scope from decision task; r=garndt 2016-07-11 22:07:12 +00:00
.ycm_extra_conf.py Bug 1283340: python: fix .ycm_extra_conf.py for python 3 r=gps 2016-06-29 18:15:46 -07:00
aclocal.m4 bug 1266368 - move rust.m4 to configure. r=glandium 2016-05-16 15:27:37 -04:00
Android.mk
AUTHORS
build.gradle
client.mk Bug 1278415 - Ensure MOZ_CURRENT_PROJECT is set when running make directly in objdir. r=gps 2016-06-16 11:43:30 +09:00
client.py
CLOBBER Backed out 2 changesets (bug 1285541) for causing a frequent mda failure 2016-07-08 15:21:43 -07:00
configure.in
configure.py Bug 1285860 - Add python/mozbuild at beginning of sys.path; r=glandium 2016-07-11 10:42:11 -07:00
GNUmakefile
gradle.properties
gradlew
LEGAL
LICENSE
mach Bug 1279020 - [mach] Follow symlinked mach binary when searching for a srcdir, r=gps 2016-06-09 17:20:02 -04:00
Makefile.in Bug 1275111 - Move artifact download/install into its own tier; r=glandium 2016-06-01 13:48:53 -04:00
moz.build
moz.configure Bug 1282135 - Require --enable-debug to produce a debug builds, and fix interaction with MOZ_DEBUG in the environment. r=glandium 2016-06-24 12:36:16 -07:00
mozilla-config.h.in
old-configure.in Merge m-c to autoland, a=merge 2016-07-13 14:12:44 -07: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:

    http://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:

    http://developer.mozilla.org/en/docs/Creating_a_patch
    http://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 http://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.]

You can download nightly development builds from the Mozilla FTP server.
Keep in mind that nightly builds, which are used by Mozilla developers for
testing, may be buggy. Firefox nightlies, for example, can be found at:

    https://archive.mozilla.org/pub/firefox/nightly/latest-mozilla-central/
            - or -
    http://nightly.mozilla.org/