Bug 22591 - empty fragment href's crashes browser.
Summary: empty fragment href's crashes browser.
Status: RESOLVED DUPLICATE of bug 22590
Alias: None
Product: WebKit
Classification: Unclassified
Component: Page Loading (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC Linux
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-02 08:47 PST by Mahesh Kulkarni
Modified: 2008-12-02 16:02 PST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mahesh Kulkarni 2008-12-02 08:47:31 PST
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.
Comment 1 Mark Rowe (bdash) 2008-12-02 16:02:09 PST

*** This bug has been marked as a duplicate of 22590 ***