Skip to content

Commit b568bb9

Browse files
committed
JS: remove duplicated predicate
1 parent ed54d7b commit b568bb9

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

javascript/ql/lib/Expressions/DOMProperties.qll

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,6 @@
44

55
import semmle.javascript.Externs
66

7-
/** Holds if `et` is a root interface of the DOM type hierarchy. */
8-
predicate isDomRootType(ExternalType et) {
9-
exists(string n | n = et.getName() | n = "EventTarget" or n = "StyleSheet")
10-
}
11-
127
/** DEPRECATED: Alias for isDomRootType */
138
deprecated predicate isDOMRootType = isDomRootType/1;
149

0 commit comments

Comments
 (0)