Bug 834672 - AppProtocolHandler.js should never throw r=jduell