Re: [PageVisibility] What should the visibility API return on documents without an associated Window?

On Wed, Sep 28, 2011 at 1:31 PM, Ojan Vafai <> wrote:
> On Wed, Sep 28, 2011 at 1:18 PM, Boris Zbarsky <> wrote:
>> One option is to attempt to grovel around for a Window and then return the
>> state of its top level browsing context.
>> Another is to just always return the same thing for documents without a
>> Window.
>> Thoughts?
> There's no real use-case for having this API work with documents without a
> Window, right? We should do the simplest thing, i.e. we should always return
> hidden.

I agree, given that the contents of the document isn't actually
rendered, "hidden" seems like an appropriate value.

/ Jonas

Received on Thursday, 29 September 2011 00:34:47 UTC