[Pkg-javascript-commits] [pdf.js] 61/210: Fixes cancel rendering regression

David Prévot taffit at moszumanska.debian.org
Thu Jun 5 14:21:01 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch upstream
in repository pdf.js.

commit 2b82eb0161196fe5b6577dc47b8df520d817057f
Author: Yury Delendik <ydelendik at mozilla.com>
Date:   Thu May 1 15:51:38 2014 -0500

    Fixes cancel rendering regression
---
 src/display/api.js | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/display/api.js b/src/display/api.js
index 3f47264..e7035ab 100644
--- a/src/display/api.js
+++ b/src/display/api.js
@@ -1283,7 +1283,6 @@ var InternalRenderTask = (function InternalRenderTaskClosure() {
     cancel: function InternalRenderTask_cancel() {
       this.running = false;
       this.cancelled = true;
-      this.capability.reject(new Error('Rendering is cancelled'));
       this.callback('cancelled');
     },
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/pdf.js.git



More information about the Pkg-javascript-commits mailing list