Bug 903714 - Provide document.baseURI when calling _makeURI() in registerProtocolHandler(); r=dao