[whatwg] @srcdoc and default @sandbox

Tab Atkins Jr. jackalmage at gmail.com
Mon Aug 30 16:11:37 PDT 2010


On Mon, Aug 30, 2010 at 2:08 PM, Adam Barth <w3c at adambarth.com> wrote:
> On Mon, Aug 30, 2010 at 1:58 PM, Maciej Stachowiak <mjs at apple.com> wrote:
>> Should @seamless imply @sandbox too, then?
>
> I think there lots of use cases for seamless that don't require
> sandbox.  For example, suppose a site wants to show a login form on
> many pages by only wants to implement the login logic once.  It's
> entirely reasonable to wish to place the login form in a seamless
> iframe.  If we required @sandbox for seamless, that would interfere
> with the login form working properly with password managers.

Precisely; @seamless was *not* designed with the intention of always
being used with @sandbox.  It's just a nice feature to have for
<iframe>s in general.  So there's no real connection between @seamless
and @sandbox like there is between @srcdoc and @sandbox.

~TJ



More information about the whatwg mailing list