mozilla/browserid — Issue #1250: undescriptive error when assertion is malformed
Author: michiel-unhosted
Created: 2012-03-04 13:22:58+00:00
State: open

when posting a malformed assertion (i accidentally prepended the string 'undefined' to it) I got:

{"status":"failure","reason":"ReferenceError: InputException is not defined"}

back from browserid.org/verify. this looks like something from the bowels? maybe it should say "reason":"assertion is malformed", so that it's easier for RP devs to debug what happened