From a25ff8d46e9da2130f3a400ea7f126b3d004e310 Mon Sep 17 00:00:00 2001 From: Pavel Shliak Date: Fri, 29 Nov 2024 00:36:28 +0400 Subject: [PATCH] Tests: Import WPT inputevent constructor test --- .../constructors/inputevent-constructor.txt | 14 +++++++++++ .../constructors/inputevent-constructor.html | 25 +++++++++++++++++++ 2 files changed, 39 insertions(+) create mode 100644 Tests/LibWeb/Text/expected/wpt-import/uievents/constructors/inputevent-constructor.txt create mode 100644 Tests/LibWeb/Text/input/wpt-import/uievents/constructors/inputevent-constructor.html diff --git a/Tests/LibWeb/Text/expected/wpt-import/uievents/constructors/inputevent-constructor.txt b/Tests/LibWeb/Text/expected/wpt-import/uievents/constructors/inputevent-constructor.txt new file mode 100644 index 00000000000..b1b2e8bb4ab --- /dev/null +++ b/Tests/LibWeb/Text/expected/wpt-import/uievents/constructors/inputevent-constructor.txt @@ -0,0 +1,14 @@ +Summary + +Harness status: OK + +Rerun + +Found 4 tests + +4 Pass +Details +Result Test Name MessagePass InputEvent constructor without InputEventInit. +Pass InputEvent construtor with InputEventInit where data is null +Pass InputEvent construtor with InputEventInit where data is empty string +Pass InputEvent construtor with InputEventInit where data is non empty string \ No newline at end of file diff --git a/Tests/LibWeb/Text/input/wpt-import/uievents/constructors/inputevent-constructor.html b/Tests/LibWeb/Text/input/wpt-import/uievents/constructors/inputevent-constructor.html new file mode 100644 index 00000000000..dccb10d0abb --- /dev/null +++ b/Tests/LibWeb/Text/input/wpt-import/uievents/constructors/inputevent-constructor.html @@ -0,0 +1,25 @@ + +InputEvent Constructor Tests + + +