gecko-dev/dom
Bryce Van Dyk 51b7a05529 Bug 1298027 - Shut down CDMs when a containing document becomes inactive. r=cpearce
The previous changeset against this bug relaxed the conditions under which the
CDM and associated objects were shut down. This was to address moving a tab to a
new window breaking EME videos. However, this had the unwanted side effect of
not shutting down those objects early enough when pages are closed.

This changeset introduces a new check to see if the containing document is
currently active, if not we shutdown the CDM. This means CDMs are shutdown on
time, while retaining the desired behaviour that CDMs should not be shut down on
moving tabs to new windows. Shutdowns previously happened because we shut down
if a page hide happened, which took place during a reparent.

MozReview-Commit-ID: K5CD3ej43Y0

--HG--
extra : rebase_source : 28fdc277a89c371ad204d5e545779a5950063494
2016-11-14 15:02:48 +13:00
..
animation Merge m-c to m-i 2016-11-05 14:13:18 -07:00
apps Bug 1315798 - Remove FMRADIO support from HAL. r=mds 2016-11-07 14:09:57 -08:00
archivereader Bug 1310297 - Remove test annotations using b2g, mulet or gonk: dom/archivereader. r=RyanVM 2016-11-05 11:29:14 +01:00
asmjscache
audiochannel Bug 1308153 - part1 : notify tabbrowser when the tab was blocked. r=baku,jaws 2016-11-11 10:42:35 +08:00
base Bug 1264792 - Update request'referrer policy when redirect.r=bkelly,dragana. 2016-11-14 15:15:32 +08:00
battery Bug 1313580 - Part 3: Remove web content access to Battery API. r=baku 2016-10-28 18:45:36 -07:00
bindings Bug 1316619. Add a [NeedsCallerType] WebIDL annotation. r=bholley 2016-11-11 16:09:05 -05:00
broadcastchannel Bug 1310297 - Remove test annotations using b2g, mulet or gonk: dom/broadcastchannel. r=RyanVM 2016-11-05 11:29:15 +01:00
browser-element Backed out 6 changesets (bug 1301340, bug 1303113) for landing too close to a merge and causing leaks and test failures 2016-11-09 19:11:12 -08:00
cache Bug 1264792 - Update request'referrer policy when redirect.r=bkelly,dragana. 2016-11-14 15:15:32 +08:00
canvas Backed out changeset bb4879b87c17 (bug 1313884) because bad things happen @mozilla::dom::CanvasRenderingContext2D::DrawImage all the time 2016-11-10 23:28:02 -08:00
console Bug 1290021 - Implement a prototype version of Houdini "Worklets Level 1" spec - part 3 - Console API in worklet, r=smaug 2016-11-06 09:54:52 +01:00
crypto Bug 1310297 - Remove test annotations using b2g, mulet or gonk: dom/crypto. r=RyanVM 2016-11-05 11:29:15 +01:00
devicestorage Bug 1310297 - Remove test annotations using b2g, mulet or gonk: dom/devicestorage. r=RyanVM 2016-11-05 11:29:15 +01:00
downloads Bug 1261019 - Part 3: Remove Navigator.mozApps and code depending on it; r=myk,jryans,fabrice,mcmanus,peterv 2016-10-13 13:18:41 -04:00
encoding Bug 1310297 - Remove test annotations using b2g, mulet or gonk: dom/encoding. r=RyanVM 2016-11-05 11:29:15 +01:00
events Bug 1299483 - CSP: Implement 'strict-dynamic', enforcement changes. r=dveditz,freddyb 2016-11-08 12:55:23 +01:00
fetch Bug 1264792 - Update request'referrer policy when redirect.r=bkelly,dragana. 2016-11-14 15:15:32 +08:00
filehandle
filesystem Bug 1303518 - Remove the chrome only constructor for File, r=qdot 2016-11-11 18:56:44 +01:00
flyweb Bug 1264178 - Part 1: Expose URL fragment to request but not response. r=bkelly 2016-11-07 10:16:34 +08:00
gamepad Bug 1310904 - Part 1: Solving non MOZ_GAMEPAD case in GamepadManager; r=lenzak800,qdot 2016-11-04 15:43:55 +08:00
geolocation Bug 1300474 - Replace nsAutoPtr usages in geolocation with UniquePtr. r=jdm 2016-10-24 14:40:18 +08:00
grid Bug 1308208 - remove redundant null check from GridLines::SetLineInfo. r=baku 2016-10-06 19:05:46 +03:00
html Bug 1298027 - Shut down CDMs when a containing document becomes inactive. r=cpearce 2016-11-14 15:02:48 +13:00
imptests Bug 1310297 - Remove test annotations using b2g, mulet or gonk: dom/imptests. r=RyanVM 2016-09-29 11:22:57 +02:00
indexedDB Bug 1303518 - Remove the chrome only constructor for File, r=qdot 2016-11-11 18:56:44 +01:00
inputmethod Bug 1310297 - Remove test annotations using b2g, mulet or gonk: dom/inputmethod. r=RyanVM 2016-11-05 11:29:16 +01:00
interfaces Bug 1299483 - CSP: Implement 'strict-dynamic', enforcement changes. r=dveditz,freddyb 2016-11-08 12:55:23 +01:00
ipc Backed out changeset 43835f5fa2b2 (bug 1314707) for crashes @ mozilla::a11y::ProxyDestroyed 2016-11-09 19:33:25 -08:00
json Merge m-c to m-i 2016-11-05 14:13:18 -07:00
jsurl Bug 1299483 - CSP: Implement 'strict-dynamic', enforcement changes. r=dveditz,freddyb 2016-11-08 12:55:23 +01:00
locales Bug 1299483 - CSP: Implement 'strict-dynamic', parser changes. r=dveditz,freddyb 2016-11-08 13:08:33 +01:00
manifest Bug 1295456 - Update Gecko tests for css-color-4 color function changes. r=dholbert 2016-10-16 03:15:36 +08:00
mathml
media Bug 1306314 - Allow Widevine CDM process to contain multiple CDM instances and to have persistent storage. r=gerald 2016-11-14 11:43:45 +13:00
messagechannel Bug 1313006 - Remove of MessageEvent.setSource, r=qdot 2016-10-26 22:00:43 +02:00
network Bug 1310297 - Remove test annotations using b2g, mulet or gonk: dom/network. r=RyanVM 2016-11-05 11:29:17 +01:00
notification Bug 1310297 - Remove test annotations using b2g, mulet or gonk: dom/notification. r=RyanVM 2016-11-05 11:29:17 +01:00
offline Bug 1303167 P6 Rename new suspend and freeze methods to final names. r=smaug 2016-10-26 10:20:16 -07:00
performance
permission Bug 1315927 - ignore firstPartyDomain and userContextId in PermissionStatus. r=baku 2016-11-09 18:04:31 +08:00
plugins Merge mozilla-central to mozilla-inbound 2016-11-11 16:43:07 +01:00
power Bug 1310297 - Remove test annotations using b2g, mulet or gonk: dom/power. r=RyanVM 2016-11-05 11:29:17 +01:00
presentation Bug 1315867 - Disable test_presentation_sandboxed_presentation.html until its flaky use of setTimeout can be repaired 2016-11-07 20:32:24 -08:00
promise Bug 1316447 - Baldr: add WebAssembly.instantiate (r=bbouvier) 2016-11-10 10:19:14 -06:00
push Backed out changeset 829e818cd4c3 (bug 1263304) 2016-11-11 10:47:37 +01:00
quota Bug 1301333 - Add mark-initialisation-func annotation to functions Init and DoInitOnMainThread from GetUsageOp. r=baku 2016-10-18 12:57:57 +03:00
res
secureelement Bug 1261019 - Part 3: Remove Navigator.mozApps and code depending on it; r=myk,jryans,fabrice,mcmanus,peterv 2016-10-13 13:18:41 -04:00
security Bug 1313595 Reduce timeout for HSTS priming channels r=mayhemer 2016-11-08 17:49:39 +09:00
settings
smil Bug 1272549 - Part 9: Compute distance for mismatched transform lists. r=birtles 2016-10-05 15:36:16 +08:00
speakermanager
storage Bug 792652 - Get rid of CloneProtocol (r=dvander) 2016-11-08 15:22:33 -08:00
svg bug 1306591, add secondary event queue to let high priority messages to be processed sooner, r=billm 2016-11-08 14:05:45 +02:00
system Bug 1315798 - Remove FMRADIO support from HAL. r=mds 2016-11-07 14:09:57 -08:00
tests Merge inbound to central, a=merge 2016-11-11 13:56:45 -08:00
tethering
time
u2f Bug 1308868 - Add ignore-initialization-check annotation to mErrorCode from U2FStatus. r=baku 2016-10-17 16:10:17 +03:00
url Bug 1310297 - Remove test annotations using b2g, mulet or gonk: dom/url. r=RyanVM 2016-11-05 11:29:18 +01:00
vr Bug 1299932 - Part 1: Implement gamepadPose attribute in Gamepad API; r=kip,qdot 2016-10-24 18:04:41 +08:00
webidl Bug 1264792 - Update request'referrer policy when redirect.r=bkelly,dragana. 2016-11-14 15:15:32 +08:00
wifi
workers Bug 1264792 - Update request'referrer policy when redirect.r=bkelly,dragana. 2016-11-14 15:15:32 +08:00
worklet Bug 1290021 - Implement a prototype version of Houdini "Worklets Level 1" spec - part 6 - assertions, r=smaug 2016-11-06 09:56:03 +01:00
xbl Bug 1310297 - Remove test annotations using b2g, mulet or gonk: dom/xbl. r=RyanVM 2016-11-05 11:29:18 +01:00
xhr Bug 1264792 - Update request'referrer policy when redirect.r=bkelly,dragana. 2016-11-14 15:15:32 +08:00
xml Bug 1310297 - Remove test annotations using b2g, mulet or gonk: dom/xml. r=RyanVM 2016-11-05 11:29:18 +01:00
xslt Bug 1316432 - Fix nsCOMPtr constructions&assignments from 0 - r=froydnj 2016-11-10 14:11:27 +11:00
xul Bug 1316432 - Fix nsCOMPtr constructions&assignments from 0 - r=froydnj 2016-11-10 14:11:27 +11:00
jar.mn
moz.build Bug 1312800 - Remove dom/inputport. r=jst 2016-11-10 15:39:45 -08:00