{"action":"created","issue":{"url":"https://api.github.com/repos/webcompat/web-bugs/issues/3070","repository_url":"https://api.github.com/repos/webcompat/web-bugs","labels_url":"https://api.github.com/repos/webcompat/web-bugs/issues/3070/labels{/name}","comments_url":"https://api.github.com/repos/webcompat/web-bugs/issues/3070/comments","events_url":"https://api.github.com/repos/webcompat/web-bugs/issues/3070/events","html_url":"https://github.com/webcompat/web-bugs/issues/3070","id":173321605,"number":3070,"title":"dicasdacandinha.blogspot.com.br - mobile site is not usable","user":{"login":"webcompat-bot","id":8862693,"avatar_url":"https://avatars.githubusercontent.com/u/8862693?v=3","gravatar_id":"","url":"https://api.github.com/users/webcompat-bot","html_url":"https://github.com/webcompat-bot","followers_url":"https://api.github.com/users/webcompat-bot/followers","following_url":"https://api.github.com/users/webcompat-bot/following{/other_user}","gists_url":"https://api.github.com/users/webcompat-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/webcompat-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/webcompat-bot/subscriptions","organizations_url":"https://api.github.com/users/webcompat-bot/orgs","repos_url":"https://api.github.com/users/webcompat-bot/repos","events_url":"https://api.github.com/users/webcompat-bot/events{/privacy}","received_events_url":"https://api.github.com/users/webcompat-bot/received_events","type":"User","site_admin":false},"labels":[{"id":242578402,"url":"https://api.github.com/repos/webcompat/web-bugs/labels/browser-firefox-mobile","name":"browser-firefox-mobile","color":"fbca04","default":false},{"id":124507692,"url":"https://api.github.com/repos/webcompat/web-bugs/labels/status-needsdiagnosis","name":"status-needsdiagnosis","color":"FF8364","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-08-25T22:04:00Z","updated_at":"2016-11-10T21:21:08Z","closed_at":null,"body":"<!-- @browser: Firefox Mobile 51.0 -->\n\n<!-- @ua_header: Mozilla/5.0 (Android 4.4.4; Mobile; rv:51.0) Gecko/51.0 Firefox/51.0 -->\n\n**URL**: http://dicasdacandinha.blogspot.com.br/2014/06/como-desfazer-no-de-cadarco.html?m=1\n**Browser / Version**: Firefox Mobile 51.0\n**Operating System**: Android 4.4.4\n**Problem type**: Mobile site is not usable\n\n**Steps to Reproduce**\n1) Navigate to: http://dicasdacandinha.blogspot.com.br/2014/06/como-desfazer-no-de-cadarco.html?m=1\n2) …Try to add new comment \n\nExpected Behavior: comment box open \n\nActual Behavior: nothing doing \n\n![Screenshot Description](https://webcompat.com/uploads/2016/8/c40a93af-0a0f-4ca2-8a17-8f838123f73f.jpg)\n\n_From [webcompat.com](https://webcompat.com/) with ❤️_\n"},"comment":{"url":"https://api.github.com/repos/webcompat/web-bugs/issues/comments/259810837","html_url":"https://github.com/webcompat/web-bugs/issues/3070#issuecomment-259810837","issue_url":"https://api.github.com/repos/webcompat/web-bugs/issues/3070","id":259810837,"user":{"login":"wisniewskit","id":419743,"avatar_url":"https://avatars.githubusercontent.com/u/419743?v=3","gravatar_id":"","url":"https://api.github.com/users/wisniewskit","html_url":"https://github.com/wisniewskit","followers_url":"https://api.github.com/users/wisniewskit/followers","following_url":"https://api.github.com/users/wisniewskit/following{/other_user}","gists_url":"https://api.github.com/users/wisniewskit/gists{/gist_id}","starred_url":"https://api.github.com/users/wisniewskit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wisniewskit/subscriptions","organizations_url":"https://api.github.com/users/wisniewskit/orgs","repos_url":"https://api.github.com/users/wisniewskit/repos","events_url":"https://api.github.com/users/wisniewskit/events{/privacy}","received_events_url":"https://api.github.com/users/wisniewskit/received_events","type":"User","site_admin":false},"created_at":"2016-11-10T21:21:08Z","updated_at":"2016-11-10T21:21:08Z","body":"This is some kind of sniffing problem, but it's not obvious to me how they should fix it. Basically, it just refuses to process the loaded comments, because of this block of code in `comments.js` (unminified a little):\r\n\r\n```\r\n    try {\r\n        ac = Rb[_b(wb)][_b(yb)][_b(Hb)];\r\n        // snip for brevity\r\n    } catch (a) {\r\n        return\r\n    }\r\n```\r\n\r\nThe problem is that `ac` ends up being undefined, so this code just gives up and silently fails. The reason? The `Rb` object contains a lookup-table of values:\r\n```\r\nnot_mobile: {\r\n\tgecko1_8: \"64BDB373F71DCDD39C5F4123A6643CA5:16\",\r\n\tie6: \"64BDB373F71DCDD39C5F4123A6643CA5:17\",\r\n        // etc\r\n},\r\nandroid: {\r\n        safari: \"64BDB373F71DCDD39C5F4123A6643CA5:21\"\r\n}\r\niphone: {\r\n\tsafari: \"64BDB373F71DCDD39C5F4123A6643CA5:22\"\r\n}\r\n```\r\n\r\nNotice how there is no value for android/gecko1_8? That's the problem. Now I don't know what value they *should* be using, nor if it even matters. It seems like I can use the same number ending in \":25\" just fine, or even the one for android/safari.\r\n\r\nIf this is just for telemetry, then perhaps they can just pick a new number for Fx/Android, and also add one as well for the \"unknown\" case (rather than returning, so they don't break other browsers for no real reason). But that's a pretty big assumption, so I'll stop now :)"}}
{"actor":{"display_login":"wisniewskit"}}