You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Piotr Zalewa (JIRA)" <ji...@apache.org> on 2015/01/27 08:27:35 UTC
[jira] [Created] (CB-8364) InAppBrowser reports two errors in the
console.
Piotr Zalewa created CB-8364:
--------------------------------
Summary: 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