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 Bugs | Assignee: | 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)
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Adam Roben (:aroben)
I don't know what effect this has (if any) in a Release build.
Adam Roben (:aroben)
<rdar://problem/7706507>
Alexey Proskuryakov
I wonder if this is a regression.
See also: bug 34457.