summaryrefslogtreecommitdiff
path: root/CyteKit
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2011-03-05 04:57:57 -0800
committerJay Freeman (saurik) <saurik@saurik.com>2011-03-07 02:41:37 -0800
commita86042fa1663c000fd8a54fd4d483c2bf3f206fc (patch)
tree25d494d8c434c656ebcb0effeed23ed61aa65b0b /CyteKit
parentc8f62968ca2c986a885932e3f36b6dce24297f32 (diff)
Add debugging logic for didStartProvisionalLoadForFrame:.
Diffstat (limited to 'CyteKit')
-rw-r--r--CyteKit/WebViewController.mm4
1 files changed, 4 insertions, 0 deletions
diff --git a/CyteKit/WebViewController.mm b/CyteKit/WebViewController.mm
index 0883972..622328f 100644
--- a/CyteKit/WebViewController.mm
+++ b/CyteKit/WebViewController.mm
@@ -537,6 +537,10 @@ float CYScrollViewDecelerationRateNormal;
}
- (void) webView:(WebView *)view didStartProvisionalLoadForFrame:(WebFrame *)frame {
+#if LogBrowser
+ NSLog(@"didStartProvisionalLoadForFrame:%@", frame);
+#endif
+
[loading_ addObject:[NSValue valueWithNonretainedObject:frame]];
if ([frame parentFrame] == nil) {