Bug 35582

Summary: Assertion failure beneath WebURLResponse::createInstance when opening Activity Window on page with 404 error
Product: WebKit Reporter: Adam Roben (:aroben) <aroben>
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: ap
Priority: P2 Keywords: InRadar, PlatformOnly
Version: 528+ (Nightly build)   
Hardware: PC   
OS: Windows XP   
URL: http://www.apple.com/doesnotexist

Adam Roben (:aroben)
Reported 2010-03-02 08:21:30 PST
To reproduce: 1. Go to http://www.apple.com/doesnotexist 2. Open the Activity window You'll hit an assertion in KURL's constructor: ASSERT(url == m_string); url is "http://", while m_string is "http:/". Here's the line that triggers the assertion in WebURLResponse::createInstance: // fake an http response - so it has the IWebHTTPURLResponse interface instance->m_response = ResourceResponse(KURL(ParsedURLString, "http://"), String(), 0, String(), String());
Attachments
Adam Roben (:aroben)
Comment 1 2010-03-02 08:22:56 PST
I don't know what effect this has (if any) in a Release build.
Adam Roben (:aroben)
Comment 2 2010-03-02 08:23:22 PST
Alexey Proskuryakov
Comment 3 2010-03-02 08:37:22 PST
I wonder if this is a regression. See also: bug 34457.
Note You need to log in before you can comment on or make changes to this bug.