Return-Path: X-Original-To: apmail-incubator-callback-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-callback-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D407E95CA for ; Mon, 12 Mar 2012 18:47:20 +0000 (UTC) Received: (qmail 24645 invoked by uid 500); 12 Mar 2012 18:47:20 -0000 Delivered-To: apmail-incubator-callback-dev-archive@incubator.apache.org Received: (qmail 24617 invoked by uid 500); 12 Mar 2012 18:47:20 -0000 Mailing-List: contact callback-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: callback-dev@incubator.apache.org Delivered-To: mailing list callback-dev@incubator.apache.org Received: (qmail 24609 invoked by uid 99); 12 Mar 2012 18:47:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Mar 2012 18:47:20 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Mar 2012 18:47:19 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id C686B1C53A for ; Mon, 12 Mar 2012 18:46:38 +0000 (UTC) Date: Mon, 12 Mar 2012 18:46:38 +0000 (UTC) From: "Jared Warren (Closed) (JIRA)" To: callback-dev@incubator.apache.org Message-ID: <1181498118.3914.1331577998814.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1657772819.47338.1329419699682.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Closed] (CB-258) iFrame parent is null on Android 4.0+ MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CB-258?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jared Warren closed CB-258. --------------------------- > iFrame parent is null on Android 4.0+ > ------------------------------------- > > Key: CB-258 > URL: https://issues.apache.org/jira/browse/CB-258 > Project: Apache Callback > Issue Type: Bug > Components: Android > Affects Versions: 1.3.0 > Environment: Android 4.0+ (Ice Cream Sandwach) > PhoneGap 1.4.1 > Reporter: Jared Warren > Assignee: Joe Bowser > Labels: android, iframe > > When I load an html file inside an iframe that file cannot access it's parent. Also "deviceready" is never called. See the following code: > index.html > {code} > > > > > Sand Box testing > > > > > > > > {code} > frameContents.html > {code} > > > > > Sand Box testing > > > > > > > {code} > Logs: > {quote} > 02-16 12:08:22.325: I/Web Console(9093): iframe loaded. at file:///android_asset/www/frameContents.html:17 > [Click "Say HI" button] > 02-16 12:08:28.286: I/Web Console(9093): doSomething:file:///android_asset/www/frameContents.html at file:///android_asset/www/frameContents.html:8 > 02-16 12:08:28.286: I/Web Console(9093): parentFail:TypeError: Object [object DOMWindow] has no method 'doParentSomething' at file:///android_asset/www/frameContents.html:12 > {quote} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira