Open Bug 1305224 Opened 9 years ago Updated 3 years ago

permissions.default.image does not work on some floating images (Javascript is off so it's not script)

Categories

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

49 Branch
defect

Tracking

()

UNCONFIRMED

People

(Reporter: kilroti, Unassigned)

Details

(Whiteboard: [gfx-noted])

User Agent: Mozilla/5.0 (Windows NT 6.1; rv:49.0) Gecko/20100101 Firefox/49.0 Build ID: 20160623154057 Steps to reproduce: Firstly, Javascript is fully off with noscript so it's not Javascript doing it. Okay then... permissions.default.image works on some images but for a long time on mediawiki versions it has not. It is the floating images that it refuses to turn off. Let's give examples: https://en.wikipedia.org/wiki/Cattle Here's a different wiki site with the same issue: http://sonichu.com/cwcki/Muscle_bra I don't know what causes it really. Wikipedia is version 1.28 and sonichu wiki is version 1.25.2 of Mediawiki But Rationalwiki is version 1.19.12 and permissions.default.image turns its images off. The site doesn't have many images. Here is one of its few articles with lots of images. http://rationalwiki.org/wiki/Cultural_Marxism Actual results: I tried all settings on permissions.default.image. I tried 2, which is said to turn images off. I tried 3, 0, -1 too. 2 on permissions.default.image turns images off on some websites but not others. Again, Javascript is fully off with noscript so it's not scripts loading images. Expected results: Setting 2 on permissions.default.image should turn images off on all sites but it doesn't. Again, Javascript is fully off with noscript so it's not scripts loading images.
Component: Untriaged → Preferences
Component: Preferences → Image Blocking
Product: Firefox → Core
I tried permissions.default.image=2 then both wiki links, I dont see any image.
Has STR: --- → yes
OS: Unspecified → All
Priority: -- → P3
Hardware: Unspecified → All
Whiteboard: [gfx-noted]
Another page, http://telanganatoday.news/african-elephants-shortest-sleeping Turning off images removes 1 or 2 images, but the rest of the images show. I am using the latest ESR 45.7.0 because each Firefox release gets slower and slower and slower like crazy so I had to switch to that until maybe Firefox fixes its slowdown. But that's the version I'm using if you need to narrow it down.

As a workaround, I set all following in addition to the permissions.default.image setting, to block all images. One or more of these settings worked:

gfx.webrender.blob-images -- toggle
image.mem.decode_bytes_at_a_time -- set to 0
image.mem.surfacecache.max_size_kb - set to 0

Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.