From fbaf0bb26397aa498eb9156f06d5a6fe34dd7dd8 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 19 Apr 2024 03:14:29 +0200 Subject: Merging upstream version 125.0.1. Signed-off-by: Daniel Baumann --- .../tests/gamepad/gamepad-secure-context.html | 25 ---------------------- .../tests/gamepad/idlharness.https.window.js | 18 ---------------- .../tests/gamepad/idlharness.window.js | 18 ++++++++++++++++ .../tests/gamepad/not-fully-active.html | 21 ++++++++++++++++++ .../tests/gamepad/not-fully-active.https.html | 21 ------------------ 5 files changed, 39 insertions(+), 64 deletions(-) delete mode 100644 testing/web-platform/tests/gamepad/gamepad-secure-context.html delete mode 100644 testing/web-platform/tests/gamepad/idlharness.https.window.js create mode 100644 testing/web-platform/tests/gamepad/idlharness.window.js create mode 100644 testing/web-platform/tests/gamepad/not-fully-active.html delete mode 100644 testing/web-platform/tests/gamepad/not-fully-active.https.html (limited to 'testing/web-platform/tests/gamepad') diff --git a/testing/web-platform/tests/gamepad/gamepad-secure-context.html b/testing/web-platform/tests/gamepad/gamepad-secure-context.html deleted file mode 100644 index 28641220fd..0000000000 --- a/testing/web-platform/tests/gamepad/gamepad-secure-context.html +++ /dev/null @@ -1,25 +0,0 @@ - - -Gamepad Test: non-secure contexts - - - diff --git a/testing/web-platform/tests/gamepad/idlharness.https.window.js b/testing/web-platform/tests/gamepad/idlharness.https.window.js deleted file mode 100644 index b15bf1f0ae..0000000000 --- a/testing/web-platform/tests/gamepad/idlharness.https.window.js +++ /dev/null @@ -1,18 +0,0 @@ -// META: script=/resources/WebIDLParser.js -// META: script=/resources/idlharness.js -// META: timeout=long - -// https://w3c.github.io/gamepad/ - -'use strict'; - -idl_test( - ['gamepad'], - ['html', 'dom'], - idl_array => { - idl_array.add_objects({ - GamepadEvent: ['new GamepadEvent("gamepad")'], - Navigator: ['navigator'] - }); - } -); diff --git a/testing/web-platform/tests/gamepad/idlharness.window.js b/testing/web-platform/tests/gamepad/idlharness.window.js new file mode 100644 index 0000000000..b15bf1f0ae --- /dev/null +++ b/testing/web-platform/tests/gamepad/idlharness.window.js @@ -0,0 +1,18 @@ +// META: script=/resources/WebIDLParser.js +// META: script=/resources/idlharness.js +// META: timeout=long + +// https://w3c.github.io/gamepad/ + +'use strict'; + +idl_test( + ['gamepad'], + ['html', 'dom'], + idl_array => { + idl_array.add_objects({ + GamepadEvent: ['new GamepadEvent("gamepad")'], + Navigator: ['navigator'] + }); + } +); diff --git a/testing/web-platform/tests/gamepad/not-fully-active.html b/testing/web-platform/tests/gamepad/not-fully-active.html new file mode 100644 index 0000000000..500afef3d2 --- /dev/null +++ b/testing/web-platform/tests/gamepad/not-fully-active.html @@ -0,0 +1,21 @@ + + +Gamepad tests for non-fully-active document + + + + diff --git a/testing/web-platform/tests/gamepad/not-fully-active.https.html b/testing/web-platform/tests/gamepad/not-fully-active.https.html deleted file mode 100644 index 500afef3d2..0000000000 --- a/testing/web-platform/tests/gamepad/not-fully-active.https.html +++ /dev/null @@ -1,21 +0,0 @@ - - -Gamepad tests for non-fully-active document - - - - -- cgit v1.2.3