You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Björn Andersson (JIRA)" <ji...@apache.org> on 2013/10/29 20:21:25 UTC

[jira] [Updated] (CB-5219) weinre disconnects when history.replaceState is used

     [ https://issues.apache.org/jira/browse/CB-5219?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Björn Andersson updated CB-5219:
--------------------------------

    Description: 
I got an app that uses weinre and when developing on Android, BB10 and iOS I never had any issues. But on WP8 it kept disconnect pretty much instantly after connecting.

I found that if I do:

{code}
history.replaceState(null, 'weinre, say bye-bye', '/some-fake-url')
{code}

Weinre will disconnect. I've tried this with the Cordova hello world app and just adding in that line above disconnects weinre.

  was:
I got an app that uses weinre and when developing on Android, BB10 and iOS I never had any issues. But on WP8 it kept disconnect pretty much instantly after connecting.

I found that if I do:

{code|language=javascript}
history.replaceState(null, 'weinre, say bye-bye', '/some-fake-url')
{code}

Weinre will disconnect. I've tried this with the Cordova hello world app and just adding in that line above disconnects weinre.


> weinre disconnects when history.replaceState is used
> ----------------------------------------------------
>
>                 Key: CB-5219
>                 URL: https://issues.apache.org/jira/browse/CB-5219
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: WP8
>    Affects Versions: 3.1.0
>         Environment: Windows 8, Visual Studio 2012
>            Reporter: Björn Andersson
>            Assignee: Jesse MacFadyen
>
> I got an app that uses weinre and when developing on Android, BB10 and iOS I never had any issues. But on WP8 it kept disconnect pretty much instantly after connecting.
> I found that if I do:
> {code}
> history.replaceState(null, 'weinre, say bye-bye', '/some-fake-url')
> {code}
> Weinre will disconnect. I've tried this with the Cordova hello world app and just adding in that line above disconnects weinre.



--
This message was sent by Atlassian JIRA
(v6.1#6144)