W3C home > Mailing lists > Public > public-html@w3.org > January 2010

Re: text/sandboxed-html

From: Maciej Stachowiak <mjs@apple.com>
Date: Tue, 12 Jan 2010 19:17:07 -0800
Cc: Boris Zbarsky <bzbarsky@mit.edu>, Ian Hickson <ian@hixie.ch>, public-html@w3.org, public-web-security@w3.org
Message-id: <6B2B4734-2D00-43F5-A7F1-5829333A7E54@apple.com>
To: Devdatta <dev.akhawe@gmail.com>

On Jan 12, 2010, at 6:53 PM, Devdatta wrote:

>>
>> A site wishing to selectively use either <iframe sandbox> or  
>> nothing could
>> feature-detect sandbox support before attempting to load the
>> text/sandboxed-html resource.
>>
>
> That seems like an important functionality. How would sites be able to
> detect support (short of user agent sniffing) ?


The following JavaScript expression will tell you:

"sandbox" in document.createElement("iframe")
Received on Wednesday, 13 January 2010 03:17:42 UTC

This archive was generated by hypermail 2.3.1 : Monday, 29 September 2014 09:39:12 UTC