mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 03:15:11 +00:00
Bug 1490503 - Mark more XPConnect classes builtinclass r=peterv
Also, make nsIXPCWrappedJSObjectGetter not scriptable to save a tiny amount of binary size. Differential Revision: https://phabricator.services.mozilla.com/D5613 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
c530e7f751
commit
7637c6c2a1
@ -10,7 +10,7 @@ interface nsIURI;
|
||||
interface nsIPrincipal;
|
||||
interface nsIObserver;
|
||||
|
||||
[scriptable, uuid(19533e7b-f321-4ef1-bc59-6e812dc2a733)]
|
||||
[scriptable, builtinclass, uuid(19533e7b-f321-4ef1-bc59-6e812dc2a733)]
|
||||
interface mozIJSSubScriptLoader : nsISupports
|
||||
{
|
||||
/**
|
||||
|
@ -63,7 +63,7 @@ interface nsIXPConnectWrappedNative;
|
||||
* boolean to PR_TRUE before making the call. Implementations may skip writing
|
||||
* to *_retval unless they want to return PR_FALSE.
|
||||
*/
|
||||
[uuid(19b70b26-7c3f-437f-a04a-2a8f9e28b617)]
|
||||
[builtinclass, uuid(19b70b26-7c3f-437f-a04a-2a8f9e28b617)]
|
||||
interface nsIXPCScriptable : nsISupports
|
||||
{
|
||||
readonly attribute AUTF8String className;
|
||||
|
@ -39,13 +39,13 @@ interface nsIObjectInputStream;
|
||||
interface nsIObjectOutputStream;
|
||||
|
||||
/***************************************************************************/
|
||||
[uuid(73e6ff4a-ab99-4d99-ac00-ba39ccb8e4d7)]
|
||||
[builtinclass, uuid(73e6ff4a-ab99-4d99-ac00-ba39ccb8e4d7)]
|
||||
interface nsIXPConnectJSObjectHolder : nsISupports
|
||||
{
|
||||
[notxpcom, nostdcall] JSObjectPtr GetJSObject();
|
||||
};
|
||||
|
||||
[uuid(e787be29-db5d-4a45-a3d6-1de1d6b85c30)]
|
||||
[builtinclass, uuid(e787be29-db5d-4a45-a3d6-1de1d6b85c30)]
|
||||
interface nsIXPConnectWrappedNative : nsIXPConnectJSObjectHolder
|
||||
{
|
||||
/* attribute 'JSObject' inherited from nsIXPConnectJSObjectHolder */
|
||||
@ -84,7 +84,7 @@ do_QueryWrappedNative(nsIXPConnectWrappedNative *aWrappedNative,
|
||||
|
||||
%}
|
||||
|
||||
[uuid(3a01b0d6-074b-49ed-bac3-08c76366cae4)]
|
||||
[builtinclass, uuid(3a01b0d6-074b-49ed-bac3-08c76366cae4)]
|
||||
interface nsIXPConnectWrappedJS : nsIXPConnectJSObjectHolder
|
||||
{
|
||||
/* attribute 'JSObject' inherited from nsIXPConnectJSObjectHolder */
|
||||
@ -182,7 +182,7 @@ interface nsIXPConnectWrappedJSUnmarkGray : nsIXPConnectWrappedJS
|
||||
* the interface id is that of nsIXPCWrappedJSObjectGetter.
|
||||
*/
|
||||
|
||||
[scriptable, uuid(254bb2e0-6439-11d4-8fe0-0010a4e73d9a)]
|
||||
[builtinclass, uuid(254bb2e0-6439-11d4-8fe0-0010a4e73d9a)]
|
||||
interface nsIXPCWrappedJSObjectGetter : nsISupports
|
||||
{
|
||||
readonly attribute nsISupports neverCalled;
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
#include "nsISupports.idl"
|
||||
|
||||
[scriptable, uuid(75767928-ecb1-4e6c-9f55-c118b297fcef)]
|
||||
[scriptable, builtinclass, uuid(75767928-ecb1-4e6c-9f55-c118b297fcef)]
|
||||
interface xpcIJSWeakReference : nsISupports
|
||||
{
|
||||
/**
|
||||
|
@ -26,7 +26,7 @@ webidl Element;
|
||||
* interface of Components.interfacesByID
|
||||
* (interesting stuff only reflected into JavaScript)
|
||||
*/
|
||||
[scriptable, uuid(f235ef76-9919-478b-aa0f-282d994ddf76)]
|
||||
[scriptable, builtinclass, uuid(f235ef76-9919-478b-aa0f-282d994ddf76)]
|
||||
interface nsIXPCComponents_InterfacesByID : nsISupports
|
||||
{
|
||||
};
|
||||
@ -35,7 +35,7 @@ interface nsIXPCComponents_InterfacesByID : nsISupports
|
||||
* interface of Components.interfaces
|
||||
* (interesting stuff only reflected into JavaScript)
|
||||
*/
|
||||
[scriptable, uuid(b8c31bba-79db-4a1d-930d-4cdd68713f9e)]
|
||||
[scriptable, builtinclass, uuid(b8c31bba-79db-4a1d-930d-4cdd68713f9e)]
|
||||
interface nsIXPCComponents_Interfaces : nsISupports
|
||||
{
|
||||
};
|
||||
@ -44,7 +44,7 @@ interface nsIXPCComponents_Interfaces : nsISupports
|
||||
* interface of Components.classes
|
||||
* (interesting stuff only reflected into JavaScript)
|
||||
*/
|
||||
[scriptable, uuid(978ff520-d26c-11d2-9842-006008962422)]
|
||||
[scriptable, builtinclass, uuid(978ff520-d26c-11d2-9842-006008962422)]
|
||||
interface nsIXPCComponents_Classes : nsISupports
|
||||
{
|
||||
// Make it so that |cid| gets mapped to |idString|.
|
||||
@ -55,7 +55,7 @@ interface nsIXPCComponents_Classes : nsISupports
|
||||
* interface of Components.classesByID
|
||||
* (interesting stuff only reflected into JavaScript)
|
||||
*/
|
||||
[scriptable, uuid(336a9590-4d19-11d3-9893-006008962422)]
|
||||
[scriptable, builtinclass, uuid(336a9590-4d19-11d3-9893-006008962422)]
|
||||
interface nsIXPCComponents_ClassesByID : nsISupports
|
||||
{
|
||||
};
|
||||
@ -64,7 +64,7 @@ interface nsIXPCComponents_ClassesByID : nsISupports
|
||||
* interface of Components.results
|
||||
* (interesting stuff only reflected into JavaScript)
|
||||
*/
|
||||
[scriptable, uuid(2fc229a0-5860-11d3-9899-006008962422)]
|
||||
[scriptable, builtinclass, uuid(2fc229a0-5860-11d3-9899-006008962422)]
|
||||
interface nsIXPCComponents_Results : nsISupports
|
||||
{
|
||||
};
|
||||
@ -73,7 +73,7 @@ interface nsIXPCComponents_Results : nsISupports
|
||||
* interface of Components.ID
|
||||
* (interesting stuff only reflected into JavaScript)
|
||||
*/
|
||||
[scriptable, uuid(7994a6e0-e028-11d3-8f5d-0010a4e73d9a)]
|
||||
[scriptable, builtinclass, uuid(7994a6e0-e028-11d3-8f5d-0010a4e73d9a)]
|
||||
interface nsIXPCComponents_ID : nsISupports
|
||||
{
|
||||
};
|
||||
@ -82,7 +82,7 @@ interface nsIXPCComponents_ID : nsISupports
|
||||
* interface of Components.Exception
|
||||
* (interesting stuff only reflected into JavaScript)
|
||||
*/
|
||||
[scriptable, uuid(5bf039c0-e028-11d3-8f5d-0010a4e73d9a)]
|
||||
[scriptable, builtinclass, uuid(5bf039c0-e028-11d3-8f5d-0010a4e73d9a)]
|
||||
interface nsIXPCComponents_Exception : nsISupports
|
||||
{
|
||||
};
|
||||
@ -91,7 +91,7 @@ interface nsIXPCComponents_Exception : nsISupports
|
||||
* interface of Components.Constructor
|
||||
* (interesting stuff only reflected into JavaScript)
|
||||
*/
|
||||
[scriptable, uuid(88655640-e028-11d3-8f5d-0010a4e73d9a)]
|
||||
[scriptable, builtinclass, uuid(88655640-e028-11d3-8f5d-0010a4e73d9a)]
|
||||
interface nsIXPCComponents_Constructor : nsISupports
|
||||
{
|
||||
};
|
||||
@ -100,7 +100,7 @@ interface nsIXPCComponents_Constructor : nsISupports
|
||||
* interface of object returned by Components.Constructor
|
||||
* (additional interesting stuff only reflected into JavaScript)
|
||||
*/
|
||||
[scriptable, uuid(c814ca20-e0dc-11d3-8f5f-0010a4e73d9a)]
|
||||
[scriptable, builtinclass, uuid(c814ca20-e0dc-11d3-8f5f-0010a4e73d9a)]
|
||||
interface nsIXPCConstructor : nsISupports
|
||||
{
|
||||
readonly attribute nsIJSCID classID;
|
||||
@ -111,7 +111,7 @@ interface nsIXPCConstructor : nsISupports
|
||||
/**
|
||||
* interface of object returned by Components.utils.Sandbox.
|
||||
*/
|
||||
[scriptable, uuid(4f8ae0dc-d266-4a32-875b-6a9de71a8ce9)]
|
||||
[scriptable, builtinclass, uuid(4f8ae0dc-d266-4a32-875b-6a9de71a8ce9)]
|
||||
interface nsIXPCComponents_utils_Sandbox : nsISupports
|
||||
{
|
||||
};
|
||||
@ -137,7 +137,7 @@ interface nsIBlockThreadedExecutionCallback : nsISupports
|
||||
/**
|
||||
* interface of Components.utils
|
||||
*/
|
||||
[scriptable, uuid(86003fe3-ee9a-4620-91dc-eef8b1e58815)]
|
||||
[scriptable, builtinclass, uuid(86003fe3-ee9a-4620-91dc-eef8b1e58815)]
|
||||
interface nsIXPCComponents_Utils : nsISupports
|
||||
{
|
||||
|
||||
@ -730,7 +730,7 @@ interface nsIXPCComponents_Utils : nsISupports
|
||||
* includes members that are only exposed to chrome.
|
||||
*/
|
||||
|
||||
[scriptable, uuid(eeeada2f-86c0-4609-b2bf-4bf2351b1ce6)]
|
||||
[scriptable, builtinclass, uuid(eeeada2f-86c0-4609-b2bf-4bf2351b1ce6)]
|
||||
interface nsIXPCComponentsBase : nsISupports
|
||||
{
|
||||
readonly attribute nsIXPCComponents_Interfaces interfaces;
|
||||
@ -741,7 +741,7 @@ interface nsIXPCComponentsBase : nsISupports
|
||||
|
||||
};
|
||||
|
||||
[scriptable, uuid(aa28aaf6-70ce-4b03-9514-afe43c7dfda8)]
|
||||
[scriptable, builtinclass, uuid(aa28aaf6-70ce-4b03-9514-afe43c7dfda8)]
|
||||
interface nsIXPCComponents : nsIXPCComponentsBase
|
||||
{
|
||||
readonly attribute nsIXPCComponents_Classes classes;
|
||||
|
Loading…
Reference in New Issue
Block a user