I reported this issue to the Google Chrome Help Forum and I also submitted it on the "Report an issue" button on the Chrome About page.
I’m generating output from statistical software that contains many statistical graphs (in PNG format) and also contains wide tables). It is convenient to put this output in an HTML file (as opposed to PDF) because HTML in a browser efficiently handles the wide tables (without vertically splitting then) using the horizontal scrollbar. And HTML can also readily render the PNG graphs.
It’s convenient for recipients of my documents if all the graphics files are packaged with the text in a single MIME HTML file (so that users don’t have to deal with the many loose PNG files). Until sometime before July 1, 2014 Chrome would render my MIME HTML files properly. However, now Chrome properly renders the text and tables in the files, but it fails to render the PNG graphs, and instead only shows a frame in which the graph should appear. I've attached a small MIME HTML file (Pr0569.mht) that illustrates the problem. This graph in the file renders properly in Internet Explorer (IE), but the graph does not render properly in Chrome.
If after attempting to view the file in Chrome I select Chrome menu, Tools, JavaScript Console, I see that the embedded graph generated the following messages:
Blocked script execution in 'file:///C:/Users/Don/Documents/Pr0569.mht' because the document's frame is sandboxed and the 'allow-scripts' permission is not set. PR0569.MHT:12
Blocked script execution in 'file:///C:/Users/Don/Documents/Pr0569.mht' because the document's frame is sandboxed and the 'allow-scripts' permission is not set. PR0569.MHT:1600
Blocked script execution in 'file:///C:/Users/Don/Documents/Pr0569.mht' because the document's frame is sandboxed and the 'allow-scripts' permission is not set. PR0569.MHT:1
Not allowed to load local resource: file:///C:/progs/SGPlot1.png Pr0569.mht:1631.
The error messages suggest that I can eliminate the problem by setting the ‘allow-scripts’ permission. However, if I select Chrome menu, Settings, Show advanced settings, Privacy, Content settings, JavaScript, I see that “Allow all sites to run JavaScript” is enabled. Is there some other permission I can set that will allow the PNG graphs in a MIME HTML file to be rendered?
I can think of six possible causes of this problem:
What do you think is the cause of my problem? Can you suggest a solution that will allow me to continue provide a simple way for readers to properly view my statistical software output files, even if a user wishes to use Chrome?
Thanks for your help,
Don Macnaughton