mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-26 19:55:39 +00:00
51944f0ae4
People only use these methods via Cu, so remove them from this interface. Also, ban anybody from implementing this interface in JS (though I can't imagine anybody trying), and eliminate a variant of mozJSComponentLoader::ImportInto that is never called. MozReview-Commit-ID: Kok5ksXiK5a --HG-- extra : rebase_source : ef7237953404fd1b75e8e1118b9fc4e2235ff187
19 lines
827 B
Plaintext
19 lines
827 B
Plaintext
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
#include "nsISupports.idl"
|
|
|
|
[scriptable, builtinclass, uuid(4f94b21f-2920-4bd9-8251-5fb60fb054b2)]
|
|
interface xpcIJSModuleLoader : nsISupports
|
|
{
|
|
// These 2 functions are for startup testing purposes. They are not expected
|
|
// to be used for production code.
|
|
void loadedModules([optional] out unsigned long length,
|
|
[retval, array, size_is(length)] out string aModules);
|
|
|
|
void loadedComponents([optional] out unsigned long length,
|
|
[retval, array, size_is(length)] out string aComponents);
|
|
};
|