<?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>164956</bug_id>
          
          <creation_ts>2016-11-18 14:22:38 -0800</creation_ts>
          <short_desc>Unlock pointer lock when page goes into page cache.</short_desc>
          <delta_ts>2016-12-05 21:48:33 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebCore Misc.</component>
          <version>WebKit Local Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>165425</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jeremy Jones">jeremyj-wk</reporter>
          <assigned_to name="Jeremy Jones">jeremyj-wk</assigned_to>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1252861</commentid>
    <comment_count>0</comment_count>
    <who name="Jeremy Jones">jeremyj-wk</who>
    <bug_when>2016-11-18 14:22:38 -0800</bug_when>
    <thetext>When the page Document goes into the page cache, the pointer lock must be unlocked.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1252902</commentid>
    <comment_count>1</comment_count>
    <who name="Jeremy Jones">jeremyj-wk</who>
    <bug_when>2016-11-18 15:30:18 -0800</bug_when>
    <thetext>The idea is something like this:
Document::setPageCacheState(PageCacheState state)
...
        if (page)
            page-&gt;pointerLockController().requestPointerUnlock();</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1256740</commentid>
    <comment_count>2</comment_count>
    <who name="Jeremy Jones">jeremyj-wk</who>
    <bug_when>2016-12-05 21:48:33 -0800</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 165425 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>