Bug 76828 - [Page Visibility API] Missing string constants
Summary: [Page Visibility API] Missing string constants
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL: http://samples.msdn.microsoft.com/iet...
Keywords:
Depends on:
Blocks: 60576
  Show dependency treegraph
 
Reported: 2012-01-23 07:17 PST by Tony Gentilcore
Modified: 2012-01-24 11:05 PST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tony Gentilcore 2012-01-23 07:17:38 PST
The IE test center has several page visibility tests, of which we are failing 3 because we do not expose the PAGE_HIDDEN, PAGE_VISIBLE, PAGE_PREVIEW string constants (or rather the WEBKIT_* prefixed versions of those).

Failing tests:
http://samples.msdn.microsoft.com/ietestcenter/WebPerf/PageVisibility/test_api_exists_attributes.htm
http://samples.msdn.microsoft.com/ietestcenter/WebPerf/PageVisibility/test_read_only_conformance_attributes.htm
http://samples.msdn.microsoft.com/ietestcenter/WebPerf/PageVisibility/test_iframe_attributes.htm

Spec:
http://www.w3.org/TR/page-visibility/#sec-document-visibility-interface
Comment 1 Pablo Flouret 2012-01-24 10:50:14 PST
The constants seem to be gone from the latest editor's draft. It didn't make sense having string constants anyway.

https://dvcs.w3.org/hg/webperf/raw-file/tip/specs/PageVisibility/Overview.html#sec-document-visibility-interface
Comment 2 Tony Gentilcore 2012-01-24 11:05:30 PST
(In reply to comment #1)
> The constants seem to be gone from the latest editor's draft. It didn't make sense having string constants anyway.
> 
> https://dvcs.w3.org/hg/webperf/raw-file/tip/specs/PageVisibility/Overview.html#sec-document-visibility-interface

Thanks. I missed that update. Instead, I'll try to let someone at MS know the tests are out of date.