gecko-dev/dom
Ehsan Akhgari 59e89cba9d Bug 1180535 - Dispatch the media-playback notification when navigating away from a page that has a media element playing; r=baku
When navigating away from a document, we mute the playing media elements
through the NotifyOwnerDocumentActivityChanged() notification.
Sometimes, that function may notify the audio channel agent through its
call to AddRemoveSelfReference() which may call
UpdateAudioChannelPlayingState() and notify the agent, but when we're
navigating away from the page, playingThroughTheAudioChannel will always
be equal to mPlayingThroughTheAudioChannel, which causes us to not
notify the audio channel agent.

This patch fixes this by separating NotifyOwnerDocumentActivityChanged()
from its internal consumers, and forcefully notifying the audio channel
agent when we navigate away.
2015-07-11 13:16:39 -04:00
..
activities Bug 1026290 - Update mochitest-chrome manifests for android; r=jgriffin 2015-07-10 14:41:59 -06:00
alarm
animation Bug 1113086 follow-up: Add a forward declaration to fix build bustage 2015-07-10 20:49:32 -04:00
apps Bug 1026290 - Update mochitest-chrome manifests for android; r=jgriffin 2015-07-10 14:41:59 -06:00
archivereader Bug 905127 - Part 1 - Make some functions from nsNetUtil not inline. r=jduell 2015-07-07 04:17:00 +02:00
asmjscache Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj 2015-07-03 18:29:00 -07:00
audiochannel Bug 1177259 - Improve the names of the methods of nsIAudioChannelAgent, r=alwu 2015-07-11 08:24:26 +01:00
base Bug 1180535 - Dispatch the media-playback notification when navigating away from a page that has a media element playing; r=baku 2015-07-11 13:16:39 -04:00
battery
bindings Bug 1180921 - Give Optional<T> Maybe<T>-like operator== semantics. r=bz 2015-07-11 10:32:54 -04:00
bluetooth Bug 1170071 - Part 4: Add Gatt server interfaces for Bluetooth daemon. r=shuang 2015-07-08 04:34:00 -04:00
broadcastchannel Bug 1026290 - Update mochitest-chrome manifests for android; r=jgriffin 2015-07-10 14:41:59 -06:00
browser-element Bug 1113086 - AudioChannel policy in Browser API - patch 7 - Support non-app iframe, r=alwu 2015-07-10 17:40:24 +01:00
cache Bug 1181871 P1 Only enforce Cache Context shared data destruction on target thread after init. r=ehsan 2015-07-10 13:56:06 -07:00
camera Bug 1177259 - Improve the names of the methods of nsIAudioChannelAgent, r=alwu 2015-07-11 08:24:26 +01:00
canvas Bug 1177271 - Add WebGLFormat format tables. - r=kamidphish 2015-07-10 16:34:45 -07:00
cellbroadcast Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj 2015-07-03 18:29:00 -07:00
contacts Bug 1174954 part 1. Stop throwing DOMErrors from JS-implemented webidl, since we can now throw content-side Errors instead. r=bholley 2015-06-16 16:44:10 -04:00
crypto Bug 1169890 - Check return values for CryptoBuffer.Assign() calls r=rbarnes 2015-05-30 08:28:45 +02:00
datastore Backed out changeset 74293125739a (bug 1176341) 2015-07-10 12:48:20 -07:00
devicestorage Bug 1026290 - Update mochitest-chrome manifests for android; r=jgriffin 2015-07-10 14:41:59 -06:00
downloads
encoding
engineeringmode
events Bug 1176954 part.7 IMENotification::TextChangeData should have a method to merge with another instance and IMENotification::MergeWith() should use it r=smaug 2015-07-11 10:53:56 +09:00
fetch Backed out changeset df6593df027b (bug 1173912) 2015-07-10 15:58:24 -07:00
filehandle Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj 2015-07-03 18:29:00 -07:00
filesystem Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj 2015-07-03 18:29:00 -07:00
fmradio Bug 1177259 - Improve the names of the methods of nsIAudioChannelAgent, r=alwu 2015-07-11 08:24:26 +01:00
gamepad Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj 2015-07-03 18:29:00 -07:00
geolocation Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj 2015-07-03 18:29:00 -07:00
html Bug 1180535 - Dispatch the media-playback notification when navigating away from a page that has a media element playing; r=baku 2015-07-11 13:16:39 -04:00
icc Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj 2015-07-03 18:29:00 -07:00
identity
imptests Bug 1173288 - Update testharness code in imptests; rs=jgraham 2015-06-20 09:16:51 +02:00
indexedDB Backed out changeset d29782c360fe (bug 1180978) for causing indexedDB assertions. 2015-07-10 12:35:15 -04:00
inputmethod Bug 1175399 - Move readonly detection into isFocusableElement. r=janjongboom 2015-07-03 01:42:00 +02:00
inputport
interfaces Bug 1139297 - Implement CSP upgrade-insecure-requests directive - csp changes (r=sstamm) 2015-07-10 09:13:54 -07:00
ipc Bug 1182772, optimize ProcessGlobal out from CC graph (and also TabChild's EventListeners), r=mccr8 2015-07-11 16:45:49 +03:00
json Bug 905127 - Part 1 - Make some functions from nsNetUtil not inline. r=jduell 2015-07-07 04:17:00 +02:00
jsurl Bug 1181619. Make sure we've entered a microtask before we call nsJSUtils::EvaluateString, and put those microtasks outside the relevant AutoEntryScripts so we report any possible exceptions before doing the microtask checkpoint. r=bholley 2015-07-09 02:41:43 -04:00
locales Backed out changeset adf95d1cd0aa (bug 1173934) for fetch-frame-resource.https.html WPT orange and test_synthesized_response.js S4 orange CLOSED TREE 2015-07-10 15:59:01 -07:00
manifest Bug 1171200 - Add means of checking if a document links to a manifest. r=billm. 2015-07-08 13:26:32 +10:00
mathml
media Bug 1177259 - Improve the names of the methods of nsIAudioChannelAgent, r=alwu 2015-07-11 08:24:26 +01:00
messagechannel Bug 1181595 - Improve null checks in MessagePort::RemoveDocFromBFCache, r=smaug 2015-07-09 01:34:37 +01:00
messages
mobileconnection Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj 2015-07-03 18:29:00 -07:00
mobileid
mobilemessage Merge m-c to inbound. a=merge 2015-07-09 13:52:22 -04:00
network Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj 2015-07-03 18:29:00 -07:00
nfc Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj 2015-07-03 18:29:00 -07:00
notification Bug 916893 - Patch 3 - Walk up worker chain to find correct window for WorkerNotificationObserver. r=khuey 2015-06-25 18:53:02 -07:00
offline Bug 905127 - Part 1 - Make some functions from nsNetUtil not inline. r=jduell 2015-07-07 04:17:00 +02:00
payment
permission
phonenumberutils Bug 1179379 - PhonenumberJS: Update Metadata. r=bent 2015-07-06 10:12:37 -07:00
plugins Bug 1128454 - Add crash report annotations for plugin bridge operation failures. r=billm 2015-07-09 19:07:49 -05:00
power
presentation Bug 1171827 - Temporarily disale mDNS device provider. r=schien 2015-06-15 03:53:00 -04:00
promise Bug 1181321 - Eliminate duplicate mRefCnt members in PromiseNativeHandler subclasses. r=baku 2015-07-09 08:56:00 +02:00
push Bug 1166350 - Patch 2 - Fix tests. a=bustage 2015-06-24 14:27:49 -07:00
quota Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj 2015-07-03 18:29:00 -07:00
requestsync Bug 1165787 - Use origin in RequestSyncService.jsm. r=ehsan 2015-05-29 19:35:10 +08:00
res
resourcestats
secureelement Bug 1174683 - [Secure Element] Fix TypeError in UiccConnector.unregisterListener. r=allstars.chh 2015-06-15 03:58:00 -04:00
security Bug 1139297 - Implement CSP upgrade-insecure-requests directive - cors tests (r=smaug) 2015-07-10 09:17:17 -07:00
settings Bug 1012403 - Reenable SettingsService chrome tests, on B2G only; a=TEST-ONLY 2015-06-16 14:14:07 -07:00
simplepush Bug 1174422 - Add system principal for UDPSocket init r=kitcambridge 2015-06-13 10:30:25 -07:00
smil Bug 765078: Give SMIL time events a longer grace period to fire, in test_smilTimeEvents.xhtml. (test-only) 2015-06-03 10:44:33 -07:00
speakermanager Backed out changeset bcfbdb934c37 (bug 1113086) for breaking cpp tests with timeouts in TestAudioChannelService.exe 2015-07-11 14:14:58 +02:00
storage Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj 2015-07-03 18:29:00 -07:00
svg Bug 1179282 - Use nsTArray::Assign instead of the assignment operator in dom/svg/. r=dholbert 2015-07-07 11:27:03 -07:00
system Bug 1177259 - Improve the names of the methods of nsIAudioChannelAgent, r=alwu 2015-07-11 08:24:26 +01:00
telephony Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj 2015-07-03 18:29:00 -07:00
tests Bug 1113086 - AudioChannel policy in Browser API - patch 5 - nsTObserverArray instead hashtables, r=ehsan, r=alwu 2015-07-10 17:38:51 +01:00
tethering
time
tv Bug 987498 - Part 3 - Implement DOMHwMediaStream. r=roc 2015-06-18 00:21:00 +02:00
voicemail Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj 2015-07-03 18:29:00 -07:00
vr
wappush
webidl Bug 1180921 - Add the addonId OriginAttribute. r=bholley 2015-07-11 10:32:55 -04:00
wifi Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj 2015-07-03 18:29:00 -07:00
workers Bug 1181321 - Eliminate duplicate mRefCnt members in PromiseNativeHandler subclasses. r=baku 2015-07-09 08:56:00 +02:00
xbl Bug 905127 - Part 2 - remove unnecessary nsNetUtil.h includes r=jduell 2015-07-06 07:55:00 +02:00
xml Bug 905127 - Part 2 - remove unnecessary nsNetUtil.h includes r=jduell 2015-07-06 07:55:00 +02:00
xslt Bug 905127 - Part 1 - Make some functions from nsNetUtil not inline. r=jduell 2015-07-07 04:17:00 +02:00
xul Bug 1026290 - Update mochitest-chrome manifests for android; r=jgriffin 2015-07-10 14:41:59 -06:00
jar.mn
moz.build Bug 911972 - MessagePort and MessageChannel in workers, r=smaug, r=bent 2015-06-17 11:44:27 +01:00