Skip to content

Make form validation subtests consistent cross-browser - #32468

Merged
foolip merged 2 commits into
web-platform-tests:masterfrom
foolip:consistent-forms-subtests
Jan 20, 2022
Merged

foolip merged 2 commits into
web-platform-tests:masterfrom
foolip:consistent-forms-subtests

Conversation

@foolip

@foolip foolip commented Jan 20, 2022

Copy link
Copy Markdown
Member

This test was creating a failing subtest and skipping others if the
input type wasn't supported. This leads to different subtests depending
on browser support status, making cross-browser comparisons harder.

assert_implements_optional could have been used here if these input
types were optional in the spec, but they're not.

This test was creating a failing subtest and skipping others if the
input type wasn't supported. This leads to different subtests depending
on browser support status, making cross-browser comparisons harder.

assert_implements_optional could have been used here if these input
types were optional in the spec, but they're not.
@foolip

foolip commented Jan 20, 2022

Copy link
Copy Markdown
Member Author

Oops, this introduced harness errors in https://wpt.fyi/results/html/semantics/forms/constraints/form-validation-validity-patternMismatch.html?label=pr_head&max-count=1&pr=32468 because the "type must be supported" subtest is created twice. Needs some other fix.

@foolip
foolip merged commit 993304f into web-platform-tests:master Jan 20, 2022
@foolip
foolip deleted the consistent-forms-subtests branch January 20, 2022 22:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants