W3C home > Mailing lists > Public > public-web-perf@w3.org > November 2012

Re: [PageVisibility] visibilityState should be an IDL enum, not a string

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Thu, 29 Nov 2012 00:25:41 -0500
Message-ID: <50B6F1D5.30704@mit.edu>
To: Jatinder Mann <jmann@microsoft.com>
CC: "public-web-perf@w3.org" <public-web-perf@w3.org>
On 11/28/12 3:22 PM, Jatinder Mann wrote:
> I will update the spec like so:
>
> partial interface Document {
>      enum VisibilityStates { "hidden", "visible", "prerender", "unloaded" };
>      readonly attribute VisibilityStates visibilityState;
> };

The enum needs to be outside the interface, at toplevel.

Other than that, sounds good to me.

Thanks,
Boris
Received on Thursday, 29 November 2012 05:26:10 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 29 November 2012 05:26:11 GMT