You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Bas Bosman (JIRA)" <ji...@apache.org> on 2014/01/31 22:52:09 UTC

[jira] [Commented] (CB-4818) InAppBrowser addEventListener 3rd parameter?

    [ https://issues.apache.org/jira/browse/CB-4818?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13888207#comment-13888207 ] 

Bas Bosman commented on CB-4818:
--------------------------------

Pull request: https://github.com/apache/cordova-mobile-spec/pull/47

> InAppBrowser addEventListener 3rd parameter?
> --------------------------------------------
>
>                 Key: CB-4818
>                 URL: https://issues.apache.org/jira/browse/CB-4818
>             Project: Apache Cordova
>          Issue Type: Test
>          Components: Docs, mobile-spec, Plugin InAppBrowser
>    Affects Versions: 2.9.0
>            Reporter: Peter
>            Assignee: Michael Brooks
>            Priority: Minor
>
> The mobile-spec InAppBrowser tests addEventListener:
> {code}
>         iab.addEventListener('loaderror', logEvent, false);
>         iab.addEventListener('loadstart', logEvent, false);
>         iab.addEventListener('loadstop', logEvent, false);
>         iab.addEventListener('exit', logEvent, false);
> {code}
> But that test code above is calling addEventListener with 3 parameters, and the 3rd parameter is neither documented
> http://cordova.apache.org/docs/en/3.0.0/cordova_inappbrowser_inappbrowser.md.html#addEventListener, nor (IIUC) is it implemented in the cordova.js



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)