Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions
mozIJSSubScriptLoader Interface Reference

import "mozIJSSubScriptLoader.idl";

Inheritance diagram for mozIJSSubScriptLoader:
Inheritance graph
[legend]
Collaboration diagram for mozIJSSubScriptLoader:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void loadSubScript (in wstring url)
 This method should only be called from JS! In JS, the signature looks like: rv loadSubScript (url [, obj]);.

Detailed Description

Definition at line 48 of file mozIJSSubScriptLoader.idl.


Member Function Documentation

This method should only be called from JS! In JS, the signature looks like: rv loadSubScript (url [, obj]);.

Parameters:
urlthe url if the sub-script, it MUST be either a file:, resource:, or chrome: url, and MUST be local.
objan optional object to evaluate the script onto, it defaults to the global object of the caller.
Return values:
rvthe value returned by the sub-script

The documentation for this interface was generated from the following file: