mozilla/browserid — pull request #2228 by shane-tomlinson (2012-08-06 11:38:28+00:00)
Title: Sanity checks for the deprecated tosURL and privacyURL

* Use termsOfService over tosURL
* Ensure only one of termsOfService or tosURL is defined
* Use privacyPolicy over privacyURL
* Ensure only one of privacyPolicy or privacyURL is defined

@lloyd - I feel like the exceptions that are thrown when both termsOfService and tosURL/privacyPolicy and privacyURL should be done in dialog.js. This would ensure that native callers of the dialog code are acting as we expect as well.

I placed these in include.js for now because watch has a similar check for loggedInEmail

issue #1659