Don't create the opacity buffer for images that lack a mask.
Remove unneeded srcOffset arguments from createRgbBuffer.
Close the secondary toolbar when an action is only performed once
Refactors getTextContent return value
Don't create the RGB buffer for images that don't need resizing.
Fix loading of fonts with invalid encoding name entry (bug 859204 and 878112)
Terminate worker of previous doc
Merge pull request #4153 from sriram-dev/4027-destroy-previous-doc

4027 - Terminate worker of previous doc
Merge pull request #4147 from Snuffleupagus/bug-859204

Fix loading of fonts with invalid encoding name entry (bug 859204 and 878112)
Minor fixes for the jsdocs and removing unused members.
Merge pull request #4139 from nnethercote/RGBA

Write color and opacity values directly to the final RGBA array when possible, so as to avoid allocating unnecessary memory.
Merge pull request #4144 from yurydelendik/api-doc

Misc fixes for the API docs
Merge pull request #4140 from timvandermeij/close-secondary-toolbar

Close the secondary toolbar when an action is performed once
Merge branch 'master' of git://github.com/mozilla/pdf.js into document-properties