mozilla/addon-sdk — pull request #1683 by Mossop (2014-10-24 23:09:10+00:00)
Title: Bug 1088641: Strip all but the low-bytes of characters when calling base64.encode without a charset.

This is what our base64 implementation used to do.