mozilla/pdf.js — pull request #4795 by Snuffleupagus (2014-05-14 10:03:27+00:00)
Title: Add unit test for getData

Having a unit test for `getData` would have caught the regression fixed in #4793, so this PR adds a basic test that just checks if `getData` succeeds.

As a follow-up we might also want to either modify, or add another test, to check that `getData` returns the correct data. In that case we should probably use a smaller PDF file to test with.