Skip to content

Commit 688afdd

Browse files
committed
Re-order expected test output of all JS tests
1 parent 8f58685 commit 688afdd

File tree

29 files changed

+3390
-3407
lines changed

29 files changed

+3390
-3407
lines changed

javascript/ql/test/library-tests/Constants/Constants.expected

Lines changed: 86 additions & 86 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,89 @@
1+
#select
2+
| tst2.ts:1:13:1:21 | <number>1 |
3+
| tst2.ts:1:21:1:21 | 1 |
4+
| tst.js:1:1:1:3 | "a" |
5+
| tst.js:2:1:2:3 | "b" |
6+
| tst.js:2:1:2:9 | "b" + "c" |
7+
| tst.js:2:7:2:9 | "c" |
8+
| tst.js:3:1:3:3 | "d" |
9+
| tst.js:3:1:3:9 | "d" + "e" |
10+
| tst.js:3:1:3:15 | "d" + "e" + "f" |
11+
| tst.js:3:7:3:9 | "e" |
12+
| tst.js:3:13:3:15 | "f" |
13+
| tst.js:4:1:4:3 | `g` |
14+
| tst.js:4:1:4:9 | `g` + `h` |
15+
| tst.js:4:2:4:2 | g |
16+
| tst.js:4:7:4:9 | `h` |
17+
| tst.js:4:8:4:8 | h |
18+
| tst.js:6:1:6:1 | 1 |
19+
| tst.js:8:1:8:5 | false |
20+
| tst.js:9:1:9:4 | true |
21+
| tst.js:11:1:11:2 | -1 |
22+
| tst.js:11:2:11:2 | 1 |
23+
| tst.js:12:1:12:2 | !0 |
24+
| tst.js:12:2:12:2 | 0 |
25+
| tst.js:14:1:14:4 | null |
26+
| tst.js:16:1:16:9 | undefined |
27+
| tst.js:24:2:24:9 | `${"x"}` |
28+
| tst.js:24:5:24:7 | "x" |
29+
| tst.js:26:1:26:3 | !!0 |
30+
| tst.js:26:2:26:3 | !0 |
31+
| tst.js:26:3:26:3 | 0 |
32+
| tst.js:27:1:27:4 | !!`` |
33+
| tst.js:27:2:27:4 | !`` |
34+
| tst.js:27:3:27:4 | `` |
35+
| tst.js:29:1:29:6 | void 0 |
36+
| tst.js:29:6:29:6 | 0 |
37+
| tst.js:30:1:30:8 | void f() |
38+
| tst.js:32:1:32:3 | NaN |
39+
| tst.js:33:1:33:8 | Infinity |
40+
| tst.js:35:1:35:1 | 1 |
41+
| tst.js:35:1:35:5 | 1 + 2 |
42+
| tst.js:35:1:35:9 | 1 + 2 + 3 |
43+
| tst.js:35:5:35:5 | 2 |
44+
| tst.js:35:9:35:9 | 3 |
45+
| tst.js:37:1:37:3 | (1) |
46+
| tst.js:37:2:37:2 | 1 |
47+
| tst.js:39:1:39:4 | f, 1 |
48+
| tst.js:39:4:39:4 | 1 |
49+
| tst.js:40:1:40:1 | 1 |
50+
| tst.js:42:1:42:1 | 1 |
51+
| tst.js:42:1:42:7 | 1? 2: 3 |
52+
| tst.js:42:4:42:4 | 2 |
53+
| tst.js:42:7:42:7 | 3 |
54+
| tst.js:43:4:43:4 | 2 |
55+
| tst.js:43:7:43:7 | 3 |
56+
| tst.js:44:1:44:1 | 1 |
57+
| tst.js:44:7:44:7 | 3 |
58+
| tst.js:45:1:45:1 | 1 |
59+
| tst.js:45:4:45:4 | 2 |
60+
| tst.js:47:1:47:5 | x = 1 |
61+
| tst.js:47:5:47:5 | 1 |
62+
| tst.js:48:1:48:7 | x.p = 1 |
63+
| tst.js:48:7:48:7 | 1 |
64+
| tst.js:49:6:49:6 | 1 |
65+
| tst.js:52:1:52:9 | x = 1_000 |
66+
| tst.js:52:5:52:9 | 1_000 |
67+
| tst.js:53:1:53:13 | x = 1_000_123 |
68+
| tst.js:53:5:53:13 | 1_000_123 |
69+
| tst.js:54:1:54:17 | x = 1_000_000_000 |
70+
| tst.js:54:5:54:17 | 1_000_000_000 |
71+
| tst.js:55:1:55:18 | x = 101_475_938.38 |
72+
| tst.js:55:5:55:18 | 101_475_938.38 |
73+
| tst.js:56:1:56:10 | x = 123_00 |
74+
| tst.js:56:5:56:10 | 123_00 |
75+
| tst.js:57:1:57:10 | x = 12_300 |
76+
| tst.js:57:5:57:10 | 12_300 |
77+
| tst.js:58:1:58:12 | x = 12345_00 |
78+
| tst.js:58:5:58:12 | 12345_00 |
79+
| tst.js:59:1:59:12 | x = 123_4500 |
80+
| tst.js:59:5:59:12 | 123_4500 |
81+
| tst.js:60:1:60:13 | x = 1_234_500 |
82+
| tst.js:60:5:60:13 | 1_234_500 |
83+
| tst.js:61:1:61:10 | x = 1e1_00 |
84+
| tst.js:61:5:61:10 | 1e1_00 |
85+
| tst.js:62:1:62:14 | x = 0xaa_bb_cc |
86+
| tst.js:62:5:62:14 | 0xaa_bb_cc |
187
getIntValue
288
| tst2.ts:1:21:1:21 | 1 | 1 |
389
| tst.js:6:1:6:1 | 1 | 1 |
@@ -117,89 +203,3 @@ getLiteralValue
117203
| tst.js:60:5:60:13 | 1_234_500 | 1234500 |
118204
| tst.js:61:5:61:10 | 1e1_00 | 1.0E100 |
119205
| tst.js:62:5:62:14 | 0xaa_bb_cc | 11189196 |
120-
#select
121-
| tst2.ts:1:13:1:21 | <number>1 |
122-
| tst2.ts:1:21:1:21 | 1 |
123-
| tst.js:1:1:1:3 | "a" |
124-
| tst.js:2:1:2:3 | "b" |
125-
| tst.js:2:1:2:9 | "b" + "c" |
126-
| tst.js:2:7:2:9 | "c" |
127-
| tst.js:3:1:3:3 | "d" |
128-
| tst.js:3:1:3:9 | "d" + "e" |
129-
| tst.js:3:1:3:15 | "d" + "e" + "f" |
130-
| tst.js:3:7:3:9 | "e" |
131-
| tst.js:3:13:3:15 | "f" |
132-
| tst.js:4:1:4:3 | `g` |
133-
| tst.js:4:1:4:9 | `g` + `h` |
134-
| tst.js:4:2:4:2 | g |
135-
| tst.js:4:7:4:9 | `h` |
136-
| tst.js:4:8:4:8 | h |
137-
| tst.js:6:1:6:1 | 1 |
138-
| tst.js:8:1:8:5 | false |
139-
| tst.js:9:1:9:4 | true |
140-
| tst.js:11:1:11:2 | -1 |
141-
| tst.js:11:2:11:2 | 1 |
142-
| tst.js:12:1:12:2 | !0 |
143-
| tst.js:12:2:12:2 | 0 |
144-
| tst.js:14:1:14:4 | null |
145-
| tst.js:16:1:16:9 | undefined |
146-
| tst.js:24:2:24:9 | `${"x"}` |
147-
| tst.js:24:5:24:7 | "x" |
148-
| tst.js:26:1:26:3 | !!0 |
149-
| tst.js:26:2:26:3 | !0 |
150-
| tst.js:26:3:26:3 | 0 |
151-
| tst.js:27:1:27:4 | !!`` |
152-
| tst.js:27:2:27:4 | !`` |
153-
| tst.js:27:3:27:4 | `` |
154-
| tst.js:29:1:29:6 | void 0 |
155-
| tst.js:29:6:29:6 | 0 |
156-
| tst.js:30:1:30:8 | void f() |
157-
| tst.js:32:1:32:3 | NaN |
158-
| tst.js:33:1:33:8 | Infinity |
159-
| tst.js:35:1:35:1 | 1 |
160-
| tst.js:35:1:35:5 | 1 + 2 |
161-
| tst.js:35:1:35:9 | 1 + 2 + 3 |
162-
| tst.js:35:5:35:5 | 2 |
163-
| tst.js:35:9:35:9 | 3 |
164-
| tst.js:37:1:37:3 | (1) |
165-
| tst.js:37:2:37:2 | 1 |
166-
| tst.js:39:1:39:4 | f, 1 |
167-
| tst.js:39:4:39:4 | 1 |
168-
| tst.js:40:1:40:1 | 1 |
169-
| tst.js:42:1:42:1 | 1 |
170-
| tst.js:42:1:42:7 | 1? 2: 3 |
171-
| tst.js:42:4:42:4 | 2 |
172-
| tst.js:42:7:42:7 | 3 |
173-
| tst.js:43:4:43:4 | 2 |
174-
| tst.js:43:7:43:7 | 3 |
175-
| tst.js:44:1:44:1 | 1 |
176-
| tst.js:44:7:44:7 | 3 |
177-
| tst.js:45:1:45:1 | 1 |
178-
| tst.js:45:4:45:4 | 2 |
179-
| tst.js:47:1:47:5 | x = 1 |
180-
| tst.js:47:5:47:5 | 1 |
181-
| tst.js:48:1:48:7 | x.p = 1 |
182-
| tst.js:48:7:48:7 | 1 |
183-
| tst.js:49:6:49:6 | 1 |
184-
| tst.js:52:1:52:9 | x = 1_000 |
185-
| tst.js:52:5:52:9 | 1_000 |
186-
| tst.js:53:1:53:13 | x = 1_000_123 |
187-
| tst.js:53:5:53:13 | 1_000_123 |
188-
| tst.js:54:1:54:17 | x = 1_000_000_000 |
189-
| tst.js:54:5:54:17 | 1_000_000_000 |
190-
| tst.js:55:1:55:18 | x = 101_475_938.38 |
191-
| tst.js:55:5:55:18 | 101_475_938.38 |
192-
| tst.js:56:1:56:10 | x = 123_00 |
193-
| tst.js:56:5:56:10 | 123_00 |
194-
| tst.js:57:1:57:10 | x = 12_300 |
195-
| tst.js:57:5:57:10 | 12_300 |
196-
| tst.js:58:1:58:12 | x = 12345_00 |
197-
| tst.js:58:5:58:12 | 12345_00 |
198-
| tst.js:59:1:59:12 | x = 123_4500 |
199-
| tst.js:59:5:59:12 | 123_4500 |
200-
| tst.js:60:1:60:13 | x = 1_234_500 |
201-
| tst.js:60:5:60:13 | 1_234_500 |
202-
| tst.js:61:1:61:10 | x = 1e1_00 |
203-
| tst.js:61:5:61:10 | 1e1_00 |
204-
| tst.js:62:1:62:14 | x = 0xaa_bb_cc |
205-
| tst.js:62:5:62:14 | 0xaa_bb_cc |
Lines changed: 81 additions & 81 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,50 @@
1+
test_Element
2+
| event-handler-receiver.html:1:1:6:7 | <html>...</> | event-handler-receiver.html:1:1:6:7 | <html>...</> |
3+
| event-handler-receiver.html:2:1:2:13 | <head>...</> | event-handler-receiver.html:2:1:2:13 | <head>...</> |
4+
| event-handler-receiver.html:3:1:5:7 | <body>...</> | event-handler-receiver.html:3:1:5:7 | <body>...</> |
5+
| event-handler-receiver.html:4:3:4:58 | <button>...</> | event-handler-receiver.html:4:3:4:58 | <button>...</> |
6+
| tst.html:1:1:5:7 | <html>...</> | tst.html:1:1:5:7 | <html>...</> |
7+
| tst.html:2:1:4:7 | <body>...</> | tst.html:2:1:4:7 | <body>...</> |
8+
| tst.html:3:3:3:57 | <a>...</> | tst.html:3:3:3:57 | <a>...</> |
9+
| tst.js:3:11:3:31 | $("<a/> ... rAttrs) | tst.js:3:11:3:31 | $("<a/> ... rAttrs) |
10+
| tst.js:3:11:3:66 | $("<a/> ... e.com") | tst.js:3:11:3:31 | $("<a/> ... rAttrs) |
11+
| tst.js:4:3:4:3 | a | tst.js:3:11:3:31 | $("<a/> ... rAttrs) |
12+
| tst.js:4:3:4:27 | a.attr( ... pener") | tst.js:3:11:3:31 | $("<a/> ... rAttrs) |
13+
| tst.js:5:3:5:3 | a | tst.js:3:11:3:31 | $("<a/> ... rAttrs) |
14+
| tst.js:5:3:7:4 | a.attr( ... f"\\n }) | tst.js:3:11:3:31 | $("<a/> ... rAttrs) |
15+
| tst.js:8:3:8:3 | a | tst.js:3:11:3:31 | $("<a/> ... rAttrs) |
16+
| tst.js:8:3:8:29 | a.prop( ... errer") | tst.js:3:11:3:31 | $("<a/> ... rAttrs) |
17+
| tst.js:9:3:9:3 | a | tst.js:3:11:3:31 | $("<a/> ... rAttrs) |
18+
| tst.js:9:3:11:4 | a.prop( ... f"\\n }) | tst.js:3:11:3:31 | $("<a/> ... rAttrs) |
19+
| tst.js:12:10:12:10 | a | tst.js:3:11:3:31 | $("<a/> ... rAttrs) |
20+
| tst.js:13:10:13:10 | a | tst.js:3:11:3:31 | $("<a/> ... rAttrs) |
21+
| tst.js:23:5:23:30 | React.c ... ('div') | tst.js:23:5:23:30 | React.c ... ('div') |
22+
| tst.js:24:5:24:55 | React.c ... , null) | tst.js:24:5:24:55 | React.c ... , null) |
23+
| tst.js:27:5:27:14 | factory1() | tst.js:27:5:27:14 | factory1() |
24+
| tst.js:31:20:31:55 | <div>He ... }</div> | tst.js:31:20:31:55 | <div>He ... }</div> |
25+
| tst.js:36:5:36:55 | React.c ... , null) | tst.js:36:5:36:55 | React.c ... , null) |
26+
| tst.js:39:5:39:14 | factory2() | tst.js:39:5:39:14 | factory2() |
27+
| tst.jsx:4:11:4:75 | <a href ... mle</a> | tst.jsx:4:11:4:75 | <a href ... mle</a> |
28+
| tst.jsx:5:3:5:3 | a | tst.jsx:4:11:4:75 | <a href ... mle</a> |
29+
test_WebStorageWrite
30+
| tst.js:15:22:15:28 | "value" |
31+
| tst.js:16:31:16:37 | "value" |
32+
| tst.js:17:24:17:30 | "value" |
33+
| tst.js:18:33:18:39 | "value" |
34+
test_ElementDefinition
35+
| event-handler-receiver.html:1:1:6:7 | <html>...</> | html |
36+
| event-handler-receiver.html:2:1:2:13 | <head>...</> | head |
37+
| event-handler-receiver.html:3:1:5:7 | <body>...</> | body |
38+
| event-handler-receiver.html:4:3:4:58 | <button>...</> | button |
39+
| tst.html:1:1:5:7 | <html>...</> | html |
40+
| tst.html:2:1:4:7 | <body>...</> | body |
41+
| tst.html:3:3:3:57 | <a>...</> | a |
42+
| tst.js:3:11:3:31 | $("<a/> ... rAttrs) | a |
43+
| tst.js:23:5:23:30 | React.c ... ('div') | div |
44+
| tst.js:24:5:24:55 | React.c ... , null) | div |
45+
| tst.js:27:5:27:14 | factory1() | div |
46+
| tst.js:31:20:31:55 | <div>He ... }</div> | div |
47+
| tst.jsx:4:11:4:75 | <a href ... mle</a> | a |
148
test_AttributeDefinition
249
| event-handler-receiver.html:4:11:4:40 | onclick=alert(this.tagName); |
350
| tst.html:3:6:3:30 | href=https://semmle.com |
@@ -13,13 +60,6 @@ test_AttributeDefinition
1360
| tst.jsx:4:14:4:38 | href="h ... le.com" |
1461
| tst.jsx:4:40:4:48 | rel={rel} |
1562
| tst.jsx:4:50:4:64 | {...otherAttrs} |
16-
test_ElementDefinition_getAttribute
17-
| event-handler-receiver.html:4:3:4:58 | <button>...</> | 0 | event-handler-receiver.html:4:11:4:40 | onclick=alert(this.tagName); |
18-
| tst.html:3:3:3:57 | <a>...</> | 0 | tst.html:3:6:3:30 | href=https://semmle.com |
19-
| tst.html:3:3:3:57 | <a>...</> | 1 | tst.html:3:32:3:46 | target=_blank |
20-
| tst.jsx:4:11:4:75 | <a href ... mle</a> | 0 | tst.jsx:4:14:4:38 | href="h ... le.com" |
21-
| tst.jsx:4:11:4:75 | <a href ... mle</a> | 1 | tst.jsx:4:40:4:48 | rel={rel} |
22-
| tst.jsx:4:11:4:75 | <a href ... mle</a> | 2 | tst.jsx:4:50:4:64 | {...otherAttrs} |
2363
test_ElementDefinition_getRoot
2464
| event-handler-receiver.html:1:1:6:7 | <html>...</> | event-handler-receiver.html:1:1:6:7 | <html>...</> |
2565
| event-handler-receiver.html:2:1:2:13 | <head>...</> | event-handler-receiver.html:1:1:6:7 | <html>...</> |
@@ -36,38 +76,6 @@ test_ElementDefinition_getRoot
3676
| tst.js:36:5:36:55 | React.c ... , null) | tst.js:36:5:36:55 | React.c ... , null) |
3777
| tst.js:39:5:39:14 | factory2() | tst.js:39:5:39:14 | factory2() |
3878
| tst.jsx:4:11:4:75 | <a href ... mle</a> | tst.jsx:4:11:4:75 | <a href ... mle</a> |
39-
test_WebStorageWrite
40-
| tst.js:15:22:15:28 | "value" |
41-
| tst.js:16:31:16:37 | "value" |
42-
| tst.js:17:24:17:30 | "value" |
43-
| tst.js:18:33:18:39 | "value" |
44-
test_ElementDefinition_getAttributeByName
45-
| event-handler-receiver.html:4:3:4:58 | <button>...</> | onclick | event-handler-receiver.html:4:11:4:40 | onclick=alert(this.tagName); |
46-
| tst.html:3:3:3:57 | <a>...</> | href | tst.html:3:6:3:30 | href=https://semmle.com |
47-
| tst.html:3:3:3:57 | <a>...</> | target | tst.html:3:32:3:46 | target=_blank |
48-
| tst.js:3:11:3:31 | $("<a/> ... rAttrs) | data-bind | tst.js:6:5:6:24 | "data-bind": "stuff" |
49-
| tst.js:3:11:3:31 | $("<a/> ... rAttrs) | data-bind | tst.js:10:5:10:29 | "data-b ... rstuff" |
50-
| tst.js:3:11:3:31 | $("<a/> ... rAttrs) | data-bind | tst.js:13:3:13:28 | $.prop( ... d", "") |
51-
| tst.js:3:11:3:31 | $("<a/> ... rAttrs) | href | tst.js:3:11:3:66 | $("<a/> ... e.com") |
52-
| tst.js:3:11:3:31 | $("<a/> ... rAttrs) | rel | tst.js:4:3:4:27 | a.attr( ... pener") |
53-
| tst.js:3:11:3:31 | $("<a/> ... rAttrs) | rel | tst.js:8:3:8:29 | a.prop( ... errer") |
54-
| tst.js:3:11:3:31 | $("<a/> ... rAttrs) | rel | tst.js:12:3:12:41 | $.attr( ... errer") |
55-
| tst.js:3:11:3:31 | $("<a/> ... rAttrs) | target | tst.js:2:22:2:37 | target: "_blank" |
56-
| tst.jsx:4:11:4:75 | <a href ... mle</a> | href | tst.jsx:4:14:4:38 | href="h ... le.com" |
57-
| tst.jsx:4:11:4:75 | <a href ... mle</a> | rel | tst.jsx:4:40:4:48 | rel={rel} |
58-
test_AttributeDefinition_getStringValue
59-
| event-handler-receiver.html:4:11:4:40 | onclick=alert(this.tagName); | alert(this.tagName); |
60-
| tst.html:3:6:3:30 | href=https://semmle.com | https://semmle.com |
61-
| tst.html:3:32:3:46 | target=_blank | _blank |
62-
| tst.js:2:22:2:37 | target: "_blank" | _blank |
63-
| tst.js:3:11:3:66 | $("<a/> ... e.com") | https://semmle.com |
64-
| tst.js:4:3:4:27 | a.attr( ... pener") | noopener |
65-
| tst.js:6:5:6:24 | "data-bind": "stuff" | stuff |
66-
| tst.js:8:3:8:29 | a.prop( ... errer") | noreferrer |
67-
| tst.js:10:5:10:29 | "data-b ... rstuff" | otherstuff |
68-
| tst.js:12:3:12:41 | $.attr( ... errer") | noopener noreferrer |
69-
| tst.js:13:3:13:28 | $.prop( ... d", "") | |
70-
| tst.jsx:4:14:4:38 | href="h ... le.com" | https://semmle.com |
7179
test_AttributeDefinition_getName
7280
| event-handler-receiver.html:4:11:4:40 | onclick=alert(this.tagName); | onclick |
7381
| tst.html:3:6:3:30 | href=https://semmle.com | href |
@@ -82,34 +90,13 @@ test_AttributeDefinition_getName
8290
| tst.js:13:3:13:28 | $.prop( ... d", "") | data-bind |
8391
| tst.jsx:4:14:4:38 | href="h ... le.com" | href |
8492
| tst.jsx:4:40:4:48 | rel={rel} | rel |
85-
test_Element
86-
| event-handler-receiver.html:1:1:6:7 | <html>...</> | event-handler-receiver.html:1:1:6:7 | <html>...</> |
87-
| event-handler-receiver.html:2:1:2:13 | <head>...</> | event-handler-receiver.html:2:1:2:13 | <head>...</> |
88-
| event-handler-receiver.html:3:1:5:7 | <body>...</> | event-handler-receiver.html:3:1:5:7 | <body>...</> |
89-
| event-handler-receiver.html:4:3:4:58 | <button>...</> | event-handler-receiver.html:4:3:4:58 | <button>...</> |
90-
| tst.html:1:1:5:7 | <html>...</> | tst.html:1:1:5:7 | <html>...</> |
91-
| tst.html:2:1:4:7 | <body>...</> | tst.html:2:1:4:7 | <body>...</> |
92-
| tst.html:3:3:3:57 | <a>...</> | tst.html:3:3:3:57 | <a>...</> |
93-
| tst.js:3:11:3:31 | $("<a/> ... rAttrs) | tst.js:3:11:3:31 | $("<a/> ... rAttrs) |
94-
| tst.js:3:11:3:66 | $("<a/> ... e.com") | tst.js:3:11:3:31 | $("<a/> ... rAttrs) |
95-
| tst.js:4:3:4:3 | a | tst.js:3:11:3:31 | $("<a/> ... rAttrs) |
96-
| tst.js:4:3:4:27 | a.attr( ... pener") | tst.js:3:11:3:31 | $("<a/> ... rAttrs) |
97-
| tst.js:5:3:5:3 | a | tst.js:3:11:3:31 | $("<a/> ... rAttrs) |
98-
| tst.js:5:3:7:4 | a.attr( ... f"\\n }) | tst.js:3:11:3:31 | $("<a/> ... rAttrs) |
99-
| tst.js:8:3:8:3 | a | tst.js:3:11:3:31 | $("<a/> ... rAttrs) |
100-
| tst.js:8:3:8:29 | a.prop( ... errer") | tst.js:3:11:3:31 | $("<a/> ... rAttrs) |
101-
| tst.js:9:3:9:3 | a | tst.js:3:11:3:31 | $("<a/> ... rAttrs) |
102-
| tst.js:9:3:11:4 | a.prop( ... f"\\n }) | tst.js:3:11:3:31 | $("<a/> ... rAttrs) |
103-
| tst.js:12:10:12:10 | a | tst.js:3:11:3:31 | $("<a/> ... rAttrs) |
104-
| tst.js:13:10:13:10 | a | tst.js:3:11:3:31 | $("<a/> ... rAttrs) |
105-
| tst.js:23:5:23:30 | React.c ... ('div') | tst.js:23:5:23:30 | React.c ... ('div') |
106-
| tst.js:24:5:24:55 | React.c ... , null) | tst.js:24:5:24:55 | React.c ... , null) |
107-
| tst.js:27:5:27:14 | factory1() | tst.js:27:5:27:14 | factory1() |
108-
| tst.js:31:20:31:55 | <div>He ... }</div> | tst.js:31:20:31:55 | <div>He ... }</div> |
109-
| tst.js:36:5:36:55 | React.c ... , null) | tst.js:36:5:36:55 | React.c ... , null) |
110-
| tst.js:39:5:39:14 | factory2() | tst.js:39:5:39:14 | factory2() |
111-
| tst.jsx:4:11:4:75 | <a href ... mle</a> | tst.jsx:4:11:4:75 | <a href ... mle</a> |
112-
| tst.jsx:5:3:5:3 | a | tst.jsx:4:11:4:75 | <a href ... mle</a> |
93+
test_ElementDefinition_getAttribute
94+
| event-handler-receiver.html:4:3:4:58 | <button>...</> | 0 | event-handler-receiver.html:4:11:4:40 | onclick=alert(this.tagName); |
95+
| tst.html:3:3:3:57 | <a>...</> | 0 | tst.html:3:6:3:30 | href=https://semmle.com |
96+
| tst.html:3:3:3:57 | <a>...</> | 1 | tst.html:3:32:3:46 | target=_blank |
97+
| tst.jsx:4:11:4:75 | <a href ... mle</a> | 0 | tst.jsx:4:14:4:38 | href="h ... le.com" |
98+
| tst.jsx:4:11:4:75 | <a href ... mle</a> | 1 | tst.jsx:4:40:4:48 | rel={rel} |
99+
| tst.jsx:4:11:4:75 | <a href ... mle</a> | 2 | tst.jsx:4:50:4:64 | {...otherAttrs} |
113100
test_AttributeDefinition_getValueNode
114101
| tst.js:2:22:2:37 | target: "_blank" | tst.js:2:30:2:37 | "_blank" |
115102
| tst.js:3:11:3:66 | $("<a/> ... e.com") | tst.js:3:46:3:65 | "https://semmle.com" |
@@ -122,17 +109,30 @@ test_AttributeDefinition_getValueNode
122109
| tst.jsx:4:14:4:38 | href="h ... le.com" | tst.jsx:4:19:4:38 | "https://semmle.com" |
123110
| tst.jsx:4:40:4:48 | rel={rel} | tst.jsx:4:45:4:47 | rel |
124111
| tst.jsx:4:50:4:64 | {...otherAttrs} | tst.jsx:4:50:4:64 | ...otherAttrs |
125-
test_ElementDefinition
126-
| event-handler-receiver.html:1:1:6:7 | <html>...</> | html |
127-
| event-handler-receiver.html:2:1:2:13 | <head>...</> | head |
128-
| event-handler-receiver.html:3:1:5:7 | <body>...</> | body |
129-
| event-handler-receiver.html:4:3:4:58 | <button>...</> | button |
130-
| tst.html:1:1:5:7 | <html>...</> | html |
131-
| tst.html:2:1:4:7 | <body>...</> | body |
132-
| tst.html:3:3:3:57 | <a>...</> | a |
133-
| tst.js:3:11:3:31 | $("<a/> ... rAttrs) | a |
134-
| tst.js:23:5:23:30 | React.c ... ('div') | div |
135-
| tst.js:24:5:24:55 | React.c ... , null) | div |
136-
| tst.js:27:5:27:14 | factory1() | div |
137-
| tst.js:31:20:31:55 | <div>He ... }</div> | div |
138-
| tst.jsx:4:11:4:75 | <a href ... mle</a> | a |
112+
test_AttributeDefinition_getStringValue
113+
| event-handler-receiver.html:4:11:4:40 | onclick=alert(this.tagName); | alert(this.tagName); |
114+
| tst.html:3:6:3:30 | href=https://semmle.com | https://semmle.com |
115+
| tst.html:3:32:3:46 | target=_blank | _blank |
116+
| tst.js:2:22:2:37 | target: "_blank" | _blank |
117+
| tst.js:3:11:3:66 | $("<a/> ... e.com") | https://semmle.com |
118+
| tst.js:4:3:4:27 | a.attr( ... pener") | noopener |
119+
| tst.js:6:5:6:24 | "data-bind": "stuff" | stuff |
120+
| tst.js:8:3:8:29 | a.prop( ... errer") | noreferrer |
121+
| tst.js:10:5:10:29 | "data-b ... rstuff" | otherstuff |
122+
| tst.js:12:3:12:41 | $.attr( ... errer") | noopener noreferrer |
123+
| tst.js:13:3:13:28 | $.prop( ... d", "") | |
124+
| tst.jsx:4:14:4:38 | href="h ... le.com" | https://semmle.com |
125+
test_ElementDefinition_getAttributeByName
126+
| event-handler-receiver.html:4:3:4:58 | <button>...</> | onclick | event-handler-receiver.html:4:11:4:40 | onclick=alert(this.tagName); |
127+
| tst.html:3:3:3:57 | <a>...</> | href | tst.html:3:6:3:30 | href=https://semmle.com |
128+
| tst.html:3:3:3:57 | <a>...</> | target | tst.html:3:32:3:46 | target=_blank |
129+
| tst.js:3:11:3:31 | $("<a/> ... rAttrs) | data-bind | tst.js:6:5:6:24 | "data-bind": "stuff" |
130+
| tst.js:3:11:3:31 | $("<a/> ... rAttrs) | data-bind | tst.js:10:5:10:29 | "data-b ... rstuff" |
131+
| tst.js:3:11:3:31 | $("<a/> ... rAttrs) | data-bind | tst.js:13:3:13:28 | $.prop( ... d", "") |
132+
| tst.js:3:11:3:31 | $("<a/> ... rAttrs) | href | tst.js:3:11:3:66 | $("<a/> ... e.com") |
133+
| tst.js:3:11:3:31 | $("<a/> ... rAttrs) | rel | tst.js:4:3:4:27 | a.attr( ... pener") |
134+
| tst.js:3:11:3:31 | $("<a/> ... rAttrs) | rel | tst.js:8:3:8:29 | a.prop( ... errer") |
135+
| tst.js:3:11:3:31 | $("<a/> ... rAttrs) | rel | tst.js:12:3:12:41 | $.attr( ... errer") |
136+
| tst.js:3:11:3:31 | $("<a/> ... rAttrs) | target | tst.js:2:22:2:37 | target: "_blank" |
137+
| tst.jsx:4:11:4:75 | <a href ... mle</a> | href | tst.jsx:4:14:4:38 | href="h ... le.com" |
138+
| tst.jsx:4:11:4:75 | <a href ... mle</a> | rel | tst.jsx:4:40:4:48 | rel={rel} |

0 commit comments

Comments
 (0)