You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Alexander Bykov (JIRA)" <ji...@apache.org> on 2014/09/10 13:07:29 UTC

[jira] [Created] (CB-7510) history.replaceState doesn't work with long URLs

Alexander Bykov created CB-7510:
-----------------------------------

             Summary: history.replaceState doesn't work with long URLs
                 Key: CB-7510
                 URL: https://issues.apache.org/jira/browse/CB-7510
             Project: Apache Cordova
          Issue Type: Bug
          Components: WP8
    Affects Versions: 2.9.1
         Environment: Windows Phone 8.0 (NOKIA Lumia 920)
            Reporter: Alexander Bykov
            Assignee: Jesse MacFadyen


While executing the js code below an app stops working if the 'url' argument length is greater that 200:

            var url = Array(200).join("a");
            alert("start " + url.length);
            alert(window.history.replaceState(null, null, url));
            alert("end");

If run the same code in phone's browser it works properly.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)