RESOLVED FIXED 12299
REGRESSION: Page changes title when command-clicking on named anchor link
https://bugs.webkit.org/show_bug.cgi?id=12299
Summary REGRESSION: Page changes title when command-clicking on named anchor link
David Kilzer (:ddkilzer)
Reported 2007-01-17 07:17:21 PST
Summary: When command-clicking on an anchor link (<a href="#foo">link</a>), the title of the current page changes when a new tab is created. Steps to reproduce: 1. Open Attachment 12006 [details] from Bug 11960. 2. Command-click on the link. Expected Results: Page title of current tab should not change from its URL. Actual Results: Page title of current page changes from its URL to: "unknown" failed to load Regression: This is a regression from shipping Safari 2.0.4 (419.3) on Mac OS X 10.4.8 (8L127). Notes: See Bug 11960 Comment #7 for original details. Tested on locally-built debug build of WebKit r18906 with Safari 2.0.4 (419.3) on Mac OS X 10.4.8 (8L127).
Attachments
patch with change log (1.44 KB, patch)
2007-01-21 18:25 PST, Darin Adler
mjs: review+
Mark Rowe (bdash)
Comment 1 2007-01-17 14:23:31 PST
Darin Adler
Comment 2 2007-01-21 18:16:34 PST
When I tried this I hit an assertion. The problem seems to be that when the policy delegate set the policy to ignore, we keep doing way too much. Specifically, it looks like FrameLoader::continueFragmentScrollAfterNavigationPolicy doesn't look at the shouldContinute boolean at all.
Darin Adler
Comment 3 2007-01-21 18:25:56 PST
Created attachment 12592 [details] patch with change log
Maciej Stachowiak
Comment 4 2007-01-21 18:56:35 PST
Comment on attachment 12592 [details] patch with change log r=me
Darin Adler
Comment 5 2007-01-21 19:04:23 PST
Committed revision 19022.
Note You need to log in before you can comment on or make changes to this bug.