mozilla/pdf.js — pull request #1118 by brendandahl (2012-01-24 01:07:25+00:00)
Title: Address AMO Review Concerns

-Removes compatibility.js so we have less warnings.
-Gets rid of all the places we use innerHtml.
-Changes the add-on to use a stream converter instead of a content handler. This has the following pros:

* We now run completely under normal content privileges.
* The URL remains the same when clicking on a PDF url.
* The google redirect issue is fixed #809

The cons:

* We have to inline pdf.js into the extension and use the BlobBuilder due to not being able to load the worker with a resource:// url. This may actually be a bug in firefox, I'm not quite sure how that is suppose to work and I need to look into it more.

I've also stripped out all the private browsing and extension only storage stuff because this is no longer applicable because we run under content privileges.

Please download, build and try out the extension.

TODO: fix the anchor tag links so they show the correct URL. Add the url changes to browser history so the back/forward buttons work on the anchors.