mirror of
https://github.com/faisalman/ua-parser-js.git
synced 2025-09-30 17:27:44 +03:00
BREAKING CHANGE: AR/VR devices moved to new device type: xr
This commit is contained in:
@@ -479,7 +479,7 @@ describe('Map UA-CH headers', function () {
|
||||
};
|
||||
|
||||
UAParser(FFVR).withClientHints().then(function (ua) {
|
||||
assert.strictEqual(ua.device.type, 'wearable');
|
||||
assert.strictEqual(ua.device.type, 'xr');
|
||||
});
|
||||
|
||||
UAParser(FFEInk).withClientHints().then(function (ua) {
|
||||
|
@@ -1373,7 +1373,7 @@
|
||||
"expect": {
|
||||
"vendor": "Facebook",
|
||||
"model": "Quest",
|
||||
"type": "wearable"
|
||||
"type": "xr"
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -1382,7 +1382,7 @@
|
||||
"expect": {
|
||||
"vendor": "Facebook",
|
||||
"model": "Quest 2",
|
||||
"type": "wearable"
|
||||
"type": "xr"
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -1391,7 +1391,7 @@
|
||||
"expect": {
|
||||
"vendor": "Facebook",
|
||||
"model": "Quest 3",
|
||||
"type": "wearable"
|
||||
"type": "xr"
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -1400,7 +1400,7 @@
|
||||
"expect": {
|
||||
"vendor": "Facebook",
|
||||
"model": "Quest Pro",
|
||||
"type": "wearable"
|
||||
"type": "xr"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
Reference in New Issue
Block a user