[webkit-dev] LAST CALL: Re: Unprefixing Page Visibility

Simon Fraser simon.fraser at apple.com
Thu May 23 10:05:36 PDT 2013

On May 20, 2013, at 6:28 PM, Simon Fraser <simon.fraser at apple.com> wrote:

> Does anyone object to supporting the Page Visibility API unprefixed?
> https://bugs.webkit.org/show_bug.cgi?id=102340
> Should we keep support for the prefixed version?

I hear no requests to keep the prefixed version. Does any port want it? If not, I will simply unprefix without preserving the prefixed behavior.

In unprefixing, there will be a minor API change. We have a "preview" state that, theoretically, can be returned from document.visibilityState (but I don't think we ever did).

That was replaced in 2011 by a "unloaded" state, which the document passes into when it's being unloaded. I will add the string, but support for this in the spec is optional; I don't intend to hook this up at this time. See <https://bugs.webkit.org/show_bug.cgi?id=116645>

The unprefixing bug is <https://bugs.webkit.org/show_bug.cgi?id=102340>.


More information about the webkit-dev mailing list