mirror of
https://github.com/github/codeql.git
synced 2026-04-30 19:26:02 +02:00
update expected output
This commit is contained in:
@@ -1,6 +1,15 @@
|
||||
| a.js:1:15:1:23 | "tainted" | b.js:4:13:4:40 | whoKnow ... Tainted |
|
||||
| a.js:1:15:1:23 | "tainted" | b.js:6:13:6:13 | x |
|
||||
| a.js:2:15:2:28 | "also tainted" | b.js:5:13:5:29 | notTaintedTrustMe |
|
||||
| async.js:2:16:2:23 | "source" | async.js:8:15:8:27 | await async() |
|
||||
| async.js:2:16:2:23 | "source" | async.js:13:15:13:20 | sync() |
|
||||
| async.js:2:16:2:23 | "source" | async.js:27:17:27:17 | e |
|
||||
| async.js:2:16:2:23 | "source" | async.js:36:17:36:17 | e |
|
||||
| async.js:2:16:2:23 | "source" | async.js:41:17:41:17 | e |
|
||||
| async.js:2:16:2:23 | "source" | async.js:54:17:54:36 | unpack(pack(source)) |
|
||||
| async.js:81:16:81:23 | "source" | async.js:82:14:82:36 | (await ... ce))).p |
|
||||
| async.js:81:16:81:23 | "source" | async.js:94:15:94:30 | await (getP(o3)) |
|
||||
| async.js:98:18:98:25 | "source" | async.js:103:15:103:27 | await readP() |
|
||||
| callback.js:16:14:16:21 | "source" | callback.js:13:14:13:14 | x |
|
||||
| callback.js:17:15:17:23 | "source2" | callback.js:13:14:13:14 | x |
|
||||
| callback.js:27:15:27:23 | "source3" | callback.js:13:14:13:14 | x |
|
||||
|
||||
@@ -47,7 +47,7 @@ function test(unsafe, safe) {
|
||||
try {
|
||||
throwAsync(source());
|
||||
} catch (e) {
|
||||
sink(e); // OK - but flagged anyway
|
||||
sink(e); // OK
|
||||
}
|
||||
|
||||
throwAsync(source()).catch(e => {
|
||||
@@ -58,7 +58,7 @@ function test(unsafe, safe) {
|
||||
try {
|
||||
await throwAsync(source());
|
||||
} catch (e) {
|
||||
sink(e); // NOT OK
|
||||
sink(e); // NOT OK - but not flagged
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user