Closed Bug 295429 Opened 20 years ago Closed 20 years ago

Favicon (site icon) appears on a site that fails if user icon has been cached

Categories

(Camino Graveyard :: General, defect)

PowerPC
macOS
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED
Camino1.5

People

(Reporter: samuel.sidler+old, Assigned: sfraser_bugs)

Details

If a user, say, goes to mozilla.org, it's icon gets saved into cache. If then, a
user returns to mozilla.org while they do not have internet access, with the new
error pages, the request will fail, show an error page, and show the
favicon/site icon for the failed page which was cached the first time he was online.

Make sense?...

To reproduce:
1. Use a recent nightly with error pages turned on.
2. Visit Mozilla.org and see the mozilla.org favicon.
3. Turn off your internet access.
4. Attempt to visit mozilla.org again.

Results:
The mozilla.org favicon appears next to the URL.

Expected results:
Blank/no favicon as the appearance of the icon implies the page succeeded.
Assignee: pinkerton → sfraser_bugs
Target Milestone: --- → Camino1.1
Hrm, I guess I need to get a load status in OnLocationChanged.
Status: NEW → ASSIGNED
Fixed. When the nsIRequest in OnLocationChange has a failure status, we set the
site icon to a little yellow triangle.
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.