Re: [PageVisibility] Feedback on the spec

On Mon, 16 Apr 2012 21:16:50 +0200, Boris Zbarsky <bzbarsky@mit.edu> wrote:
> On 4/16/12 3:14 PM, James Graham wrote:
> No, you're not wrong (modulo the discussion about what should happen  
> during page unloading).
>
>> Assuming I am not wrong about that, I think the right fix to the problem
>> above is to specify that when the visibility of a top level browsing
>> context changes, an event is fired on that browsing context's document
>> object and on the document object of each descendant browsing context.
>
> That might be fine, yes.

If that happens a) those events need to be queued (using HTML's event  
loop) and b) order needs to be defined as it would be observable.


-- 
Anne van Kesteren
http://annevankesteren.nl/

Received on Monday, 16 April 2012 19:52:43 UTC