mozilla/pdf.js — pull request #3640 by sriram-dev (2013-09-03 16:14:30+00:00)
Title: 3417 unhandled rejection

Exceptions that are thrown are caught thereby fixing unhandled exceptions scenario. All three possibilities that could throw exception for this particular error are handled.