mirror of
https://github.com/shaka-project/shaka-player.git
synced 2026-06-27 17:56:23 +03:00
1ba2ebb23e
Forcing the use of the Promise polyfill allows us to remove the hacky parts of fakeEventLoop and gives a huge boost in speed for the tests that use it, particularly on Edge where the delays were large. Many fakeEventLoop tests can now run synchronously. Time to run tests in our lab before this change: - Edge: 21 minutes - Safari: 6 minutes - Chrome, Firefox, Opera, IE: 6-7 minutes Time to run tests in our lab after this change: - All browsers: 5-6 minutes This also reduces the incidence of Safari failures in our lab, but that issue does not reproduce on other machines. It looks increasingly likely that our lab machine is faulty and needs to be replaced. Change-Id: I7bdcc6830c8fdf298538ce6538b1ca8e1b92cab2