W3C home > Mailing lists > Public > whatwg@whatwg.org > June 2010

[whatwg] When are sandboxing flags set?

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Thu, 24 Jun 2010 09:31:40 -0700
Message-ID: <AANLkTimJElevbLeb5Sy6qX1HxRGKUTFqakKrT5veSAZu@mail.gmail.com>
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
Received on Thursday, 24 June 2010 09:31:40 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:24 UTC