Skip to content
This repository has been archived by the owner on Apr 11, 2024. It is now read-only.

Commit

Permalink
Ensure that Microsoft Edge on iOS and Android report accurate layout …
Browse files Browse the repository at this point in the history
…engines.

Ref. #158.
Ref. 1f400fb.
  • Loading branch information
bnjmnt4n committed Jun 23, 2020
1 parent 250ea10 commit c66b547
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion platform.js
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@

/* Detectable layout engines (order is important). */
var layout = getLayout([
{ 'label': 'EdgeHTML', 'pattern': '(?:Edge|EdgA|EdgiOS)' },
{ 'label': 'EdgeHTML', 'pattern': 'Edge' },
'Trident',
{ 'label': 'WebKit', 'pattern': 'AppleWebKit' },
'iCab',
Expand Down
4 changes: 2 additions & 2 deletions test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -1704,7 +1704,7 @@

'Microsoft Edge 41.1.35.1 (like Safari 8+) on Apple iPhone (iOS 10.3.2)': {
'ua': 'Mozilla/5.0 (iPhone; CPU iPhone OS 10_3_2 like Mac OS X) AppleWebKit/603.2.4 (KHTML, like Gecko) Mobile/14F89 Safari/603.2.4 EdgiOS/41.1.35.1',
'layout': 'EdgeHTML',
'layout': 'WebKit',
'manufacturer': 'Apple',
'name': 'Microsoft Edge',
'os': 'iOS 10.3.2',
Expand All @@ -1714,7 +1714,7 @@

'Microsoft Edge 41.1.35.1 on Google Nexus 9 (Android 8.0)': {
'ua': 'Mozilla/5.0 (Linux; Android 8.0; Google Nexus 9 - 5.1.0 - API 22 - 1536x2048 Build/LMY47D) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.0 Mobile Safari/537.36 EdgA/41.1.35.1',
'layout': 'EdgeHTML',
'layout': 'Blink',
'manufacturer': 'Google',
'name': 'Microsoft Edge',
'os': 'Android 8.0',
Expand Down

0 comments on commit c66b547

Please sign in to comment.