Closed Bug 1570751 Opened 5 years ago Closed 5 years ago

insecure page UI shown for no good reason

Categories

(Firefox :: Site Identity, defect, P1)

Desktop
All
defect

Tracking

()

VERIFIED FIXED
Firefox 70
Tracking Status
firefox-esr60 --- unaffected
firefox-esr68 --- unaffected
firefox68 --- unaffected
firefox69 --- unaffected
firefox70 --- verified

People

(Reporter: ehsan.akhgari, Assigned: johannh)

References

(Regression)

Details

(Keywords: regression, Whiteboard: [privacy-panel][skyline])

Attachments

(1 file)

STR:

  1. Open a new tab. Type https://www.google.com/search?q=test in the address bar and press enter.
  2. After the page loads, focus the address bar and type about:about there.
  3. After the second page loads, click Back.

Expected Result: the (i) Icon should change to the secure icon.

Actual Result: the (i) icon changes to the insecure icon, and then very quickly switches back to the secure icon.

Has Regression Range: --- → no
Has STR: --- → yes

Yeah I've noticed this too since we introduced the insecure indicator. I'm suspecting it's something about about:blank loads but those should get the ⓘ icon technically...

I'll look into it.

Assignee: nobody → jhofmann
Status: NEW → ASSIGNED
Priority: -- → P1

In case it's still usefull, regression range:

Has Regression Range: no → yes

mozregression --repo autoland --good 65b375326adcbd7662216779c5d9215e54f60cda --bad 1d141c74e8dc95f817048e77611eefb112872f1c -a https://example.com

3:14.57 INFO: Last good revision: c641e5c66a71a37c2c3528b6e423e90656f3a40c
3:14.57 INFO: First bad revision: 0fceabdb8b9d5fd2666e5b287b6c00cc56749610
3:14.57 INFO: Pushlog:
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=c641e5c66a71a37c2c3528b6e423e90656f3a40c&tochange=0fceabdb8b9d5fd2666e5b287b6c00cc56749610

0fceabdb8b9d5fd2666e5b287b6c00cc56749610 Johann Hofmann — Bug 1567826 - Don't mark any secureContext pages as insecure. r=nhnt11,keeler,Ehsan

OS: Unspecified → All
Regressed by: 1567826
Hardware: Unspecified → Desktop
See Also: → 1571091
See Also: 1571091

The security UI receives an about:blank load when navigating to or from
about: pages, which causes it to try and render security indicators before
showing the "real" security indicators for the next site. It shouldn't do that.

The solution is a bit cheap, we simply ignore all about:blank and other loads
that will receive a pageproxystate="invalid" state in the URL bar and thus
hide the identity block. This takes care of our problem and also avoids
some work when loading the home page.

Whiteboard: [privacy-panel][skyline]
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 70
Flags: needinfo?(jhofmann)

Fix verified with 70.0a1 (2019-08-11) on Windows 10, macOS 10.13.6, Ubuntu 16.04.

Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: