Skip to content

Commit 12a793a

Browse files
committed
JS: Collection methods can be called on DOM elements
1 parent eb67ea3 commit 12a793a

File tree

1 file changed

+1
-1
lines changed
  • javascript/ql/lib/semmle/javascript

1 file changed

+1
-1
lines changed

javascript/ql/lib/semmle/javascript/DOM.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ module DOM {
247247
]
248248
|
249249
(
250-
result = documentRef().getAMethodCall(collectionName) or
250+
result = domValueRef().getAMethodCall(collectionName) or
251251
result = DataFlow::globalVarRef(collectionName).getACall()
252252
)
253253
)

0 commit comments

Comments
 (0)