Please review. We have this same patch in TB 4.5, but it was removed as part of #16429 (moved). Unfortunately, the code near this patch is independent of the original document; when it tries to call NetUtil.newChannel() the first party host info. is not available, so access to the blob URI is denied. There may be a better fix, but this solution will work for now (Arthur should take another look at this when he returns from vacation).
Trac: Keywords: N/Adeleted, TorBrowserTeam201508 added Status: new to needs_review
Please review. We have this same patch in TB 4.5, but it was removed as part of #16429 (moved). Unfortunately, the code near this patch is independent of the original document;
Yeah, this seems to be a common issue with pdf.js, see #15599 (moved) for another ticket impacted by that. Your patch looks good to me and I merged it to 5.5 with commit 6d15c68167a45cca12ab5e7bcb8781d1de535e80 and applied it to 5.0 (commit 45d52ca216b12a23e83b6fdc9edcff5f49c70152).
Trac: Resolution: N/Ato fixed Status: needs_review to closed
This is commit d97c1f91bd955e6d7aa9bcb086fceb3d1edbcdf2 (tor-browser-38.2.1esr-5.5-2) and commit e1d7a8fe862d1e1c8f2707b6dc8d27cb65e7b4a2 (tor-browser-38.2.1esr-5.0.2) now.
Trac: Status: reopened to closed Resolution: N/Ato fixed