Open Bug 1538124 Opened 6 years ago Updated 3 years ago

Remove redundancy in tests for <input> element

Categories

(Core :: DOM: Core & HTML, enhancement, P5)

enhancement

Tracking

()

People

(Reporter: mbrodesser, Unassigned, Mentored)

References

Details

Multiple tests

  • repeat the code for clicking the reset button of a date or time input element. They should use: simulateUserClicksResetButton.
  • repeat the code for determining if the user agent runs on a desktop. They should use isDesktopUserAgent instead.

The proposed functions are introduced in https://phabricator.services.mozilla.com/D24206.

Priority: -- → P5
Severity: trivial → S4
You need to log in before you can comment on or make changes to this bug.