Commit ca801f5a authored by rjw's avatar rjw

Fixed 3125585. One click crasher option clicking on

        any link.  Added additional check to curtail overly
        zealous ASSERT.

        Reviewed by mjs.

        * WebView.subproj/WebControllerPrivate.m:
        (-[WebController _mainReceivedError:fromDataSource:complete:]):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@3012 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent c3731d43
2002-12-12 Richard Williamson <rjw@apple.com>
Fixed 3125585. One click crasher option clicking on
any link. Added additional check to curtail overly
zealous ASSERT.
Reviewed by mjs.
* WebView.subproj/WebControllerPrivate.m:
(-[WebController _mainReceivedError:fromDataSource:complete:]):
2002-12-11 Richard Williamson <rjw@apple.com>
Fixed 3125425. Just call super if view isn't in view heirarchy,
......
......@@ -152,7 +152,10 @@ - (void)_mainReceivedError:(WebError *)error fromDataSource:(WebDataSource *)dat
{
ASSERT(error);
ASSERT(dataSource);
ASSERT([dataSource webFrame]);
#ifndef NDEBUG
if (![dataSource isDownloading])
ASSERT([dataSource webFrame]);
#endif
[dataSource _setMainDocumentError: error];
......
......@@ -152,7 +152,10 @@ - (void)_mainReceivedError:(WebError *)error fromDataSource:(WebDataSource *)dat
{
ASSERT(error);
ASSERT(dataSource);
ASSERT([dataSource webFrame]);
#ifndef NDEBUG
if (![dataSource isDownloading])
ASSERT([dataSource webFrame]);
#endif
[dataSource _setMainDocumentError: error];
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment