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

Remove LegacyPromise in src/core/core.js