mozilla/browserid — pull request #2162 by shane-tomlinson (2012-07-26 15:18:06+00:00)
Title: Give the Persona window the name __persona_dialog when opening. 

@benadida, @lloyd - Would you two give this a review?

Useful for Selenium tests which need an easy mechanism to get a reference to the window being tested. Once Selenium has a reference to the window, it's name can be changed.

Include the new WinChan which allows window.name to be set. Setting the name of the dialog to __persona_dialog on load.

This does not appear to interfere with primary signin where it changes the window.name to "auth_with_primary"

/cc @davehunt

issue #1023