Amend GlyphMapForStandardFonts to fix issue 4276
Merge pull request #4716 from Snuffleupagus/issue-4276

Amend GlyphMapForStandardFonts to fix issue 4276
Remove legacy promises from api.js
Remove LegacyPromise from src/core/obj.js
Merge pull request #4709 from pramodhkp/refactoring

Remove legacy promises from api.js
Remove LegacyPromise in src/core/chunked_stream.js
Add onError function to ChunkedStreamManager