Closed Bug 705451 Opened 8 years ago Closed 8 years ago
html anchors do not always update in url bar
1. Load http://people.mozilla.com/~nhirata/html_tp/jumptag.html 2. Click on the "Go to bottom" link (ignore the fact that this may not actually scroll to the bottom - that's bug 704690) 3. Observe how the URL displayed in the url bar now has #bottom appended to it 4. Go to the bottom of the page and click on the "Go to top" link (again, ignore that this may not actually scroll) Expected behaviour: the URL displayed in the URL bar should have #top instead of #bottom appended to it. Observed behaviour: the URL displayed still has #bottom displayed. Note also that if you tap on the URL bar at this point to edit the URL, the editable URL field shows #top (as is expected) but canceling the edit and returning to the page view again shows #bottom.
I can reproduce this on my Samsung Galaxy tab 3.1 with latestly nightly fennec native (11.28)
Assignee: nobody → sriram
Priority: -- → P3
I tried it today, and it seems to work fine for me. Please reopen if you still find this bug. I/GeckoApp(10338): Got message: Content:LocationChange I/GeckoApp(10338): URI - http://people.mozilla.com/~nhirata/html_tp/jumptag.html#top I/GeckoTab(10338): Updated url: http://people.mozilla.com/~nhirata/html_tp/jumptag.html#top for tab with id: 2
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WORKSFORME
I'm still seeing this, but now the URL bar never updates. Reopening after discussing with Sriram on IRC - the expected behaviour is that the URL bar should always update and show the correct #target.
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
The anchors are updated in the url bar. Earlier we were returning, if it was just a "#" change. Now the url bar alone is updated.
Attachment #579479 - Flags: review?(mark.finkle)
Attachment #579479 - Flags: review?(mark.finkle) → review+
Status: REOPENED → RESOLVED
Closed: 8 years ago → 8 years ago
Resolution: --- → FIXED
Samsung Galaxy SII (Android 2.3.4) 20111208060054 http://hg.mozilla.org/integration/mozilla-inbound/rev/b0f8871174a5
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.