Bug 76828

Summary: [Page Visibility API] Missing string constants
Product: WebKit Reporter: Tony Gentilcore <tonyg>
Component: WebCore Misc.Assignee: Nobody <webkit-unassigned>
Status: RESOLVED INVALID    
Severity: Normal CC: pf, shishir
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
URL: http://samples.msdn.microsoft.com/ietestcenter/WebPerf/PageVisibility/test_api_exists_attributes.htm
Bug Depends on:    
Bug Blocks: 60576    

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.