nsIScriptError
by adding a way to initialize the error with the window ID of the outer window with which the error is associated.
nsIScriptError
Last changed in Gecko 9.0 (Firefox 9.0 / Thunderbird 9.0 / SeaMonkey 2.6)
In Gecko 12.0 this Interface was merged into the nsIScriptError
interface.
void initWithWindowID(in wstring message, in wstring sourceName, in wstring sourceLine, in PRUint32 lineNumber, in PRUint32 columnNumber, in PRUint32 flags, in string category, in unsigned long long innerWindowID); |
Attribute | Type | Description |
innerWindowID |
unsigned long long |
The inner window ID with which the error is associated. This is zero if the error was initialized by calling nsIScriptError.init() instead of initWithWindowID() . Read only. |
outerWindowID |
unsigned long long |
The window ID with which the error is associated. This is zero if the error was initialized by calling nsIScriptError.init() instead of initWithWindowID() . Read only. |
timeStamp |
long long |
Elapsed time, in milliseconds, from a platform-specific zero time to the time the message was created. Read only. |
void init( in wstring message, in wstring sourceName, in wstring sourceLine, in PRUint32 lineNumber, in PRUint32 columnNumber, in PRUint32 flags, in string category, in unsigned long long innerWindowID );
message
sourceName
sourceLine
null
if you are lazy; that will prevent showing the source line in JavaScript Console.lineNumber
columnNumber
flags
category
innerWindowID