Should be an object. If the test is inverted, my bad, hadn't tested this yet. Will check later.

Sent from my iPhone

> On 15 Oct 2013, at 23:23, Shane Tomlinson <notifications@github.com> wrote:
> 
> In resources/static/dialog/js/modules/validate_rp_params.js:
> 
> > @@ -313,6 +332,14 @@ BrowserID.Modules.ValidateRpParams = (function() {
> >      return email;
> >    }
> >  
> > +  function validateUserAssertedClaims(claims, name) {
> > +    if (Object.prototype.toString.apply(claims) === "[object Object]") {
> @lhoward - I was just writing up unit tests for this and came across this. Is this supposed to be === or !==. Do you want to force this to be an object or a non-object?
> 
> —
> Reply to this email directly or view it on GitHub.