Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-5219

weinre disconnects when history.replaceState is used

VotersWatch issueWatchersLinkUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    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:

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

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

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            purplecabbage Jesse MacFadyen
            gaqzi Björn Andersson
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment