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

[PageVisibility] location of the interface

From: Cameron McCormack <cam@mcc.id.au>
Date: Mon, 2 May 2011 16:21:22 +1200
To: public-web-perf@w3.org
Message-ID: <20110502042121.GD13400@wok.mcc.id.au>
The NavigatorVisibility interface is defined to be implemented by the
Navigator object.  I don’t think this is the best place, since the
Navigator object has traditionally been a location for browser-wide
information and functionality to be exposed.  For example, see the kinds
of things HTML5 defines on window.navigator:

  http://www.whatwg.org/specs/web-apps/current-work/multipage/timers.html#system-state-and-capabilities:-the-navigator-object

I think this would be better either on the Window object or on the
Document object.

-- 
Cameron McCormack ≝ http://mcc.id.au/
Received on Monday, 2 May 2011 04:22:01 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 2 May 2011 04:22:02 GMT