Skip to content

Commit 0a214db

Browse files
committed
update expected output
1 parent 4abed37 commit 0a214db

File tree

2 files changed

+20
-68
lines changed

2 files changed

+20
-68
lines changed

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

Lines changed: 10 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ nodes
2828
| angular2-client.ts:22:44:22:71 | \\u0275getDOM ... ().href |
2929
| angular2-client.ts:22:44:22:71 | \\u0275getDOM ... ().href |
3030
| angular2-client.ts:22:44:22:71 | \\u0275getDOM ... ().href |
31-
| angular2-client.ts:22:44:22:71 | \\u0275getDOM ... ().href |
3231
| angular2-client.ts:24:44:24:69 | this.ro ... .params |
3332
| angular2-client.ts:24:44:24:69 | this.ro ... .params |
3433
| angular2-client.ts:24:44:24:69 | this.ro ... .params |
@@ -80,8 +79,6 @@ nodes
8079
| angular2-client.ts:38:44:38:58 | this.router.url |
8180
| angular2-client.ts:38:44:38:58 | this.router.url |
8281
| angular2-client.ts:38:44:38:58 | this.router.url |
83-
| angular2-client.ts:38:44:38:58 | this.router.url |
84-
| angular2-client.ts:40:45:40:59 | this.router.url |
8582
| angular2-client.ts:40:45:40:59 | this.router.url |
8683
| angular2-client.ts:40:45:40:59 | this.router.url |
8784
| angular2-client.ts:40:45:40:59 | this.router.url |
@@ -300,6 +297,7 @@ nodes
300297
| dates.js:61:81:61:85 | taint |
301298
| event-handler-receiver.js:2:31:2:83 | '<h2><a ... ></h2>' |
302299
| event-handler-receiver.js:2:31:2:83 | '<h2><a ... ></h2>' |
300+
| event-handler-receiver.js:2:31:2:83 | '<h2><a ... ></h2>' |
303301
| event-handler-receiver.js:2:49:2:61 | location.href |
304302
| event-handler-receiver.js:2:49:2:61 | location.href |
305303
| express.js:7:15:7:33 | req.param("wobble") |
@@ -525,43 +523,30 @@ nodes
525523
| string-manipulations.js:4:16:4:37 | documen ... on.href |
526524
| string-manipulations.js:4:16:4:37 | documen ... on.href |
527525
| string-manipulations.js:4:16:4:37 | documen ... on.href |
528-
| string-manipulations.js:4:16:4:37 | documen ... on.href |
529-
| string-manipulations.js:5:16:5:37 | documen ... on.href |
530526
| string-manipulations.js:5:16:5:37 | documen ... on.href |
531527
| string-manipulations.js:5:16:5:37 | documen ... on.href |
532528
| string-manipulations.js:5:16:5:47 | documen ... lueOf() |
533529
| string-manipulations.js:5:16:5:47 | documen ... lueOf() |
534-
| string-manipulations.js:5:16:5:47 | documen ... lueOf() |
535-
| string-manipulations.js:6:16:6:37 | documen ... on.href |
536530
| string-manipulations.js:6:16:6:37 | documen ... on.href |
537531
| string-manipulations.js:6:16:6:37 | documen ... on.href |
538532
| string-manipulations.js:6:16:6:43 | documen ... f.sup() |
539533
| string-manipulations.js:6:16:6:43 | documen ... f.sup() |
540-
| string-manipulations.js:6:16:6:43 | documen ... f.sup() |
541534
| string-manipulations.js:7:16:7:37 | documen ... on.href |
542535
| string-manipulations.js:7:16:7:37 | documen ... on.href |
543-
| string-manipulations.js:7:16:7:37 | documen ... on.href |
544-
| string-manipulations.js:7:16:7:51 | documen ... rCase() |
545536
| string-manipulations.js:7:16:7:51 | documen ... rCase() |
546537
| string-manipulations.js:7:16:7:51 | documen ... rCase() |
547538
| string-manipulations.js:8:16:8:37 | documen ... on.href |
548539
| string-manipulations.js:8:16:8:37 | documen ... on.href |
549-
| string-manipulations.js:8:16:8:37 | documen ... on.href |
550-
| string-manipulations.js:8:16:8:48 | documen ... mLeft() |
551540
| string-manipulations.js:8:16:8:48 | documen ... mLeft() |
552541
| string-manipulations.js:8:16:8:48 | documen ... mLeft() |
553542
| string-manipulations.js:9:16:9:58 | String. ... n.href) |
554543
| string-manipulations.js:9:16:9:58 | String. ... n.href) |
555-
| string-manipulations.js:9:16:9:58 | String. ... n.href) |
556544
| string-manipulations.js:9:36:9:57 | documen ... on.href |
557545
| string-manipulations.js:9:36:9:57 | documen ... on.href |
558-
| string-manipulations.js:9:36:9:57 | documen ... on.href |
559-
| string-manipulations.js:10:16:10:45 | String( ... n.href) |
560546
| string-manipulations.js:10:16:10:45 | String( ... n.href) |
561547
| string-manipulations.js:10:16:10:45 | String( ... n.href) |
562548
| string-manipulations.js:10:23:10:44 | documen ... on.href |
563549
| string-manipulations.js:10:23:10:44 | documen ... on.href |
564-
| string-manipulations.js:10:23:10:44 | documen ... on.href |
565550
| tooltip.jsx:6:11:6:30 | source |
566551
| tooltip.jsx:6:11:6:30 | source |
567552
| tooltip.jsx:6:20:6:30 | window.name |
@@ -622,9 +607,11 @@ nodes
622607
| tst.js:5:18:5:23 | target |
623608
| tst.js:8:18:8:126 | "<OPTIO ... PTION>" |
624609
| tst.js:8:18:8:126 | "<OPTIO ... PTION>" |
610+
| tst.js:8:18:8:126 | "<OPTIO ... PTION>" |
625611
| tst.js:8:37:8:58 | documen ... on.href |
626612
| tst.js:8:37:8:58 | documen ... on.href |
627613
| tst.js:8:37:8:114 | documen ... t=")+8) |
614+
| tst.js:8:37:8:114 | documen ... t=")+8) |
628615
| tst.js:12:5:12:42 | '<div s ... 'px">' |
629616
| tst.js:12:5:12:42 | '<div s ... 'px">' |
630617
| tst.js:12:28:12:33 | target |
@@ -1335,6 +1322,8 @@ edges
13351322
| event-handler-receiver.js:2:49:2:61 | location.href | event-handler-receiver.js:2:31:2:83 | '<h2><a ... ></h2>' |
13361323
| event-handler-receiver.js:2:49:2:61 | location.href | event-handler-receiver.js:2:31:2:83 | '<h2><a ... ></h2>' |
13371324
| event-handler-receiver.js:2:49:2:61 | location.href | event-handler-receiver.js:2:31:2:83 | '<h2><a ... ></h2>' |
1325+
| event-handler-receiver.js:2:49:2:61 | location.href | event-handler-receiver.js:2:31:2:83 | '<h2><a ... ></h2>' |
1326+
| event-handler-receiver.js:2:49:2:61 | location.href | event-handler-receiver.js:2:31:2:83 | '<h2><a ... ></h2>' |
13381327
| express.js:7:15:7:33 | req.param("wobble") | express.js:7:15:7:33 | req.param("wobble") |
13391328
| jquery.js:2:7:2:40 | tainted | jquery.js:7:20:7:26 | tainted |
13401329
| jquery.js:2:7:2:40 | tainted | jquery.js:8:28:8:34 | tainted |
@@ -1552,26 +1541,14 @@ edges
15521541
| string-manipulations.js:5:16:5:37 | documen ... on.href | string-manipulations.js:5:16:5:47 | documen ... lueOf() |
15531542
| string-manipulations.js:5:16:5:37 | documen ... on.href | string-manipulations.js:5:16:5:47 | documen ... lueOf() |
15541543
| string-manipulations.js:5:16:5:37 | documen ... on.href | string-manipulations.js:5:16:5:47 | documen ... lueOf() |
1555-
| string-manipulations.js:5:16:5:37 | documen ... on.href | string-manipulations.js:5:16:5:47 | documen ... lueOf() |
1556-
| string-manipulations.js:5:16:5:37 | documen ... on.href | string-manipulations.js:5:16:5:47 | documen ... lueOf() |
1557-
| string-manipulations.js:5:16:5:37 | documen ... on.href | string-manipulations.js:5:16:5:47 | documen ... lueOf() |
1558-
| string-manipulations.js:6:16:6:37 | documen ... on.href | string-manipulations.js:6:16:6:43 | documen ... f.sup() |
15591544
| string-manipulations.js:6:16:6:37 | documen ... on.href | string-manipulations.js:6:16:6:43 | documen ... f.sup() |
15601545
| string-manipulations.js:6:16:6:37 | documen ... on.href | string-manipulations.js:6:16:6:43 | documen ... f.sup() |
15611546
| string-manipulations.js:6:16:6:37 | documen ... on.href | string-manipulations.js:6:16:6:43 | documen ... f.sup() |
15621547
| string-manipulations.js:6:16:6:37 | documen ... on.href | string-manipulations.js:6:16:6:43 | documen ... f.sup() |
1563-
| string-manipulations.js:6:16:6:37 | documen ... on.href | string-manipulations.js:6:16:6:43 | documen ... f.sup() |
1564-
| string-manipulations.js:6:16:6:37 | documen ... on.href | string-manipulations.js:6:16:6:43 | documen ... f.sup() |
1565-
| string-manipulations.js:7:16:7:37 | documen ... on.href | string-manipulations.js:7:16:7:51 | documen ... rCase() |
15661548
| string-manipulations.js:7:16:7:37 | documen ... on.href | string-manipulations.js:7:16:7:51 | documen ... rCase() |
15671549
| string-manipulations.js:7:16:7:37 | documen ... on.href | string-manipulations.js:7:16:7:51 | documen ... rCase() |
15681550
| string-manipulations.js:7:16:7:37 | documen ... on.href | string-manipulations.js:7:16:7:51 | documen ... rCase() |
15691551
| string-manipulations.js:7:16:7:37 | documen ... on.href | string-manipulations.js:7:16:7:51 | documen ... rCase() |
1570-
| string-manipulations.js:7:16:7:37 | documen ... on.href | string-manipulations.js:7:16:7:51 | documen ... rCase() |
1571-
| string-manipulations.js:7:16:7:37 | documen ... on.href | string-manipulations.js:7:16:7:51 | documen ... rCase() |
1572-
| string-manipulations.js:8:16:8:37 | documen ... on.href | string-manipulations.js:8:16:8:48 | documen ... mLeft() |
1573-
| string-manipulations.js:8:16:8:37 | documen ... on.href | string-manipulations.js:8:16:8:48 | documen ... mLeft() |
1574-
| string-manipulations.js:8:16:8:37 | documen ... on.href | string-manipulations.js:8:16:8:48 | documen ... mLeft() |
15751552
| string-manipulations.js:8:16:8:37 | documen ... on.href | string-manipulations.js:8:16:8:48 | documen ... mLeft() |
15761553
| string-manipulations.js:8:16:8:37 | documen ... on.href | string-manipulations.js:8:16:8:48 | documen ... mLeft() |
15771554
| string-manipulations.js:8:16:8:37 | documen ... on.href | string-manipulations.js:8:16:8:48 | documen ... mLeft() |
@@ -1580,12 +1557,6 @@ edges
15801557
| string-manipulations.js:9:36:9:57 | documen ... on.href | string-manipulations.js:9:16:9:58 | String. ... n.href) |
15811558
| string-manipulations.js:9:36:9:57 | documen ... on.href | string-manipulations.js:9:16:9:58 | String. ... n.href) |
15821559
| string-manipulations.js:9:36:9:57 | documen ... on.href | string-manipulations.js:9:16:9:58 | String. ... n.href) |
1583-
| string-manipulations.js:9:36:9:57 | documen ... on.href | string-manipulations.js:9:16:9:58 | String. ... n.href) |
1584-
| string-manipulations.js:9:36:9:57 | documen ... on.href | string-manipulations.js:9:16:9:58 | String. ... n.href) |
1585-
| string-manipulations.js:9:36:9:57 | documen ... on.href | string-manipulations.js:9:16:9:58 | String. ... n.href) |
1586-
| string-manipulations.js:10:23:10:44 | documen ... on.href | string-manipulations.js:10:16:10:45 | String( ... n.href) |
1587-
| string-manipulations.js:10:23:10:44 | documen ... on.href | string-manipulations.js:10:16:10:45 | String( ... n.href) |
1588-
| string-manipulations.js:10:23:10:44 | documen ... on.href | string-manipulations.js:10:16:10:45 | String( ... n.href) |
15891560
| string-manipulations.js:10:23:10:44 | documen ... on.href | string-manipulations.js:10:16:10:45 | String( ... n.href) |
15901561
| string-manipulations.js:10:23:10:44 | documen ... on.href | string-manipulations.js:10:16:10:45 | String( ... n.href) |
15911562
| string-manipulations.js:10:23:10:44 | documen ... on.href | string-manipulations.js:10:16:10:45 | String( ... n.href) |
@@ -1655,6 +1626,11 @@ edges
16551626
| tst.js:2:16:2:39 | documen ... .search | tst.js:2:7:2:39 | target |
16561627
| tst.js:8:37:8:58 | documen ... on.href | tst.js:8:37:8:114 | documen ... t=")+8) |
16571628
| tst.js:8:37:8:58 | documen ... on.href | tst.js:8:37:8:114 | documen ... t=")+8) |
1629+
| tst.js:8:37:8:58 | documen ... on.href | tst.js:8:37:8:114 | documen ... t=")+8) |
1630+
| tst.js:8:37:8:58 | documen ... on.href | tst.js:8:37:8:114 | documen ... t=")+8) |
1631+
| tst.js:8:37:8:114 | documen ... t=")+8) | tst.js:8:18:8:126 | "<OPTIO ... PTION>" |
1632+
| tst.js:8:37:8:114 | documen ... t=")+8) | tst.js:8:18:8:126 | "<OPTIO ... PTION>" |
1633+
| tst.js:8:37:8:114 | documen ... t=")+8) | tst.js:8:18:8:126 | "<OPTIO ... PTION>" |
16581634
| tst.js:8:37:8:114 | documen ... t=")+8) | tst.js:8:18:8:126 | "<OPTIO ... PTION>" |
16591635
| tst.js:8:37:8:114 | documen ... t=")+8) | tst.js:8:18:8:126 | "<OPTIO ... PTION>" |
16601636
| tst.js:12:28:12:33 | target | tst.js:12:5:12:42 | '<div s ... 'px">' |

0 commit comments

Comments
 (0)