You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by Ax...@telekom.de on 2015/01/23 14:43:55 UTC

firefoxos cordova.js !lastName

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

Re: firefoxos cordova.js !lastName

Posted by Piotr Zalewa <pz...@mozilla.com>.
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, <Ax...@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


Re: firefoxos cordova.js !lastName

Posted by Axel Nennker <ig...@gmail.com>.
Please do that. I did not find time to do it
Am 27.01.2015 08:23 schrieb "Piotr Zalewa" <pz...@mozilla.com>:

> 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, <Ax...@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
>
>

Re: firefoxos cordova.js !lastName

Posted by Piotr Zalewa <pz...@mozilla.com>.
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, <Ax...@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


Re: firefoxos cordova.js !lastName

Posted by Steven Gill <st...@gmail.com>.
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, <Ax...@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
>