Closed
Bug 371935
Opened 18 years ago
Closed 18 years ago
Fragment identifier, if edited by hand, doesn't reflect further changes by JS
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 302575
People
(Reporter: rob.kinyon+bugzilla, Unassigned)
Details
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.2) Gecko/20070219 Firefox/2.0.0.2
Build Identifier: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.2) Gecko/20070219 Firefox/2.0.0.2
RIAs use fragment identifiers (window.location.hash) to represent application state. A common practice is to provide a setInterval() to poll for changes to the fragment identifier and update the application state accordingly. When the fragment identifier is edited by hand, then updated by JS, the updates by JS aren't reflected in the URI in the location bar.
An self-contained testcase is provided at http://pastebin.mozilla.org/4251
Reproducible: Always
Steps to Reproduce:
1. Load the testcase provided
2. Click on the link.
3. Edit the fragment identifier in the Location bar and hit Enter
4. Click on the link.
5. Refresh to see that the fragment identifier is indeed #apple, but wasn't displayed.
Expected Results:
After a manual edit, the location bar should still be responsive to fragment identifier edits by JS.
Updated•18 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 18 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•