Open Bug 1572243 Opened 6 years ago Updated 2 years ago

Safebrowsing site warning bar disappears when tab is moved to new window, and stops showing future warnings

Categories

(Toolkit :: Safe Browsing, defect, P3)

Desktop
All
defect

Tracking

()

Tracking Status
firefox-esr102 --- affected
firefox68 --- affected
firefox113 --- affected
firefox114 --- affected
firefox115 --- affected

People

(Reporter: 13hurdw, Unassigned)

References

()

Details

FF 68.0.1
macOS 10.14.6

Open tab in existing window

The warning bar disappears after dragging tab to a new window
Also after moving the window and revisiting https://testsafebrowsing.appspot.com/s/phishing.html and other https://testsafebrowsing.appspot.com/ pages , no Safe browsing warnings are given, not even the initial one.

Expected: warnings remain independent of tab windowing

Priority: -- → P2

This bug contains two issues:

  1. We don't show the warning bar again for URLs have already been set "ignore risk" before.
  2. #1 also applies to other URLs under the same domain. This is because when we ignore risk, we grant permission[1] based on the origin[2], not the exact URL.

For #1, the possible solutions are:

  1. Always show the warning page so if users want to continue, they need to set "ignore risk" every time (This is also how Chrome does)
  2. Detect if a URL has been set "ignore risk" before, if it has, shows the warning bar.

As for issue #2, the solution depends on which option we take for issue #1, if it is the first option(always show the warning page while revisiting), then there is no problem for this.

[1] https://searchfox.org/mozilla-central/rev/c7e8bc4996f979e5876b33afae3de3b1ab4f3ae1/browser/base/content/browser.js#3753
[2] https://searchfox.org/mozilla-central/rev/c7e8bc4996f979e5876b33afae3de3b1ab4f3ae1/extensions/permissions/nsPermissionManager.cpp#2225

Status: UNCONFIRMED → NEW
Ever confirmed: true

In the process of migrating remaining bugs to the new severity system, the severity for this bug cannot be automatically determined. Please retriage this bug using the new severity system.

Severity: critical → --

The severity field is not set for this bug.
:dimi, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(dlee)
Severity: -- → S3
Flags: needinfo?(dlee)
Priority: P2 → P3

Safebrowsing site warning bar still disappears when tab is moved to new window.
Issue reproduced on MacOS 12, Win 11 and Ubuntu 22.04 with Fx versions: 102.11.0esr, 113.0, 114.0b3, and latest Nightly 115.0a1 (2023-05-11).

Similar issue: bug 1349774

Has STR: --- → yes
OS: Unspecified → All
Hardware: Unspecified → Desktop
Version: 68 Branch → Trunk
You need to log in before you can comment on or make changes to this bug.