- fixed <rdar://problem/
3997185> The Web view on .Mac Prefs caused System Prefs
to lockup (resolved by re-boot only)
* WebCoreSupport.subproj/WebBridge.m:
(-[WebBridge nextKeyViewOutsideWebFrameViews]):
Don't allow recursion here; assert on debug build, return nil on deployment. I
couldn't get my machine into a state to repro this problem (and neither could the
originator), but it's obvious from the stack crawl that this method was recursing
when it shouldn't have.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@8610
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2005-02-17 John Sullivan <sullivan@apple.com>
+
+ Reviewed by Ken.
+
+ - fixed <rdar://problem/3997185> The Web view on .Mac Prefs caused System Prefs
+ to lockup (resolved by re-boot only)
+
+ * WebCoreSupport.subproj/WebBridge.m:
+ (-[WebBridge nextKeyViewOutsideWebFrameViews]):
+ Don't allow recursion here; assert on debug build, return nil on deployment. I
+ couldn't get my machine into a state to repro this problem (and neither could the
+ originator), but it's obvious from the stack crawl that this method was recursing
+ when it shouldn't have.
+
2005-02-16 John Sullivan <sullivan@apple.com>
Written by Darin, reviewed by me.
- (NSView *)nextKeyViewOutsideWebFrameViews
{
+ if (_inNextKeyViewOutsideWebFrameViews) {
+ // We should never get here, but unrepro bug 3997185 says we sometimes do.
+ // So we'll fail on debug builds to try to catch the problem, but on
+ // deployment builds we'll return nil to avoid recursing forever.
+ ASSERT_NOT_REACHED();
+ return nil;
+ }
+
_inNextKeyViewOutsideWebFrameViews = YES;
WebView *webView = [_frame webView];
// Do not ask webView for its next key view, but rather, ask it for