Differentiate between missing/invalid value in make_enumerated_getter! (#34412)

* Create spec-compliant version of create_enumerated_getter

Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>

* Use new make_enumerated_getter! macro everywhere

Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>

* Remove old make_enumerated_getter macro

Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>

* Return lowercased value from make_enumerated_getter macro

Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>

* Update WPT expectations

Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>

---------

Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
This commit is contained in:
Simon Wülker 2024-11-28 01:54:03 +01:00 committed by GitHub
parent 612492b372
commit 9168375b33
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 137 additions and 36 deletions

View file

@ -248,9 +248,6 @@
[input.autocomplete: IDL set to object "test-valueOf"]
expected: FAIL
[input.formEnctype: IDL get with DOM attribute unset]
expected: FAIL
[input.formMethod: IDL get with DOM attribute unset]
expected: FAIL

View file

@ -1130,9 +1130,6 @@
[input.autocomplete: IDL set to object "test-valueOf"]
expected: FAIL
[input.formEnctype: IDL get with DOM attribute unset]
expected: FAIL
[input.formMethod: IDL get with DOM attribute unset]
expected: FAIL
@ -1604,9 +1601,6 @@
[button.tabIndex: IDL set to -2147483648]
expected: FAIL
[button.formEnctype: IDL get with DOM attribute unset]
expected: FAIL
[button.formMethod: IDL get with DOM attribute unset]
expected: FAIL