[wpt-sync] Sync PR 22145 - Use assert_precondition in test the-input-element/type-change-state.html
Categories
(Core :: DOM: Core & HTML, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox77 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Attachments
(1 file)
|
223.05 KB,
text/plain
|
Details |
Sync web-platform-tests PR 22145 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/22145
Details from upstream follow.
Carlos Alberto Lopez Perez <clopez@igalia.com> wrote:
Use assert_precondition in test the-input-element/type-change-state.html
Use assert_precondition to check if the browser supports both input element types before trying to change the state from one to other.
For example, WebKitGTK and Safari doesn't support several of the input types tested here (like those related to dates). The output of the test its clearer if the precondition its checked before.
| Assignee | ||
Updated•6 years ago
|
| Assignee | ||
Comment 1•6 years ago
|
||
| Assignee | ||
Comment 2•6 years ago
|
||
Comment 5•6 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/06bb3722f5d3
https://hg.mozilla.org/mozilla-central/rev/8a97b14a89da
Description
•