Skip to content

Commit ea9d618

Browse files
committed
update expected test outpu
1 parent c6c1ebe commit ea9d618

File tree

1 file changed

+31
-4
lines changed

1 file changed

+31
-4
lines changed

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

Lines changed: 31 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@ nodes
1515
| addEventListener.js:12:24:12:28 | event |
1616
| addEventListener.js:12:24:12:33 | event.data |
1717
| addEventListener.js:12:24:12:33 | event.data |
18+
| exception-xss.js:2:9:2:31 | foo |
19+
| exception-xss.js:2:15:2:31 | document.location |
20+
| exception-xss.js:2:15:2:31 | document.location |
21+
| exception-xss.js:86:17:86:19 | foo |
22+
| exception-xss.js:86:17:86:19 | foo |
1823
| jquery.js:2:7:2:40 | tainted |
1924
| jquery.js:2:17:2:33 | document.location |
2025
| jquery.js:2:17:2:33 | document.location |
@@ -313,9 +318,19 @@ nodes
313318
| tst.js:282:19:282:29 | window.name |
314319
| tst.js:285:59:285:65 | tainted |
315320
| tst.js:285:59:285:65 | tainted |
316-
| tst.js:297:35:297:42 | location |
317-
| tst.js:297:35:297:42 | location |
318-
| tst.js:297:35:297:42 | location |
321+
| tst.js:298:9:298:16 | location |
322+
| tst.js:298:9:298:16 | location |
323+
| tst.js:299:10:299:10 | e |
324+
| tst.js:300:20:300:20 | e |
325+
| tst.js:300:20:300:20 | e |
326+
| tst.js:305:10:305:17 | location |
327+
| tst.js:305:10:305:17 | location |
328+
| tst.js:307:10:307:10 | e |
329+
| tst.js:308:20:308:20 | e |
330+
| tst.js:308:20:308:20 | e |
331+
| tst.js:313:35:313:42 | location |
332+
| tst.js:313:35:313:42 | location |
333+
| tst.js:313:35:313:42 | location |
319334
| typeahead.js:9:28:9:30 | loc |
320335
| typeahead.js:9:28:9:30 | loc |
321336
| typeahead.js:10:16:10:18 | loc |
@@ -355,6 +370,10 @@ edges
355370
| addEventListener.js:10:21:10:25 | event | addEventListener.js:12:24:12:28 | event |
356371
| addEventListener.js:12:24:12:28 | event | addEventListener.js:12:24:12:33 | event.data |
357372
| addEventListener.js:12:24:12:28 | event | addEventListener.js:12:24:12:33 | event.data |
373+
| exception-xss.js:2:9:2:31 | foo | exception-xss.js:86:17:86:19 | foo |
374+
| exception-xss.js:2:9:2:31 | foo | exception-xss.js:86:17:86:19 | foo |
375+
| exception-xss.js:2:15:2:31 | document.location | exception-xss.js:2:9:2:31 | foo |
376+
| exception-xss.js:2:15:2:31 | document.location | exception-xss.js:2:9:2:31 | foo |
358377
| jquery.js:2:7:2:40 | tainted | jquery.js:4:5:4:11 | tainted |
359378
| jquery.js:2:7:2:40 | tainted | jquery.js:4:5:4:11 | tainted |
360379
| jquery.js:2:7:2:40 | tainted | jquery.js:7:20:7:26 | tainted |
@@ -614,7 +633,15 @@ edges
614633
| tst.js:282:9:282:29 | tainted | tst.js:285:59:285:65 | tainted |
615634
| tst.js:282:19:282:29 | window.name | tst.js:282:9:282:29 | tainted |
616635
| tst.js:282:19:282:29 | window.name | tst.js:282:9:282:29 | tainted |
617-
| tst.js:297:35:297:42 | location | tst.js:297:35:297:42 | location |
636+
| tst.js:298:9:298:16 | location | tst.js:299:10:299:10 | e |
637+
| tst.js:298:9:298:16 | location | tst.js:299:10:299:10 | e |
638+
| tst.js:299:10:299:10 | e | tst.js:300:20:300:20 | e |
639+
| tst.js:299:10:299:10 | e | tst.js:300:20:300:20 | e |
640+
| tst.js:305:10:305:17 | location | tst.js:307:10:307:10 | e |
641+
| tst.js:305:10:305:17 | location | tst.js:307:10:307:10 | e |
642+
| tst.js:307:10:307:10 | e | tst.js:308:20:308:20 | e |
643+
| tst.js:307:10:307:10 | e | tst.js:308:20:308:20 | e |
644+
| tst.js:313:35:313:42 | location | tst.js:313:35:313:42 | location |
618645
| typeahead.js:9:28:9:30 | loc | typeahead.js:10:16:10:18 | loc |
619646
| typeahead.js:9:28:9:30 | loc | typeahead.js:10:16:10:18 | loc |
620647
| typeahead.js:9:28:9:30 | loc | typeahead.js:10:16:10:18 | loc |

0 commit comments

Comments
 (0)