Skip to content

Commit 51d9cce

Browse files
committed
Add documentation comments on branches
1 parent a82f5ad commit 51d9cce

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

javascript/frameworks/ui5/lib/advanced_security/javascript/frameworks/ui5/RemoteFlowSources.qll

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,15 @@ private class RemoteControlHandlerParameter extends RemoteControlAPISource, Call
3030
private class UserDataFromRemoteControlAPISource extends RemoteFlowSource {
3131
UserDataFromRemoteControlAPISource() {
3232
exists(RemoteControlAPISource remoteControlAPISource |
33+
/*
34+
* 1. The `value` or its getter of `HTML` control reference, `CodeEditor` control reference,
35+
* or handler parameters.
36+
*/
37+
38+
this = remoteControlAPISource.getAPropertyRead("value") or
3339
this = remoteControlAPISource.getAMemberCall("getValue") or
34-
this = remoteControlAPISource.getAMemberCall("getCurrentValue") or
35-
this = remoteControlAPISource.getAPropertyRead("value")
40+
/* 2. The `getCurrentValue` method call on `CodeEditor` control reference. */
41+
this = remoteControlAPISource.getAMemberCall("getCurrentValue")
3642
)
3743
}
3844

0 commit comments

Comments
 (0)