Opened 7 years ago
Closed 7 years ago
#41156 closed enhancement (fixed)
Refactor Emoji browser support tests to prevent repetition.
Reported by: | peterwilsoncc | Owned by: | peterwilsoncc |
---|---|---|---|
Milestone: | 4.9 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Emoji | Keywords: | has-patch commit |
Focuses: | javascript | Cc: |
Description
The tests for Emoji browser support writes to and clears the canvas several times.
The code to do this is repeated a number of times and should be refactored. The repitition lead to a couple of (unreleased) bugs recently.
Attachments (1)
Change History (4)
Note: See
TracTickets for help on using
tickets.
In 41156.diff I've moved some repeated code into a new function.