https://github.com/mozilla/addon-sdk/blob/master/python-lib/cuddlefish/__init__.py#L781 looks likely.