mirror of
https://github.com/github/codeql.git
synced 2026-05-05 05:35:13 +02:00
Apply suggestions from code review
This commit is contained in:
@@ -45,7 +45,7 @@ deprecated class WebviewDebugEnabledConfig extends DataFlow::Configuration {
|
||||
}
|
||||
|
||||
/** A configuration to find instances of `setWebContentDebuggingEnabled` called with `true` values. */
|
||||
private module WebviewDebugEnabledConfig implements DataFlow::ConfigSig {
|
||||
module WebviewDebugEnabledConfig implements DataFlow::ConfigSig {
|
||||
predicate isSource(DataFlow::Node node) {
|
||||
node.asExpr().(BooleanLiteral).getBooleanValue() = true
|
||||
}
|
||||
@@ -64,4 +64,7 @@ private module WebviewDebugEnabledConfig implements DataFlow::ConfigSig {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Tracks instances of `setWebContentDebuggingEnabled` with `true` values.
|
||||
*/
|
||||
module WebviewDebugEnabledFlow = DataFlow::Make<WebviewDebugEnabledConfig>;
|
||||
|
||||
@@ -7,4 +7,5 @@
|
||||
import java
|
||||
private import semmle.code.java.security.WebviewDebuggingEnabledQuery as WebviewDebuggingEnabledQuery
|
||||
|
||||
deprecated class WebviewDebugEnabledConfig = WebviewDebuggingEnabledQuery:: WebviewDebugEnabledConfig;
|
||||
deprecated class WebviewDebugEnabledConfig =
|
||||
WebviewDebuggingEnabledQuery::WebviewDebugEnabledConfig;
|
||||
|
||||
Reference in New Issue
Block a user