Fix detection of Firefox on iOS.

Firefox on iOS' ua string is also matched by the "Safari < 3.0" regular
expression, unfortunately. Reorder the regular expressions so that the
one for FxiOS matches first.
This commit is contained in:
Maximilian Haupt
2015-11-13 12:09:32 +01:00
parent e944fededb
commit ae5bfb3893
2 changed files with 13 additions and 2 deletions

View File

@@ -728,5 +728,15 @@
"version" : "43.8",
"major" : "43"
}
},
{
"desc" : "Firefox iOS",
"ua" : "Mozilla/5.0 (iPhone; CPU iPhone OS 9_1 like Mac OS X) AppleWebKit/601.1.46 (KHTML, like Gecko) FxiOS/1.1 Mobile/13B143 Safari/601.1.46",
"expect" :
{
"name" : "Firefox",
"version" : "1.1",
"major" : "1"
}
}
]