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

Refactor scratch canvas usage #7798

Closed
yurydelendik opened this issue Nov 11, 2016 · 0 comments
Closed

Refactor scratch canvas usage #7798

yurydelendik opened this issue Nov 11, 2016 · 0 comments

Comments

@yurydelendik
Copy link
Contributor

At display/canvas.js, we create DOM canvas. It will be nice if we will be able to replace any DOM document.createElement('canvas') calls with some type of factory to allow it's replacement e.g. at the node.js apps. See also #7525 discussion.

mukulmishra18 added a commit to mukulmishra18/pdf.js that referenced this issue Jan 27, 2017
mukulmishra18 added a commit to mukulmishra18/pdf.js that referenced this issue Jan 27, 2017
Fixes extra canvas create call
mukulmishra18 added a commit to mukulmishra18/pdf.js that referenced this issue Jan 28, 2017
Fixes extra canvas create call

removes unnecessary call of `new DOMCanvasFactory`.
mukulmishra18 added a commit to mukulmishra18/pdf.js that referenced this issue Jan 28, 2017
Fixes extra canvas create call

removes unnecessary call of `new DOMCanvasFactory`.

Fixes undefined error of DOMCanvasFactory.
mukulmishra18 added a commit to mukulmishra18/pdf.js that referenced this issue Feb 1, 2017
Fixes extra canvas create call

removes unnecessary call of `new DOMCanvasFactory`.

Fixes undefined error of DOMCanvasFactory.

Fixes failures in some of the tests.
mukulmishra18 added a commit to mukulmishra18/pdf.js that referenced this issue Feb 2, 2017
Fixes extra canvas create calls.
Fixes unnecessary call of `new DOMCanvasFactory`.
Fixes undefined error of DOMCanvasFactory.
Fixes failures in some of the tests.
mukulmishra18 added a commit to mukulmishra18/pdf.js that referenced this issue Feb 4, 2017
Fixes extra canvas create calls.
Fixes unnecessary call of `new DOMCanvasFactory`.
Fixes undefined error of DOMCanvasFactory.
Fixes failures in some of the tests.

Fixes expected behaviour.
mukulmishra18 added a commit to mukulmishra18/pdf.js that referenced this issue Feb 4, 2017
Fixes extra canvas create calls.
Fixes unnecessary call of `new DOMCanvasFactory`.
Fixes undefined error of DOMCanvasFactory.
Fixes failures in some of the tests.
Fixes expected behaviour.

Remove unused vars.
mukulmishra18 added a commit to mukulmishra18/pdf.js that referenced this issue Feb 5, 2017
Fixes extra canvas create calls.
Fixes unnecessary call of `new DOMCanvasFactory`.
Fixes undefined error of DOMCanvasFactory.
Fixes failures in some of the tests.
Fixes expected behaviour.
Remove unused vars.
mukulmishra18 added a commit to mukulmishra18/pdf.js that referenced this issue Feb 5, 2017
Fixes extra canvas create calls.
Fixes unnecessary call of `new DOMCanvasFactory`.
Fixes undefined error of DOMCanvasFactory.
Fixes failures in some of the tests.
Fixes expected behaviour.
Remove unused vars.
yurydelendik added a commit that referenced this issue Feb 6, 2017
[api-minor] Fix #7798: Refactor scratch canvas usage.
movsb pushed a commit to movsb/pdf.js that referenced this issue Jul 14, 2018
Fixes extra canvas create calls.
Fixes unnecessary call of `new DOMCanvasFactory`.
Fixes undefined error of DOMCanvasFactory.
Fixes failures in some of the tests.
Fixes expected behaviour.
Remove unused vars.
movsb pushed a commit to movsb/pdf.js that referenced this issue Jul 14, 2018
[api-minor] Fix mozilla#7798: Refactor scratch canvas usage.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant