]> git.saurik.com Git - cydia.git/commitdiff
Add missing LogBrowser NSLog for didClearWindowObject.
authorJay Freeman (saurik) <saurik@saurik.com>
Thu, 13 Sep 2012 04:13:32 +0000 (21:13 -0700)
committerJay Freeman (saurik) <saurik@saurik.com>
Thu, 13 Sep 2012 04:13:32 +0000 (21:13 -0700)
CyteKit/WebViewController.mm

index ccb1823c4c99e1a2fbd197a08658ea2a9c65e289..643c2b8be00d50fd8394d327e4d52166afd9c429 100644 (file)
@@ -514,6 +514,9 @@ float CYScrollViewDecelerationRateNormal;
 }
 
 - (void) webView:(WebView *)view didClearWindowObject:(WebScriptObject *)window forFrame:(WebFrame *)frame {
+#if LogBrowser
+    NSLog(@"didClearWindowObject:%@ forFrame:%@", window, frame);
+#endif
 }
 
 - (void) webView:(WebView *)view didCommitLoadForFrame:(WebFrame *)frame {