From 26a029d407be480d791972afb5975cf62c9360a6 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 19 Apr 2024 02:47:55 +0200 Subject: Adding upstream version 124.0.1. Signed-off-by: Daniel Baumann --- .../callback-cross-realm-report-exception.html | 29 ++++++++++++ .../animation-frames/callback-exception.html | 27 ++++++++++++ .../animation-frames/callback-handle.html | 16 +++++++ .../animation-frames/callback-invoked.html | 18 ++++++++ .../animation-frames/callback-multicalls.html | 26 +++++++++++ .../animation-frames/callback-timestamp.html | 17 ++++++++ .../animation-frames/cancel-handle-manual.html | 51 ++++++++++++++++++++++ .../animation-frames/cancel-invoked.html | 18 ++++++++ .../animation-frames/cancel-pending.html | 26 +++++++++++ .../animation-frames/same-dispatch-time.html | 31 +++++++++++++ 10 files changed, 259 insertions(+) create mode 100644 testing/web-platform/tests/html/webappapis/animation-frames/callback-cross-realm-report-exception.html create mode 100644 testing/web-platform/tests/html/webappapis/animation-frames/callback-exception.html create mode 100644 testing/web-platform/tests/html/webappapis/animation-frames/callback-handle.html create mode 100644 testing/web-platform/tests/html/webappapis/animation-frames/callback-invoked.html create mode 100644 testing/web-platform/tests/html/webappapis/animation-frames/callback-multicalls.html create mode 100644 testing/web-platform/tests/html/webappapis/animation-frames/callback-timestamp.html create mode 100644 testing/web-platform/tests/html/webappapis/animation-frames/cancel-handle-manual.html create mode 100644 testing/web-platform/tests/html/webappapis/animation-frames/cancel-invoked.html create mode 100644 testing/web-platform/tests/html/webappapis/animation-frames/cancel-pending.html create mode 100644 testing/web-platform/tests/html/webappapis/animation-frames/same-dispatch-time.html (limited to 'testing/web-platform/tests/html/webappapis/animation-frames') diff --git a/testing/web-platform/tests/html/webappapis/animation-frames/callback-cross-realm-report-exception.html b/testing/web-platform/tests/html/webappapis/animation-frames/callback-cross-realm-report-exception.html new file mode 100644 index 0000000000..1b8aa41a6d --- /dev/null +++ b/testing/web-platform/tests/html/webappapis/animation-frames/callback-cross-realm-report-exception.html @@ -0,0 +1,29 @@ + + +requestAnimationFrame() reports the exception from its callback in the callback's global object + + + + + + diff --git a/testing/web-platform/tests/html/webappapis/animation-frames/callback-exception.html b/testing/web-platform/tests/html/webappapis/animation-frames/callback-exception.html new file mode 100644 index 0000000000..3867f0c41d --- /dev/null +++ b/testing/web-platform/tests/html/webappapis/animation-frames/callback-exception.html @@ -0,0 +1,27 @@ + + + + requestAnimationFrame callback exception reported to error handler + + + + + +
+ + + diff --git a/testing/web-platform/tests/html/webappapis/animation-frames/callback-handle.html b/testing/web-platform/tests/html/webappapis/animation-frames/callback-handle.html new file mode 100644 index 0000000000..f1b8830031 --- /dev/null +++ b/testing/web-platform/tests/html/webappapis/animation-frames/callback-handle.html @@ -0,0 +1,16 @@ + + +AnimationTiming Test: FrameRequestCallback - valid callback handle + + + + +
+ diff --git a/testing/web-platform/tests/html/webappapis/animation-frames/callback-invoked.html b/testing/web-platform/tests/html/webappapis/animation-frames/callback-invoked.html new file mode 100644 index 0000000000..ca34e455a2 --- /dev/null +++ b/testing/web-platform/tests/html/webappapis/animation-frames/callback-invoked.html @@ -0,0 +1,18 @@ + + + + requestAnimationFrame must be triggered once + + + + + +
+ + + diff --git a/testing/web-platform/tests/html/webappapis/animation-frames/callback-multicalls.html b/testing/web-platform/tests/html/webappapis/animation-frames/callback-multicalls.html new file mode 100644 index 0000000000..38f34171ea --- /dev/null +++ b/testing/web-platform/tests/html/webappapis/animation-frames/callback-multicalls.html @@ -0,0 +1,26 @@ + + +AnimationTiming Test: multiple calls to requestAnimationFrame with the same callback + + + + +
+ diff --git a/testing/web-platform/tests/html/webappapis/animation-frames/callback-timestamp.html b/testing/web-platform/tests/html/webappapis/animation-frames/callback-timestamp.html new file mode 100644 index 0000000000..8e61db61b8 --- /dev/null +++ b/testing/web-platform/tests/html/webappapis/animation-frames/callback-timestamp.html @@ -0,0 +1,17 @@ + + +AnimationTiming Test: FrameRequestCallback - timestamp argument + + + + +
+ diff --git a/testing/web-platform/tests/html/webappapis/animation-frames/cancel-handle-manual.html b/testing/web-platform/tests/html/webappapis/animation-frames/cancel-handle-manual.html new file mode 100644 index 0000000000..0328272522 --- /dev/null +++ b/testing/web-platform/tests/html/webappapis/animation-frames/cancel-handle-manual.html @@ -0,0 +1,51 @@ + + +AnimationTiming Test: cancelAnimationFrame used to cancel request callback + + + + + +

+ Test passes if there is a filled blue square with 'Filler Text', + which moves from left to right repeatly, when click the 'stop' button, + the square stops. +

+ +
Filler Text
+ + diff --git a/testing/web-platform/tests/html/webappapis/animation-frames/cancel-invoked.html b/testing/web-platform/tests/html/webappapis/animation-frames/cancel-invoked.html new file mode 100644 index 0000000000..d075c0fdac --- /dev/null +++ b/testing/web-platform/tests/html/webappapis/animation-frames/cancel-invoked.html @@ -0,0 +1,18 @@ + + + + cancelAnimationFrame does nothing + + + + + +
+ + + diff --git a/testing/web-platform/tests/html/webappapis/animation-frames/cancel-pending.html b/testing/web-platform/tests/html/webappapis/animation-frames/cancel-pending.html new file mode 100644 index 0000000000..9c9aff511d --- /dev/null +++ b/testing/web-platform/tests/html/webappapis/animation-frames/cancel-pending.html @@ -0,0 +1,26 @@ + +cancelAnimationFrame cancels a pending animation frame callback + + + +
+ diff --git a/testing/web-platform/tests/html/webappapis/animation-frames/same-dispatch-time.html b/testing/web-platform/tests/html/webappapis/animation-frames/same-dispatch-time.html new file mode 100644 index 0000000000..28e94f1e33 --- /dev/null +++ b/testing/web-platform/tests/html/webappapis/animation-frames/same-dispatch-time.html @@ -0,0 +1,31 @@ + + + + requestAnimationFrame in queue get the same timestamp + + + + + +
+ + + -- cgit v1.2.3