Update javascript/ql/src/semmle/javascript/DOM.qll

Co-Authored-By: asger-semmle <42069257+asger-semmle@users.noreply.github.com>
This commit is contained in:
Max Schaefer
2019-03-29 13:40:46 +00:00
committed by GitHub
parent e90a889f76
commit a0b06c267c

View File

@@ -284,7 +284,7 @@ module DOM {
)
}
/** Gets a data flow node that refer directly to a value from the DOM. */
/** Gets a data flow node that refers directly to a value from the DOM. */
DataFlow::SourceNode domValueSource() {
result.asExpr().(VarAccess).getVariable() instanceof DOMGlobalVariable or
result = domValueRef().getAPropertyRead(_) or