Open Bug 1027822 Opened 10 years ago Updated 2 years ago

Add more info to the history.state object when navigating through the in-content preferences

Categories

(Firefox :: Settings UI, defect)

defect

Tracking

()

People

(Reporter: jaws, Unassigned)

References

Details

From bug 754304 comment #24:

> +  categories.selectedItem = item;
> +  window.history.replaceState(category, document.title);

Side-note: IMO we shouldn't assume the only state we want to store is the category so I would prefer if we used an category was just a property on a new object. It'd be good to fix this before it gets relied upon e.g. in tests or too much code. Theoretical Example:
{
  searchQuery: "proxy"
  category: "advanced"
  subCategory: "networking"
}
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.