Bug 116645
| Summary: | Need to update Page Visibility states | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Simon Fraser (smfr) <simon.fraser> |
| Component: | DOM | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | eoconnor, jberlin, simon.fraser, syoichi |
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Bug Depends on: | 116769 | ||
| Bug Blocks: | 102340 | ||
Simon Fraser (smfr)
WebKit currently has:
enum PageVisibilityState {
PageVisibilityStateVisible,
PageVisibilityStateHidden,
PageVisibilityStatePrerender,
PageVisibilityStatePreview
};
but the current spec lists:
On getting, visibilityState attribute MUST return one of the following DOMStrings or a vendor prefixed DOMString as defined in 4.5 Vendor Prefixes:
hidden,
visible,
prerender,
unloaded.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Simon Fraser (smfr)
"preview" was in
http://www.w3.org/TR/2011/WD-page-visibility-20110721/
but was replaced by "unloaded" in http://www.w3.org/TR/2012/CR-page-visibility-20120726/