Closed Bug 158299 Opened 22 years ago Closed 21 years ago

Pictures are not blocked

Categories

(Core :: Graphics: Image Blocking, defect, P3)

defect

Tracking

()

RESOLVED DUPLICATE of bug 176950

People

(Reporter: mmsamsel, Assigned: security-bugs)

References

()

Details

From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.0.0) Gecko/20020530
BuildID:    2002053012

It looks like I blocked pictures from certain servers. After some time I not
noticed that pictures from the server reappear and but the only option given to
me with popup menu is to UNBLOCK picture. It looks like theoretically server is
blocked, but actually it isn't. Therefore, pictures from this server are showing
up in additional window frames. The weird sumpthom is that problem arises after
some time (or is noticeable after some time). At first blocking works fine.

The example URL is not the only that brings problems.

Reproducible: Didn't try
Steps to Reproduce:
I can't help as I am a liilte busy to investigate Mozzila's problems. However,
the problem arises on regular basis after several days of use of the feature. It
is sort of annoying and and blocking pictures from a particular server seems to
be useless.

Actual Results:  Please, try to reproduce the problem yourself.

Expected Results:  Mozilla should consistently  block loading pictures from
server once blocking feature was used against that particular server.
reassign to image blocking
Assignee: attinasi → morse
Component: Layout → Image Blocking
QA Contact: petersen → tever
I've seen this problem. Here's an example of what happens

1. Say you have doubleclick.com blocked for images
2. You come across a site that serves images from www.doubleclick.net
3. Mozilla displays those images but when you right click it thinks the image is
blocked because it finds doubleclick.com in its list and thinks its blocked.

The problem here is the image blocking code and context menu code seem to be out
of sync.

If you want to see this in action, add doubleclick.com in your list of server to
block images from, then go to www.doubleclick.com. The doubleclick logo in upper
left hand corner is served from www.doubleclick.com and is displayed (correctly)
but right clicking it says "Unblock image", which is wrong.

I have a strong feeling this bug is probably filed and should be marked dup. I
went through the list of bugs but I can't figure out which bug to mark dupe.
Thus, marking this bug as new.
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows 98 → All
Hardware: PC → All
I do not know why my description was modified. I said precisely that it relates
to any web site popping up windows (not just doubleclick.com). The pictures are
blocked but after some time and with some circumstances they seem to be not
blocked becuase they appear in poped window and the only option on popup menu is
to UNBLOCK them for unknown reason.

It seems that Mozilla does not block loading pictures servers consistently.
That's as simple and does not relate to any particular web site.

Please, besides blocking picture loaded regular way you need to block JavaScript
loaded pictures. It would be also good if you could block Flash content from
some servers.
>I do not know why my description was modified. 

I merely tried to give a more concrete example based on what I thought the bug
was about.

>I said precisely 

No you were not precise. You can't say it happens on any website. Give an
example. State what prefs have to be enabled/disabled to see this bug. I have
pops disabled. Would I see this bug in such situation?

>that it 
>relates to any web site popping up windows (not just doubleclick.com). 
>The pictures are blocked but after some time and with some circumstances 
>they seem to be not blocked becuase they appear in poped window and the 
>only option on popup menu is to UNBLOCK them for unknown reason.

You need to be more specific. If what I described isn't what you're referring
to, then please be more specific.

>It seems that Mozilla does not block loading pictures servers 
>consistently. That's as simple and does not relate to any particular web site.

Yes but if you give an example of one website then we can confirm that this bug
exists and its not the website's fault.

>Please, besides blocking picture loaded regular way you need to 
>block JavaScript loaded pictures. It would be also good if you could 
>block Flash content from some servers.

There's a bug filed about flash content.
I don't understand steps to reproduce problem, as given in comment 2:

1. add doubleclick.com in your list of server to block images from,

How?  I can do that going to doubleclick.com which of course takes me to 
www.doubleclick.com.  Then I rightclick an image and say block.  That adds 
www.doubleclick.com to the blocked list as shown by the image manager.

2. go to www.doubleclick.com.

Well I was there already, so I did a reload.

3. The doubleclick logo in upper left hand corner is served from 
www.doubleclick.com and is displayed (correctly)

No, I don't have any images displayed.

--------------

Please clarify the steps so that I can reproduce.  Thanks.
Please try several times more over a few days using Mozilla 1.0 and you will 
notice the problem.


I ensure you Mozilla does not block loading pictures from server consistently
for some reason.

Now why by rihgt clicking on a picture already loaded and getting popup menu
would I have UNBLOCK menu option instead BLOCK option? I may even try and
capture screen to make you believe.

That's how build 2002053012 behaves and please do not count on the fact that
just after blocking and reloding web page you will notice the problem. It does
not need to appear right away and on the same picture. It appears after some use
for some reason. Perhaps in some cases pictures are loaded differently or any
other circumstances are different than just after blocking.
So you are saying that the problem is not reproducible.  In that case I don't 
know how I'm going to be able to debug it.
Target Milestone: --- → Future
Okay. I think I might have been hasty and given steps to reproduce a problem
that may not be what the reporter intended to report. 

In any case, to reproduce the problem that I see

1. goto http://doubleclick.com/us/ 
2. Block images from that website
3. Now go to www.doubleclick.com.
4. The image gets displayed, but right clicking says "Unblock Image"

I'll file a new bug if this is not what the reporter intended.
Thanks for the clarification.  And now I am able to reproduce and to see the 
problem.  The fact that the image is displayed is correct behavior (site being 
blocked and current site are indeed different), but message in context menu is 
incorrect.  You are right in saying that the two are out of synch.

I suspect that this is what the reporter was observing as well although he 
didn't realize it.  On certain days he might have been visiting the site with 
www.xxx.com and on other days as simply xxx.com.  So it's easy to mistakenly 
conclude that the behavior changed over time rather than because the site being 
visited was different.

Accepting the bug

Status: NEW → ASSIGNED
Priority: -- → P3
Target Milestone: Future → mozilla1.2alpha
I believe this is a dupe of bug 48660.   
Target Milestone: mozilla1.2alpha → mozilla1.3alpha
Reassigning Image Manager bugs to mstoltz and clearing milestone.
Assignee: morse → mstoltz
Group: security
Status: ASSIGNED → NEW
Target Milestone: mozilla1.3alpha → ---
This bug was accidentally marked security-sensitive yesterday. Removing
security-sensitive status now.
Group: security
QA Contact: tever → nobody
This is fixed (somewhat) with the checkin in bug 176950. If not, please reopen

*** This bug has been marked as a duplicate of 176950 ***
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.