mozilla/kitsune — pull request #1629 by mythmon (2013-09-18 19:21:05+00:00)
Title: [Bug 918002] Give feedback that Persona is working.

This helps the case where Persona takes a little while to do the assertion dance. It seems a little confusing for Persona to go away, and no more instructions be given to the user, but the button still says "Sign in with email". This fixes that by changing the text to something that implies something is happening. I chose this text because it is the same text that is shown on the Persona popup.

I'm not sure in what cases `onCancel` will be called, but it is mentioned in the docs, and I assume it will happen anytime a failure happens. The docs say `onCancel` is "A function that will be invoked if the user refuses to share an identity with the site."

r?