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:

  1. Click the "scriptExitFullscreen" button.
  2. If the exitFullscreen doesn't work, use the menu (or any other interaction except for the "esc" key) to exit fullscreen.
  3. First test case done.
  4. Click the "gestureExitFullscreen" button.
  5. Use the "esc" key to exit fullscreen.
  6. Second test case done.

Waiting... Please click the "scriptExitFullscreen" button.