[b2g] programming a service??

2013-04-08 Thread jose llopis
hello there i was wondering if it is possible to create a service like on android apps that works even when the app is not shown and autostarts with the system thanks and cheers dudes ___ dev-b2g mailing list dev-b2g@lists.mozilla.org

Re: [b2g] Newsflash: Don't use innerHTML in Firefox OS!

2013-04-08 Thread Julien Wajsberg
Hi, While I fully agree with you about the security problems of innerHTML, I'm very surprised of the performance issues. It is widely assumed that innerHTML (and his littke brother insertAdjacentHTML) is a lot faster than traditional DOM methods. And it makes me sad. Also, your jsperf 3rd

Re: [b2g] Newsflash: Don't use innerHTML in Firefox OS!

2013-04-08 Thread Julien Wajsberg
Le 08/04/2013 15:29, Frederik Braun a écrit : On 08.04.2013 14:39, Julien Wajsberg wrote: Hi, While I fully agree with you about the security problems of innerHTML, I'm very surprised of the performance issues. It is widely assumed that innerHTML (and his littke brother insertAdjacentHTML)

Re: [b2g] Newsflash: Don't use innerHTML in Firefox OS!

2013-04-08 Thread Frederik Braun
On 08.04.2013 15:51, Rick Waldron wrote: I've reviewed the html2dom tool and there is a lot of work needed before I would consider using it. Thank you for the review! 1. Don't expose the entire implementation on the global object (Almost every identifier is declared globally) 2. Do you

Re: [b2g] Newsflash: Don't use innerHTML in Firefox OS!

2013-04-08 Thread Julien Wajsberg
Le 08/04/2013 15:56, Justin Lebar a écrit : My plan would be: inject everything but external inputs using innerHTML or insertAdjacentHTML Isn't this a premature optimization? I should think that we should do the unquestionably-safe thing 99% of the time, and then use innerHTML only as a last

Re: [b2g] error ./build.sh -j1

2013-04-08 Thread Dave Hylands
Hi lap, - Original Message - From: lap lapson...@gmail.com To: dev-b2g@lists.mozilla.org Sent: Monday, April 8, 2013 7:09:28 AM Subject: Re: [b2g] error ./build.sh -j1 On 2013?04?07? 00:00, lap wrote: Hey guys when i ran ./build.sh -j1 , i got this error message.

Re: [b2g] error ./build.sh -j1

2013-04-08 Thread Marco Chen
Hi Lap, It seems that there are two modules defined as the same name. From unagi build tree, there is no folder - hardware/qcom/gps/libloc_api. So you can try to remove it. Sincerely yours. - Original Message - From: lap lapson...@gmail.com To: dev-b2g@lists.mozilla.org Sent: Tuesday,

[b2g] Firefox OS DeviceStorageAPI and FileHandleAPI help !

2013-04-08 Thread DongSheng Xue
Hi all, I'm sorrry to bother you. I have two questions about DeviceStorageAPI and FileHandleAPI. I need some help :) 1, DOMRequest getEditable(DOMString name);(https://wiki.mozilla.org/WebAPI/DeviceStorageAPI) The comment is '// Returns the result as a FileHandle object which