New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 904223 link

Starred by 2 users

Issue metadata

Status: Closed
Owner:
Closed: Nov 29
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug



Sign in to add a comment

Images not being displayed on websites under Chrome after policy settings

Reported by mikeglas...@gmail.com, Nov 11

Issue description

UserAgent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.77 Safari/537.36

Example URL:
https://www.ynet.co.il

Steps to reproduce the problem:
1. go to www.ynet.co.il (Site is in hebrew)

What is the expected behavior?
Expect to see text and images

What went wrong?
Text is show, but images are not shown

See example jpegs - IEOKYNET - Under IE, images are showm, CHROMEERRORYNET - Under chrome at the same time to the same site, images are not shown

this happens on multiple websites and not just this one

attached also an excel file containing all the settings I made

Does it occur on multiple sites: Yes

Is it a problem with a plugin? No 

Did this work before? N/A 

Does this work in other browsers? Yes

Chrome version: 70.0.3538.77  Channel: stable
OS Version: 6.1 (Windows 7, Windows Server 2008 R2)
Flash Version: NA

This occurs on 95% of all deployed chrome browsers using the policy settings we made.
- Turning off hardware acceleration does not help
- Running in incognito mode makes no difference
- Allow JavaScript on these sites is enabled and the parameters set to HTTP://* and HTTPS://*. No change
- Images are set to "Not Configured".
 
javascriptpolicysetting.JPG
77.2 KB View Download
ieokynet.JPG
100 KB View Download
chromeerrorynet.JPG
86.8 KB View Download
Policy settings global - 07112018.xlsx
34.1 KB Download
Labels: Needs-Triage-M70
Cc: krajshree@chromium.org
Labels: Needs-Feedback Triaged-ET
Unable to reproduce the issue on win-7 and win-10 using chrome reported version #70.0.3538.77 and latest canary #72.0.3608.0.
Attached a screen cast for reference.

Following are the steps followed to reproduce the issue.
------------
1. Navigated to https://www.ynet.co.il/.
2. Observed text and images as expected.

reporter@ - Could you please check the issue on latest canary #72.0.3608.0 by creating a new profile without any apps and extensions and please let us know if the issue still persist or not.

Thanks...!!
904223.png
132 KB View Download
Hi,

I'm afraid that we can't move to canary #72.0.3608.0. We have to try and find a solution on the current version we have.

I have made two changes to our organizational policy as follows:

Under Google Chrome/Content Settings, I set the keys

Default images setting and Default JavaScript setting to "Enabled" and Allow all sites to show all images / Allow all sites to run JavaScript

After this change, instead of getting blanks where the images were supposed to be, we get the broken image graphic (see attached file).

As such it is pretty obvious that the issue is caused by the policy settings, I am simply unable to work out which ones.

Mike
afterpolicychange112018.JPG
20.5 KB View Download
Project Member

Comment 4 by sheriffbot@chromium.org, Nov 12

Labels: -Needs-Feedback
Thank you for providing more feedback. Adding the requester to the cc list.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Components: -Blink Blink>FeaturePolicy
Not sure if this is the right label.

We have othe rbugs regarding missing images, so it might just be that, with the difference being the image format. Reporter, is there any difference to the type of image being served under the different policies?
There are no differences.

Some images load and some give the error I posted. All the images are loaded from the same location.

On Chrome installs with no policy (Active directory) loaded, everything is fine. It is only on WS's (and even then not 100% of them), where there is this issue with the images.

And since when we load the site in Internet Explorer all the images load fine, this is specifically related to chrome, and the policy.
Cc: privard@chromium.org pastarmovj@chromium.org
Components: Enterprise
Just to help from enterprise perspective setting the policy for JS should be equivalent to setting the content setting in the UI. Let me know if you need help setting the policy for reproducing the issue.
Labels: Needs-Feedback
Why do you use JavaScriptAllowedForUrls setting with http://* and https://* ? Could you use DefaultJavaScriptSetting?
Owner: rsorokin@chromium.org
Status: Assigned (was: Unconfirmed)
assigning to rsorokin@chromium.org since you're looking at this to remove from our triage needed list
Rsokin,

I apologize for the delay in my response.

Regarding using DefaultJavaScriptSetting, as far as I know, I am using that registry key setting as defined under "Google Chrome/Content Settings/Default JavaScript setting" and it is set to "Allow all sites to run JavaScript".

If I do so, does that mean I do not have to define anything (I can leave as Not Configured) the settings under "Google Chrome/Content Settings/Allow JavaScript on these sites" ?

In which case I would not need to use http://* and https://* at all.

Is this correct ?

And if so, would that be the same for Flash and image settings ?


Regarding the issue itself, After making the changes to the default settings we started seeing some results, and we then discovered that in addition to the problem the policy had been inducing, our organizational proxy settings had changed (I am still trying to understand how it changed, as I am sure it was not on it's own), and once we moved all the chrome users to our secondary proxy, everyone now sees pictures as they should.

So the issue was twofold:

1. Settings in the policy for the default of Default Image Settings and Default JavaScript settings.
2. blocking from the proxy to images on certain sites (created the broken image object)

So, had I not changed the two settings as defined to "allow all", I would not have got the broken image object, and I would not have been able to follow that back to the proxy issue.

I would like to thank you all for your assistance in helping us solve this. It's a major breakthrough and is allowing me to push chrome out starting next Monday.

Rsorkin, I would still appreciate your input regarding the question you asked and my answer/question above.

Sincerely,

Mike Glassman
Status: Closed (was: Assigned)
If I do so, does that mean I do not have to define anything (I can leave as Not Configured) the settings under "Google Chrome/Content Settings/Allow JavaScript on these sites" ? - Yes

And if so, would that be the same for Flash and image settings ? - Yes

Glad it works!

Sign in to add a comment