Open Bug 1680808 Opened 3 years ago Updated 4 months ago

Protections panel stays open when navigating to a different site

Categories

(Firefox :: Protections UI, defect, P3)

defect

Tracking

()

People

(Reporter: pbz, Unassigned)

References

Details

(Keywords: priv-triaged)

When I open the protections panel and a location change happens while the panel is open, it stays open showing outdated info.

Steps:

  1. Open example.com
  2. Open the web console
  3. Run setTimeout(() => document.location.href="https://example.org", 5000)
  4. Open the protections panel within 5 seconds

Expected result:
The panel closes once the browser navigates to https://example.org

Actual result:
The panel stays open

Tested with Nightly on Linux

Severity: -- → S4
Priority: -- → P3

The permission panel is not affected, it handles this case here: https://searchfox.org/mozilla-central/rev/8d9564059dbc1e36fb9152e6b6227343d0b49662/browser/base/content/browser-siteIdentity.js#637,652
Could do something similar for the protections panel.

Keywords: priv-triaged
You need to log in before you can comment on or make changes to this bug.