mirror of
https://github.com/github/codeql.git
synced 2026-05-01 03:35:13 +02:00
Java: Add class to represent android.webkit.WebView#addJavascriptInterface
This commit is contained in:
@@ -39,6 +39,14 @@ class WebViewGetUrlMethod extends Method {
|
||||
}
|
||||
}
|
||||
|
||||
/** The method `addJavascriptInterface` of the class `android.webkit.WebView` */
|
||||
class WebViewAddJavascriptInterfaceMethod extends Method {
|
||||
WebViewAddJavascriptInterfaceMethod() {
|
||||
this.getDeclaringType() instanceof TypeWebView and
|
||||
this.hasName("addJavascriptInterface")
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* A method allowing any-local-file and cross-origin access in the class `android.webkit.WebSettings`.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user