BREAKING CHANGE: AR/VR devices moved to new device type: xr

This commit is contained in:
Faisal Salman
2024-06-05 15:47:27 +07:00
parent 39590f112d
commit 0543b87c02
5 changed files with 20 additions and 11 deletions

View File

@@ -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) {

View File

@@ -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"
}
},
{