{"action":"created","issue":{"url":"https://api.github.com/repos/MrRio/jsPDF/issues/300","labels_url":"https://api.github.com/repos/MrRio/jsPDF/issues/300/labels{/name}","comments_url":"https://api.github.com/repos/MrRio/jsPDF/issues/300/comments","events_url":"https://api.github.com/repos/MrRio/jsPDF/issues/300/events","html_url":"https://github.com/MrRio/jsPDF/issues/300","id":37261027,"number":300,"title":"Output to a new tab crashes browser","user":{"login":"mezerny","id":5762590,"avatar_url":"https://avatars.githubusercontent.com/u/5762590?v=3","gravatar_id":"","url":"https://api.github.com/users/mezerny","html_url":"https://github.com/mezerny","followers_url":"https://api.github.com/users/mezerny/followers","following_url":"https://api.github.com/users/mezerny/following{/other_user}","gists_url":"https://api.github.com/users/mezerny/gists{/gist_id}","starred_url":"https://api.github.com/users/mezerny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mezerny/subscriptions","organizations_url":"https://api.github.com/users/mezerny/orgs","repos_url":"https://api.github.com/users/mezerny/repos","events_url":"https://api.github.com/users/mezerny/events{/privacy}","received_events_url":"https://api.github.com/users/mezerny/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/MrRio/jsPDF/labels/Wontfix","name":"Wontfix","color":"006b75"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2014-07-07T11:42:05Z","updated_at":"2015-07-27T12:45:25Z","closed_at":null,"body":"When there are many images (about 25 and more), output to a new tab doesn't work. Instead, browser crashes (chrome).\r\nBrowser crashes in both cases:\r\n\r\ndoc.output('dataurlnewwindow');\r\n\r\nand\r\n\r\nvar string = doc.output('datauristring');\r\nvar x = window.open();\r\nx.document.open();\r\nx.document.location=string;"},"comment":{"url":"https://api.github.com/repos/MrRio/jsPDF/issues/comments/125192545","html_url":"https://github.com/MrRio/jsPDF/issues/300#issuecomment-125192545","issue_url":"https://api.github.com/repos/MrRio/jsPDF/issues/300","id":125192545,"user":{"login":"donatsu","id":6648191,"avatar_url":"https://avatars.githubusercontent.com/u/6648191?v=3","gravatar_id":"","url":"https://api.github.com/users/donatsu","html_url":"https://github.com/donatsu","followers_url":"https://api.github.com/users/donatsu/followers","following_url":"https://api.github.com/users/donatsu/following{/other_user}","gists_url":"https://api.github.com/users/donatsu/gists{/gist_id}","starred_url":"https://api.github.com/users/donatsu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/donatsu/subscriptions","organizations_url":"https://api.github.com/users/donatsu/orgs","repos_url":"https://api.github.com/users/donatsu/repos","events_url":"https://api.github.com/users/donatsu/events{/privacy}","received_events_url":"https://api.github.com/users/donatsu/received_events","type":"User","site_admin":false},"created_at":"2015-07-27T12:45:25Z","updated_at":"2015-07-27T12:45:25Z","body":"This doesn't work for me at all @Samyoul & @diegocr . I've built a \"converter engine\"  that converts to a Uint8Array and then directly with btoa to a base64 image so I don't need to load the heavy canvas. However it is still too heavy for like 60+ pages and the whole thing crash now and then.\r\n\r\nI'm handling a lot of data and the frustrating part is that things work fine when you start developing with just a few pages and the more you get, the more problems you have."}}