[Webkit-unassigned] [Bug 20842] New: decidePolicyForNavigationAction not called for subsequent clicks on fragment anchors
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Sep 14 11:24:31 PDT 2008
https://bugs.webkit.org/show_bug.cgi?id=20842
Summary: decidePolicyForNavigationAction not called for
subsequent clicks on fragment anchors
Product: WebKit
Version: 528+ (Nightly build)
Platform: Macintosh
URL: http://www.w3.org/TR/html401/index/list.html
OS/Version: Mac OS X 10.5
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: WebKit API
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: opendarwin at lapcatsoftware.com
Overview Description:
Some anchors consist entirely of fragments, e.g., <a href="#m">M</a>. The first
time you click on such an anchor, the <WebPolicyDelegate> method
-(void)webView:(WebView *)sender decidePolicyForNavigationAction:(NSDictionary
*)actionInformation request:(NSURLRequest *)request frame:(WebFrame *)frame
decisionListener:(id<WebPolicyDecisionListener>)listener is called. However,
the method is not called on subsequent clicks on the anchor.
Steps to Reproduce:
1) Unzip, open, build, and run attached sample Xcode project
DecidePolicyFragments.
2) Enter the URL http://www.w3.org/TR/html401/index/list.html in the text field
and press return.
3) After the webview is loaded, click in the webview to give it focus.
4) Click on the "M" link at the top of the page.
5) Scroll back up to the top of the document.
6) Click the "M" link again.
Actual Results:
decidePolicyForNavigationAction is not called
Expected Results:
decidePolicyForNavigationAction should be called
Build Date & Platform:
Build 2008-09-14 04:33:37 -0500 (Sun, 14 Sep 2008), WebKit svn revision 36403
Additional Builds and Platforms:
Mac OS X 10.5.4 Build 9E17, Mac OS X 10.4.11 Build 8S2167
Additional Information:
If you click "M", click a different link such as "N", and then click "M" again,
decidePolicyForNavigationAction does get called. The bug only occurs if you
click the same link multiple times in a row. This problem is reproducible with
any fragment anchor.
--
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