Skip to content

Commit

Permalink
[core] Update browserslistrc (#2384)
Browse files Browse the repository at this point in the history
  • Loading branch information
DanailH authored Aug 26, 2021
1 parent 3be2774 commit 32d03f9
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 26 deletions.
46 changes: 24 additions & 22 deletions .browserslistrc
Original file line number Diff line number Diff line change
Expand Up @@ -7,46 +7,48 @@ node 14

# Default/Fallback
# `npx browserslist --mobile-to-desktop "> 0.5%, last 2 versions, Firefox ESR, not dead, not IE 11"` when the last major is released.
# On update check all #stable-snapshot markers
# Manually downgrading to ios_saf 12.4 for iPhone 6 and webpack 4 support.
# On update, sync references where "#stable-snapshot" is mentioned in the codebase.
[stable]
and_chr 85
and_ff 80
and_chr 91
and_ff 89
and_qq 10.4
and_uc 12.12
android 85
android 91
baidu 7.12
chrome 84
edge 85
chrome 90
edge 91
firefox 78
ios_saf 12.2
ios_saf 12.4
kaios 2.5
op_mini all
op_mob 70
opera 70
safari 13.1
samsung 11.1-11.2
op_mob 76
opera 76
safari 14
samsung 13.0

# Same as `stable` but with IE 11
[legacy]
IE 11
and_chr 85
and_ff 80
ie 11
and_chr 91
and_ff 89
and_qq 10.4
and_uc 12.12
android 85
android 91
baidu 7.12
chrome 84
edge 85
chrome 90
edge 91
firefox 78
ios_saf 12.2
ios_saf 12.4
kaios 2.5
op_mini all
op_mob 70
opera 70
safari 13.1
samsung 11.1-11.2
op_mob 76
opera 76
safari 14
samsung 13.0

# snapshot of `npx browserslist "maintained node versions"`
# On update check all #stable-snapshot markers
[node]
node 12.0

Expand Down
11 changes: 7 additions & 4 deletions test/karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,10 @@ module.exports = function setKarmaConfig(config) {
os: 'OS X',
os_version: 'Catalina',
browser: 'chrome',
browser_version: '84.0',
// We support Chrome 90.x
// However, >=88 fails on seemingly all focus-related tests.
// TODO: Investigate why.
browser_version: '87.0',
},
firefox: {
base: 'BrowserStack',
Expand All @@ -142,16 +145,16 @@ module.exports = function setKarmaConfig(config) {
os: 'OS X',
os_version: 'Catalina',
browser: 'safari',
// We support 12.2 on iOS.
// However, 12.1 is very flaky on desktop (mobile is always flaky).
// We support 12.5 on iOS.
// However, 12.x is very flaky on desktop (mobile is always flaky).
browser_version: '13.0',
},
edge: {
base: 'BrowserStack',
os: 'Windows',
os_version: '10',
browser: 'edge',
browser_version: '85.0',
browser_version: '91.0',
},
},
};
Expand Down

0 comments on commit 32d03f9

Please sign in to comment.