Bug 22591
| Summary: | empty fragment href's crashes browser. | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Mahesh Kulkarni <maheshk> |
| Component: | Page Loading | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | Normal | ||
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | PC | ||
| OS: | Linux | ||
Mahesh Kulkarni
On empty fragment url's, document::gotoanchor crashes browser.
for ex:
<A href="#"> link </a>
Default behavior of empty fragment is to first check if cssTarget is specified, if not goto first element. In case if this cssTarget node is delete by Javascript, browser crashes clicking on "link" in the example.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Mark Rowe (bdash)
*** This bug has been marked as a duplicate of 22590 ***