diff --git a/mozilla/js/src/xpconnect/idl/Makefile.in b/mozilla/js/src/xpconnect/idl/Makefile.in index a161efb760e..ef3d0776254 100644 --- a/mozilla/js/src/xpconnect/idl/Makefile.in +++ b/mozilla/js/src/xpconnect/idl/Makefile.in @@ -31,6 +31,7 @@ XPIDLSRCS = \ xpctest2.idl \ xpcexception.idl \ nsIJSContextStack.idl \ + nsIJSRuntimeService.idl \ nsIXPCSecurityManager.idl \ $(NULL) diff --git a/mozilla/js/src/xpconnect/idl/makefile.win b/mozilla/js/src/xpconnect/idl/makefile.win index f2565228e18..5e4325c523e 100644 --- a/mozilla/js/src/xpconnect/idl/makefile.win +++ b/mozilla/js/src/xpconnect/idl/makefile.win @@ -26,6 +26,7 @@ XPIDLSRCS = \ .\xpctest2.idl \ .\xpcexception.idl \ .\nsIJSContextStack.idl \ + .\nsIJSRuntimeService.idl \ .\nsIXPCSecurityManager.idl \ $(NULL) diff --git a/mozilla/js/src/xpconnect/idl/nsIJSRuntimeService.idl b/mozilla/js/src/xpconnect/idl/nsIJSRuntimeService.idl new file mode 100644 index 00000000000..f7cafef989b --- /dev/null +++ b/mozilla/js/src/xpconnect/idl/nsIJSRuntimeService.idl @@ -0,0 +1,27 @@ +/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- + * + * The contents of this file are subject to the Mozilla Public License + * Version 1.1 (the "MPL"); you may not use this file except in + * compliance with the MPL. You may obtain a copy of the NPL at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the MPL is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the MPL + * for the specific language governing rights and limitations under the + * MPL. + * + * The Initial Developer of this code under the MPL is Netscape + * Communications Corporation. Portions created by Netscape are + * Copyright (C) 1999 Netscape Communications Corporation. All Rights + * Reserved. + */ + +#include "nsISupports.idl" + +[ptr] native JSRuntime(JSRuntime); + +[uuid(dcfbb49c-1dd1-11b2-9f39-935aef484817)] +interface nsIJSRuntimeService : nsISupports +{ + attribute JSRuntime runtime; +};