{"action":"created","issue":{"url":"https://api.github.com/repos/brave/browser-laptop/issues/2654","repository_url":"https://api.github.com/repos/brave/browser-laptop","labels_url":"https://api.github.com/repos/brave/browser-laptop/issues/2654/labels{/name}","comments_url":"https://api.github.com/repos/brave/browser-laptop/issues/2654/comments","events_url":"https://api.github.com/repos/brave/browser-laptop/issues/2654/events","html_url":"https://github.com/brave/browser-laptop/issues/2654","id":166953844,"number":2654,"title":"Our PDF.js as extension-wrapped can't display a PDF that Firefox can","user":{"login":"BrendanEich","id":313317,"avatar_url":"https://avatars.githubusercontent.com/u/313317?v=3","gravatar_id":"","url":"https://api.github.com/users/BrendanEich","html_url":"https://github.com/BrendanEich","followers_url":"https://api.github.com/users/BrendanEich/followers","following_url":"https://api.github.com/users/BrendanEich/following{/other_user}","gists_url":"https://api.github.com/users/BrendanEich/gists{/gist_id}","starred_url":"https://api.github.com/users/BrendanEich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BrendanEich/subscriptions","organizations_url":"https://api.github.com/users/BrendanEich/orgs","repos_url":"https://api.github.com/users/BrendanEich/repos","events_url":"https://api.github.com/users/BrendanEich/events{/privacy}","received_events_url":"https://api.github.com/users/BrendanEich/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-07-22T01:45:30Z","updated_at":"2016-07-22T06:20:17Z","closed_at":null,"body":"**Did you search for similar issues before submitting this one?**\r\n\r\nYes.\r\n\r\n**Describe the issue you encountered:**\r\n\r\nA PDF (DM'ed over Slack to @diracdeltas because confidential until reduced results in the \"PDF is invalid or corrupted\" error in Brave, but works in Firefox with its PDF.js, and works in Chrome.\r\n\r\n(Sorry, short on time -- I didn't test in Chrome with the PDF.js extension yet.)\r\n\r\n**Expected behavior:**\r\n\r\nThe PDF renders properly.\r\n\r\n- Platform (Win7, 8, 10? macOS? Linux distro?): macOS El Capitan.\r\n\r\n- Brave Version: 0.11.1\r\n\r\n- Steps to reproduce:\r\n    1. Load (private, for now) PDF via file: URL.\r\n    2. Get error.\r\n    3. Confirm works in Firefox loaded same way.\r\n"},"comment":{"url":"https://api.github.com/repos/brave/browser-laptop/issues/comments/234463809","html_url":"https://github.com/brave/browser-laptop/issues/2654#issuecomment-234463809","issue_url":"https://api.github.com/repos/brave/browser-laptop/issues/2654","id":234463809,"user":{"login":"Rob--W","id":1365071,"avatar_url":"https://avatars.githubusercontent.com/u/1365071?v=3","gravatar_id":"","url":"https://api.github.com/users/Rob--W","html_url":"https://github.com/Rob--W","followers_url":"https://api.github.com/users/Rob--W/followers","following_url":"https://api.github.com/users/Rob--W/following{/other_user}","gists_url":"https://api.github.com/users/Rob--W/gists{/gist_id}","starred_url":"https://api.github.com/users/Rob--W/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rob--W/subscriptions","organizations_url":"https://api.github.com/users/Rob--W/orgs","repos_url":"https://api.github.com/users/Rob--W/repos","events_url":"https://api.github.com/users/Rob--W/events{/privacy}","received_events_url":"https://api.github.com/users/Rob--W/received_events","type":"User","site_admin":false},"created_at":"2016-07-22T06:20:17Z","updated_at":"2016-07-22T06:20:17Z","body":"Looks like the file is malformed, and/or not correctly parsed by PDF.js. I'd start with building the latest version of PDF.js from master, and if that doesn't resolve the issue, check which Firefox/PDF.js version was used.\r\n\r\nIf you (with the reporter's consent) share the PDF file by mail, then I can also take a look if needed."}}
{"actor":{"display_login":"Rob--W"}}