[
https://issues.apache.org/jira/browse/CB-6482?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13981383#comment-13981383
]
ASF GitHub Bot commented on CB-6482:
------------------------------------
Github user asfgit closed the pull request at:
https://github.com/apache/cordova-plugin-inappbrowser/pull/41
> InAppBrowser calls incorrect callback on WP8
> --------------------------------------------
>
> Key: CB-6482
> URL: https://issues.apache.org/jira/browse/CB-6482
> Project: Apache Cordova
> Issue Type: Bug
> Components: Plugin InAppBrowser, WP8
> Reporter: Sergey Grebnov
> Assignee: Sergey Grebnov
>
> Due to current implementation InAppBrowser does not save initial callback id
> when you performed 'open' operation, but uses the latest command callback
> instead. So if you invoke any other command like executeScript after,
> location chanegs events will be broken. It will start using executeScript
> callback is instead of original one.
> For example,
> var loginWindow = window.open(someUrl, "_blank", "location=no");
> loginWindow.addEventListener('loadstart', loadEventHandler);
> loginWindow.addEventListener('loadstop', loadEventHandler);
> loginWindow.executeScript(..);
> The last call will break location change notifications.
--
This message was sent by Atlassian JIRA
(v6.2#6252)