forked from mozilla/pdf.js
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix for mozilla#2219, "provide a better error message when file= not …
…found/accessible" summary: create a new Exception class for missing PDF's, use it in place of generic add new MissingPDFException to util.js handle MissingPDF in api.js handle MissingPDF in viewer.js, using new missing_file_error message add new missing_file_error to l10n/en-US/viewer.properties send MissingPDF from WorkerMessageHandler's loadDocument send MissingPDF from GetDocRequest handler
- Loading branch information
Bill Walker
committed
Jan 29, 2013
1 parent
7bd8887
commit 12af2f9
Showing
5 changed files
with
43 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters