Closed Bug 427872 Opened 16 years ago Closed 16 years ago

Location bar's hash portion does not change via javascript:location.hash after manually typing in hash value

Categories

(Firefox :: General, defect)

2.0 Branch
x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: karachiwalaz, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.1.13) Gecko/20080311 Firefox/2.0.0.13
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.1.13) Gecko/20080311 Firefox/2.0.0.13

Location bar's hash portion does not change via javascript:location.hash after manually typing in hash value into the location bar.

Reproducible: Always

Steps to Reproduce:
1. Click on the navigation button 'News' you will notice that the hash portion in the location bar changes to reflect (ie l#navbar=news).
2. Replace this with #navbar=aboutus (by typing it in)
3. Click on the button 'Contact Us'
Actual Results:  
'Contact Us' tab is shown and location bar's hash is #navbar=aboutus

Expected Results:  
'Contact Us' tab is shown and location bar's hash should be #navbar=contactus

This is not restricted to the YUI framework.  This is reproduceable by using an extension like firebug directly after manually typing in a hash parameter into the location bar.  Once this is done location.hash changes do not change the value in the location bar.
Version: unspecified → 2.0 Branch
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1a2pre) Gecko/20080811123810 Minefield/3.1a2pre

I see the problem indeed with Firefox 2.x, but it appears to be fixed in the latest trunk build.
If you want to test it, you can download the builds here:
http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-mozilla-central/
Resolving Worksforme.
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.