<?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>226727</bug_id>
          
          <creation_ts>2021-06-07 05:53:50 -0700</creation_ts>
          <short_desc>Crash when removing PointerLock target on mouseup</short_desc>
          <delta_ts>2022-08-12 22:04:04 -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>UI Events</component>
          <version>WebKit Local Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>CONFIGURATION CHANGED</resolution>
          
          
          <bug_file_loc>http://wpt.live/pointerlock/pointerlock_remove_target_on_mouseup.html</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Sam Sneddon [:gsnedders]">gsnedders</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ahmad.saleem792</cc>
    
    <cc>ap</cc>
    
    <cc>bfulgham</cc>
    
    <cc>graouts</cc>
    
    <cc>rniwa</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1767420</commentid>
    <comment_count>0</comment_count>
    <who name="Sam Sneddon [:gsnedders]">gsnedders</who>
    <bug_when>2021-06-07 05:53:50 -0700</bug_when>
    <thetext>1. Load http://wpt.live/pointerlock/pointerlock_remove_target_on_mouseup.html
2. Click anywhere
3. Immediate crash on mouse click

Per https://wpt.fyi, this is not a regression.

&lt;rdar://78944284&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1890999</commentid>
    <comment_count>1</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2022-08-12 14:43:01 -0700</bug_when>
    <thetext>It does not crash Safari tab or browser window but in Safari 15.6 on macOS 12.5 output this:

Harness status: Error

Rerun
Unhandled rejection: unimplemented
action_sequence@http://wpt.live/resources/testdriver.js:685:44
send@http://wpt.live/resources/testdriver-actions.js:99:41
global code@http://wpt.live/pointerlock/pointerlock_remove_target_on_mouseup.html:29:21

It shows this as &quot;PASS&quot; though and same as with Safari Technical Preview 151.

Same error appears on all browsers (Firefox Nightly 105 and Chrome Canary 106). I am not sure whether it is an issue with test case or it is something missing across all browsers. Thanks!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1891018</commentid>
    <comment_count>2</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2022-08-12 15:38:23 -0700</bug_when>
    <thetext>That test requires web driver, and cannot be run manually in a browser. That&apos;s why harness failure happens.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1891088</commentid>
    <comment_count>3</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2022-08-12 22:04:04 -0700</bug_when>
    <thetext>Hm... I don&apos;t reproduce the crash, and wpt.fyi says we&apos;re passing.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>