cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Björn Andersson (JIRA) <>
Subject [jira] [Commented] (CB-5219) weinre disconnects when history.replaceState is used
Date Sat, 02 Nov 2013 17:48:17 GMT


Björn Andersson commented on CB-5219:

I just tried creating a completely new HTML5 mobile app in Visual Studio and sadly this behavior
does not exist with Microsofts starter app. 

I add in my tag for weinre, connect to it and then use history.replaceState and weinre stays
connected. Adding in an extra script tag after weinre with history.replaceState doesn't have
an effect either.

I'm going to send out an e-mail to the PhoneGap mailing list now as well asking if anyone
might have any ideas but figure I should mention it here as well.

> weinre disconnects when history.replaceState is used
> ----------------------------------------------------
>                 Key: CB-5219
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: WP8
>    Affects Versions: 3.1.0
>         Environment: Windows 8, Visual Studio 2012
>            Reporter: Björn Andersson
>            Assignee: Patrick Mueller
> 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

View raw message