3 Replies Latest reply on Oct 6, 2008 3:23 PM by ChesooT

    Accessing app-storage from iframe (non application sandbox)

    rankorn
      I have a window that includes an ifame. The iframe loads an html page into the non-application sandbox using the following code:
      <iframe src=" http://localhost/content.html"
      sandboxRoot=" http://localhost/"
      documentRoot="app:/"
      style="border:0px" width="100%" height="100%">
      </iframe>

      This is done so I can use some fancy javascript in the content.html page.

      The problem is, that I need to load images from the application storage directory (app-storage:/) inside content.html, but for some reason I can get the images!
      I have tried all kind of src values, including file:/, app:/, relative, etc. but still the image is not shown.

      Any ideas?