mozilla/pdf.js — pull request #1765 by brendandahl (2012-05-27 21:26:34+00:00)
Title: Use already downloaded data for the open with/save as dialog.

Creates a blob from the already downloaded data and uses that instead of re-requesting the file.

To do this I also had to:

- add new getData function to the API
- create new way for chrome and content code to communicate async so I could do clean up after the file was downloaded

Fixes download button for #1719 (but not bad rendering)