mozilla/browserid — pull request #3325 by seanmonstar (2013-04-30 23:32:06+00:00)
Title: WinChan detects if window gets closed

if the dialog is redirected to an IdP to do auth, and the user dismisses
the dialog then, this will let winchan detect that the dialog has been
closed. it will trigger oncancel.

fixes #1773

**Related**: This should probably be reviewed on WinChan first. If changes need to be made there, I can modify here as well. See lloyd/winchan#28 and lloyd/winchan#29