gecko-dev/dom
Chris Pearce 7fb3548c85 Bug 1471485 - Ensure autoplay permission promises disconnected if media starts playing. r=jya
We can start playing while we're awaiting a response to an autoplay-media
permission prompt, for example if the user clicks on a play button. In such
cases, it doesn't make sense to keep the autoplay permission request promise
connected in HTMLMediaElement, as since we're playing we'll be resolving the
play() promises and thus we won't be taking action on the autoplay request
promise's result. So we should just disconnect the autoplay permission request
promise if it's connected when we start playing.

MozReview-Commit-ID: 1aiCLXV7Ja9

--HG--
extra : rebase_source : c439e8f084ac8cc01db578d712e15d3174a08e71
2018-07-12 16:19:25 +12:00
..
abort Bug 1470325 - s/FooBinding/Foo_Binding/g - r=qdot 2018-06-26 17:05:01 -07:00
animation Bug 1475162 - Drop pref annotations from tests that no longer need them; r=hiro 2018-07-12 17:22:09 +09:00
asmjscache Bug 1453795 - DOM - Initialize member fields in classes/ structures. r=peterv 2018-06-16 17:21:46 +03:00
audiochannel
base Bug 1475351: Properly clear associated ShadowRoot from StyleSheet objects. r=smaug 2018-07-15 12:37:44 +02:00
battery Bug 1470325 - s/FooBinding/Foo_Binding/g - r=qdot 2018-06-26 17:05:01 -07:00
bindings Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-07-14 12:45:25 +03:00
broadcastchannel Bug 1470325 - s/FooBinding/Foo_Binding/g - r=qdot 2018-06-26 17:05:01 -07:00
browser-element Bug 1472424 - BrowserElementParent should use IsInComposedDoc, r=mrbkap 2018-07-03 18:08:19 +03:00
cache Bug 1471189 - Removing 'Terminating' state in workers, r=mrbkap 2018-07-12 19:33:41 +02:00
canvas Bug 1471189 - Removing 'Terminating' state in workers, r=mrbkap 2018-07-12 19:33:41 +02:00
chrome-webidl Merge inbound to mozilla-central. a=merge 2018-07-13 11:52:00 +03:00
clients Bug 1471189 - Removing 'Terminating' state in workers, r=mrbkap 2018-07-12 19:33:41 +02:00
commandhandler Bug 1475461 - part 2: Make callers of PLDHashTable::Search() const methods if possible r=Ehsan 2018-07-13 19:01:53 +09:00
console Bug 1470325 - s/FooBinding/Foo_Binding/g - r=qdot 2018-06-26 17:05:01 -07:00
credentialmanagement Bug 1470325 - s/FooBinding/Foo_Binding/g - r=qdot 2018-06-26 17:05:01 -07:00
crypto Bug 1453795 - DOM/Crypto - Initialize member fields in classes/ structures. r=mt 2018-07-11 10:37:57 +03:00
encoding Bug 1470325 - s/FooBinding/Foo_Binding/g - r=qdot 2018-06-26 17:05:01 -07:00
events Bug 1462257 - TextComposition should dispatch eCompositionChange event when eCompositionCommit is being fired immediately after eCompositionStart r=m_kato 2018-07-11 23:05:39 +09:00
fetch Bug 1471189 - Removing 'Terminating' state in workers, r=mrbkap 2018-07-12 19:33:41 +02:00
file Bug 1471189 - Removing 'Terminating' state in workers, r=mrbkap 2018-07-12 19:33:41 +02:00
filehandle
filesystem Bug 1470325 - s/FooBinding/Foo_Binding/g - r=qdot 2018-06-26 17:05:01 -07:00
flex Bug 1470325 - s/FooBinding/Foo_Binding/g - r=qdot 2018-06-26 17:05:01 -07:00
gamepad Bug 1473193 - Don't use dom/gamepad/linux on non-Linux OSes. r=qdot 2018-07-03 17:54:32 -07:00
geolocation Bug 1470325 - s/FooBinding/Foo_Binding/g - r=qdot 2018-06-26 17:05:01 -07:00
grid Bug 1470325 - s/FooBinding/Foo_Binding/g - r=qdot 2018-06-26 17:05:01 -07:00
html Bug 1471485 - Ensure autoplay permission promises disconnected if media starts playing. r=jya 2018-07-12 16:19:25 +12:00
imptests
indexedDB Bug 1474045. Make nsIScriptGlobalObject::HandleScriptError non-virtual. r=qdot 2018-07-11 14:17:01 -07:00
interfaces Bug 1475065 part 13. Remove nsIDOMOfflineResourceList. r=nika 2018-07-13 15:42:08 -07:00
ipc Backed out 12 changesets (bug 1471025) for build bustages on dom/ipc/ContentProcess.cpp. CLOSED TREE 2018-07-13 22:11:24 +03:00
jsurl Bug 1418236 - Correct EventTarget for CSP violation events, r=ckerschb 2018-07-10 17:40:21 +02:00
locales Bug 1471502 - Misleading console error message fixed r=ckerschb 2018-07-08 02:16:12 +03:00
manifest Bug 1405428 - skip-if = verify on mochitests which do not pass test-verify. r=gbrown 2018-06-10 05:01:47 -04:00
mathml Bug 1470325 - s/FooBinding/Foo_Binding/g - r=qdot 2018-06-26 17:05:01 -07:00
media Bug 1421091 - Remove a bit from a gtest that is tested directly in the bindings. r=jya 2018-07-13 14:31:53 +02:00
messagechannel Bug 1470306 - Adding some MOZ_DIAGNOSTIC_ASSERT in MessagePort, r=smaug 2018-07-13 17:41:34 +02:00
midi Bug 1470325 - s/FooBinding/Foo_Binding/g - r=qdot 2018-06-26 17:05:01 -07:00
network Bug 1471189 - Removing 'Terminating' state in workers, r=mrbkap 2018-07-12 19:33:41 +02:00
notification Bug 1471189 - Removing 'Terminating' state in workers, r=mrbkap 2018-07-12 19:33:41 +02:00
offline Bug 1475065 part 13. Remove nsIDOMOfflineResourceList. r=nika 2018-07-13 15:42:08 -07:00
payments Bug 1468356 - Implement onpaymentmethodchange attribute. r=mrbkap 2018-06-30 10:11:00 +03:00
performance Bug 1470325 - s/FooBinding/Foo_Binding/g - r=qdot 2018-06-26 17:05:01 -07:00
permission Bug 1470325 - s/FooBinding/Foo_Binding/g - r=qdot 2018-06-26 17:05:01 -07:00
plugins Bug 1473705 - Make nsPluginInstanceOwner listen to keypress event also in the system event group r=smaug 2018-07-06 17:20:43 +09:00
power
presentation Bug 1470325 - s/FooBinding/Foo_Binding/g - r=qdot 2018-06-26 17:05:01 -07:00
promise Bug 1470325 - s/FooBinding/Foo_Binding/g - r=qdot 2018-06-26 17:05:01 -07:00
push Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-07-03 00:59:47 +03:00
quota Bug 1471189 - Removing 'Terminating' state in workers, r=mrbkap 2018-07-12 19:33:41 +02:00
res
script Bug 1475006 - Remove mAutoProfilerLabel from AutoEntryScript in non-MOZ_GECKO_PROFILER builds r=mstange 2018-07-12 11:01:08 +02:00
security Bug 1472927 - Fix CSP violation events in workers, r=asuth, r=ckerschb 2018-07-10 18:53:03 +02:00
serviceworkers Bug 1471189 - Removing 'Terminating' state in workers, r=mrbkap 2018-07-12 19:33:41 +02:00
smil Bug 1467622 - P2: Change SMIL paced tests to represent new distance calc. r=birtles 2018-06-28 11:58:34 +10:00
storage Bug 1462162 - Filter local storage cache synchronization messages based on origin; r=asuth 2018-07-14 08:34:14 +02:00
svg Bug 1286882 - Make SVG basic shape elements unselectable. r=dholbert 2018-07-13 18:01:48 +00:00
system Bug 1470325 - s/FooBinding/Foo_Binding/g - r=qdot 2018-06-26 17:05:01 -07:00
tests Bug 1474844 - Filter out empty categories - r=baku 2018-07-13 11:57:59 +02:00
u2f Bug 1470325 - s/FooBinding/Foo_Binding/g - r=qdot 2018-06-26 17:05:01 -07:00
url Bug 1471189 - Removing 'Terminating' state in workers, r=mrbkap 2018-07-12 19:33:41 +02:00
vr Bug 1470527 - Implement Controller support for gfxVRExternal and VRServiceOpenVR,r=daoshengmu 2018-07-11 12:20:51 -07:00
webauthn Bug 1474273 - Add xpc::CurrentNativeGlobal and use it instead of NativeGlobal(JS::CurrentGlobalOrNull(cx)). r=bz 2018-07-11 14:07:02 +02:00
webbrowserpersist Bug 1473509 - store principal information with the URIs to avoid having to locate documents after the fact, r=mccr8 2018-07-06 17:27:17 +01:00
webgpu Bug 1469376 - Initial stubs for WebGPU sketch API. - r=kvark,qdot 2018-06-13 10:43:48 -07:00
webidl Bug 1439153 - Make WebExtensions work with Shadow DOM/WebComponents, r=kmag 2018-07-14 05:26:15 +03:00
websocket Bug 1471189 - Removing 'Terminating' state in workers, r=mrbkap 2018-07-12 19:33:41 +02:00
workers Bug 1474844 - Filter out empty categories - r=baku 2018-07-13 11:57:59 +02:00
worklet Bug 1471843: Remove audioWorklet attribute from Window. r=baku,karlt 2018-07-03 16:58:16 +02:00
xbl Bug 1472973 part 3 - Remove some GetGlobalForObjectCrossCompartment calls on globals/WindowProxy. r=bz 2018-07-06 18:16:23 +02:00
xhr Bug 1471189 - Removing 'Terminating' state in workers, r=mrbkap 2018-07-12 19:33:41 +02:00
xml Bug 1418246 - Return valid columnNumber value in CSP violation events, r=ckerschb 2018-07-05 08:21:04 +02:00
xslt Bug 1465907 part 2. Remove nsIAttribute. r=mccr8 2018-07-12 15:51:52 -07:00
xul Bug 1475305 - Remove document.width and document.height from XULDocument;r=bz 2018-07-12 11:35:11 -07:00
jar.mn
moz.build Bug 1475065 part 13. Remove nsIDOMOfflineResourceList. r=nika 2018-07-13 15:42:08 -07:00