{"action":"created","issue":{"url":"https://api.github.com/repos/mozilla/pdf.js/issues/7794","repository_url":"https://api.github.com/repos/mozilla/pdf.js","labels_url":"https://api.github.com/repos/mozilla/pdf.js/issues/7794/labels{/name}","comments_url":"https://api.github.com/repos/mozilla/pdf.js/issues/7794/comments","events_url":"https://api.github.com/repos/mozilla/pdf.js/issues/7794/events","html_url":"https://github.com/mozilla/pdf.js/pull/7794","id":188027952,"number":7794,"title":"[api-minor] Add support for a couple of white-listed `JavaScript` actions that contains valid URLs (issue 3897, bug 843699)","user":{"login":"Snuffleupagus","id":2692120,"avatar_url":"https://avatars.githubusercontent.com/u/2692120?v=3","gravatar_id":"","url":"https://api.github.com/users/Snuffleupagus","html_url":"https://github.com/Snuffleupagus","followers_url":"https://api.github.com/users/Snuffleupagus/followers","following_url":"https://api.github.com/users/Snuffleupagus/following{/other_user}","gists_url":"https://api.github.com/users/Snuffleupagus/gists{/gist_id}","starred_url":"https://api.github.com/users/Snuffleupagus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Snuffleupagus/subscriptions","organizations_url":"https://api.github.com/users/Snuffleupagus/orgs","repos_url":"https://api.github.com/users/Snuffleupagus/repos","events_url":"https://api.github.com/users/Snuffleupagus/events{/privacy}","received_events_url":"https://api.github.com/users/Snuffleupagus/received_events","type":"User","site_admin":false},"labels":[{"id":164428,"url":"https://api.github.com/repos/mozilla/pdf.js/labels/1-core","name":"1-core","color":"DDDDDD","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2016-11-08T15:50:35Z","updated_at":"2016-11-08T21:05:40Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/mozilla/pdf.js/pulls/7794","html_url":"https://github.com/mozilla/pdf.js/pull/7794","diff_url":"https://github.com/mozilla/pdf.js/pull/7794.diff","patch_url":"https://github.com/mozilla/pdf.js/pull/7794.patch"},"body":"By only allowing very specific type of `JavaScript` actions, and also utilizing the existing `URL` validation, this patch shouldn't pose too much risk.\r\n\r\nFixes one of the points in issue #3897 (with the PDF file taken from issue #3438).\r\nFixes https://bugzilla.mozilla.org/show_bug.cgi?id=843699 (probably, since that bug doesn't contain a test-case)."},"comment":{"url":"https://api.github.com/repos/mozilla/pdf.js/issues/comments/259259427","html_url":"https://github.com/mozilla/pdf.js/pull/7794#issuecomment-259259427","issue_url":"https://api.github.com/repos/mozilla/pdf.js/issues/7794","id":259259427,"user":{"login":"pdfjsbot","id":1036361,"avatar_url":"https://avatars.githubusercontent.com/u/1036361?v=3","gravatar_id":"","url":"https://api.github.com/users/pdfjsbot","html_url":"https://github.com/pdfjsbot","followers_url":"https://api.github.com/users/pdfjsbot/followers","following_url":"https://api.github.com/users/pdfjsbot/following{/other_user}","gists_url":"https://api.github.com/users/pdfjsbot/gists{/gist_id}","starred_url":"https://api.github.com/users/pdfjsbot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pdfjsbot/subscriptions","organizations_url":"https://api.github.com/users/pdfjsbot/orgs","repos_url":"https://api.github.com/users/pdfjsbot/repos","events_url":"https://api.github.com/users/pdfjsbot/events{/privacy}","received_events_url":"https://api.github.com/users/pdfjsbot/received_events","type":"User","site_admin":false},"created_at":"2016-11-08T21:05:40Z","updated_at":"2016-11-08T21:05:40Z","body":"#### From: Bot.io (Linux)\n\n----\n\n# Success\n\nFull output at http://107.21.233.14:8877/fde09b76525e03d/output.txt\n\nTotal script time: 2.68 mins\n\n#### Published\n\n+ Viewer: http://107.21.233.14:8877/fde09b76525e03d/web/viewer.html\n+ Extension: http://107.21.233.14:8877/fde09b76525e03d/extensions/firefox/pdf.js.xpi"}}
{"actor":{"display_login":"pdfjsbot"}}