W3C home > Mailing lists > Public > public-webapi@w3.org > April 2006

Re: several messages

From: Maciej Stachowiak <mjs@apple.com>
Date: Thu, 6 Apr 2006 16:49:24 -0700
Message-Id: <023103EF-3406-4A7E-BC52-DCEF68B4956D@apple.com>
Cc: Ian Hickson <ian@hixie.ch>, "Web APIs WG (public)" <public-webapi@w3.org>
To: Boris Zbarsky <bzbarsky@MIT.EDU>


On Apr 6, 2006, at 4:19 PM, Boris Zbarsky wrote:

>
> Ian Hickson wrote:
>> The case I was particularly concerned about was not "presented" vs  
>> "not presented", but "has its own global scripting context" and  
>> "is neutral to script". A document in an IFRAME has its own Window  
>> -- if you have navigated away from that document, but still have a  
>> handle to it, does it execute <script> elements that you insert  
>> into it?
>
> The current answer in Gecko seems to be "maybe, possibly depending  
> on what else is going on".  In particular, it may depend on whether  
> the document got placed in back/forward cache, the exact Gecko  
> version (there are some patches that may inadvertently affect  
> this), etc.  See https://bugzilla.mozilla.org/show_bug.cgi? 
> id=293175 for more information on part of the issue...
>
> I would say that ideally the answer here would be "no".

I think "no" should be the right answer too. It seems unfortunate to  
tie scripting to (some sense of) presentation, but you definitely  
want a Window when you are running script, and not when you don't.  
The definition of presentation is also loose enough that it's not  
hard to claim it applies whenever you want it to, so long as you meet  
all the conformance requirements for a document presented in a  
browsing context.

Regards,
Maciej
Received on Thursday, 6 April 2006 23:50:44 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:18:54 GMT