<rdar://problem/
4635311> REGRESSION: WebKit should call windowScriptObjectAvailable before attaching the script debugger
* WebCoreSupport/WebFrameBridge.m:
(-[WebFrameBridge windowObjectCleared]):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@15494
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2006-07-17 Timothy Hatcher <timothy@apple.com>
+
+ Reviewed by Darin.
+
+ <rdar://problem/4635311> REGRESSION: WebKit should call windowScriptObjectAvailable before attaching the script debugger
+
+ * WebCoreSupport/WebFrameBridge.m:
+ (-[WebFrameBridge windowObjectCleared]):
+
2006-07-17 Timothy Hatcher <timothy@apple.com>
Reviewed by Maciej.
- (void)windowObjectCleared
{
WebView *wv = [self webView];
+ [[wv _frameLoadDelegateForwarder] webView:wv windowScriptObjectAvailable:[self windowScriptObject]];
if ([wv scriptDebugDelegate] || [WebScriptDebugServer listenerCount]) {
[_frame _detachScriptDebugger]; // FIXME: remove this once <rdar://problem/4608404> is fixed
[_frame _attachScriptDebugger];
}
- [[wv _frameLoadDelegateForwarder] webView:wv windowScriptObjectAvailable:[self windowScriptObject]];
}
- (int)spellCheckerDocumentTag