1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-20 15:18:08 +02:00

Fixing concurrency and test driver

This commit is contained in:
Yury Delendik 2012-04-16 14:49:55 -05:00
parent 1e96c73207
commit 357805696b
2 changed files with 18 additions and 2 deletions

View file

@ -195,9 +195,11 @@ function nextPage(task, loadError) {
viewport: viewport
};
page.render(renderContext).then(function() {
page.destroy();
snapshotCurrentPage(task, false);
},
function(error) {
page.destroy();
snapshotCurrentPage(task, 'render : ' + error);
});
},