Re:Douglas Crockford on JavaScript and HTML5
by pornel on Monday September 27, 2010 @09:59AM
(#1731681)
Not having his pet feature in the way he likes is not same as ignoring security (and he repeats few times that HTML5 prioritised other stuff over security, keeps making things worse, etc. which is not true).
<iframe seamless sandbox="allow-scripts"> allows embedding of untrusted scripts. JS won't be able to escape the frame, but will be able to display result within the frame or send you result via postMessage().
<iframe seamless sandbox="allow-scripts"> allows embedding of untrusted scripts. JS won't be able to escape the frame, but will be able to display result within the frame or send you result via postMessage().