File tree Expand file tree Collapse file tree 2 files changed +11
-2
lines changed
javascript/ql/test/library-tests Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change 11| a.js:1:15:1:23 | "tainted" | b.js:4:13:4:40 | whoKnow ... Tainted |
22| a.js:1:15:1:23 | "tainted" | b.js:6:13:6:13 | x |
33| a.js:2:15:2:28 | "also tainted" | b.js:5:13:5:29 | notTaintedTrustMe |
4+ | async.js:2:16:2:23 | "source" | async.js:8:15:8:27 | await async() |
5+ | async.js:2:16:2:23 | "source" | async.js:13:15:13:20 | sync() |
6+ | async.js:2:16:2:23 | "source" | async.js:27:17:27:17 | e |
7+ | async.js:2:16:2:23 | "source" | async.js:36:17:36:17 | e |
8+ | async.js:2:16:2:23 | "source" | async.js:41:17:41:17 | e |
9+ | async.js:2:16:2:23 | "source" | async.js:54:17:54:36 | unpack(pack(source)) |
10+ | async.js:81:16:81:23 | "source" | async.js:82:14:82:36 | (await ... ce))).p |
11+ | async.js:81:16:81:23 | "source" | async.js:94:15:94:30 | await (getP(o3)) |
12+ | async.js:98:18:98:25 | "source" | async.js:103:15:103:27 | await readP() |
413| callback.js:16:14:16:21 | "source" | callback.js:13:14:13:14 | x |
514| callback.js:17:15:17:23 | "source2" | callback.js:13:14:13:14 | x |
615| callback.js:27:15:27:23 | "source3" | callback.js:13:14:13:14 | x |
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ function test(unsafe, safe) {
4747 try {
4848 throwAsync ( source ( ) ) ;
4949 } catch ( e ) {
50- sink ( e ) ; // OK - but flagged anyway
50+ sink ( e ) ; // OK
5151 }
5252
5353 throwAsync ( source ( ) ) . catch ( e => {
@@ -58,7 +58,7 @@ function test(unsafe, safe) {
5858 try {
5959 await throwAsync ( source ( ) ) ;
6060 } catch ( e ) {
61- sink ( e ) ; // NOT OK
61+ sink ( e ) ; // NOT OK - but not flagged
6262 }
6363 }
6464}
You can’t perform that action at this time.
0 commit comments