[whatwg] When are sandboxing flags set?

Tab Atkins Jr. jackalmage at gmail.com
Thu Jun 24 09:31:40 PDT 2010


On Wed, Jun 23, 2010 at 6:35 PM, Adam Barth <w3c at adambarth.com> wrote:
> On Wed, Jun 23, 2010 at 6:05 PM, Ben Lerner <t-benle at microsoft.com> wrote:
>> Additionally, the sandboxing flags seem to be more a feature of the <iframe>
>> element than of the browsing context, because they depend on the value of
>> the <iframe>’s sandbox attribute.  Can these flags ever be set on a
>> top-level browsing context?  No, correct?
>
> Currently, there is no way to set sandbox attributes on a top-level
> browsing context.  However, one could imagine a future in which such
> an API existed.

I suggested in a (rejected) bug on the spec a little while ago
allowing <html sandbox>.  It sounds simple enough.  ^_^

~TJ



More information about the whatwg mailing list