New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 706802 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Last visit > 30 days ago
Closed: May 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Mac
Pri: 1
Type: Bug-Regression



Sign in to add a comment

Removing element with PointerLock crashes tab

Reported by johan.is...@gmail.com, Mar 30 2017

Issue description

Chrome Version       : 59.0.3056.0
OS Version: OS X 10.12.4
URLs (if applicable) :
Other browsers tested:
  Add OK or FAIL after other browsers where you have tested this issue:
     Safari 10.1: FAIL
  Firefox 52.0.2: OK
     IE 7/8/9:

What steps will reproduce the problem?
1. requestPointerLock on element
2. remove element on mouse up

document.addEventListener('mousedown', function() {
    document.getElementById('lockTo').requestPointerLock();
    document.addEventListener('mouseup', function() {
        document.getElementById('lockTo').remove();
        console.log('Runs this then crashes');
    });
});

What is the expected result?

Element removed without crash

What happens instead of that?

Tab crashes

Please provide any additional information below. Attach a screenshot if
possible.

UserAgentString: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3056.0 Safari/537.36



 

Comment 1 by lgrey@google.com, Mar 30 2017

Labels: Needs-TestConfirmation
Labels: Needs-Triage-M59
Cc: kkaluri@chromium.org
Labels: Needs-Feedback
Tested this issue on MacBook Air 10.12.4 with chrome #59.0.3056.0 

Pasted the code (provided in comment #0) in the console and didn't observe any crash.

Attaching the screen-shot for reference.
 
johan.isaksson@ could you please look into it and let us know your observations. If possible please provide us sample html test case for further triage.

Thank You...
Issue 706802.png
130 KB View Download
It crashes both on Chrome 57.0.2987.133 and in Canary 59.0.3056.0 (64-bit) for me. Attaching my testpage. Mousedown on div, mouseup anywhere and it crashes for me.

pointerlock.html
601 bytes View Download
Project Member

Comment 5 by sheriffbot@chromium.org, Mar 31 2017

Labels: -Needs-Feedback
Thank you for providing more feedback. Adding requester "kkaluri@chromium.org" to the cc list and removing "Needs-Feedback" label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Cc: sureshkumari@chromium.org
Components: IO>PointerLock
Labels: -Type-Bug -Needs-TestConfirmation -Pri-3 -Needs-Triage-M59 hasbisect-per-revision M-59 OS-Linux OS-Windows Pri-1 Type-Bug-Regression
Status: Untriaged (was: Unconfirmed)
Able to reproduce the issue on Windows-7,Mac-10.12.3 and Linux Ubuntu-14.04 using Chrome stable version 57.0.2987.133 and canary 59.0.3060.0 with the testpage provided in comment#4. This is regression issue,broken in M49.
Narrow Bisect::
===============
Good::49.0.2616.0- --   (build revision 368227)
Bad ::49.0.2617.0 ---   (build revision 368501)

After executing the per-revision bisect script , got the following CL's between good and bad build versions
=============================================== 
https://chromium.googlesource.com/chromium/src/+log/341d2448bc927a649aedf791e64018e701386343..98e3b7bc81f60f737b02a38776fb36ec0b4b16b4

Unable to find the suspect from above CL,hence marking this as Untriaged to get more inputs from dev team.

Thanks,
Labels: Hotlist-Input-Dev
Owner: chongz@chromium.org
Status: Assigned (was: Untriaged)
Able to reproduce this issue on Windows 10 with chrome #59.0.3068.1

chongz@ could you please look into it and update latest info.

Thank You...
Friendly ping to get an update on this issue.
Thank you!

Labels: -M-59 M-60
Status: Fixed (was: Assigned)
Components: -IO>PointerLock Blink>Input>PointerLock
Deprecate IO>PointerLock
Labels: TE-Verified-M60 TE-Verified-60.0.3095.5
Tested this issue on Windows 7, mac 10.12.4 & Ubuntu 14.04 using chrome Dev#60.0.3095.5 as per html provided in comment#4.

No crash observed  when user moves down the element and element got removed as per the expected behavior.Hence adding TE Verified labels.

Please find the attached screen cast for reference.

Thanks..!!
706802.mp4
290 KB View Download

Sign in to add a comment