2006-05-19 13:31:57 +04:00
|
|
|
/* ***** BEGIN LICENSE BLOCK *****
|
|
|
|
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
|
|
|
|
*
|
|
|
|
* The contents of this file are subject to the Mozilla Public License Version
|
|
|
|
* 1.1 (the "License"); you may not use this file except in compliance with
|
|
|
|
* the License. You may obtain a copy of the License at
|
|
|
|
* http://www.mozilla.org/MPL/
|
|
|
|
*
|
|
|
|
* Software distributed under the License is distributed on an "AS IS" basis,
|
|
|
|
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
|
|
|
|
* for the specific language governing rights and limitations under the
|
|
|
|
* License.
|
|
|
|
*
|
|
|
|
* The Original Code is the Mozilla platform.
|
|
|
|
*
|
|
|
|
* The Initial Developer of the Original Code is
|
|
|
|
* Benjamin Smedberg <benjamin@smedbergs.us>.
|
|
|
|
*
|
|
|
|
* Portions created by the Initial Developer are Copyright (C) 2006
|
|
|
|
* the Mozilla Foundation <http://www.mozilla.org/>. All Rights Reserved.
|
|
|
|
*
|
|
|
|
* Contributor(s):
|
|
|
|
*
|
|
|
|
* Alternatively, the contents of this file may be used under the terms of
|
|
|
|
* either the GNU General Public License Version 2 or later (the "GPL"), or
|
|
|
|
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
|
|
|
|
* in which case the provisions of the GPL or the LGPL are applicable instead
|
|
|
|
* of those above. If you wish to allow use of your version of this file only
|
|
|
|
* under the terms of either the GPL or the LGPL, and not to allow others to
|
|
|
|
* use your version of this file under the terms of the MPL, indicate your
|
|
|
|
* decision by deleting the provisions above and replace them with the notice
|
|
|
|
* and other provisions required by the GPL or the LGPL. If you do not delete
|
|
|
|
* the provisions above, a recipient may use your version of this file under
|
|
|
|
* the terms of any one of the MPL, the GPL or the LGPL.
|
|
|
|
*
|
|
|
|
* ***** END LICENSE BLOCK ***** */
|
|
|
|
|
|
|
|
#include "nsLayoutStatics.h"
|
|
|
|
#include "nscore.h"
|
|
|
|
|
|
|
|
#include "nsAttrValue.h"
|
|
|
|
#include "nsAutoCopyListener.h"
|
|
|
|
#include "nsColorNames.h"
|
|
|
|
#include "nsComputedDOMStyle.h"
|
|
|
|
#include "nsContentDLF.h"
|
|
|
|
#include "nsContentUtils.h"
|
|
|
|
#include "nsCSSAnonBoxes.h"
|
|
|
|
#include "nsCSSFrameConstructor.h"
|
|
|
|
#include "nsCSSKeywords.h"
|
2010-03-02 23:59:32 +03:00
|
|
|
#include "nsCSSParser.h"
|
2006-05-19 13:31:57 +04:00
|
|
|
#include "nsCSSProps.h"
|
|
|
|
#include "nsCSSPseudoClasses.h"
|
|
|
|
#include "nsCSSPseudoElements.h"
|
2007-03-14 22:48:51 +03:00
|
|
|
#include "nsCSSRendering.h"
|
2006-05-19 13:31:57 +04:00
|
|
|
#include "nsCSSScanner.h"
|
|
|
|
#include "nsDOMAttribute.h"
|
|
|
|
#include "nsDOMClassInfo.h"
|
|
|
|
#include "nsEventListenerManager.h"
|
|
|
|
#include "nsFrame.h"
|
|
|
|
#include "nsGenericElement.h" // for nsDOMEventRTTearoff
|
|
|
|
#include "nsGlobalWindow.h"
|
2007-01-30 03:06:41 +03:00
|
|
|
#include "nsGkAtoms.h"
|
2006-05-19 13:31:57 +04:00
|
|
|
#include "nsImageFrame.h"
|
|
|
|
#include "nsLayoutStylesheetCache.h"
|
|
|
|
#include "nsNodeInfo.h"
|
|
|
|
#include "nsRange.h"
|
2009-09-10 05:22:03 +04:00
|
|
|
#include "nsRegion.h"
|
2006-05-19 13:31:57 +04:00
|
|
|
#include "nsRepeatService.h"
|
2009-01-05 03:39:54 +03:00
|
|
|
#include "nsFloatManager.h"
|
2006-05-19 13:31:57 +04:00
|
|
|
#include "nsSprocketLayout.h"
|
|
|
|
#include "nsStackLayout.h"
|
|
|
|
#include "nsStyleSet.h"
|
|
|
|
#include "nsTextControlFrame.h"
|
|
|
|
#include "nsXBLWindowKeyHandler.h"
|
2006-12-22 20:22:18 +03:00
|
|
|
#include "txMozillaXSLTProcessor.h"
|
2006-09-16 01:28:48 +04:00
|
|
|
#include "nsDOMStorage.h"
|
2007-02-13 19:23:19 +03:00
|
|
|
#include "nsCellMap.h"
|
2007-05-10 02:02:29 +04:00
|
|
|
#include "nsTextFrameTextRunCache.h"
|
2007-05-11 00:21:12 +04:00
|
|
|
#include "nsCCUncollectableMarker.h"
|
2007-07-03 03:36:59 +04:00
|
|
|
#include "nsTextFragment.h"
|
2007-11-19 23:08:20 +03:00
|
|
|
#include "nsCSSRuleProcessor.h"
|
2008-01-30 09:35:33 +03:00
|
|
|
#include "nsXMLHttpRequest.h"
|
2010-06-17 22:34:24 +04:00
|
|
|
#include "nsWebSocket.h"
|
2008-08-17 05:25:01 +04:00
|
|
|
#include "nsDOMThreadService.h"
|
2008-11-08 02:00:26 +03:00
|
|
|
#include "nsHTMLDNSPrefetch.h"
|
2009-06-29 02:44:22 +04:00
|
|
|
#include "nsHtml5Module.h"
|
2009-05-21 03:07:18 +04:00
|
|
|
#include "nsCrossSiteListenerProxy.h"
|
Bug 178324, refactor focus by moving all focus handling into one place and simplifying it, add many tests, fixes many other bugs too numerous to mention in this small checkin comment, r=josh,smichaud,ere,dbaron,marco,neil,gavin,smaug,sr=smaug (CLOSED TREE)
2009-06-10 22:00:39 +04:00
|
|
|
#include "nsFocusManager.h"
|
2009-07-28 16:51:09 +04:00
|
|
|
#include "nsFrameList.h"
|
2009-08-09 02:00:26 +04:00
|
|
|
#include "nsListControlFrame.h"
|
2010-08-27 19:49:06 +04:00
|
|
|
#include "nsHTMLInputElement.h"
|
2010-06-18 13:21:13 +04:00
|
|
|
#ifdef MOZ_SVG
|
|
|
|
#include "nsSVGUtils.h"
|
|
|
|
#endif
|
2006-05-19 13:31:57 +04:00
|
|
|
|
|
|
|
#ifdef MOZ_XUL
|
2007-07-24 04:04:36 +04:00
|
|
|
#include "nsXULPopupManager.h"
|
2006-05-19 13:31:57 +04:00
|
|
|
#include "nsXULContentUtils.h"
|
|
|
|
#include "nsXULElement.h"
|
2007-03-12 08:53:33 +03:00
|
|
|
#include "nsXULPrototypeCache.h"
|
2007-04-13 00:59:01 +04:00
|
|
|
#include "nsXULTooltipListener.h"
|
2007-07-18 09:41:40 +04:00
|
|
|
|
|
|
|
#include "inDOMView.h"
|
|
|
|
#endif
|
2006-05-19 13:31:57 +04:00
|
|
|
|
|
|
|
#ifdef MOZ_MATHML
|
|
|
|
#include "nsMathMLAtoms.h"
|
|
|
|
#include "nsMathMLOperators.h"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef MOZ_SVG
|
2006-09-11 19:26:19 +04:00
|
|
|
PRBool NS_SVGEnabled();
|
2006-05-19 13:31:57 +04:00
|
|
|
#endif
|
|
|
|
|
2007-02-24 23:07:06 +03:00
|
|
|
#ifndef MOZILLA_PLAINTEXT_EDITOR_ONLY
|
|
|
|
#include "nsHTMLEditor.h"
|
|
|
|
#include "nsTextServicesDocument.h"
|
|
|
|
#endif
|
|
|
|
|
2008-07-09 12:22:20 +04:00
|
|
|
#ifdef MOZ_MEDIA
|
2008-10-19 11:39:21 +04:00
|
|
|
#include "nsMediaDecoder.h"
|
2008-10-30 08:20:08 +03:00
|
|
|
#include "nsHTMLMediaElement.h"
|
2008-07-09 12:22:20 +04:00
|
|
|
#endif
|
|
|
|
|
2008-11-06 23:53:20 +03:00
|
|
|
#ifdef MOZ_SYDNEYAUDIO
|
2008-07-30 10:50:14 +04:00
|
|
|
#include "nsAudioStream.h"
|
|
|
|
#endif
|
|
|
|
|
2006-05-19 13:31:57 +04:00
|
|
|
#include "nsError.h"
|
|
|
|
|
2008-02-20 22:00:10 +03:00
|
|
|
#include "nsCycleCollector.h"
|
2008-09-11 17:20:56 +04:00
|
|
|
#include "nsJSEnvironment.h"
|
2010-04-27 13:57:32 +04:00
|
|
|
#include "nsContentSink.h"
|
2010-08-10 21:18:26 +04:00
|
|
|
#include "nsFrameMessageManager.h"
|
2008-02-20 22:00:10 +03:00
|
|
|
|
2009-06-16 13:15:46 +04:00
|
|
|
extern void NS_ShutdownChainItemPool();
|
|
|
|
|
2010-04-19 19:41:39 +04:00
|
|
|
nsrefcnt nsLayoutStatics::sLayoutStaticRefcnt = 0;
|
2006-05-19 13:31:57 +04:00
|
|
|
|
|
|
|
nsresult
|
|
|
|
nsLayoutStatics::Initialize()
|
|
|
|
{
|
|
|
|
NS_ASSERTION(sLayoutStaticRefcnt == 0,
|
|
|
|
"nsLayoutStatics isn't zero!");
|
|
|
|
|
|
|
|
sLayoutStaticRefcnt = 1;
|
|
|
|
NS_LOG_ADDREF(&sLayoutStaticRefcnt, sLayoutStaticRefcnt,
|
2006-07-21 01:32:22 +04:00
|
|
|
"nsLayoutStatics", 1);
|
2006-05-19 13:31:57 +04:00
|
|
|
|
|
|
|
nsresult rv;
|
|
|
|
|
2007-04-02 21:17:36 +04:00
|
|
|
// Register all of our atoms once
|
|
|
|
nsCSSAnonBoxes::AddRefAtoms();
|
|
|
|
nsCSSPseudoClasses::AddRefAtoms();
|
|
|
|
nsCSSPseudoElements::AddRefAtoms();
|
|
|
|
nsCSSKeywords::AddRefTable();
|
|
|
|
nsCSSProps::AddRefTable();
|
|
|
|
nsColorNames::AddRefTable();
|
|
|
|
nsGkAtoms::AddRefAtoms();
|
|
|
|
|
2008-09-11 17:20:56 +04:00
|
|
|
nsJSRuntime::Startup();
|
2009-09-10 05:22:03 +04:00
|
|
|
rv = nsRegion::InitStatic();
|
|
|
|
if (NS_FAILED(rv)) {
|
|
|
|
NS_ERROR("Could not initialize nsRegion");
|
|
|
|
return rv;
|
|
|
|
}
|
|
|
|
|
2006-05-19 13:31:57 +04:00
|
|
|
rv = nsContentUtils::Init();
|
|
|
|
if (NS_FAILED(rv)) {
|
|
|
|
NS_ERROR("Could not initialize nsContentUtils");
|
|
|
|
return rv;
|
|
|
|
}
|
|
|
|
|
|
|
|
rv = nsAttrValue::Init();
|
|
|
|
if (NS_FAILED(rv)) {
|
|
|
|
NS_ERROR("Could not initialize nsAttrValue");
|
|
|
|
return rv;
|
|
|
|
}
|
|
|
|
|
|
|
|
rv = nsTextFragment::Init();
|
|
|
|
if (NS_FAILED(rv)) {
|
|
|
|
NS_ERROR("Could not initialize nsTextFragment");
|
|
|
|
return rv;
|
|
|
|
}
|
|
|
|
|
2007-02-13 19:23:19 +03:00
|
|
|
rv = nsCellMap::Init();
|
|
|
|
if (NS_FAILED(rv)) {
|
|
|
|
NS_ERROR("Could not initialize nsCellMap");
|
|
|
|
return rv;
|
|
|
|
}
|
|
|
|
|
2007-03-14 22:48:51 +03:00
|
|
|
rv = nsCSSRendering::Init();
|
|
|
|
if (NS_FAILED(rv)) {
|
|
|
|
NS_ERROR("Could not initialize nsCSSRendering");
|
|
|
|
return rv;
|
|
|
|
}
|
|
|
|
|
2007-05-10 02:02:29 +04:00
|
|
|
rv = nsTextFrameTextRunCache::Init();
|
|
|
|
if (NS_FAILED(rv)) {
|
|
|
|
NS_ERROR("Could not initialize textframe textrun cache");
|
|
|
|
return rv;
|
|
|
|
}
|
|
|
|
|
2008-11-08 02:00:26 +03:00
|
|
|
rv = nsHTMLDNSPrefetch::Initialize();
|
|
|
|
if (NS_FAILED(rv)) {
|
|
|
|
NS_ERROR("Could not initialize HTML DNS prefetch");
|
|
|
|
return rv;
|
|
|
|
}
|
|
|
|
|
2006-05-19 13:31:57 +04:00
|
|
|
#ifdef MOZ_XUL
|
|
|
|
rv = nsXULContentUtils::Init();
|
|
|
|
if (NS_FAILED(rv)) {
|
|
|
|
NS_ERROR("Could not initialize nsXULContentUtils");
|
|
|
|
return rv;
|
|
|
|
}
|
2007-07-18 09:35:23 +04:00
|
|
|
|
|
|
|
inDOMView::InitAtoms();
|
|
|
|
|
2006-05-19 13:31:57 +04:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef MOZ_MATHML
|
|
|
|
nsMathMLOperators::AddRefTable();
|
|
|
|
#endif
|
|
|
|
|
2007-02-24 23:07:06 +03:00
|
|
|
#ifndef MOZILLA_PLAINTEXT_EDITOR_ONLY
|
|
|
|
nsEditProperty::RegisterAtoms();
|
|
|
|
nsTextServicesDocument::RegisterAtoms();
|
|
|
|
#endif
|
|
|
|
|
2006-05-19 13:31:57 +04:00
|
|
|
#ifdef DEBUG
|
|
|
|
nsFrame::DisplayReflowStartup();
|
|
|
|
#endif
|
|
|
|
nsDOMAttribute::Initialize();
|
|
|
|
|
2007-07-18 01:15:49 +04:00
|
|
|
rv = txMozillaXSLTProcessor::Startup();
|
2006-12-22 20:22:18 +03:00
|
|
|
if (NS_FAILED(rv)) {
|
|
|
|
NS_ERROR("Could not initialize txMozillaXSLTProcessor");
|
|
|
|
return rv;
|
2006-05-19 13:31:57 +04:00
|
|
|
}
|
|
|
|
|
2006-09-16 01:28:48 +04:00
|
|
|
rv = nsDOMStorageManager::Initialize();
|
|
|
|
if (NS_FAILED(rv)) {
|
|
|
|
NS_ERROR("Could not initialize nsDOMStorageManager");
|
|
|
|
return rv;
|
|
|
|
}
|
|
|
|
|
2007-05-11 00:21:12 +04:00
|
|
|
rv = nsCCUncollectableMarker::Init();
|
|
|
|
if (NS_FAILED(rv)) {
|
|
|
|
NS_ERROR("Could not initialize nsCCUncollectableMarker");
|
|
|
|
return rv;
|
|
|
|
}
|
|
|
|
|
2010-04-07 21:29:10 +04:00
|
|
|
rv = nsCSSRuleProcessor::Startup();
|
|
|
|
if (NS_FAILED(rv)) {
|
|
|
|
NS_ERROR("Could not initialize nsCSSRuleProcessor");
|
|
|
|
return rv;
|
|
|
|
}
|
2008-10-21 11:15:03 +04:00
|
|
|
|
2007-07-24 04:04:36 +04:00
|
|
|
#ifdef MOZ_XUL
|
2007-07-04 19:49:38 +04:00
|
|
|
rv = nsXULPopupManager::Init();
|
|
|
|
if (NS_FAILED(rv)) {
|
|
|
|
NS_ERROR("Could not initialize nsXULPopupManager");
|
|
|
|
return rv;
|
|
|
|
}
|
2007-07-24 04:04:36 +04:00
|
|
|
#endif
|
2007-07-04 19:49:38 +04:00
|
|
|
|
Bug 178324, refactor focus by moving all focus handling into one place and simplifying it, add many tests, fixes many other bugs too numerous to mention in this small checkin comment, r=josh,smichaud,ere,dbaron,marco,neil,gavin,smaug,sr=smaug (CLOSED TREE)
2009-06-10 22:00:39 +04:00
|
|
|
rv = nsFocusManager::Init();
|
|
|
|
if (NS_FAILED(rv)) {
|
|
|
|
NS_ERROR("Could not initialize nsFocusManager");
|
|
|
|
return rv;
|
|
|
|
}
|
|
|
|
|
2008-11-06 23:53:20 +03:00
|
|
|
#ifdef MOZ_SYDNEYAUDIO
|
2008-10-28 19:17:59 +03:00
|
|
|
nsAudioStream::InitLibrary();
|
2008-07-30 10:50:14 +04:00
|
|
|
#endif
|
|
|
|
|
2010-04-27 13:57:32 +04:00
|
|
|
nsContentSink::InitializeStatics();
|
2009-06-29 02:44:22 +04:00
|
|
|
nsHtml5Module::InitializeStatics();
|
2010-06-01 06:19:35 +04:00
|
|
|
nsIPresShell::InitializeStatics();
|
|
|
|
|
2009-05-21 03:07:18 +04:00
|
|
|
nsCrossSiteListenerProxy::Startup();
|
|
|
|
|
2009-07-28 16:51:09 +04:00
|
|
|
rv = nsFrameList::Init();
|
|
|
|
if (NS_FAILED(rv)) {
|
|
|
|
NS_ERROR("Could not initialize nsFrameList");
|
|
|
|
return rv;
|
|
|
|
}
|
|
|
|
|
2009-09-18 19:13:10 +04:00
|
|
|
NS_SealStaticAtomTable();
|
|
|
|
|
2006-05-19 13:31:57 +04:00
|
|
|
return NS_OK;
|
|
|
|
}
|
|
|
|
|
|
|
|
void
|
|
|
|
nsLayoutStatics::Shutdown()
|
|
|
|
{
|
2010-08-10 21:18:26 +04:00
|
|
|
nsFrameScriptExecutor::Shutdown();
|
Bug 178324, refactor focus by moving all focus handling into one place and simplifying it, add many tests, fixes many other bugs too numerous to mention in this small checkin comment, r=josh,smichaud,ere,dbaron,marco,neil,gavin,smaug,sr=smaug (CLOSED TREE)
2009-06-10 22:00:39 +04:00
|
|
|
nsFocusManager::Shutdown();
|
2007-07-24 04:04:36 +04:00
|
|
|
#ifdef MOZ_XUL
|
2007-07-04 19:49:38 +04:00
|
|
|
nsXULPopupManager::Shutdown();
|
2007-07-24 04:04:36 +04:00
|
|
|
#endif
|
2006-09-21 17:55:27 +04:00
|
|
|
nsDOMStorageManager::Shutdown();
|
2006-12-22 20:22:18 +03:00
|
|
|
txMozillaXSLTProcessor::Shutdown();
|
2006-05-19 13:31:57 +04:00
|
|
|
nsDOMAttribute::Shutdown();
|
|
|
|
nsDOMEventRTTearoff::Shutdown();
|
|
|
|
nsEventListenerManager::Shutdown();
|
|
|
|
nsComputedDOMStyle::Shutdown();
|
2010-03-02 23:59:32 +03:00
|
|
|
nsCSSParser::Shutdown();
|
2010-04-07 21:29:10 +04:00
|
|
|
nsCSSRuleProcessor::Shutdown();
|
2007-05-10 02:02:29 +04:00
|
|
|
nsTextFrameTextRunCache::Shutdown();
|
2008-11-08 02:00:26 +03:00
|
|
|
nsHTMLDNSPrefetch::Shutdown();
|
2007-03-14 22:48:51 +03:00
|
|
|
nsCSSRendering::Shutdown();
|
2006-05-19 13:31:57 +04:00
|
|
|
#ifdef DEBUG
|
|
|
|
nsFrame::DisplayReflowShutdown();
|
|
|
|
#endif
|
2007-02-13 19:23:19 +03:00
|
|
|
nsCellMap::Shutdown();
|
2010-07-16 01:08:06 +04:00
|
|
|
nsFrame::ShutdownLayerActivityTimer();
|
2006-05-19 13:31:57 +04:00
|
|
|
|
|
|
|
// Release all of our atoms
|
|
|
|
nsColorNames::ReleaseTable();
|
|
|
|
nsCSSProps::ReleaseTable();
|
|
|
|
nsCSSKeywords::ReleaseTable();
|
|
|
|
nsRepeatService::Shutdown();
|
|
|
|
nsStackLayout::Shutdown();
|
|
|
|
nsBox::Shutdown();
|
|
|
|
|
|
|
|
#ifdef MOZ_XUL
|
|
|
|
nsXULContentUtils::Finish();
|
|
|
|
nsXULElement::ReleaseGlobals();
|
2007-03-12 08:53:33 +03:00
|
|
|
nsXULPrototypeCache::ReleaseGlobals();
|
2006-05-19 13:31:57 +04:00
|
|
|
nsSprocketLayout::Shutdown();
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef MOZ_MATHML
|
|
|
|
nsMathMLOperators::ReleaseTable();
|
|
|
|
#endif
|
|
|
|
|
|
|
|
nsCSSFrameConstructor::ReleaseGlobals();
|
2009-01-05 03:39:54 +03:00
|
|
|
nsFloatManager::Shutdown();
|
2006-05-19 13:31:57 +04:00
|
|
|
nsImageFrame::ReleaseGlobals();
|
|
|
|
|
|
|
|
nsCSSScanner::ReleaseGlobals();
|
|
|
|
|
|
|
|
NS_IF_RELEASE(nsRuleNode::gLangService);
|
|
|
|
|
|
|
|
nsTextFragment::Shutdown();
|
|
|
|
|
|
|
|
nsAttrValue::Shutdown();
|
|
|
|
nsContentUtils::Shutdown();
|
2008-01-21 12:58:58 +03:00
|
|
|
nsNodeInfo::ClearCache();
|
2006-05-19 13:31:57 +04:00
|
|
|
nsLayoutStylesheetCache::Shutdown();
|
|
|
|
NS_NameSpaceManagerShutdown();
|
|
|
|
|
2008-09-11 17:20:56 +04:00
|
|
|
nsJSRuntime::Shutdown();
|
2006-05-19 13:31:57 +04:00
|
|
|
nsGlobalWindow::ShutDown();
|
|
|
|
nsDOMClassInfo::ShutDown();
|
2009-08-09 02:00:26 +04:00
|
|
|
nsListControlFrame::Shutdown();
|
2006-05-19 13:31:57 +04:00
|
|
|
nsXBLWindowKeyHandler::ShutDown();
|
|
|
|
nsAutoCopyListener::Shutdown();
|
2007-01-23 08:24:21 +03:00
|
|
|
|
2007-02-24 23:07:06 +03:00
|
|
|
#ifndef MOZILLA_PLAINTEXT_EDITOR_ONLY
|
|
|
|
nsHTMLEditor::Shutdown();
|
|
|
|
nsTextServicesDocument::Shutdown();
|
|
|
|
#endif
|
2008-01-30 09:35:33 +03:00
|
|
|
|
2008-08-17 05:25:01 +04:00
|
|
|
nsDOMThreadService::Shutdown();
|
|
|
|
|
2008-11-06 23:53:20 +03:00
|
|
|
#ifdef MOZ_SYDNEYAUDIO
|
2008-07-30 10:50:14 +04:00
|
|
|
nsAudioStream::ShutdownLibrary();
|
|
|
|
#endif
|
2008-10-01 10:17:15 +04:00
|
|
|
|
2008-10-15 04:12:28 +04:00
|
|
|
nsXMLHttpRequest::ShutdownACCache();
|
2009-06-29 02:44:22 +04:00
|
|
|
|
2010-06-17 22:34:24 +04:00
|
|
|
nsWebSocket::ReleaseGlobals();
|
|
|
|
|
2010-06-01 06:19:35 +04:00
|
|
|
nsIPresShell::ReleaseStatics();
|
|
|
|
|
2009-06-29 02:44:22 +04:00
|
|
|
nsHtml5Module::ReleaseStatics();
|
2009-06-16 13:15:46 +04:00
|
|
|
|
2009-09-10 05:22:03 +04:00
|
|
|
nsRegion::ShutdownStatic();
|
|
|
|
|
2009-06-16 13:15:46 +04:00
|
|
|
NS_ShutdownChainItemPool();
|
2009-07-28 16:51:09 +04:00
|
|
|
|
|
|
|
nsFrameList::Shutdown();
|
2010-02-11 11:35:49 +03:00
|
|
|
|
2010-08-27 19:49:06 +04:00
|
|
|
nsHTMLInputElement::DestroyUploadLastDir();
|
2006-05-19 13:31:57 +04:00
|
|
|
}
|