From 9cc0d70fb54f84aade10e4ff4401574cc7677812 Mon Sep 17 00:00:00 2001 From: Abrar Rahman Protyasha Date: Thu, 5 Dec 2024 01:51:46 -0800 Subject: [PATCH] WebKit export of https://bugs.webkit.org/show_bug.cgi?id=218054 --- pointerlock/pointerlock_promise.html | 37 ++++++++++++++++ .../pointerlock_unadjustedMovement.html | 42 +++++++++++++++++++ pointerlock/pointerlock_without_gesture.html | 34 +++++++++++++++ 3 files changed, 113 insertions(+) create mode 100644 pointerlock/pointerlock_promise.html create mode 100644 pointerlock/pointerlock_unadjustedMovement.html create mode 100644 pointerlock/pointerlock_without_gesture.html diff --git a/pointerlock/pointerlock_promise.html b/pointerlock/pointerlock_promise.html new file mode 100644 index 00000000000000..81cdb784959687 --- /dev/null +++ b/pointerlock/pointerlock_promise.html @@ -0,0 +1,37 @@ + + + + + + + + + + + +

Description

+

This test validates that pointer lock returns a Promise.

+
+ + + +
Target
+ + + + diff --git a/pointerlock/pointerlock_unadjustedMovement.html b/pointerlock/pointerlock_unadjustedMovement.html new file mode 100644 index 00000000000000..691f16f61fd1e6 --- /dev/null +++ b/pointerlock/pointerlock_unadjustedMovement.html @@ -0,0 +1,42 @@ + + + + + + + + + + +

Description

+

This test validates that pointer lock accepts the unadjustedMovement option.

+
+ + +
Target
+ + + + diff --git a/pointerlock/pointerlock_without_gesture.html b/pointerlock/pointerlock_without_gesture.html new file mode 100644 index 00000000000000..37245061c79f43 --- /dev/null +++ b/pointerlock/pointerlock_without_gesture.html @@ -0,0 +1,34 @@ + + + + + + + + + + + +

Description

+

This test validates that pointer lock does not work without user activation.

+
+ +
Target
+ + + +