mozilla/pdf.js — pull request #4599 by yurydelendik (2014-04-11 14:20:32+00:00)
Title: Adds then methid to the RenderTask

Resolves #4428. We cannot inherit from Promise just yes, but we can add the `then` method to the RenderTask