Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove legacy promises from api.js #4709

Merged
merged 2 commits into from
May 1, 2014

Conversation

pramodhkp
Copy link
Contributor

No description provided.

@@ -1199,7 +1202,8 @@ var RenderTask = (function RenderTaskClosure() {
* Promise for rendering task completion.
* @type {Promise}
*/
this.promise = new PDFJS.LegacyPromise();
this.capability = PDFJS.createPromiseCapability();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's hide that in the InternalRenderTask and call reject and resolve there

@yurydelendik
Copy link
Contributor

/botio test

@pdfjsbot
Copy link

pdfjsbot commented May 1, 2014

From: Bot.io (Windows)


Received

Command cmd_test from @yurydelendik received. Current queue size: 0

Live output at: http://107.22.172.223:8877/440d3403833eaf6/output.txt

@pdfjsbot
Copy link

pdfjsbot commented May 1, 2014

From: Bot.io (Linux)


Received

Command cmd_test from @yurydelendik received. Current queue size: 0

Live output at: http://107.21.233.14:8877/0128c551e14d915/output.txt

@pdfjsbot
Copy link

pdfjsbot commented May 1, 2014

From: Bot.io (Windows)


Success

Full output at http://107.22.172.223:8877/440d3403833eaf6/output.txt

Total script time: 22.10 mins

  • Font tests: Passed
  • Unit tests: Passed
  • Regression tests: Passed

@pdfjsbot
Copy link

pdfjsbot commented May 1, 2014

From: Bot.io (Linux)


Success

Full output at http://107.21.233.14:8877/0128c551e14d915/output.txt

Total script time: 25.74 mins

  • Font tests: Passed
  • Unit tests: Passed
  • Regression tests: Passed

yurydelendik added a commit that referenced this pull request May 1, 2014
Remove legacy promises from api.js
@yurydelendik yurydelendik merged commit aab48a2 into mozilla:master May 1, 2014
@yurydelendik
Copy link
Contributor

Thank you for the patch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants