mozilla/pdf.js — pull request #1954 by saebekassebil (2012-08-01 20:58:34+00:00)
Title: Extension specific fullscreen requesting

This PR changes the Firefox extension to use some Chrome Privileged code to let the user be let of granting access to each of the documents' host when watching them fullscreen.

Solves #1951

PS: I'm not particularly fond of the way this is being done:
- First the viewer requests the chrome code.
- chrome code, grants fullscreen access to the host
- chrome code makes the view fullscreen
- When the user exits fullscreen, the chrome code removes the granted access.

If there's any better solution I'll be glad to accept it.