[scriptable, uuid(05593438-1b83-4517-864f-3cea3d37a266)]
interface jsdIFilter : nsISupports
Constants
Object representing a pattern of global object and/or url the debugger should ignore. The debugger service itself will not modify properties of these objects. These two bytes of the flags attribute are reserved for interpretation by the jsdService implementation. You can do what you like with the remaining flags.
const
unsigned long
FLAG_RESERVED_MASK = 255
Filters without this flag set are ignored.
const
unsigned long
FLAG_ENABLED = 1
Filters with this flag set are "pass" filters, they allow matching hooks to continue. Filters without this flag block matching hooks.
const
unsigned long
FLAG_PASS = 2
Attributes
Line number for the end of this filter. Line numbers are one based. Assigning a 0 to this attribute will tell the debugger to ignore from |startLine| to the end of the file.
attribute
unsigned long
endLine
FLAG_* values from above, OR'd together.
attribute
unsigned long
flags
An nsISupports version of the global object to be filtered. A null glob matches all hooks. This attribute must be QI'able to the (non-scriptable) nsIScriptGlobalObject interface. The jsdIService caches this value internally, to if it changes you must swap the filter with itself using jsdIService::swapFilters.
attribute
nsISupports
globalObject
Line number for the start of this filter. Line numbers are one based. Assigning a 0 to this attribute will tell the debugger to ignore the entire file.
attribute
unsigned long
startLine
String representing the url pattern to be filtered. Supports limited glob matching, at the beginning and end of the pattern only. For example, "chrome://venkman*" filters all urls that start with chrome/venkman, "*.cgi" filters all cgi's, and "http://myserver/utils.js" filters only the utils.js file on "myserver". A null urlPattern matches all urls. The jsdIService caches this value internally, to if it changes you must swap the filter with itself using jsdIService::swapFilters.
attribute
string
urlPattern
Compare to: