Issue #80 - Fix deprot in js/xpconnect.

I think we never deunified js/xpconnect before. But if we're going to ever build
this tree deunified in the future, there's nothing stopping us now!
This commit is contained in:
Job Bautista 2023-03-12 20:19:37 +08:00 committed by roytam1
commit 0b039ff7a6
8 changed files with 15 additions and 0 deletions

View file

@ -15,6 +15,7 @@
#endif
#include "js/Id.h"
#include "xpc_make_class.h"
/**************************************************************/

View file

@ -54,8 +54,12 @@ using namespace mozilla;
using namespace JS;
using namespace xpc;
using mozilla::dom::ConvertExceptionToPromise;
using mozilla::dom::DestroyProtoAndIfaceCache;
using mozilla::dom::IndexedDatabaseManager;
using mozilla::dom::RequestOrUSVString;
using mozilla::dom::RequestOrUSVStringArgument;
using mozilla::dom::RootedDictionary;
NS_IMPL_CYCLE_COLLECTION_CLASS(SandboxPrivate)

View file

@ -22,6 +22,7 @@
#include "nsIObserverService.h"
#include "nsIDebug2.h"
#include "nsIDocShell.h"
#include "nsIInputStream.h"
#include "nsIRunnable.h"
#include "amIAddonManager.h"
#include "nsPIDOMWindow.h"
@ -40,6 +41,7 @@
#include "mozilla/dom/GeneratedAtomList.h"
#include "mozilla/dom/BindingUtils.h"
#include "mozilla/dom/Element.h"
#include "mozilla/dom/Promise.h"
#include "mozilla/dom/ScriptLoader.h"
#include "mozilla/dom/WindowBinding.h"
#include "mozilla/jsipc/CrossProcessObjectWrappers.h"
@ -71,6 +73,7 @@
#endif
using namespace mozilla;
using namespace mozilla::dom;
using namespace xpc;
using namespace JS;
using mozilla::dom::PerThreadAtomCache;

View file

@ -11,6 +11,7 @@
#include "mozilla/Attributes.h"
#include "mozilla/jsipc/CrossProcessObjectWrappers.h"
#include "mozilla/StaticPtr.h"
#include "nsContentUtils.h"
using namespace mozilla::dom;
using namespace JS;

View file

@ -4,6 +4,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include "mozilla/Assertions.h"
#include "mozilla/Preferences.h"
#include "jsapi.h"
@ -23,6 +24,7 @@
using namespace JS;
using mozilla::dom::EncodingUtils;
using mozilla::Preferences;
/**
* JS locale callbacks implemented by XPCOM modules. These are theoretically

View file

@ -10,7 +10,9 @@
#include "mozilla/MemoryReporting.h"
#include "mozilla/XPTInterfaceInfoManager.h"
#include "nsAppRunner.h"
#include "nsIScriptError.h"
#include "nsJSUtils.h"
#include "nsPrintfCString.h"
using namespace JS;

View file

@ -10,6 +10,7 @@
#include "jsprf.h"
#include "mozilla/dom/BindingUtils.h"
#include "mozilla/Preferences.h"
#include "nsContentUtils.h"
#include "nsIAddonInterposition.h"
#include "AddonWrapper.h"
#include "js/Class.h"

View file

@ -7,6 +7,7 @@
#include "xpcprivate.h"
#include "XPCWrapper.h"
#include "AccessCheck.h"
#include "nsContentUtils.h"
#include "nsCycleCollectionNoteRootCallback.h"
#include "nsPrincipal.h"