Skip to content

Commit 28f555c

Browse files
committed
Add simple test case for @JavascriptInterface parameter flow
1 parent ab7ca1d commit 28f555c

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import android.webkit.JavascriptInterface;
2+
3+
public class AndroidExposedObject {
4+
public void sink(Object o) {
5+
}
6+
7+
@JavascriptInterface
8+
public void test(String arg) {
9+
sink(arg); // $hasRemoteValueFlow
10+
}
11+
}

0 commit comments

Comments
 (0)