gecko-dev/dom
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
..
alarm
animation Bug 1286196 - Use the new constructor of Range<T> in KeyframeUtils. r=birtles 2016-07-13 11:00:43 +08:00
apps
archivereader
asmjscache
audiochannel
base Merge m-c to autoland, a=merge 2016-07-13 14:12:44 -07:00
battery
bindings Bug 1275315 part 2. Use the new Realm getters in binding code. r=peterv 2016-07-09 00:19:52 -04:00
bluetooth Bug 1280600: Cleanup Bluetooth config and build scripts, r=glandium 2016-07-11 15:16:56 +02:00
broadcastchannel
browser-element Bug 1284455 - Kill uses of nsISystemMessagesInternal.h outside of b2g r=gsvelto 2016-07-05 14:59:40 +02:00
cache Bug 1275315 part 2. Use the new Realm getters in binding code. r=peterv 2016-07-09 00:19:52 -04:00
camera Bug 1266646 - Move group of MediaStreamListener to a new header file. r=pehrsons 2016-06-30 15:07:48 +08:00
canvas Backed out changeset 20091ff168ea (bug 1277424) for various windows gl test failures 2016-07-13 15:37:24 +02:00
cellbroadcast Bug 1277775 - Replace MOZ_CONSTEXPR{_VAR,_TMPL} with constexpr. r=froydnj 2016-07-08 14:39:53 -07:00
console
contacts
crypto Bug 1281874 P2 Verify that terminating a worker running web crypto works correctly. r=khuey 2016-07-01 06:49:45 -07:00
devicestorage Bug 1282150 part 3. Add a way to get the JSRuntime for the thread, and use it in various places for rooting. r=bholley 2016-07-07 20:08:26 -04:00
downloads
encoding
events Backed out changeset f8fe3acf2e78 (bug 1162050) 2016-07-11 11:18:48 +02:00
fetch Bug 1285502 P1 Make InternalRequest::GetRequestConstructorCopy() copy the referrer per the spec. r=asuth 2016-07-11 12:25:54 -07:00
filehandle
filesystem Bug 1283344 - Enable dom/filesystem/test/test_worker_basic.html again, r=me 2016-07-08 10:07:05 +02:00
flyweb
fmradio
gamepad Backed out changeset bcd10b16cb33 (bug 1283135) on developers request 2016-06-30 13:49:58 +02:00
geolocation Bug 1282866 - remove widget/qt and other supporting QT code, r=dougt. This patch does not remove all of the checks for MOZ_WIDGET_QT (which are dead code), but that will be a followup mentored bug. 2016-07-07 12:14:25 -04:00
grid Bug 1241932 - Expose decoded CSS grid track properties in a Chrome API. r=heycam, r=khuey 2016-07-06 11:45:18 -07:00
html Bug 1277813 - Consider HTMLMediaElement.load() in user generated event handler to allow autoplay. r=kinetik 2016-07-12 16:25:33 +12:00
icc Bug 1282150 part 4. Have just one way of getting the rooting JSContext, and call it nsContentUtils::RootingCx(). r=bholley 2016-07-07 20:08:26 -04:00
identity
imptests
indexedDB Bug 1275315 part 2. Use the new Realm getters in binding code. r=peterv 2016-07-09 00:19:52 -04:00
inputmethod
inputport
interfaces Merge mozilla-central to fx-team 2016-07-08 12:17:32 +02:00
ipc Merge m-c to autoland, a=merge 2016-07-13 14:12:44 -07:00
json
jsurl
locales Bug 1167553 - Timeout-related Service Worker shutdowns should be reported. r=bkelly 2016-07-10 22:22:29 -04:00
manifest Bug 1285560 - test_window_oninstall_event.html is kinda broken. r=baku 2016-07-12 00:01:00 +02:00
mathml
media merge mozilla-inbound to mozilla-central a=merge 2016-07-12 16:30:18 +02:00
messagechannel
mobileconnection
mobileid
mobilemessage
network
newapps
nfc
notification Bug 1282150 part 4. Have just one way of getting the rooting JSContext, and call it nsContentUtils::RootingCx(). r=bholley 2016-07-07 20:08:26 -04:00
offline
payment
performance
permission
phonenumberutils
plugins Backed out changeset f8fe3acf2e78 (bug 1162050) 2016-07-11 11:18:48 +02:00
power
presentation Bug 1210340 - Replace onterminate with onclose in test cases, r=smaug 2016-07-13 00:19:00 +02:00
promise Bug 1275315 part 2. Use the new Realm getters in binding code. r=peterv 2016-07-09 00:19:52 -04:00
push Bug 1285889 - Moving the ContextualIdentityService.jsm from from browser/components/contextualidentity into tookit/components/contextualidentity. r=baku 2016-07-11 20:03:00 +02:00
quota
res
resourcestats
secureelement
security Bug 1286024 - Replace no document in SetRequestContext warning with a log. r=ckerschb 2016-07-12 17:46:23 +08:00
settings
simplepush
smil Bug 1277775 - Replace MOZ_CONSTEXPR{_VAR,_TMPL} with constexpr. r=froydnj 2016-07-08 14:39:53 -07:00
speakermanager
storage
svg Bug 1277775 - Replace MOZ_CONSTEXPR{_VAR,_TMPL} with constexpr. r=froydnj 2016-07-08 14:39:53 -07:00
system Bug 1282150 part 4. Have just one way of getting the rooting JSContext, and call it nsContentUtils::RootingCx(). r=bholley 2016-07-07 20:08:26 -04:00
telephony
tests Bug 1218627 - Fixing randomly failing test(s) in Geo. r=dougt 2016-07-05 14:46:58 -07:00
tethering
time
tv
u2f
url 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
voicemail
vr
wappush
webidl Bug 1210340 - Implement PresentationConnection.close(), r=smaug 2016-07-13 00:18:00 +02:00
wifi
workers Back out 2 changesets (bug 1174386) for mochitest and xpcshell bustage. 2016-07-13 09:41:34 +02:00
xbl Bug 1275315 part 2. Use the new Realm getters in binding code. r=peterv 2016-07-09 00:19:52 -04:00
xhr Backed out changeset 643bfa8b72ba (bug 1207233) for bustage 2016-07-12 11:40:16 +02:00
xml
xslt Bug 1282150 part 3. Add a way to get the JSRuntime for the thread, and use it in various places for rooting. r=bholley 2016-07-07 20:08:26 -04:00
xul Backed out changeset f8fe3acf2e78 (bug 1162050) 2016-07-11 11:18:48 +02:00
jar.mn
moz.build Bug 1241932 - Expose decoded CSS grid track properties in a Chrome API. r=heycam, r=khuey 2016-07-06 11:45:18 -07:00