{"issue":{"milestone":null,"title":"IE8: Trying to sign into http://carrera.databits.net:9999 gets an error","created_at":"2011-12-23T02:43:25Z","user":{"id":959649,"login":"jbonacci","url":"https://api.github.com/users/jbonacci","gravatar_id":"ef049ef74c1c0323b925195e7b7cc9e7","avatar_url":"https://secure.gravatar.com/avatar/ef049ef74c1c0323b925195e7b7cc9e7?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"updated_at":"2011-12-30T11:39:12Z","labels":[{"name":"★★★★","color":"337910","url":"https://api.github.com/repos/mozilla/browserid/labels/%E2%98%85%E2%98%85%E2%98%85%E2%98%85"}],"state":"open","id":2644227,"html_url":"https://github.com/mozilla/browserid/issues/803","closed_at":null,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"body":"When I try to sign in from @fetep 's site, I see this on the bottom of the page:\r\n\"Error on page\"\r\n\r\nDouble clicking on that brings up the error information:\r\nWebpage error details\r\n\r\nUser Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)\r\nTimestamp: Fri, 23 Dec 2011 02:41:37 UTC\r\n\r\n\r\nMessage: Exception thrown and not caught\r\nLine: 37\r\nChar: 2805\r\nCode: 0\r\nURI: https://diresworb.org/include.js\r\n\r\n\r\nMessage: 'k' is null or not an object\r\nLine: 37\r\nChar: 9439\r\nCode: 0\r\nURI: https://diresworb.org/include.js\r\n\r\n\r\nI am able to sign in from this site with FF 8, Opera, and Chrome on Windows XP, so this is an IE8 issue.\r\n","number":803,"url":"https://api.github.com/repos/mozilla/browserid/issues/803","comments":2,"assignee":{"id":848085,"login":"shane-tomlinson","url":"https://api.github.com/users/shane-tomlinson","gravatar_id":"b7581393f6d1960ea7721789cbbe5c36","avatar_url":"https://secure.gravatar.com/avatar/b7581393f6d1960ea7721789cbbe5c36?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"}},"comment":{"created_at":"2011-12-30T11:39:12Z","user":{"id":848085,"login":"shane-tomlinson","url":"https://api.github.com/users/shane-tomlinson","gravatar_id":"b7581393f6d1960ea7721789cbbe5c36","avatar_url":"https://secure.gravatar.com/avatar/b7581393f6d1960ea7721789cbbe5c36?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"updated_at":"2011-12-30T11:39:12Z","id":3312601,"body":"@benadida, @lloyd, @jbonacci - the issue that is uncovered in @fetep's site is that he does not specify a DOCTYPE which puts IE into Quirks Mode.  Neither IE8 nor IE9 have JSON when in Quirks Mode.  I have added a check to include.js for JSON and show the \"browser not supported\" dialog.  An alternative would be to add Crockford's JSON2 library.  The library adds 17.5k uncompressed, 9.5k uglified, and 3.5k uglified and gzipped.  Thoughts?","url":"https://api.github.com/repos/mozilla/browserid/issues/comments/3312601"},"action":"created"}