Skip to content

Commit e7df9b8

Browse files
author
Max Schaefer
committed
JavaScript: Avoid unhelpful magic.
1 parent 697fd96 commit e7df9b8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

javascript/ql/src/Expressions/DOMProperties.qll

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ predicate isDOMRootType(ExternalType et) {
1212
}
1313

1414
/** Holds if `p` is declared as a property of a DOM class or interface. */
15+
pragma[nomagic]
1516
predicate isDOMProperty(string p) {
1617
exists (ExternalMemberDecl emd | emd.getName() = p |
1718
isDOMRootType(emd.getDeclaringType().getASupertype*())

0 commit comments

Comments
 (0)