gecko-dev/dom
Ryan Hunt 76554e50cb Bug 1501196 - Ensure RuntimeService::Shutdown() is always called. r=baku
It's possible for RuntimeService to be created after 'xpcom-shutdown' has fired. In this case, it
will receive 'xpcom-shutdown-threads' and perform Cleanup() but not Shutdown(). This means that
mShuttingDown will not be set to 'true', but mIdleThreadTimer will be destroyed. This can cause
crashes if a NoteIdleThread callback runs after Cleanup(). This has been observed to happen in
xpcshell tests.

I think the easiest way to handle this is to manually call Shutdown() in Cleanup() when we
see that mShuttingDown == false. This means that Shutdown() might be called in GetOrCreateService()
if we fail to create the service, but it looks like the code can handle this.

Differential Revision: https://phabricator.services.mozilla.com/D10288

--HG--
extra : rebase_source : 3c4a9cb76b81c4aef87b6373548e9da8ca64075e
extra : amend_source : d17d7a0e35e8bd9fcfbbd567e387d9af857bfd8a
2018-10-30 11:51:12 -05:00
..
abort Bug 1501662 - Add more .eslintrc.js files for test directories (dom, modules, netwerk and parser). r=mossop 2018-10-24 19:11:17 +00:00
animation Bug 1496619 - part 7: Implement steps(jump-*) functions r=birtles 2018-10-26 18:03:37 +00:00
asmjscache Bug 1501662 - Add more .eslintrc.js files for test directories (dom, modules, netwerk and parser). r=mossop 2018-10-24 19:11:17 +00:00
audiochannel Bug 1496496 - part3 : add log. r=padenot 2018-10-05 19:04:17 +00:00
base Bug 1503078. Simplify the Node event handler macros. r=smaug 2018-10-31 14:19:50 -04:00
battery Bug 1501662 - Add more .eslintrc.js files for test directories (dom, modules, netwerk and parser). r=mossop 2018-10-24 19:11:17 +00:00
bindings Bug 1501124 - Switch BackstagePass to use WebIDLGlobalNameHash, r=bzbarsky 2018-10-25 10:24:36 -04:00
broadcastchannel Bug 1501662 - Add more .eslintrc.js files for test directories (dom, modules, netwerk and parser). r=mossop 2018-10-24 19:11:17 +00:00
browser-element Bug 1501662 - Add more .eslintrc.js files for test directories (dom, modules, netwerk and parser). r=mossop 2018-10-24 19:11:17 +00:00
cache Bug 1486698 - Update Fetch+Stream implementation to throw when the stream is disturbed or locked, r=bz 2018-10-31 18:30:18 +01:00
canvas Bug 1503458 - Remove unused GetParameterIndexed. r=kvark 2018-10-31 02:10:04 +00:00
chrome-webidl Bug 1500791 - remove hardcoded restriction on bools that may be prio-encoded r=hsivonen 2018-10-26 15:00:46 +00:00
clients Bug 1492648 - Move from nsDocShellLoadInfo to nsDocShellLoadState; r=bz, nika 2018-10-29 17:13:29 -07:00
commandhandler Bug 1415980 - make hash keys movable and not copyable; r=erahm 2018-09-20 11:20:36 -04:00
console Bug 1501662 - Add more .eslintrc.js files for test directories (dom, modules, netwerk and parser). r=mossop 2018-10-24 19:11:17 +00:00
credentialmanagement Bug 1486741 - Enable ESLint rule comma-dangle for all of mozilla-central (automatic fixes). r=mossop 2018-10-19 12:55:39 +00:00
crypto Bug 1501662 - Add more .eslintrc.js files for test directories (dom, modules, netwerk and parser). r=mossop 2018-10-24 19:11:17 +00:00
encoding Bug 1501662 - Add more .eslintrc.js files for test directories (dom, modules, netwerk and parser). r=mossop 2018-10-24 19:11:17 +00:00
events Bug 1483552 - Disable Clipboard.readText outside of system/extension code, r=baku 2018-10-26 16:51:51 +00:00
fetch Bug 1486698 - Update Fetch+Stream implementation to throw when the stream is disturbed or locked, r=bz 2018-10-31 18:30:18 +01:00
file Backed out changeset 6babd3b956aa (bug 1502403) for wpt leak at mozilla::dom::FileReader::ReadFileContent 2018-10-30 12:50:37 +02:00
filehandle
filesystem
flex Bug 1498273 Part 4: Add tests of FlexItem clampState. r=dholbert 2018-10-25 00:14:40 +00:00
gamepad
geolocation Bug 1502747 - Remove nsIContentPermissionType.access and all of its supporting code r=snorp,baku 2018-10-30 07:48:55 +00:00
grid
html Bug 329509 - allow dispatching event when element is disabled. r=annevk,smaug 2018-10-31 08:55:33 +00:00
imptests
indexedDB Bug 1501978 - Part 2: Remove the browser.contentblocking.enabled pref from the tests that set it to true needlessly r=baku 2018-10-30 07:47:56 +00:00
interfaces Bug 1502747 - Remove nsIContentPermissionType.access and all of its supporting code r=snorp,baku 2018-10-30 07:48:55 +00:00
ipc Bug 1502747 - Remove nsIContentPermissionType.access and all of its supporting code r=snorp,baku 2018-10-30 07:48:55 +00:00
jsurl Bug 1498510 - Move nsICSPEventListener out of CSP object, r=ckerschb 2018-10-23 08:17:13 +02:00
locales Merge mozilla-inbound to mozilla-central. a=merge 2018-10-30 11:40:57 +02:00
manifest Bug 1499096 - Use ok() with 2 arguments instead of 3 when possible;r=Standard8 2018-10-23 07:13:35 +00:00
mathml Bug 1492894 - part 1 - make the node hierarchy consistently constructed with NodeInfo&&; r=mccr8 2018-09-21 16:45:49 -04:00
media Bug 1503132 delay creation of offline graph and stream that may not be required r=padenot 2018-10-31 00:46:45 +00:00
messagechannel Bug 1499096 - Update tests using ok() to is();r=Standard8 2018-10-23 07:12:23 +00:00
midi Bug 1502747 - Remove nsIContentPermissionType.access and all of its supporting code r=snorp,baku 2018-10-30 07:48:55 +00:00
network
notification Bug 1502747 - Remove nsIContentPermissionType.access and all of its supporting code r=snorp,baku 2018-10-30 07:48:55 +00:00
offline Bug 1490874: Log Principal based Security Errors to the Security pane in the console. r=smaug 2018-09-25 07:25:05 +02:00
payments Bug 1497215 - Refactor the IPC structure for PaymentResponse.details r=baku 2018-10-29 13:56:32 +01:00
performance Bug 1501979 - Make PerformanceObserver report mQueuedEntries to the cycle collector r=mccr8 2018-10-26 11:03:44 +01:00
permission
plugins Bug 1499587 - Fix win64 clang-cl -Wwritable-strings. r=ted 2018-10-25 14:16:27 +00:00
power Bug 1492736 - Part 1. Add nsIWakeLock to manage wake lock from devtools. r=baku 2018-09-28 14:05:07 +09:00
presentation Bug 1499096 - Update tests using ok() to is();r=Standard8 2018-10-23 07:12:23 +00:00
prio Bug 1501784 - throw if the limit of booleans Prio can encode in one batch is exceeded r=hsivonen 2018-10-29 10:31:26 +00:00
promise Bug 1491403 - Part 3: Propagate the user input event handling state to the promise resolve handlers in case the promise creator requests it r=smaug,arai,baku 2018-10-09 21:42:22 +00:00
push Bug 1502747 - Remove nsIContentPermissionType.access and all of its supporting code r=snorp,baku 2018-10-30 07:48:55 +00:00
quota Bug 1502747 - Remove nsIContentPermissionType.access and all of its supporting code r=snorp,baku 2018-10-30 07:48:55 +00:00
res
script Bug 1498510 - Move nsICSPEventListener out of CSP object, r=ckerschb 2018-10-23 08:17:13 +02:00
security Bug 1503575 - Remove unused mAppStatusCache from nsCSPService. r=baku 2018-10-31 15:35:27 +01:00
serviceworkers Bug 1486698 - Update Fetch+Stream implementation to throw when the stream is disturbed or locked, r=bz 2018-10-31 18:30:18 +01:00
simpledb
smil Bug 1499096 - Update tests using ok() to is();r=Standard8 2018-10-23 07:12:23 +00:00
storage Bug 1415980 - make hash keys movable and not copyable; r=erahm 2018-09-20 11:20:36 -04:00
svg Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-10-30 07:32:36 +02:00
system Bug 1388134 - Move some OS.Constants.Path members to lazy init r=baku 2018-10-17 17:36:04 +00:00
tests Bug 1501978 - Part 2: Remove the browser.contentblocking.enabled pref from the tests that set it to true needlessly r=baku 2018-10-30 07:47:56 +00:00
u2f Bug 1479787 - use NSS mozpkix in Firefox, r=mt,keeler,glandium 2018-10-02 14:59:34 +02:00
url Bug 1500962 - Test for URL.toJSON(), r=qdot 2018-10-30 07:54:57 +01:00
vr Bug 1501869 - Part 2: Stop calling VR tasks when they are at background. r=kip 2018-10-28 22:49:15 +00:00
webauthn Backed out 3 changesets (bug 1468761) for telemetry related xpcshell failures. CLOSED TREE 2018-10-22 19:28:56 +03:00
webbrowserpersist
webgpu
webidl Bug 1503551 - Remove window.sidebar, r=smaug 2018-10-31 18:30:18 +01:00
websocket
workers Bug 1501196 - Ensure RuntimeService::Shutdown() is always called. r=baku 2018-10-30 11:51:12 -05:00
worklet Bug 1503228 - Move PaintWorkletGlobalScope from dom/worklet to layout/style. r=karlt 2018-10-31 03:47:04 +00:00
xbl Bug 1502875 - Remove AddElementToDocumentPre and RemoveSubtreeFromDocument. r=smaug 2018-10-29 22:43:29 +01:00
xhr Backed out 10 changesets (bug 1501044, bug 1472212) for fetch-destination.https.html perma failure CLOSED TREE 2018-10-30 23:31:10 +02:00
xml Bug 1494745 part 4 - Make Loader::AddObserver void since it's infallible. r=bz 2018-10-14 18:12:23 +02:00
xslt Bug 1498586 - Add clang-format off to avoid the reformatting of the data structures r=Ehsan 2018-10-12 20:48:24 +00:00
xul Bug 1502875 - Remove AddElementToDocumentPre and RemoveSubtreeFromDocument. r=smaug 2018-10-29 22:43:29 +01:00
jar.mn
moz.build