mozilla/pdf.js — pull request #3368 by benbro (2013-06-15 14:07:56+00:00)
Title: Check that the progressCallback is defined before calling it

Fix issue #3367

When calling getDocument without a progressCallback we get an error when trying to call it.