File tree 1 file changed +4
-4
lines changed
javascript/ql/lib/semmle/javascript/internal/flow_summaries
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -13,16 +13,16 @@ private class TextDecoderEntryPoint extends API::EntryPoint {
13
13
pragma [ nomagic]
14
14
API:: Node textDecoderConstructorRef ( ) { result = any ( TextDecoderEntryPoint e ) .getANode ( ) }
15
15
16
- class DecodeLike extends SummarizedCallable {
17
- DecodeLike ( ) { this = "TextDecoder#decode" }
16
+ class Decode extends SummarizedCallable {
17
+ Decode ( ) { this = "TextDecoder#decode" }
18
18
19
19
override InstanceCall getACall ( ) {
20
20
result = textDecoderConstructorRef ( ) .getInstance ( ) .getMember ( "decode" ) .getACall ( )
21
21
}
22
22
23
23
override predicate propagatesFlow ( string input , string output , boolean preservesValue ) {
24
- preservesValue = true and
25
- input = "Argument[0]" and
24
+ preservesValue = false and
25
+ input = "Argument[0].ArrayElement " and
26
26
output = "ReturnValue"
27
27
}
28
28
}
You can’t perform that action at this time.
0 commit comments