cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Piotr Zalewa (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-8364) InAppBrowser reports two errors in the console.
Date Tue, 27 Jan 2015 07:42:34 GMT

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

Piotr Zalewa commented on CB-8364:
----------------------------------

Please provide more information about the errors.
This is what I've got:

Calling:
```window.open('http://www.mozilla.org', '_blank');```

Console:
```
Empty string passed to getElementById(). cordova.js:1175:0
Empty string passed to getElementById(). cordova.js:466:0
"adding proxy for InAppBrowser" cordova.js:846:8
"Received Event: deviceready" index.js:48:8
This site makes use of a SHA-1 Certificate; it's recommended you use certificates with signature
algorithms that use hash functions stronger than SHA-1.[Learn More] en-US
"             _.-~-.
           7''  Q..\
...
```

"Empty string passed..." are warnings.

> InAppBrowser reports two errors in the console.
> -----------------------------------------------
>
>                 Key: CB-8364
>                 URL: https://issues.apache.org/jira/browse/CB-8364
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: FirefoxOS
>            Reporter: Piotr Zalewa
>            Assignee: Piotr Zalewa
>
> From Axel Nennker's (telekom.de) email:
> The firefoxos version of the app reports two errors in the console log.
> Cordova.js:466 getElementByID called with empty id (or similar)
> Cordova.js:1171   - " -
> In line 1171 this is cause by lastName being null.
> https://github.com/apache/cordova-firefoxos/blob/master/cordova-lib/cordova.js#L1171
> The value of moduleName at that time is InAppBrowserProxy.
> I fixed this by inserting in line 1172:
> If (!lastName) continue;
> In line 466 key is null or undefined.
> https://github.com/apache/cordova-firefoxos/blob/master/cordova-lib/cordova.js#L466
> I have no idea why this happens on FirefoxOS but not on the other platforms.
> My current guess is that
> https://github.com/apache/cordova-plugin-inappbrowser/blob/master/plugin.xml#L203
> does not get digested on FirefoxOS as on the other platforms.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message