aboutsummaryrefslogtreecommitdiffstats
path: root/tests/wpt/meta/html/semantics/the-button-element/command-and-commandfor
diff options
context:
space:
mode:
authorServo WPT Sync <32481905+servo-wpt-sync@users.noreply.github.com>2025-03-02 13:18:38 +0100
committerGitHub <noreply@github.com>2025-03-02 12:18:38 +0000
commit5ba9cfe8090bb7076c5f2b219efeac2459dcd766 (patch)
treecbcdeca38ebd27b5a0f20f0277b386a4df899500 /tests/wpt/meta/html/semantics/the-button-element/command-and-commandfor
parente7e8ccea2044ac010b47b6267f3f443145936c28 (diff)
downloadservo-5ba9cfe8090bb7076c5f2b219efeac2459dcd766.tar.gz
servo-5ba9cfe8090bb7076c5f2b219efeac2459dcd766.zip
Update web-platform-tests to revision b'fc557e215e11221c91de4f283539725ef2f35928' (#35741)
Signed-off-by: WPT Sync Bot <ghbot+wpt-sync@servo.org>
Diffstat (limited to 'tests/wpt/meta/html/semantics/the-button-element/command-and-commandfor')
-rw-r--r--tests/wpt/meta/html/semantics/the-button-element/command-and-commandfor/button-type-behavior.html.ini (renamed from tests/wpt/meta/html/semantics/the-button-element/command-and-commandfor/button-type-behavior.tentative.html.ini)26
-rw-r--r--tests/wpt/meta/html/semantics/the-button-element/command-and-commandfor/button-type-reflection.html.ini54
-rw-r--r--tests/wpt/meta/html/semantics/the-button-element/command-and-commandfor/button-type-reflection.tentative.html.ini27
-rw-r--r--tests/wpt/meta/html/semantics/the-button-element/command-and-commandfor/idlharness.html.ini3
-rw-r--r--tests/wpt/meta/html/semantics/the-button-element/command-and-commandfor/idlharness.tentative.html.ini36
-rw-r--r--tests/wpt/meta/html/semantics/the-button-element/command-and-commandfor/interface.html.ini (renamed from tests/wpt/meta/html/semantics/the-button-element/command-and-commandfor/interface.tentative.html.ini)15
6 files changed, 79 insertions, 82 deletions
diff --git a/tests/wpt/meta/html/semantics/the-button-element/command-and-commandfor/button-type-behavior.tentative.html.ini b/tests/wpt/meta/html/semantics/the-button-element/command-and-commandfor/button-type-behavior.html.ini
index a96938799f6..a3322cb31be 100644
--- a/tests/wpt/meta/html/semantics/the-button-element/command-and-commandfor/button-type-behavior.tentative.html.ini
+++ b/tests/wpt/meta/html/semantics/the-button-element/command-and-commandfor/button-type-behavior.html.ini
@@ -1,15 +1,18 @@
-[button-type-behavior.tentative.html]
+[button-type-behavior.html]
expected: ERROR
- [Button type=reset in form should trigger form reset and toggle popover]
- expected: FAIL
-
[Button type=submit in form should trigger form submit and not toggle popover]
expected: NOTRUN
[Button type=button in form should not toggle popover]
expected: NOTRUN
- [Button type=invalid in form should trigger form submit and not toggle popover]
+ [Button type=invalid in form should not trigger form submit and not toggle popover]
+ expected: NOTRUN
+
+ [Button type=invalid in form with only command should not trigger form submit and not toggle popover]
+ expected: NOTRUN
+
+ [Button type=invalid in form with only commandfor should not trigger form submit and not toggle popover]
expected: NOTRUN
[Button missing type in form should not trigger form submit and not toggle popover]
@@ -21,7 +24,7 @@
[Button missing type in form with only commandfor should not trigger form submit and not toggle popover]
expected: NOTRUN
- [Button type=reset with form attr should trigger form reset and toggle popover]
+ [Button type=reset with form attr should trigger form reset and not toggle popover]
expected: NOTRUN
[Button type=submit with form attr should trigger form submit and not toggle popover]
@@ -30,7 +33,16 @@
[Button type=button with form attr should toggle popover]
expected: NOTRUN
- [Button type=invalid with form attr should trigger form submit and not toggle popover]
+ [Button type=invalid with form attr should not trigger form submit and not toggle popover]
+ expected: NOTRUN
+
+ [Button type=invalid with form attr and only command should not trigger form submit and not toggle popover]
+ expected: NOTRUN
+
+ [Button type=invalid with form attr and only commandfor should not trigger form submit and not toggle popover]
+ expected: NOTRUN
+
+ [Button missing type with form attr should not trigger form submit and not toggle popover]
expected: NOTRUN
[Button missing type with form attr and only command should not trigger form submit and not toggle popover]
diff --git a/tests/wpt/meta/html/semantics/the-button-element/command-and-commandfor/button-type-reflection.html.ini b/tests/wpt/meta/html/semantics/the-button-element/command-and-commandfor/button-type-reflection.html.ini
new file mode 100644
index 00000000000..c9fe1ad81b3
--- /dev/null
+++ b/tests/wpt/meta/html/semantics/the-button-element/command-and-commandfor/button-type-reflection.html.ini
@@ -0,0 +1,54 @@
+[button-type-reflection.html]
+ [Button with id invalid-in-form should reflect type correctly]
+ expected: FAIL
+
+ [Button with id invalid-in-form-command-only should reflect type correctly]
+ expected: FAIL
+
+ [Button with id invalid-in-form-commandfor-only should reflect type correctly]
+ expected: FAIL
+
+ [Button with id missing-in-form should reflect type correctly]
+ expected: FAIL
+
+ [Button with id missing-in-form-command-only should reflect type correctly]
+ expected: FAIL
+
+ [Button with id missing-in-form-commandfor-only should reflect type correctly]
+ expected: FAIL
+
+ [Button with id invalid-attr-form should reflect type correctly]
+ expected: FAIL
+
+ [Button with id invalid-attr-form-command-only should reflect type correctly]
+ expected: FAIL
+
+ [Button with id invalid-attr-form-commandfor-only should reflect type correctly]
+ expected: FAIL
+
+ [Button with id missing-attr-form should reflect type correctly]
+ expected: FAIL
+
+ [Button with id missing-attr-form-command-only should reflect type correctly]
+ expected: FAIL
+
+ [Button with id missing-attr-form-commandfor-only should reflect type correctly]
+ expected: FAIL
+
+ [Button with id invalid-outside-form should reflect type correctly]
+ expected: FAIL
+
+ [Button with id invalid-outside-form-command-only should reflect type correctly]
+ expected: FAIL
+
+ [Button with id invalid-outside-form-commandfor-only should reflect type correctly]
+ expected: FAIL
+
+ [Button with id missing-outside-form should reflect type correctly]
+ expected: FAIL
+
+ [Button with id missing-outside-form-command-only should reflect type correctly]
+ expected: FAIL
+
+ [Button with id missing-outside-form-commandfor-only should reflect type correctly]
+ expected: FAIL
diff --git a/tests/wpt/meta/html/semantics/the-button-element/command-and-commandfor/button-type-reflection.tentative.html.ini b/tests/wpt/meta/html/semantics/the-button-element/command-and-commandfor/button-type-reflection.tentative.html.ini
deleted file mode 100644
index b43c0450dfc..00000000000
--- a/tests/wpt/meta/html/semantics/the-button-element/command-and-commandfor/button-type-reflection.tentative.html.ini
+++ /dev/null
@@ -1,27 +0,0 @@
-[button-type-reflection.tentative.html]
- [Button with id missing-in-form should reflect type correctly]
- expected: FAIL
-
- [Button with id missing-in-form-command-only should reflect type correctly]
- expected: FAIL
-
- [Button with id missing-in-form-commandfor-only should reflect type correctly]
- expected: FAIL
-
- [Button with id missing-attr-form should reflect type correctly]
- expected: FAIL
-
- [Button with id missing-attr-form-command-only should reflect type correctly]
- expected: FAIL
-
- [Button with id missing-attr-form-commandfor-only should reflect type correctly]
- expected: FAIL
-
- [Button with id missing-outside-form should reflect type correctly]
- expected: FAIL
-
- [Button with id missing-outside-form-command-only should reflect type correctly]
- expected: FAIL
-
- [Button with id missing-outside-form-commandfor-only should reflect type correctly]
- expected: FAIL
diff --git a/tests/wpt/meta/html/semantics/the-button-element/command-and-commandfor/idlharness.html.ini b/tests/wpt/meta/html/semantics/the-button-element/command-and-commandfor/idlharness.html.ini
new file mode 100644
index 00000000000..8c096bd63dd
--- /dev/null
+++ b/tests/wpt/meta/html/semantics/the-button-element/command-and-commandfor/idlharness.html.ini
@@ -0,0 +1,3 @@
+[idlharness.html]
+ [idl_test setup]
+ expected: FAIL
diff --git a/tests/wpt/meta/html/semantics/the-button-element/command-and-commandfor/idlharness.tentative.html.ini b/tests/wpt/meta/html/semantics/the-button-element/command-and-commandfor/idlharness.tentative.html.ini
deleted file mode 100644
index bd860c2bc8a..00000000000
--- a/tests/wpt/meta/html/semantics/the-button-element/command-and-commandfor/idlharness.tentative.html.ini
+++ /dev/null
@@ -1,36 +0,0 @@
-[idlharness.tentative.html]
- [CommandEvent interface: existence and properties of interface object]
- expected: FAIL
-
- [CommandEvent interface object length]
- expected: FAIL
-
- [CommandEvent interface object name]
- expected: FAIL
-
- [CommandEvent interface: existence and properties of interface prototype object]
- expected: FAIL
-
- [CommandEvent interface: existence and properties of interface prototype object's "constructor" property]
- expected: FAIL
-
- [CommandEvent interface: existence and properties of interface prototype object's @@unscopables property]
- expected: FAIL
-
- [CommandEvent interface: attribute source]
- expected: FAIL
-
- [CommandEvent interface: attribute command]
- expected: FAIL
-
- [CommandEvent must be primary interface of new CommandEvent("invoke")]
- expected: FAIL
-
- [Stringification of new CommandEvent("invoke")]
- expected: FAIL
-
- [CommandEvent interface: new CommandEvent("invoke") must inherit property "source" with the proper type]
- expected: FAIL
-
- [CommandEvent interface: new CommandEvent("invoke") must inherit property "command" with the proper type]
- expected: FAIL
diff --git a/tests/wpt/meta/html/semantics/the-button-element/command-and-commandfor/interface.tentative.html.ini b/tests/wpt/meta/html/semantics/the-button-element/command-and-commandfor/interface.html.ini
index 6bd44cf281d..a927dac903f 100644
--- a/tests/wpt/meta/html/semantics/the-button-element/command-and-commandfor/interface.tentative.html.ini
+++ b/tests/wpt/meta/html/semantics/the-button-element/command-and-commandfor/interface.html.ini
@@ -1,4 +1,4 @@
-[interface.tentative.html]
+[interface.html]
[commandForElement reflects invokee HTML element]
expected: FAIL
@@ -17,23 +17,14 @@
[command reflects '' when attribute empty, setAttribute version]
expected: FAIL
- [command reflects same casing]
+ [command reflects correctly for invalid]
expected: FAIL
- [command reflects tostring value]
+ [command reflects correctly for invalid when array]
expected: FAIL
[command reflects '' when attribute set to [\]]
expected: FAIL
- [command reflects tostring value 2]
- expected: FAIL
-
- [command reflects correctly for invalid]
- expected: FAIL
-
- [command reflects correctly for invalid when array]
- expected: FAIL
-
[command reflects correctly for invalid when object]
expected: FAIL