Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-132

Loading a local file into an iframe opens in the main app window instead

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.2.0
    • 1.8.0
    • cordova-android
    • Tested on Android 2.3.6, Android 4.0.2; tested with PhoneGap 1.2.0 and a locally built 1.3.0.

    Description

      Test program: https://github.com/brion/iframe-android-test

      Loading the local file 'empty.html' (second button) in the iframe opens it in the main application window instead. This destroys whatever UI and logic were living in the main window.

      iframe source is being set by setting the 'src' property on the element's DOM node.

      Attachments

        Activity

          People

            bowserj Joey Robert Bowser
            brion Brion Vibber
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: