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

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.


Received on Thursday, 9 February 2012 18:02:02 UTC