We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
android.webkit.WebView#addJavascriptInterface
1 parent 8b11e98 commit 30cd447Copy full SHA for 30cd447
java/ql/lib/semmle/code/java/frameworks/android/WebView.qll
@@ -39,6 +39,14 @@ class WebViewGetUrlMethod extends Method {
39
}
40
41
42
+/** The method `addJavascriptInterface` of the class `android.webkit.WebView` */
43
+class WebViewAddJavascriptInterfaceMethod extends Method {
44
+ WebViewAddJavascriptInterfaceMethod() {
45
+ this.getDeclaringType() instanceof TypeWebView and
46
+ this.hasName("addJavascriptInterface")
47
+ }
48
+}
49
+
50
/**
51
* A method allowing any-local-file and cross-origin access in the class `android.webkit.WebSettings`.
52
*/
0 commit comments