Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add Majestic Crono 54 and Zeus 21 #2107

Merged
merged 1 commit into from
Jun 19, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
24 changes: 24 additions & 0 deletions resources/devices/mobile-phone/majestic.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"majestic zeus 21": {
"type": "mobile-phone",
"properties": {
"Device_Name": "Zeus 21",
"Device_Code_Name": "Zeus 21",
"Device_Maker": "Majestic",
"Device_Pointing_Method": "touchscreen",
"Device_Brand_Name": "Majestic"
},
"standard": false
},
"majestic crono 54": {
"type": "mobile-phone",
"properties": {
"Device_Name": "Crono 54",
"Device_Code_Name": "Crono 54",
"Device_Maker": "Majestic",
"Device_Pointing_Method": "touchscreen",
"Device_Brand_Name": "Majestic"
},
"standard": false
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -692,6 +692,7 @@
"LIFETAB_E10316": "Medion LifeTab E10316",
"LIFETAB_E10320": "Medion E10320",
"M1003G": "iRU M1003G",
"MAJESTIC Zeus21": "majestic zeus 21",
"ME173X": "Asus ME173X",
"ME302KL": "Asus ME302KL",
"Micromax A068": "Micromax A068",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -686,6 +686,7 @@
"A37fw": "OPPO A37fw",
"ASUS MeMO Pad 7": "Asus ME176C",
"ASUS_X00BD": "Asus X00BD",
"CRONO 54": "majestic crono 54",
"CUN-U29": "Huawei CUN-U29",
"E5533": "Sony E5533",
"E5823": "Sony E5823",
Expand Down
105 changes: 105 additions & 0 deletions tests/issues/issue-2085.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,105 @@
<?php

return [
'issue-2085-A' => [
'ua' => 'Mozilla/5.0 (Linux; Android 5.1; CRONO 54 Build/LMY47I) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.111 Mobile Safari/537.36',
'properties' => [
'Comment' => 'Chrome 63.0',
'Browser' => 'Chrome',
'Browser_Type' => 'Browser',
'Browser_Bits' => '32',
'Browser_Maker' => 'Google Inc',
'Browser_Modus' => 'unknown',
'Version' => '63.0',
'Platform' => 'Android',
'Platform_Version' => '5.1',
'Platform_Description' => 'Android OS',
'Platform_Bits' => '32',
'Platform_Maker' => 'Google Inc',
'Alpha' => false,
'Beta' => false,
'Frames' => true,
'IFrames' => true,
'Tables' => true,
'Cookies' => true,
'JavaScript' => true,
'VBScript' => false,
'JavaApplets' => false,
'isSyndicationReader' => false,
'isFake' => false,
'isAnonymized' => false,
'isModified' => false,
'CssVersion' => '3',
'Device_Name' => 'Crono 54',
'Device_Maker' => 'Majestic',
'Device_Type' => 'Mobile Phone',
'Device_Pointing_Method' => 'touchscreen',
'Device_Code_Name' => 'Crono 54',
'Device_Brand_Name' => 'Majestic',
'RenderingEngine_Name' => 'Blink',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Google Inc',
],
'lite' => true,
'standard' => true,
'full' => true,
],
'issue-2085-B' => [
'ua' => 'Mozilla/5.0 (Linux; Android 4.2.1; MAJESTIC Zeus21 Build/JOP40D) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/29.0.1547.72 Mobile Safari/537.36',
'properties' => [
'Comment' => 'Chrome 29.0',
'Browser' => 'Chrome',
'Browser_Type' => 'Browser',
'Browser_Bits' => '32',
'Browser_Maker' => 'Google Inc',
'Browser_Modus' => 'unknown',
'Version' => '29.0',
'Platform' => 'Android',
'Platform_Version' => '4.2',
'Platform_Description' => 'Android OS',
'Platform_Bits' => '32',
'Platform_Maker' => 'Google Inc',
'Alpha' => false,
'Beta' => false,
'Frames' => true,
'IFrames' => true,
'Tables' => true,
'Cookies' => true,
'JavaScript' => true,
'VBScript' => false,
'JavaApplets' => false,
'isSyndicationReader' => false,
'isFake' => false,
'isAnonymized' => false,
'isModified' => false,
'CssVersion' => '3',
'Device_Name' => 'Zeus 21',
'Device_Maker' => 'Majestic',
'Device_Type' => 'Mobile Phone',
'Device_Pointing_Method' => 'touchscreen',
'Device_Code_Name' => 'Zeus 21',
'Device_Brand_Name' => 'Majestic',
'RenderingEngine_Name' => 'Blink',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Google Inc',
],
'lite' => false,
'standard' => false,
'full' => true,
],
'issue-2085-B (standard + lite)' => [
'ua' => 'Mozilla/5.0 (Linux; Android 4.2.1; MAJESTIC Zeus21 Build/JOP40D) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/29.0.1547.72 Mobile Safari/537.36',
'properties' => [
'Comment' => 'Chrome Generic',
'Browser' => 'Chrome',
'Browser_Maker' => 'Google Inc',
'Version' => '0.0',
'Platform' => 'Android',
'Device_Type' => 'Mobile Phone',
'Device_Pointing_Method' => 'touchscreen',
],
'lite' => true,
'standard' => true,
'full' => false,
],
];