mozilla/pdf.js — pull request #4322 by prometheansacrifice (2014-02-23 14:38:29+00:00)
Title: Attempting to fix #4166

I couldn't find a way to access numPages from WorkerTransport directly. This is the temporary fix made on similar lines to #3611