[Webkit-unassigned] [Bug 22562] New: location.href working only once

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Nov 30 04:21:44 PST 2008


           Summary: location.href working only once
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh
        OS/Version: Mac OS X 10.5
            Status: UNCONFIRMED
          Severity: Major
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: gdelfino at mac.com

When you set onclick='location.href="some url"' on an element, the link works
only the first time you click it.

Steps to Reproduce:

1) Save the following code into a file:

        <p onclick='location.href="http://www.apple.com"' style="cursor:
            Click here. Then hit the back button and click again. It follows
the link only the first time.

2) Open in WebKit and click anywhere on the text

3) After apple.com opens, hit the back button

4) Click again anywhere on the text (nothing happens).

Expected Results:

In step 4 the browser should go to apple.com just lke in step 2

Build Date & Platform:

r38826 Intel Mac OS X 10.5.5

Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

More information about the webkit-unassigned mailing list