Closed Bug 73545 Opened 24 years ago Closed 24 years ago

Two prompts to accept images for a site

Categories

(Core :: Graphics: Image Blocking, defect)

x86
All
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 57188

People

(Reporter: andrew, Assigned: morse)

References

()

Details

I have the option turned on to always be prompted to receive images. I normally make the decision when prompted, and say to Mozilla to remember this (important to note). As a result, I often get prompted when I visit a site for the first time. It seems that each time I go to a new site which has a background image associated with the page, I receive two prompts. First for the background image, and second for the "other" images. I can quite clearly see the background being displayed by Mozilla while it is still prompting me the second time whether to download images from this site which I have just said "Yes, and don't prompt me again" to. So it looks like there is a race condition somewhere between handling the background image and handling the rest of the images on the page. Note that after the second prompt I don't get asked again, even though there are many other images on the page. On rare occasions it seems that both prompts can come up on screen at the same time. In this situation if I click on the wrong one (i.e. dismiss the second prompt, before the first has been dismissed), Mozilla will crash. This behaviour seems to have been around in Mozilla for ever, so this bug may be a duplicate. I can't find the right one however, so maybe it isn't :-) My apologies in advance if this has been previously reported.
-> morse.
Assignee: asa → morse
Status: UNCONFIRMED → NEW
Component: Browser-General → Cookies
Ever confirmed: true
QA Contact: doronr → tever
The fact that you are getting the double prompts is normal. One is probably for the site itself and the other for the ad-server site. Two separate urls so you need to explicitly accept both. The fact that you get the two prompts simultaneously is a bug due to the fact that the dialogs are not modal. That's bug 57188. *** This bug has been marked as a duplicate of 57188 ***
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
The site listed does not _have_ an ad server. The two prompts for images are for _exactly_ the same site. I know a lot about this site because it is one that my company developed and host. The page _does_ have a background image and foreground images. When I say "Yes, and don't prompt me for this again" I see the background of the page rendered as it then comes up with the second prompt (showing exactly the same hostname in the dialog). When I (again) say "Yes, and don't prompt me again" the second time then the rest of the page is rendered. Then for further visits to the site I am not prompted at all until I remove the image setting for that site, which is what I expect. The page does not have images coming from any host other than the host for the whole page. The page does not have frames, layers, iframes or anything else unusual. I think that this bug might actually be the cause of 57188, rather than a duplicate of it.
What are the complete URLs for the your "foreground image" and "background image"? Are there two URLs listed in the image-manager display (tasks->privacy->image-manager->view-sites)? What are the URLs listed there?
I'll leave the lessthan / greaterthan out of this, but this is cut and paste from the page given above. That page isn't unusual its just the one that this most recently happened to me on. body background="/pwl/img/pwl_bg.jpg" img src="/pwl/img/rhbend.gif" img src="/pwl/img/about.gif" ... and so forth. So, as you can see, none of the images actually specifies a host name, which appears to be all that the image manager cares about. Unfortunately the image manager page seems to be broken in this build (2001032614) so I can't go into that. Looking in cookperm.txt I can see that it (now) says: www.plumbing-world.co.nz 1T
Component: Cookies → Image Blocking
QA Contact: tever → nobody
You need to log in before you can comment on or make changes to this bug.