incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joe Bowser (Commented) (JIRA)" <>
Subject [jira] [Commented] (CB-132) Loading a local file into an iframe opens in the main app window instead
Date Fri, 10 Feb 2012 23:06:59 GMT


Joe Bowser commented on CB-132:

OK, here's where we're at with this:

Currently we override the URL loading for file://, this means that we load the file:// using
a custom method instead of just letting the WebView do its job.  However, the current way
PhoneGap works breaks when we let WebView do its job of handling iFrames.  This should be
fixed with CB-190 where we let the application do its job on the history, but this still has
to be tested.

Tip: If something is broken in both Android 2.3 and Android 4.0, it's more likely our fault
because we had to write a work-around of some kind.
> Loading a local file into an iframe opens in the main app window instead
> ------------------------------------------------------------------------
>                 Key: CB-132
>                 URL:
>             Project: Apache Callback
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 1.2.0
>         Environment: Tested on Android 2.3.6, Android 4.0.2; tested with PhoneGap 1.2.0
and a locally built 1.3.0.
>            Reporter: Brion Vibber
>            Assignee: Joe Bowser
>              Labels: iframe
>             Fix For: 2.0.0
> Test program:
> 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.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message