Re: [whatwg] Modifying iframe sandbox attributes

2013-07-24 Thread Ian Hickson
On Mon, 22 Apr 2013, Tim Streater wrote: I need to add/remove the allow-scripts attribute to/from an iframe sandbox, since I use one frame for two purposes (sometimes with untrusted content, other times with my own content that uses JavaScript). I've tried the following:

[whatwg] Modifying iframe sandbox attributes

2013-04-22 Thread Tim Streater
I need to add/remove the allow-scripts attribute to/from an iframe sandbox, since I use one frame for two purposes (sometimes with untrusted content, other times with my own content that uses JavaScript). I've tried the following: iframePtr.sandbox = allow-popups allow-same-origin