diff --git a/java/ql/lib/semmle/code/java/security/WebviewDubuggingEnabledQuery.qll b/java/ql/lib/semmle/code/java/security/WebviewDubuggingEnabledQuery.qll index 3b937766899..92071c2af1a 100644 --- a/java/ql/lib/semmle/code/java/security/WebviewDubuggingEnabledQuery.qll +++ b/java/ql/lib/semmle/code/java/security/WebviewDubuggingEnabledQuery.qll @@ -34,8 +34,6 @@ class WebviewDebugEnabledConfig extends DataFlow::Configuration { } override predicate isBarrier(DataFlow::Node node) { - not node.getType() instanceof BooleanType - or exists(Guard debug | isDebugCheck(debug) and debug.controls(node.asExpr().getBasicBlock(), _)) or node.getEnclosingCallable().getDeclaringType() instanceof NonSecurityTestClass