Race to the Polls

Our PhantomJS smoke test uses a timeout to check which fonts we’ve loaded. Not only is it slow, it’s a race condition that’s sure to bite us in the future. We refactor our code to replace the timeout with a polling-based solution that eliminates the race condition.

  1. E259The Challenge of Third-Party Embed Scripts

    Mon, 1 Dec ’14
  2. E260Reverse-Engineering the Typekit Script

    Wed, 3 Dec ’14
  3. E261The Real Question

    Mon, 8 Dec ’14
  4. E262Phantom Menace

    Wed, 10 Dec ’14
  5. E263Check the Fonts

    Mon, 15 Dec ’14
  6. E264Race to the Polls

    Wed, 17 Dec ’14
  7. E265Fonts in Use

    Mon, 22 Dec ’14
  8. E266Questioning Our Approach

    Wed, 24 Dec ’14
  9. E267Set and Match

    Mon, 29 Dec ’14
  10. E268Remember the Future

    Wed, 31 Dec ’14