You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Andrew Grieve (JIRA)" <ji...@apache.org> on 2013/02/15 16:11:13 UTC

[jira] [Commented] (CB-1547) onReset and onHandleOpenUrl are wrongly called when there are two CDVWebViews present at the same time.

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

Andrew Grieve commented on CB-1547:
-----------------------------------

Last fix didn't quite do it. Here's another one:
https://git-wip-us.apache.org/repos/asf?p=cordova-ios.git;a=commit;h=8d22b4cc8ed8ca6965a64565ec994416a8dd6c0f

There is also now a manual test in the mobile spec under "misc" that has a page with iframes on it.
                
> onReset and onHandleOpenUrl are wrongly called when there are two CDVWebViews present at the same time.
> -------------------------------------------------------------------------------------------------------
>
>                 Key: CB-1547
>                 URL: https://issues.apache.org/jira/browse/CB-1547
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: Master
>            Reporter: Andrew Grieve
>            Assignee: Braden Shepherdson
>            Priority: Minor
>             Fix For: 2.5.0
>
>
> The issue here is that we are using NSNotificationCenter to broadcast & listen to events, but plugins to not restrict to their associated webview.
> We can fix this by not using NotificationCenter, or by restricting the listener to the webview object.

--
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