JavaScript Unit Test Gotcha: Element Focus

The task seems simple. Programmatically focus an input element and test whether the element received focus. Using jQuery, both tasks are straight forward:

Everything is right with the world, your tests pass – until you notice tests dealing …

Read more »

Converting a NodeList to an Array in Javascript

Ever wish you could use Array functions on a NodeList returned by element.querySelectorAll or element.childNodes? It’s surprisingly easy! A NodeList is an Array-Like object that contains a .length field, but lacks useful functions like .forEach and .map that make working …

Read more »

What is my legacy?

The question comes from the momentous changes the past six months have brought. My first child is on the way. At work, my role has shifted from Persona onto Firefox Accounts. I am taking on new responsibilities and am facing …

Read more »

v0.46 Release of the Persona WordPress Plugin

Today I released v0.46 of the Persona WordPress plugin. This release has several noteworthy updates. Select a background color using the WordPress color picker Selecting a background color is far simpler thanks to Janw-Oostendorp. Background colors are now selected using …

Read more »

v0.45 Release of the Persona WordPress Plugin

Today I released v0.45 of the Persona WordPress plugin. A detailed list of changes are given below, but two improvements are worth highlighting. Improved Site Branding The Persona dialog can be customized with your site’s branding by specifying a site …

Read more »