mirror of
https://github.com/faisalman/ua-parser-js.git
synced 2025-09-29 17:04:26 +03:00
Improve Windows detection & recognize Windows CE & RT as separate OS variants
This commit is contained in:
20
test/data/ua/os/windows-rt.json
Normal file
20
test/data/ua/os/windows-rt.json
Normal file
@@ -0,0 +1,20 @@
|
||||
[
|
||||
{
|
||||
"desc" : "Windows RT 8",
|
||||
"ua" : "Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.2; ARM; Trident/6.0)",
|
||||
"expect" :
|
||||
{
|
||||
"name" : "Windows RT",
|
||||
"version" : "8"
|
||||
}
|
||||
},
|
||||
{
|
||||
"desc" : "Windows RT 8.1",
|
||||
"ua" : "Mozilla/5.0 (Windows NT 6.3; ARM; Trident/7.0; Touch; rv:11.0) like Gecko",
|
||||
"expect" :
|
||||
{
|
||||
"name" : "Windows RT",
|
||||
"version" : "8.1"
|
||||
}
|
||||
}
|
||||
]
|
Reference in New Issue
Block a user