mirror of
https://github.com/faisalman/ua-parser-js.git
synced 2025-09-28 00:18:45 +03:00
Fix #561 - Increase UA_MAX_LENGTH to 275
This commit is contained in:
parent
f761a89ab2
commit
a29213960c
@ -37,7 +37,7 @@
|
||||
SMARTTV = 'smarttv',
|
||||
WEARABLE = 'wearable',
|
||||
EMBEDDED = 'embedded',
|
||||
UA_MAX_LENGTH = 255;
|
||||
UA_MAX_LENGTH = 275;
|
||||
|
||||
var AMAZON = 'Amazon',
|
||||
APPLE = 'Apple',
|
||||
|
@ -1463,5 +1463,15 @@
|
||||
"version" : "4.2.7",
|
||||
"major" : "4"
|
||||
}
|
||||
},
|
||||
{
|
||||
"desc" : "IE11 on Windows 7 (ua length >255)",
|
||||
"ua" : "Mozilla/5.0 (Windows NT 6.1; WOW64; APCPMS=^N201205020840572565478A37A6F9C41BD33F_9975^; Trident/7.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.3; .NET4.0C; .NET4.0E; MARKANYEPS#25118; Zoom 3.6.0; rv:11.0) like Gecko",
|
||||
"expect" :
|
||||
{
|
||||
"name" : "IE",
|
||||
"version" : "11.0",
|
||||
"major" : "11"
|
||||
}
|
||||
}
|
||||
]
|
||||
|
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user