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
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to