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.
1 parent 644bc56 commit 24527bfCopy full SHA for 24527bf
swift/ql/lib/codeql/swift/frameworks/StandardLibrary/WebView.qll
@@ -53,7 +53,7 @@ private class AdoptsWkNavigationDelegate extends Decl {
53
private class WKNavigationDelegateSource extends RemoteFlowSource {
54
WKNavigationDelegateSource() {
55
exists(ParamDecl p, FuncDecl f, AdoptsWkNavigationDelegate t |
56
- f.getEnclosingDecl() = t and
+ t.getAMember() = f and
57
f.getName() =
58
[
59
"webView(_:decidePolicyFor:preferences:decisionHandler:)",
0 commit comments