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

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 UTC