[wp-trac] [WordPress Trac] #41156: Refactor Emoji browser support tests to prevent repetition.
WordPress Trac
noreply at wordpress.org
Sun Jun 25 06:44:43 UTC 2017
#41156: Refactor Emoji browser support tests to prevent repetition.
---------------------------+-----------------
Reporter: peterwilsoncc | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 4.9
Component: Emoji | Version:
Severity: normal | Keywords:
Focuses: javascript |
---------------------------+-----------------
The tests for [https://core.trac.wordpress.org/browser/tags/4.8/src/wp-
includes/js/wp-emoji-loader.js?marks=39-97#L39 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.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/41156>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list