<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>116645</bug_id>
          
          <creation_ts>2013-05-22 17:06:27 -0700</creation_ts>
          <short_desc>Need to update Page Visibility states</short_desc>
          <delta_ts>2013-05-25 15:41:23 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>DOM</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>116769</dependson>
          <blocked>102340</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Simon Fraser (smfr)">simon.fraser</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>eoconnor</cc>
    
    <cc>jberlin</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>syoichi</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>892596</commentid>
    <comment_count>0</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2013-05-22 17:06:27 -0700</bug_when>
    <thetext>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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>892601</commentid>
    <comment_count>1</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2013-05-22 17:21:18 -0700</bug_when>
    <thetext>&quot;preview&quot; was in
http://www.w3.org/TR/2011/WD-page-visibility-20110721/
but was replaced by &quot;unloaded&quot;  in http://www.w3.org/TR/2012/CR-page-visibility-20120726/</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>