cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <>
Subject [jira] [Commented] (CB-6482) InAppBrowser calls incorrect callback on WP8
Date Fri, 25 Apr 2014 18:15:22 GMT


ASF subversion and git services commented on CB-6482:

Commit 907bba6cf68693658fac90b00f8df635ddb8a11b in cordova-plugin-inappbrowser's branch refs/heads/master
from [~purplecabbage]
[;h=907bba6 ]

Merge branch 'CB-6482' of into dev

> InAppBrowser calls incorrect callback on WP8
> --------------------------------------------
>                 Key: CB-6482
>                 URL:
>             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 =, "_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

View raw message