Skip to content

Commit d59ccb7

Browse files
committed
JS: Remove unhelpful mat-table load step
1 parent 89225e2 commit d59ccb7

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

javascript/ql/src/semmle/javascript/frameworks/Angular2.qll

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -578,17 +578,6 @@ module Angular2 {
578578
}
579579
}
580580

581-
/** Like `MatTableTaintStep` but as a value-preserving load step. */
582-
private class MatTableLoadStep extends PreCallGraphStep {
583-
override predicate loadStep(DataFlow::Node pred, DataFlow::Node succ, string prop) {
584-
exists(MatTableElement table |
585-
pred = table.getDataSourceNode() and
586-
succ = table.getARowRef() and
587-
prop = DataFlow::PseudoProperties::arrayElement()
588-
)
589-
}
590-
}
591-
592581
/** A taint step into the data array of a `MatTableDataSource` instance. */
593582
private class MatTableDataSourceStep extends TaintTracking::AdditionalTaintStep, DataFlow::NewNode {
594583
MatTableDataSourceStep() {

0 commit comments

Comments
 (0)