{"action":"closed","issue":{"url":"https://api.github.com/repos/mathjax/MathJax/issues/1155","labels_url":"https://api.github.com/repos/mathjax/MathJax/issues/1155/labels{/name}","comments_url":"https://api.github.com/repos/mathjax/MathJax/issues/1155/comments","events_url":"https://api.github.com/repos/mathjax/MathJax/issues/1155/events","html_url":"https://github.com/mathjax/MathJax/issues/1155","id":67466349,"number":1155,"title":"add try/catch around do_user_agent_identification(); [was: Should stop relying on navigator.appVersion]","user":{"login":"berdario","id":752835,"avatar_url":"https://avatars.githubusercontent.com/u/752835?v=3","gravatar_id":"","url":"https://api.github.com/users/berdario","html_url":"https://github.com/berdario","followers_url":"https://api.github.com/users/berdario/followers","following_url":"https://api.github.com/users/berdario/following{/other_user}","gists_url":"https://api.github.com/users/berdario/gists{/gist_id}","starred_url":"https://api.github.com/users/berdario/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/berdario/subscriptions","organizations_url":"https://api.github.com/users/berdario/orgs","repos_url":"https://api.github.com/users/berdario/repos","events_url":"https://api.github.com/users/berdario/events{/privacy}","received_events_url":"https://api.github.com/users/berdario/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mathjax/MathJax/labels/Accepted","name":"Accepted","color":"48ab4e"},{"url":"https://api.github.com/repos/mathjax/MathJax/labels/Merged","name":"Merged","color":"FF4E21"},{"url":"https://api.github.com/repos/mathjax/MathJax/labels/Test%20Not%20Needed","name":"Test Not Needed","color":"007000"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/mathjax/MathJax/milestones/7","html_url":"https://github.com/mathjax/MathJax/milestones/MathJax%20v2.6","labels_url":"https://api.github.com/repos/mathjax/MathJax/milestones/7/labels","id":960321,"number":7,"title":"MathJax v2.6","description":"The next release of MathJax focused on making the CommonHTML output feature complete and on par with the HTML-CSS and SVG output.","creator":{"login":"pkra","id":426686,"avatar_url":"https://avatars.githubusercontent.com/u/426686?v=3","gravatar_id":"","url":"https://api.github.com/users/pkra","html_url":"https://github.com/pkra","followers_url":"https://api.github.com/users/pkra/followers","following_url":"https://api.github.com/users/pkra/following{/other_user}","gists_url":"https://api.github.com/users/pkra/gists{/gist_id}","starred_url":"https://api.github.com/users/pkra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pkra/subscriptions","organizations_url":"https://api.github.com/users/pkra/orgs","repos_url":"https://api.github.com/users/pkra/repos","events_url":"https://api.github.com/users/pkra/events{/privacy}","received_events_url":"https://api.github.com/users/pkra/received_events","type":"User","site_admin":false},"open_issues":16,"closed_issues":6,"state":"open","created_at":"2015-02-01T18:10:29Z","updated_at":"2015-04-21T20:54:23Z","due_on":null,"closed_at":null},"comments":11,"created_at":"2015-04-09T22:43:59Z","updated_at":"2015-04-21T20:54:23Z","closed_at":"2015-04-21T20:54:23Z","body":"From [MDN](https://developer.mozilla.org/en-US/docs/Web/API/NavigatorID/appVersion)\r\n\r\n> Deprecated\r\n> This feature has been removed from the Web standards. Though some browsers may still support it, it is in the process of being dropped. Do not use it in old or new projects. Pages or Web apps using it may break at any time.\r\n\r\nAnd indeed this is starting to cause problems on my Firefox 37, Ubuntu. I have the following `navigator.appVersion`:\r\n\r\n    \"5.0 (X11)\"\r\n\r\nFor comparison, on Chrome it's:\r\n\r\n    \"5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.118 Safari/537.36\"\r\n\r\nThis causes a `TypeError: navigator.appVersion.match(...) is null`\r\n\r\nI assume at this line: `(navigator.appVersion.match(/WebKit\\/(\\d+)\\./)) [1]` (unfortunately [the sample](http://cdn.mathjax.org/mathjax/latest/test/sample-tex.html) uses the minified mathjax, and thus it's not so simple to discover where it's failing)"}}