cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Piotr Zalewa <pzal...@mozilla.com>
Subject Re: firefoxos cordova.js !lastName
Date Tue, 27 Jan 2015 07:31:10 GMT
Created https://issues.apache.org/jira/browse/CB-8364

W dniu 27/01/2015 o 08:21, Piotr Zalewa pisze:
> Hi Axel
>
> I see it.
> I will file an issue if not filed yet
>
> W dniu 23/01/2015 o 20:25, Steven Gill pisze:
> > Hey Axel,
> >
> > It would be really helpful if you could file this as an issue and we can
> > bring it to the attention of our ffos committers.
> >
> > Cheers,
> > -Steve
> >
> > On Fri, Jan 23, 2015 at 5:43 AM, <Axel.Nennker@telekom.de> wrote:
> >
> > > Hi,
> > >
> > >
> > >
> > > I am using inappbrowser (0.5.5-dev) in a project on ios, android and
> > > firefoxos.
> > >
> > > https://github.com/apache/cordova-plugin-inappbrowser
> > >
> > >
> > >
> > > 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.
> > >
> > >
> > >
> > > I did not create a new issue
> > >
> > >
> > >
> > > -Axel
> > >
> > >
> > >
> > > Cordova version: 4.1.2
> > >
> > > ~/.cordova/lib/npm_cache/cordova-firefoxos/3.6.3
> > >
> >
>

-- 
Piotr (zalun) Zalewa
Mozilla


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


Mime
View raw message