Articles tagged: XPConnect
Found 45 documents
- Mozilla/JavaScript_code_modules/XPCOMUtils.jsm The XPCOMUtils.jsm JavaScript code module offers utility routines for JavaScript components ...
- Mozilla/Tech/XPCOM/Fun_with_XBL_and_XPConnect This article describes an application of XBL in which a simple XPCOM interface is made ...
- Mozilla/Tech/XPCOM/Guide/Avoiding_leaks_in_JavaScript_components Programmers writing and reviewing JavaScript code in Mozilla should understand how code using ...
- Mozilla/Tech/XPCOM/Language_Bindings/Components.classes Components.classes is a read-only object whose properties are classes indexed by ContractID.
- Mozilla/Tech/XPCOM/Language_Bindings/Components.classesByID Components.classesByID is a read-only object whose properties are classes indexed by CID.
- Mozilla/Tech/XPCOM/Language_Bindings/Components.Constructor Creates a JavaScript function which can be used to create or construct new instances of XPCOM ...
- Mozilla/Tech/XPCOM/Language_Bindings/Components.Exception Components.Exception is a JavaScript constructor to create nsIXPCException objects. These ...
- Mozilla/Tech/XPCOM/Language_Bindings/Components.ID Components.ID is a constructor that creates native objects that conform to the nsIJSID interface.
- Mozilla/Tech/XPCOM/Language_Bindings/Components.interfaces Components.interfaces is a read-only object whose properties are interfaces indexed by their names.
- Mozilla/Tech/XPCOM/Language_Bindings/Components.interfacesByID Components.interfacesByID is a read-only array of classes indexed by IID.
- Mozilla/Tech/XPCOM/Language_Bindings/Components.isSuccessCode Determines whether a given XPCOM return code (that is, an nsresult value) indicates the success ...
- Mozilla/Tech/XPCOM/Language_Bindings/Components.lastResult Components.lastResult returns the numeric nsresult code that was the result code of the last ...
- Mozilla/Tech/XPCOM/Language_Bindings/Components.manager Components.manager is a convenience reflection of the global native component manager service. ...
- Mozilla/Tech/XPCOM/Language_Bindings/Components.results Components.results is a read-only object whose properties are the names listed as the first ...
- Mozilla/Tech/XPCOM/Language_Bindings/Components.returnCode Components.returnCode is a property which can hold an XPCOM return code additionally to the ...
- Mozilla/Tech/XPCOM/Language_Bindings/Components.stack Components.stack is a read only property of type nsIStackFrame (IDL definition) that represents ...
- Mozilla/Tech/XPCOM/Language_Bindings/Components.utils Components.utils is a collection of various useful XPConnect features. Its interface is defined ...
- Mozilla/Tech/XPCOM/Language_Bindings/Components.utils.createObjectIn Components.utils.createObjectIn creates a new JavaScript object in the scope of the specified ...
- Mozilla/Tech/XPCOM/Language_Bindings/Components.utils.evalInSandbox The evalInSandbox() function enables you to evaluate JavaScript code inside a sandbox you've ...
- Mozilla/Tech/XPCOM/Language_Bindings/Components.utils.forceGC Components.utils.forceGC lets scripts force a garbage collection cycle. The Mozilla JavaScript ...
- Mozilla/Tech/XPCOM/Language_Bindings/Components.utils.getGlobalForObject This method is used to determine the global object with which an object is associated. This is ...
- Mozilla/Tech/XPCOM/Language_Bindings/Components.utils.getWeakReference This method was introduced in Firefox 3 and is used for obtaining a weak reference for an ...
- Mozilla/Tech/XPCOM/Language_Bindings/Components.utils.import Components.utils.import was introduced in Firefox 3 and is used for sharing code between ...
- Mozilla/Tech/XPCOM/Language_Bindings/Components.utils.makeObjectPropsNormal Ensures that the specified object's methods are all in the object's scope, and aren't ...
- Mozilla/Tech/XPCOM/Language_Bindings/Components.utils.reportError Components.utils.reportError reports a JavaScript Error object to the Error Console, and ...
- Mozilla/Tech/XPCOM/Language_Bindings/Components.utils.Sandbox Components.utils.Sandbox is used to create a sandbox object for use with evalInSandbox().
- Mozilla/Tech/XPCOM/Language_Bindings/Components.utils.schedulePreciseGC This method lets scripts schedule a garbage collection cycle. The garbage collection cycle will ...
- Mozilla/Tech/XPCOM/Language_Bindings/Components.utils.setGCZeal This method lets scripts set the zeal level for garbage collection. You can get details on what ...
- Mozilla/Tech/XPCOM/Language_Bindings/Components_object The Components object is the object through which XPConnect functionality is reflected into ...
- Mozilla/Tech/XPCOM/Language_bindings/XPConnect XPConnect is a bridge between JavaScript and XPCOM. With XPConnect, you can use XPCOM components ...
- Mozilla/Tech/XPCOM/Language_bindings/XPConnect/appShellService Quitting Mozilla:
- Mozilla/Tech/XPCOM/Language_bindings/XPConnect/Architecture_basics XPCOM is like COM, for Windows. It lets you get pointers to components inside Mozilla, and it ...
- Mozilla/Tech/XPCOM/Language_bindings/XPConnect/nsIProfile This interface is obsolete; you should use nsIToolkitProfileService instead; however, reference ...
- Mozilla/Tech/XPCOM/Language_bindings/XPConnect/nsIRegistry nsIRegistry on MXR
- Mozilla/Tech/XPCOM/Language_bindings/XPConnect/Using_components XPConnect works transparently in Mozilla and xpcshell to give you access to XPCOM components.
- Mozilla/Tech/XPCOM/Language_bindings/XPConnect/XPConnect_wrappers This document is a high-level overview of XPConnect wrapper objects (for the more technical ...
- Mozilla/Tech/XPCOM/Language_bindings/XPConnect/xpcshell xpcshell is an XPConnect -enabled JavaScript Shell. It is a console application that lets you ...
- Mozilla/Tech/XPCOM/Language_bindings/XPConnect/xpcshell/Reference The command-line syntax for xpcshell is:
- Mozilla/Tech/XPCOM/Reference/Interface/NsIVariant None.
- Mozilla/Tech/XPCOM/Reference/Interface/nsIXPCException None.
- Mozilla/Tech/XPCOM/Reference/Interface/nsIXPConnect To access the XPConnect service, use code like this:
- Mozilla/Tech/XPCOM/Working_with_out_parameters When working with XPCOM components, you might come across method declarations like the following ...
- Mozilla/Tech/XPCOM/xptcall_FAQ xptcall is a small low level XPCOM method call library. It is implemented using platform ...
- Mozilla/Tech/XUL/Tutorial/XPCOM_Interfaces In this section, we'll take a brief look at XPCOM (Cross-platform Component Object Model), which ...
- wrappedJSObject wrappedJSObject is a property sometimes available on XPConnect wrappers. When available, it lets ...