Fix #262 Chrome Headless

This commit is contained in:
Faisal Salman 2017-10-12 09:48:25 +07:00
parent c566f45cbd
commit 7bd9ffea24
2 changed files with 3 additions and 3 deletions

View File

@ -292,7 +292,7 @@
/;fbav\/([\w\.]+);/i // Facebook App for iOS & Android
], [VERSION, [NAME, 'Facebook']], [
/headlesschrome\/([\w\.]+)/i // Chrome Headless
/headlesschrome(?:\/([\w\.]+)|\s)/i // Chrome Headless
], [VERSION, [NAME, 'Chrome Headless']], [
/\swv\).+(chrome)\/([\w\.]+)/i // Chrome WebView

View File

@ -145,8 +145,8 @@
"expect" :
{
"name" : "Chrome Headless",
"version" : "HeadlessChrome",
"major" : ""
"version" : "undefined",
"major" : "undefined"
}
},
{