- From: Jatinder Mann <jmann@microsoft.com>
- Date: Wed, 5 Oct 2011 22:56:01 +0000
- To: Boris Zbarsky <bzbarsky@MIT.EDU>, Ojan Vafai <ojan@chromium.org>
- CC: "public-web-perf@w3.org" <public-web-perf@w3.org>
I agree that if the document does not have a defaultView (defaultView is null), then document.hidden must return true and document.visibilityState must return PAGE_HIDDEN. I will update the spec. -----Original Message----- From: public-web-perf-request@w3.org [mailto:public-web-perf-request@w3.org] On Behalf Of Boris Zbarsky Sent: Wednesday, September 28, 2011 5:59 PM To: Ojan Vafai Cc: public-web-perf@w3.org Subject: Re: [PageVisibility] What should the visibility API return on documents without an associated Window? On 9/28/11 4:31 PM, Ojan Vafai wrote: > There's no real use-case for having this API work with documents > without a Window, right? I can't think of one. > We should do the simplest thing, i.e. we should always return hidden. Works for me. -Boris
Received on Wednesday, 5 October 2011 22:56:43 UTC