This test validates that pointer lock won't be exited when fullscreen is entered or exited, unless fullscreen is exited with the same user gesture as pointer lock.
Manual Test Steps:
- Click the "scriptExitFullscreen" button.
- If the exitFullscreen doesn't work, use the menu (or any other interaction except for the "esc" key) to exit fullscreen.
- First test case done.
- Click the "gestureExitFullscreen" button.
- Use the "esc" key to exit fullscreen.
- Second test case done.
Waiting... Please click the "scriptExitFullscreen" button.