- From: Boris Zbarsky <bzbarsky@MIT.EDU>
- Date: Wed, 28 Sep 2011 20:59:06 -0400
- To: Arvind Jain <arvind@google.com>
- CC: public-web-perf@w3.org
On 9/28/11 4:28 PM, Arvind Jain wrote: > I'm not sure I understand. If the page has no window, how does any > other window.* property work? It doesn't, but the visibility API is on Document, not Window. As a concrete example: var xhr = new XMLHttpRequest(); // do a fetch with it var doc = xhr.responseXML; alert(doc.hidden); alert(doc.visibilityState); what gets alerted? -Boris
Received on Thursday, 29 September 2011 00:59:35 UTC