gecko/dom
Alexandre Lissy 1c23ba77af Bug 1082001 - Cleanup settings lock from parent itself. r=bent
From bug 1065128 SettingsManager has been changed to listen the
dom-window-destroyed event for its cleanup. However, when running Gaia
in Mulet, a race condition is exposed. For B2G, when loading a page,
about:blank is first used. This means that window destroyed events will
be triggered. However, from the dom-window-destroyed event we cannot
distinguish whether this is about:blank or a legit application being
closed. SettingsManager gets initialized (i.e., init() called) when the
application makes use of navigator.mozSettings. So the chain of event is
that we have a SettingsManager living because System app did some
request. At this time, about:blank is being unloaded and triggers a
dom-window-destroyed event. This makes SettingsManager doing its
cleanup, especially freeing the window reference. Then in the meantime,
we have the navigator.mozSettings use that is progressing. At some
point, SettingsManager has no more window to send messages to, and Gaia
is not able to even start.

SettingsRequestManager lives on the parent process and SettingsManager
lives on the child side. Part of the cleanup performed by
SettingsManager was to ensure pending locks on the parent process would
be forced to finalize to make sure those are being properly committed.
We move this cleanup to SettingsRequestManager and we augment the lock
informations with the proper inner window id. This way we can track
which lock is attached to which inner window when the lock gets created.
And thus we can listen on inner-window-destroyed from
SettingsRequestManager to be able to force finalize on any pending lock.
Impacted code path are those were we are not running out of process.
When we are running out of process, SettingsRequestManager already
listens on the child-process-shutdown event to perform the lock
finalization.
2014-10-29 02:36:00 -04:00
..
activities Bug 1066735 - Remove root b2g and android specific xpcshell manifests, r=chmanchester 2014-10-07 18:18:28 -04:00
alarm
animation Bug 1078122 part 9 - Move queuing of CSS animation events to CSSAnimationPlayer; r=dholbert 2014-10-20 13:55:47 +09:00
apps Bug 1083454 - Aborting marionette tests is causing bootup failure r=gwagner 2014-10-27 17:40:13 -07:00
archivereader Bug 1047483 - Fix Windows non-unified build bustage again. 2014-10-08 12:39:25 -07:00
asmjscache
audiochannel
base Merge mozilla-central to b2g-inbound on a CLOSED TREE 2014-10-29 13:42:47 +01:00
battery
bindings Merge mozilla-central to fx-team 2014-10-28 16:15:00 +01:00
bluetooth Bug 1084342: Copy received ancillary data into |SocketMessageWatcher|, r=shawnjohnjr 2014-10-28 10:34:29 +01:00
bluetooth2 Bug 1084342: Copy received ancillary data into |SocketMessageWatcher|, r=shawnjohnjr 2014-10-28 10:34:29 +01:00
browser-element Bug 946065 - Part 12: Move content/base/ to dom/ and flatten subdirectories. r=peterv 2014-10-25 20:25:22 +03:00
camera Bug 1068393 - assume camera permission for certified apps (saves ~100ms on Flame), r=fabrice 2014-10-28 11:54:38 -04:00
canvas Back out 3 changesets (bug 1087560) again, for Android 2.3 crashes and b2g failures 2014-10-28 23:07:38 -07:00
cellbroadcast Bug 1084369 - Build dom/cellbroadcast in unified mode; r=gps 2014-10-22 08:28:26 -04:00
contacts Bug 1072773 - Make sure ContactDB remove and save happen within a single transaction. r=gwagner 2014-10-22 20:11:02 -02:00
crypto Bug 1034854 - Add support for ECDSA to WebCrypto API r=ttaubert,dkeeler r=bz 2014-10-13 23:19:00 +02:00
datastore Bug 1083347 - Remove androidx86.json. r=gbrown 2014-10-22 11:51:00 -04:00
devicestorage Bug 946065 - Part 12: Move content/base/ to dom/ and flatten subdirectories. r=peterv 2014-10-25 20:25:22 +03:00
downloads
encoding Bug 1033126 - Convert xpcshell tests to use mozlog.structured format for logging.;r=ted 2014-10-22 15:53:42 -04:00
engineeringmode
events Bug 946065 - Part 12: Move content/base/ to dom/ and flatten subdirectories. r=peterv 2014-10-25 20:25:22 +03:00
fetch Bug 1039846 - Fix morebustage. r=bustage CLOSED TREE 2014-10-20 13:59:01 -07:00
filehandle Backed out 7 changesets (bug 1047483, bug 1079301, bug 1079335) for webplatform test failures. 2014-10-07 13:16:11 -04:00
filesystem Backed out changeset 6f411275b7ec (bug 1068740) for bustage on a CLOSED TREE 2014-10-15 16:50:45 +02:00
fmradio Bug 1061288 - Make it harder for ArrayBuffer data pointers to be held across invalidations. r=smaug,terrence,jdm,roc,khuey 2014-10-07 10:44:07 -07:00
gamepad
geolocation Backed out changeset 9742b31c634a (bug 1073419) for bustage 2014-10-27 16:56:40 +01:00
html Backed out changeset 2bb46b19c290 (bug 993137) for making test_input_color_picker_popup.html flakier than it was to start. 2014-10-28 15:15:29 -04:00
icc Bug 1087131 - Part 2: Add Test Cases for STK Display Text in various Coding Schemes. r=echen 2014-10-22 18:29:12 +08:00
identity
imptests Bug 858918 part 2 - Don't insert block content outside of inline editing hosts; r=ehsan 2014-10-22 15:45:30 +03:00
indexedDB Bug 1068787 - Quota usage not decreased when removing unsuccessfully copied files; r=bent 2014-10-28 20:06:54 +01:00
inputmethod Bug 1079728 - Ensure that the blur message is sent after removing focus. r=yxl 2014-10-21 06:57:00 -04:00
interfaces Backed out 6 changesets (bug 989198, bug 1082963) for causing bug 1083231. 2014-10-16 12:57:18 -04:00
ipc Bug 1082579 - Introduce PPrinting.ipdl and proxies for opening printing UI. r=blassey. 2014-10-28 11:59:08 -04:00
json Bug 946065 - Part 12: Move content/base/ to dom/ and flatten subdirectories. r=peterv 2014-10-25 20:25:22 +03:00
jsurl Bug 1067471 - Add newChannel2 to nsIProtocolHandler that takes a loadinfo as an argument (r=sicking) 2014-10-22 17:16:57 -07:00
locales Bug 1074522 - Implement ellipse()/circle() parsing and style computing. r=dbaron 2014-10-15 00:03:00 +02:00
mathml Bug 946065 - Part 12: Move content/base/ to dom/ and flatten subdirectories. r=peterv 2014-10-25 20:25:22 +03:00
media Merge b2g-inbound to m-c. a=merge 2014-10-28 16:22:39 -04:00
messages Bug 1081143 - datastore-update-* events should be dispatched as broadcast messages, r=fabrice 2014-10-20 20:47:12 +01:00
mobileconnection Bug 1052842 - (follow-up) Use enums for NetworkSelectionMode in nsIGonkMobileConnectionService.idl. r=hsinyi 2014-10-27 10:10:19 +08:00
mobileid
mobilemessage Bug 1019191 part 15. Remove now-dead DOMCI_DATA bits. r=peterv 2014-10-22 11:40:49 -04:00
network Bug 1033126 - Convert xpcshell tests to use mozlog.structured format for logging.;r=ted 2014-10-22 15:53:42 -04:00
nfc Bug 1087861 - Remove initialize() from MozNFCTag and MozNFCPeer. r=dlee 2014-10-23 12:19:22 +08:00
notification Bug 946065 - Part 12: Move content/base/ to dom/ and flatten subdirectories. r=peterv 2014-10-25 20:25:22 +03:00
offline Bug 946065 - Part 12: Move content/base/ to dom/ and flatten subdirectories. r=peterv 2014-10-25 20:25:22 +03:00
payment Bug 1066735 - Remove root b2g and android specific xpcshell manifests, r=chmanchester 2014-10-07 18:18:28 -04:00
permission Bug 1066735 - Remove root b2g and android specific xpcshell manifests, r=chmanchester 2014-10-07 18:18:28 -04:00
phonenumberutils
plugins Bug 946065 - Part 12: Move content/base/ to dom/ and flatten subdirectories. r=peterv 2014-10-25 20:25:22 +03:00
power
promise Bug 1013625 - Process Promise resolution runnables outside of main event queue. r=bz,khuey 2014-10-28 12:08:19 +00:00
push
quota Bug 1068787 - Quota usage not decreased when removing unsuccessfully copied files; r=bent 2014-10-28 20:06:54 +01:00
res
resourcestats
settings Bug 1082001 - Cleanup settings lock from parent itself. r=bent 2014-10-29 02:36:00 -04:00
smil Bug 946065 - Part 12: Move content/base/ to dom/ and flatten subdirectories. r=peterv 2014-10-25 20:25:22 +03:00
speakermanager
storage
svg Bug 946065 - Part 12: Move content/base/ to dom/ and flatten subdirectories. r=peterv 2014-10-25 20:25:22 +03:00
system Bug 1072069 - Part 2: Test cases to verify CPHS_INFO and CPHS_MBN and the recovery of CPHS_MBN when failure from readMBDN. r=echen 2014-10-14 19:57:17 +08:00
telephony Bug 1089534 - [B2G][Telephony] should GetCallFromEverywhere in Telephony::NotifyError. r=aknow 2014-10-27 17:06:40 +08:00
tests Merge mozilla-central to b2g-inbound on a CLOSED TREE 2014-10-29 13:42:47 +01:00
tethering
time
tv
voicemail Bug 1085765 - Part 2: Add test case to verify MWI without text body. r=htsai 2014-10-21 17:25:32 +08:00
wappush
webidl Merge mozilla-central to b2g-inbound on a CLOSED TREE 2014-10-29 13:42:47 +01:00
wifi Bug 1088490 - Default network mode to ESS. r=vchang 2014-10-27 16:23:43 +08:00
workers Bug 1013625 - Process Promise resolution runnables outside of main event queue. r=bz,khuey 2014-10-28 12:08:19 +00:00
xbl Bug 946065 - Part 12: Move content/base/ to dom/ and flatten subdirectories. r=peterv 2014-10-25 20:25:22 +03:00
xml Bug 946065 - Part 12: Move content/base/ to dom/ and flatten subdirectories. r=peterv 2014-10-25 20:25:22 +03:00
xslt Bug 946065 - Part 12: Move content/base/ to dom/ and flatten subdirectories. r=peterv 2014-10-25 20:25:22 +03:00
xul Bug 946065 - Part 12: Move content/base/ to dom/ and flatten subdirectories. r=peterv 2014-10-25 20:25:22 +03:00
jar.mn
moz.build Bug 946065 - Part 11: Move content/html/ to dom/ and flatten subdirectories. r=peterv 2014-10-25 20:24:55 +03:00