You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Adam Tuttle (JIRA)" <ji...@apache.org> on 2014/05/23 17:47:01 UTC

[jira] [Created] (CB-6744) Android: window.open() api is fragile on Android

Adam Tuttle created CB-6744:
-------------------------------

             Summary: Android: window.open() api is fragile on Android
                 Key: CB-6744
                 URL: https://issues.apache.org/jira/browse/CB-6744
             Project: Apache Cordova
          Issue Type: Bug
          Components: Android
    Affects Versions: 3.4.0, 3.3.0
         Environment: Tested on Android 4.4
            Reporter: Adam Tuttle
            Priority: Minor


The following code works on iOS, but fails on Android:

window.open(url, '_system', {});

Android requires this form:

window.open(url, '_system', null);

iOS also accepts null, but is more forgiving of the {} value. For consistency and a less fragile api, it would be nice if Android would allow {} in place of null, too.



--
This message was sent by Atlassian JIRA
(v6.2#6252)