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

Commit c66b547

Browse files
committed
Ensure that Microsoft Edge on iOS and Android report accurate layout engines.
Ref. #158. Ref. 1f400fb.
1 parent 250ea10 commit c66b547

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

platform.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@
339339

340340
/* Detectable layout engines (order is important). */
341341
var layout = getLayout([
342-
{ 'label': 'EdgeHTML', 'pattern': '(?:Edge|EdgA|EdgiOS)' },
342+
{ 'label': 'EdgeHTML', 'pattern': 'Edge' },
343343
'Trident',
344344
{ 'label': 'WebKit', 'pattern': 'AppleWebKit' },
345345
'iCab',

test/test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1704,7 +1704,7 @@
17041704

17051705
'Microsoft Edge 41.1.35.1 (like Safari 8+) on Apple iPhone (iOS 10.3.2)': {
17061706
'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',
1707-
'layout': 'EdgeHTML',
1707+
'layout': 'WebKit',
17081708
'manufacturer': 'Apple',
17091709
'name': 'Microsoft Edge',
17101710
'os': 'iOS 10.3.2',
@@ -1714,7 +1714,7 @@
17141714

17151715
'Microsoft Edge 41.1.35.1 on Google Nexus 9 (Android 8.0)': {
17161716
'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',
1717-
'layout': 'EdgeHTML',
1717+
'layout': 'Blink',
17181718
'manufacturer': 'Google',
17191719
'name': 'Microsoft Edge',
17201720
'os': 'Android 8.0',

0 commit comments

Comments
 (0)