W3C home > Mailing lists > Public > public-web-perf@w3.org > September 2011

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

From: Ojan Vafai <ojan@chromium.org>
Date: Wed, 28 Sep 2011 13:31:28 -0700
Message-ID: <CANMdWTviH1NX9S2Xmd5MscDB6Mict6AzFsvE1g4AvvpG403Mmw@mail.gmail.com>
To: Boris Zbarsky <bzbarsky@mit.edu>
Cc: public-web-perf@w3.org
On Wed, Sep 28, 2011 at 1:18 PM, Boris Zbarsky <bzbarsky@mit.edu> 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.

Ojan
Received on Wednesday, 28 September 2011 20:32:13 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:04:31 UTC