Module DOM
Provides predicates for reasoning about DOM types and methods.
Import path
import semmle.javascript.security.dataflow.DOM
Imports
javascript |
Provides classes for working with JavaScript programs, as well as JSON, YAML and HTML. |
Predicates
isDomNode |
Holds if |
isDomRootType |
Holds if |
isDomValue |
DEPRECATED: Use |
isLocation |
DEPRECATED: Use |
isLocationNode |
Holds if |
isSafeLocationProperty |
DEPRECATED. In most cases, a sanitizer based on this predicate can be removed, as taint tracking no longer step through the properties of the location object by default. |
Classes
DomGlobalVariable |
A global variable whose declared type extends a DOM root type. |
DomMethodCallExpr |
DEPRECATED: Use |
DomMethodCallNode |
A call to a DOM method. |
DomPropWriteNode |
DEPRECATED: Use |
DomPropertyWrite |
An assignment to a property of a DOM object. |
PostMessageEventHandler |
An event handler that handles |
WebStorageWrite |
A value written to web storage, like |