On Thursday, December 18, 2014 11:01:24 AM UTC+1, Fernando Jiménez Moreno wrote:
> Try adding
> 
> 
> @BINPATH@/components/MozOs.js
> @BINPATH@/components/Os.manifest
> 
> 
> 
> 
> 
> to 
> https://mxr.mozilla.org/mozilla-central/source/b2g/installer/package-manifest.in
> 
> 
> 
> On Dec 18, 2014, at 10:43 AM, Jan Jongboom <janjo...@gmail.com> wrote:
> 
> I added new API under dom/, code is pretty simple and is here:
> 
> https://github.com/janjongboom/gecko-dev/commit/a5ff0887277c79ea4901f72463a8a4a5350c1140
> 
> This works fine when I build FF Desktop client, but when I build B2G with:
> 
> ./build.sh gecko
> ./flash.sh gecko
> 
> I get an error when I want to access the new property under navigator.
> 
> [Exception... "Factory not registered"  nsresult: "0x80040154 
> (NS_ERROR_FACTORY_NOT_REGISTERED)"  location: "JS frame :: debugger eval code 
> :: <TOP_LEVEL> :: line 1"  data: no]
> 
> Any clue?
> 
> My .userconfig is:
> GECKO_PATH=/Users/janjongboom/repos/gecko-dev
> 
> _______________________________________________
> dev-b2g mailing list
> dev...@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-b2g

Yep worked. Thanks.
_______________________________________________
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to