We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 12a793a commit 62a0641Copy full SHA for 62a0641
javascript/ql/lib/semmle/javascript/DOM.qll
@@ -441,7 +441,7 @@ module DOM {
441
DataFlow::SourceNode domValueRef() {
442
result = domValueRef(DataFlow::TypeTracker::end())
443
or
444
- result.hasUnderlyingType("Element")
+ result.hasUnderlyingType(["Element", "HTMLCollection", "HTMLCollectionOf"])
445
446
result.hasUnderlyingType(any(string s | s.matches("HTML%Element")))
447
0 commit comments