gecko-dev/dom
Andreas Pehrson d70fe4dd85 Bug 1458166 - Remove listeners before destroying MediaStreams. r=bryce
If listeners are still registered to a MediaStream on MediaStream::Destroy
(triggered by MediaStream::UnregisterUser below), they will catch and act
on further events from the MediaStream (such as a track ending).

This may dispatch runnables that are unnecessary since we know we are
shutting down.

If we first remove the listeners from the MediaStream we will never see
said events.

MozReview-Commit-ID: IZ1kENqL2C8

--HG--
extra : rebase_source : 6f9201827a30f119b4c116d0cb798858408aed20
2018-05-07 11:36:35 +02:00
..
abort
animation bug 1457867, store DOMEventTargetHelper objects in global object as a linked list, r=bkelly 2018-05-04 19:25:05 +03:00
asmjscache
audiochannel
base Bug 1459588 - Remove unused allowDocumentToBeAgnosticToCSP r=ckerschb 2018-05-07 15:12:51 +02:00
battery Backed out 8 changesets (bug 1453011, bug 1452981, bug 1146316) For xpcshell and mochitest failures on multiple files. CLOSED TREE 2018-04-20 21:40:24 +03:00
bindings Bug 1455799 - Make an explicit webidl export target; r=bz,chmanchester 2018-04-30 12:52:28 -04:00
broadcastchannel
browser-element Bug 1436431 Part 4: Disable and update an existing mochitest of find-in-page. r=bz 2018-04-27 10:56:39 -07:00
cache
canvas Bug 1219985 - The canvas rendering context 2d should be opaque if either the moz-opaque attribute is set or if it has been initialized with alpha:false. r=jrmuizel 2018-05-02 11:23:53 -04:00
chrome-webidl Bug 1455674 part 13. Remove remaining xpidl uses of nsIDOMElement. r=qdot 2018-04-26 23:37:29 -04:00
clients Bug 1457157 P5 Make ClientManager keep its actor alive until the worker reaches Terminating. r=baku 2018-05-02 06:29:27 -07:00
commandhandler
console Bug 1456035: Part 4 - Convert callers of XPCOMUtils.generateQI to ChromeUtils.generateQI. r=mccr8 2018-04-22 20:55:06 -07:00
credentialmanagement
crypto
encoding
events Bug 1459401: Remove unused container argument in EventStateManager::ContentRemoved. r=smaug 2018-05-06 16:38:30 +02:00
fetch Bug 1457157 P2 Clear a worker's ClientSource when it reaches Terminating. r=baku 2018-05-02 06:29:26 -07:00
file Backed out changeset 0c5a4939300c (bug 1454889) for causing frequent Leaks (Bug 1378025). a=backout 2018-05-07 12:06:25 +03:00
filehandle
filesystem
flex
gamepad Bug 1455052 part 8. Stop using nsIDOMEvent in docshell and dom. r=masayuki 2018-04-20 12:55:30 -04:00
geolocation Bug 1455674 part 10. Remove nsIDOMElement use from remaining dom/ xpidl files. r=qdot 2018-04-26 23:36:10 -04:00
grid Bug 1456590 Part 2: Update test expectations to check that names from implicit named areas are not assigned to lines. r=mats 2018-05-02 16:38:02 -07:00
html Backed out changeset 0c5a4939300c (bug 1454889) for causing frequent Leaks (Bug 1378025). a=backout 2018-05-07 12:06:25 +03:00
imptests
indexedDB Bug 1411908 - Part 2: Wait for all factory operations to finish when shutting down; r=asuth 2018-05-04 06:32:23 +02:00
interfaces Bug 1457443 - Don't expect WebRender windows if WebRender isn't built. r=milan 2018-04-27 12:51:40 -04:00
ipc Bug 1458505 - grapping 'self' in mozilla::MakeScopeExit instead of '&' when needed, in DOM code, r=erahm 2018-05-03 08:09:58 +02:00
jsurl
locales Bug 1458883 - Remove File.lastModifiedDate, r=qdot 2018-05-04 14:39:53 +02:00
manifest
mathml Bug 1455674 part 20. Get rid of nsIDOMElement. r=qdot 2018-04-26 23:37:34 -04:00
media Bug 1458166 - Remove listeners before destroying MediaStreams. r=bryce 2018-05-07 11:36:35 +02:00
messagechannel
midi Bug 1455674 part 10. Remove nsIDOMElement use from remaining dom/ xpidl files. r=qdot 2018-04-26 23:36:10 -04:00
network Backed out 8 changesets (bug 1453011, bug 1452981, bug 1146316) For xpcshell and mochitest failures on multiple files. CLOSED TREE 2018-04-20 21:40:24 +03:00
notification Bug 1455674 part 10. Remove nsIDOMElement use from remaining dom/ xpidl files. r=qdot 2018-04-26 23:36:10 -04:00
offline Bug 1455052 part 8. Stop using nsIDOMEvent in docshell and dom. r=masayuki 2018-04-20 12:55:30 -04:00
payments Bug 1456035: Part 4 - Convert callers of XPCOMUtils.generateQI to ChromeUtils.generateQI. r=mccr8 2018-04-22 20:55:06 -07:00
performance Bug 1457325 - Expose time to DOMContentFlushed on the timeline. r=bholley,r=mstange 2018-04-27 11:15:27 -07:00
permission
plugins Bug 1455674 part 16. Remove most use of nsIDOMElement in dom. r=qdot 2018-04-26 23:37:34 -04:00
power
presentation Bug 1456035: Part 4 - Convert callers of XPCOMUtils.generateQI to ChromeUtils.generateQI. r=mccr8 2018-04-22 20:55:06 -07:00
promise
push Bug 1456035: Part 5 - Convert manual QueryInterface to ChromeUtils.generateQI. r=mccr8 2018-04-23 12:58:34 -07:00
quota Bug 1455674 part 10. Remove nsIDOMElement use from remaining dom/ xpidl files. r=qdot 2018-04-26 23:36:10 -04:00
res
script Bug 1448476 - Cache entry corruption after writing the alternate data. r=honzab 2018-04-25 07:01:00 +03:00
security Bug 1458449 - Allow FTP subresource in FTP documents. r=ckerschb 2018-05-02 13:32:08 +02:00
serviceworkers Bug 1456986 Make ServiceWorker::Inner::PostMessage() use StructuredCloneData. r=baku 2018-05-04 06:38:52 -07:00
smil Bug 1458814: Remove code that is no longer called. r=hiro 2018-05-05 16:31:20 +02:00
storage
svg Backout Bug 149075 - While it is compatible with the SVG specification, all other browsers allow it 2018-04-28 16:09:38 +01:00
system Bug 1456035: Part 4 - Convert callers of XPCOMUtils.generateQI to ChromeUtils.generateQI. r=mccr8 2018-04-22 20:55:06 -07:00
tests Bug 1459362 - Disable WebVR in release on macOS (Backed out changeset 1b24d52edebb) r=smaug 2018-05-04 17:14:39 -07:00
u2f
url Backed out changeset 0c5a4939300c (bug 1454889) for causing frequent Leaks (Bug 1378025). a=backout 2018-05-07 12:06:25 +03:00
vr
webauthn Bug 1459174 - Web Authentication - Use sha2 crate instead of rust-crypto for example/main r=jcj 2018-05-04 14:33:46 +02:00
webbrowserpersist Bug 1447389 - Remove nsIDOMNodeList. r=bz 2018-04-25 23:01:30 +02:00
webidl Backed out changeset 0c5a4939300c (bug 1454889) for causing frequent Leaks (Bug 1378025). a=backout 2018-05-07 12:06:25 +03:00
websocket Bug 1456035: Part 4 - Convert callers of XPCOMUtils.generateQI to ChromeUtils.generateQI. r=mccr8 2018-04-22 20:55:06 -07:00
workers Bug 1458970 Avoid accessing mClientSource when a worker is Terminating in more places. r=baku 2018-05-04 06:35:36 -07:00
worklet
xbl Bug 1457920: Remove StyleSheet::AsServo. r=xidorn 2018-05-02 04:13:21 +02:00
xhr Bug 1457157 P2 Clear a worker's ClientSource when it reaches Terminating. r=baku 2018-05-02 06:29:26 -07:00
xml Bug 1455674 part 20. Get rid of nsIDOMElement. r=qdot 2018-04-26 23:37:34 -04:00
xslt Bug 1455674 part 16. Remove most use of nsIDOMElement in dom. r=qdot 2018-04-26 23:37:34 -04:00
xul Bug 1459497: Refactor the preferred style set stuff in order to move the state away from the loader. r=heycam 2018-05-07 03:55:36 +02:00
jar.mn
moz.build