Fixes disableWorker regression
Merge pull request #4730 from yurydelendik/disableworker

Fixes disableWorker regression
Fixes rendering of PDFs with nested trailer dictionary
Remove LegacyPromise in src/shared/annotation.js
Merge pull request #4731 from timvandermeij/trailerdict

Fixes rendering of PDFs with nested trailer dictionary
Remove LegacyPromise in src/core/pdf_manager.js
Merge pull request #4725 from Snuffleupagus/remove-LegacyPromise-pdf_manager.js

Remove LegacyPromise in src/core/pdf_manager.js
Merge pull request #4727 from Snuffleupagus/remove-LegacyPromise-annotation.js

Remove LegacyPromise in src/shared/annotation.js
Remove LegacyPromise in src/core/worker.js