W3C home > Mailing lists > Public > public-webapps@w3.org > January to March 2012

Re: xframe or iframe type='cross-domain'

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Thu, 09 Feb 2012 13:01:33 -0500
Message-ID: <4F3409FD.40704@mit.edu>
To: John J Barton <johnjbarton@johnjbarton.com>
CC: public-webapps@w3.org
On 2/9/12 12:43 PM, John J Barton wrote:
>> The drawback is that your fallback behavior in UAs without support for the
>> new feature is quite different.  Is that a problem?  Developer feedback
>> definitely needed there.
>
> Extending the API on iframe would make fallback easy even though it
> lacks elegance:
>    if (iframe.port) {
>       // modern browser
>    } else {
>      // we still deal with contentWindow carefully for old timers
>    }
>

The fallback issue I was talking about is that if you mint a new element 
called <xframe> then it wouldn't even load pages in an old browser.

-Boris
Received on Thursday, 9 February 2012 18:02:02 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:50 GMT