Skip to content

Commit 03c91a6

Browse files
committed
JS: Update expected output
1 parent 9ca25d5 commit 03c91a6

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

javascript/ql/test/query-tests/Security/CWE-079/XssWithAdditionalSources.expected

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -453,6 +453,23 @@ nodes
453453
| tst.js:414:19:414:31 | target.taint8 |
454454
| tst.js:415:18:415:30 | target.taint8 |
455455
| tst.js:415:18:415:30 | target.taint8 |
456+
| tst.js:422:7:422:46 | payload |
457+
| tst.js:422:17:422:31 | window.location |
458+
| tst.js:422:17:422:31 | window.location |
459+
| tst.js:422:17:422:46 | window. ... bstr(1) |
460+
| tst.js:423:18:423:24 | payload |
461+
| tst.js:423:18:423:24 | payload |
462+
| tst.js:425:7:425:55 | match |
463+
| tst.js:425:15:425:29 | window.location |
464+
| tst.js:425:15:425:29 | window.location |
465+
| tst.js:425:15:425:55 | window. ... (\\w+)/) |
466+
| tst.js:427:20:427:24 | match |
467+
| tst.js:427:20:427:27 | match[1] |
468+
| tst.js:427:20:427:27 | match[1] |
469+
| tst.js:430:18:430:32 | window.location |
470+
| tst.js:430:18:430:32 | window.location |
471+
| tst.js:430:18:430:51 | window. ... '#')[1] |
472+
| tst.js:430:18:430:51 | window. ... '#')[1] |
456473
| typeahead.js:9:28:9:30 | loc |
457474
| typeahead.js:9:28:9:30 | loc |
458475
| typeahead.js:10:16:10:18 | loc |
@@ -886,6 +903,21 @@ edges
886903
| tst.js:414:19:414:31 | target.taint8 | tst.js:414:19:414:31 | target.taint8 |
887904
| tst.js:414:19:414:31 | target.taint8 | tst.js:415:18:415:30 | target.taint8 |
888905
| tst.js:414:19:414:31 | target.taint8 | tst.js:415:18:415:30 | target.taint8 |
906+
| tst.js:422:7:422:46 | payload | tst.js:423:18:423:24 | payload |
907+
| tst.js:422:7:422:46 | payload | tst.js:423:18:423:24 | payload |
908+
| tst.js:422:17:422:31 | window.location | tst.js:422:17:422:46 | window. ... bstr(1) |
909+
| tst.js:422:17:422:31 | window.location | tst.js:422:17:422:46 | window. ... bstr(1) |
910+
| tst.js:422:17:422:46 | window. ... bstr(1) | tst.js:422:7:422:46 | payload |
911+
| tst.js:425:7:425:55 | match | tst.js:427:20:427:24 | match |
912+
| tst.js:425:15:425:29 | window.location | tst.js:425:15:425:55 | window. ... (\\w+)/) |
913+
| tst.js:425:15:425:29 | window.location | tst.js:425:15:425:55 | window. ... (\\w+)/) |
914+
| tst.js:425:15:425:55 | window. ... (\\w+)/) | tst.js:425:7:425:55 | match |
915+
| tst.js:427:20:427:24 | match | tst.js:427:20:427:27 | match[1] |
916+
| tst.js:427:20:427:24 | match | tst.js:427:20:427:27 | match[1] |
917+
| tst.js:430:18:430:32 | window.location | tst.js:430:18:430:51 | window. ... '#')[1] |
918+
| tst.js:430:18:430:32 | window.location | tst.js:430:18:430:51 | window. ... '#')[1] |
919+
| tst.js:430:18:430:32 | window.location | tst.js:430:18:430:51 | window. ... '#')[1] |
920+
| tst.js:430:18:430:32 | window.location | tst.js:430:18:430:51 | window. ... '#')[1] |
889921
| typeahead.js:9:28:9:30 | loc | typeahead.js:10:16:10:18 | loc |
890922
| typeahead.js:9:28:9:30 | loc | typeahead.js:10:16:10:18 | loc |
891923
| typeahead.js:9:28:9:30 | loc | typeahead.js:10:16:10:18 | loc |

0 commit comments

Comments
 (0)