mozilla/addon-sdk — pull request #1235 by canuckistani (2013-09-05 20:28:36+00:00)
Title: fixes bug 910304

These functions raise warnings because they do not always return a value. The fix is to return undefined in the worst case scenario.