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 resort when HTML
> parsing is a bottleneck.

Right :)

-- 
Julien

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to