cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Liu Yuanyuan (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-2693) Got a white blank screen after invoking window.parent.xxx()
Date Tue, 02 Apr 2013 09:15:15 GMT

    [ https://issues.apache.org/jira/browse/CB-2693?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13619647#comment-13619647
] 

Liu Yuanyuan commented on CB-2693:
----------------------------------

Shazron,

I finally find the reason which causes blank screen issue: it seems that target property in
<a> can't locate parent iframe, it always pop up a new window instead of loading page
in a parent iframe, my enviroment is very complex, I only sketch my enviroment as simple codes:

mail.html
    <iframe name="action_frame"></iframe>
    <iframe src="inner_frame.html"></iframe>


inner_frame.html
    <iframe name="inner_action_frame"></iframe>
    <a href="www.google.com" target="action_frame">Click me, it will open a new window,
it seems "action_frame" is not in frame name space</a>
    <a href="www.google.com" target="inner_action_frame">Click me, it will load page
in "inner_action_frame" correctlly</a>

                
> Got a white blank screen after invoking window.parent.xxx()
> -----------------------------------------------------------
>
>                 Key: CB-2693
>                 URL: https://issues.apache.org/jira/browse/CB-2693
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: 2.3.0, 2.4.0, 2.5.0
>         Environment: iOS 6.1 Simulator or iOS 6.1.2 real devices
>            Reporter: Liu Yuanyuan
>            Assignee: Shazron Abdullah
>            Priority: Blocker
>              Labels: patch
>         Attachments: CB-2693.zip
>
>   Original Estimate: 336h
>  Remaining Estimate: 336h
>
> Always got a blank white screen after invoking any parent function in iframe for example:
> window.parent.alert('test!');
> window.parent.postMessage('my message','*');
> Notes:
> I had tried it on iOS Regular browser and Android Native packaging all work well, this
issue only happends on iOS Native packaging application.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message