annotate tests/setInner.js @ 1710:540df112ff62

Remove string-valued style attribute, which may allow injection attacks
author Adam Chlipala <adam@chlipala.net>
date Sun, 15 Apr 2012 12:40:53 -0400
parents 06791667937e
children
rev   line source
adam@1702 1 function setIt(id, html) {
adam@1702 2 setInnerHTML(document.getElementById(id), html);
adam@1702 3 }