Opened 9 years ago
Closed 9 years ago
#41156 closed enhancement (fixed)
Refactor Emoji browser support tests to prevent repetition.
| Reported by: | peterwilsoncc | Owned by: | peterwilsoncc |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.9 |
| Component: | Emoji | Version: | |
| Severity: | normal | Keywords: | has-patch commit |
| Cc: | Focuses: | javascript |
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
In 41156.diff I've moved some repeated code into a new function.