question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error: Permission denied to access property 'print'

See original GitHub issue

Configuration:

  • Web browser and its version: all versions of Firefox since PDF.js was included (5+ years)
  • Operating system and its version: all
  • PDF.js version: all
  • Is a browser extension: n/a

Steps to reproduce the problem:

  1. https://bugzilla.mozilla.org/show_bug.cgi?id=911444

What is the expected behaviour? That the PDF can print as in every other browser than Firefox

What went wrong? Error: Permission denied to access property 'print'

Please fix this as the go to universal print solution of PDF in browser has been broken for 5 years in Firefox since pdf.js was included in Firefox.

The web developer community has hundreds of bad solutions to this, because of a single project, pdf.js.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:12
  • Comments:41

github_iconTop GitHub Comments

2reactions
adamt-cicommented, Feb 6, 2020

@dotnetCarpenter the icing on the cake is that, over a year ago, one of the developers complained that all of the +1 comments make it harder to see the technical discussion and therefore harder to resolve the bug. As if that’s why it’s been open for over 6 years and counting. Without the voting system, such comments are now the ONLY way to call attention to an issue, so I see no alternative.

1reaction
dotnetCarpentercommented, Oct 9, 2019

@vaspervnp The irony is that, that is the exact same Mozilla viewer embedded in Firefox!

We really need someone to change how pdf.js is embedded in Firefox: https://bugzilla.mozilla.org/show_bug.cgi?id=911444#c58

Read more comments on GitHub >

github_iconTop Results From Across the Web

Permission denied to access property 'print' on Firefox 23.0.1
I receive a 'Error: Permission denied to access property "print"' too, when trying to print a PDF.js frame (or window). Is there any...
Read more >
Permission denied to access property "print" on cross-origin ...
The problem is the viewer. The embedded viewer causes the cross-origin problem. Try creating your own viewer. That will solve the problem.
Read more >
Error: Permission denied to access property "x" - JavaScript
The JavaScript exception "Permission denied to access property" occurs when there was an attempt to access an object for which you have no...
Read more >
Error: Permission denied to access property "x" - JavaScript
There was attempt to access an object for which you have no permission. This is likely an iframe element loaded from a different...
Read more >
Error: Permission Denied To Access Property "X" Due To ...
You receive a Permission Denied script error message when a JavaScript function tries to change the location of a frame or iframe element...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found