Public Member Functions

mozIJSSubScriptLoader Interface Reference

import "mozIJSSubScriptLoader.idl";

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]);.

Member Function Documentation

void mozIJSSubScriptLoader::loadSubScript ( in wstring  url  ) 

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

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

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