mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
478a2e4269
* chore(focus-classes): fix failing tests when browser is blurred On Saucelabs, browsers will run simultaneously and therefore can't focus all browser windows at the same time. This is problematic when testing focus states. Chrome and Firefoxonly fire FocusEvents when the window is focused. This issue also appears locally. Fixes #2903. * Extract patch logic into extra function