{"action":"closed","issue":{"url":"https://api.github.com/repos/ghacksuserjs/ghacks-user.js/issues/232","repository_url":"https://api.github.com/repos/ghacksuserjs/ghacks-user.js","labels_url":"https://api.github.com/repos/ghacksuserjs/ghacks-user.js/issues/232/labels{/name}","comments_url":"https://api.github.com/repos/ghacksuserjs/ghacks-user.js/issues/232/comments","events_url":"https://api.github.com/repos/ghacksuserjs/ghacks-user.js/issues/232/events","html_url":"https://github.com/ghacksuserjs/ghacks-user.js/issues/232","id":257009879,"number":232,"title":"mozAddonManager [check] and extensions.getAddons.showPane [add]","user":{"login":"Thorin-Oakenpants","id":16656956,"avatar_url":"https://avatars3.githubusercontent.com/u/16656956?v=4","gravatar_id":"","url":"https://api.github.com/users/Thorin-Oakenpants","html_url":"https://github.com/Thorin-Oakenpants","followers_url":"https://api.github.com/users/Thorin-Oakenpants/followers","following_url":"https://api.github.com/users/Thorin-Oakenpants/following{/other_user}","gists_url":"https://api.github.com/users/Thorin-Oakenpants/gists{/gist_id}","starred_url":"https://api.github.com/users/Thorin-Oakenpants/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Thorin-Oakenpants/subscriptions","organizations_url":"https://api.github.com/users/Thorin-Oakenpants/orgs","repos_url":"https://api.github.com/users/Thorin-Oakenpants/repos","events_url":"https://api.github.com/users/Thorin-Oakenpants/events{/privacy}","received_events_url":"https://api.github.com/users/Thorin-Oakenpants/received_events","type":"User","site_admin":false},"labels":[{"id":541163918,"url":"https://api.github.com/repos/ghacksuserjs/ghacks-user.js/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2017-09-12T11:29:17Z","updated_at":"2017-09-15T06:47:42Z","closed_at":"2017-09-15T06:47:42Z","author_association":"OWNER","body":"```js\r\n/* xxxx: disable access to mozAddonManager web API for \"developer\" sites listed in [3]\r\n * [1] https://addons-frontend.readthedocs.io/en/stable/moz-addon-manager/\r\n * [2] https://bugzilla.mozilla.org/show_bug.cgi?id=1255039 [META]\r\n * [3] https://dxr.mozilla.org/mozilla-central/source/toolkit/mozapps/extensions/AddonManagerWebAPI.cpp  ***/\r\nuser_pref(\"extensions.webapi.testing\", false); // (hidden pref)\r\n```\r\n\r\nI am having trouble working out the default value of this hidden pref. I still think it's a good idea to ***enforce disabled*** (what number/section?). [Here](https://gitweb.torproject.org/user/gk/tor-browser.git/commit/?h=bug_21684&id=b2f8585b66dc2856463950c7239015585a8481e3) is what Tor did - they stripped out all whitelisted domains. The best we can do is disable the second set called \"developer\"\r\n"}}
{"actor":{"display_login":"Thorin-Oakenpants"}}