mozilla/addon-sdk — pull request #467 by ZER0 (2012-06-15 16:11:21+00:00)
Title: Fixed `clipboard.set` method when an empty string is given without a flavor [regression]

`DataURL` object can accept empty uri in order to works as builder for data url and not only as parser. So if an empty string is given in `clipboard`, a proper `DataURL` is created, even if it should be created only to "parse" a possible data url, so only if a `data` is provided. This fix makes

clipboard.set('');

works again.