You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "165537 (JIRA)" <ji...@apache.org> on 2014/08/29 04:51:08 UTC

[jira] [Created] (CB-7426) Opening local page (cdvfile://path/index.html) does not work anymore

165537 created CB-7426:
--------------------------

             Summary: Opening local page (cdvfile://path/index.html) does not work anymore
                 Key: CB-7426
                 URL: https://issues.apache.org/jira/browse/CB-7426
             Project: Apache Cordova
          Issue Type: Bug
    Affects Versions: 3.5.0
         Environment: Android 4.1.2, 4.4.2, Phonegap 3.5.0 (Cordova 3.5.1)
            Reporter: 165537


My app copies files locally using the FileAPI. This works well on both Phonegap 3.4.0 and 3.5.0.

Then it opens an html file that was copied, by doing window.location = "cdvfile://localhost/persistent/TEST/index.html";

(the path is not hardcoded but retrieved by doing a myDirEntry.toURL())

This works perfectly well in Phonegap 3.4.0 but not in Phonegap 3.5.0. In 3.5.0 nothing happens: the app stays on the same page, no exception seem to be thrown.



--
This message was sent by Atlassian JIRA
(v6.2#6252)