Bug 9452 - Assertion failure in -[WebFramePrivate setProvisionalDataSource:]
Summary: Assertion failure in -[WebFramePrivate setProvisionalDataSource:]
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Page Loading (show other bugs)
Version: 420+
Hardware: Mac OS X 10.4
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-15 07:23 PDT by mitz
Modified: 2006-06-19 03:45 PDT (History)
1 user (show)

See Also:


Attachments
Proposed patch (1.26 KB, patch)
2006-06-17 07:12 PDT, mitz
mjs: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description mitz 2006-06-15 07:23:55 PDT
Doing the following results in the assertion in -[WebFramePrivate setProvisionalDataSource:] (!d || !provisionalDataSource) failing:

1. Open a page that takes a few seconds to load.
2. While that page is loading, type a URL with a non-existent domain (such as http://apple.mac/) in the address bar and press Return.

The assert is reached when Safari tries to load its HTML error page into the frame.
Comment 1 mitz 2006-06-17 07:12:36 PDT
Created attachment 8883 [details]
Proposed patch
Comment 2 Darin Adler 2006-06-18 16:49:09 PDT
I think Maciej should look at this.
Comment 3 Maciej Stachowiak 2006-06-18 20:56:37 PDT
Comment on attachment 8883 [details]
Proposed patch

I'm convinced.

r=me
Comment 4 Maciej Stachowiak 2006-06-19 00:24:58 PDT
Comment on attachment 8883 [details]
Proposed patch

I'm convinced.

r=me
Comment 5 David Kilzer (:ddkilzer) 2006-06-19 03:45:58 PDT
Committed revision 14910.