Display of content from filesystem failing with Chrome OS v 57
Reported by
jason.ca...@pearson.com,
Apr 6 2017
|
|||
Issue descriptionUserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.133 Safari/537.36 Platform: 9202.60.0 (Official Build) stable-channel celes Steps to reproduce the problem: 1. Launch the PSOC Chrome Application 2. Download the html/js content to the app sandbox in the local filesystem. 3. Navigate to the content player to view the content. 4. The interactive content does not load. What is the expected behavior? The content loads and the javascript executes. What went wrong? Our PSOC Chrome App downloads external HTML/JS content via web service to the app sandbox on the local filesystem. This content contains eval scripts. The application then reads this content from the local filesystem for display in the application. Up until this new version 57, we had used an iFrame with in our HTML pages to successfully read and display this content from the local file system. V57 implemented a new security policy for iFrames and eval scripts are no longer supported. The suggested approach in the new chrome documentation was to use webview. However, our understanding is the webview does not allow loading of content from local resources like the filesystem. After the initial content download, the content must be read locally to satisfy the offline requirements for the application. We had evaluated some other alternatives such as creating a local web server to package with the application but this was unsuccessful. Lastly the content itself is extremely large (several gigabytes), so we cannot package the content with the application. I've pasted a screenshot of the error we see in our console logs when launching the interactive: I have attached a screenshot of the error. Did this work before? Yes Chrome OS 56 Chrome version: 57.0.2987.133 Channel: stable OS Version: 57.0.2987.137 Flash Version: 25.0.0.127 /opt/google/chrome/pepper/libpepflashplayer.so
,
Apr 19 2017
Is this application available for us to take a look at? I'm not sure I follow what exactly is being downloaded and executed where in the description above. It sounds like you may be able to bundle the downloaded content up into a `blob:` and load the blob in a frame, rather than trying to execute it directly via `eval()`, but I'd be able to give more reasonable advice with more detail.
,
Oct 9 2017
Closing out due to lack of response. |
|||
►
Sign in to add a comment |
|||
Comment 1 by schenney@chromium.org
, Apr 6 2017