mirror of
https://github.com/lancedikson/bowser
synced 2024-10-27 20:34:22 +00:00
Merge pull request #415 from acailly/feat/handle-firefox-ipad-ios13
handle Firefox on iPad on iOS 13
This commit is contained in:
commit
9007a9e393
@ -43,13 +43,16 @@ export default [
|
|||||||
|
|
||||||
/* Firefox on iPad */
|
/* Firefox on iPad */
|
||||||
{
|
{
|
||||||
test: [/Macintosh(.*?) FxiOS(.*?) Version\//],
|
test: [/Macintosh(.*?) FxiOS(.*?)\//],
|
||||||
describe(ua) {
|
describe(ua) {
|
||||||
const version = Utils.getSecondMatch(/(Version\/)(\d[\d.]+)/, ua);
|
const result = {
|
||||||
return {
|
|
||||||
name: OS_MAP.iOS,
|
name: OS_MAP.iOS,
|
||||||
version,
|
|
||||||
};
|
};
|
||||||
|
const version = Utils.getSecondMatch(/(Version\/)(\d[\d.]+)/, ua);
|
||||||
|
if (version) {
|
||||||
|
result.version = version;
|
||||||
|
}
|
||||||
|
return result;
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -59,7 +59,7 @@ export default [
|
|||||||
|
|
||||||
/* Firefox on iPad */
|
/* Firefox on iPad */
|
||||||
{
|
{
|
||||||
test: [/Macintosh(.*?) FxiOS(.*?) Version\//],
|
test: [/Macintosh(.*?) FxiOS(.*?)\//],
|
||||||
describe() {
|
describe() {
|
||||||
return {
|
return {
|
||||||
type: PLATFORMS_MAP.tablet,
|
type: PLATFORMS_MAP.tablet,
|
||||||
|
@ -1839,6 +1839,21 @@
|
|||||||
engine:
|
engine:
|
||||||
name: "WebKit"
|
name: "WebKit"
|
||||||
version: "605.1.15"
|
version: "605.1.15"
|
||||||
|
-
|
||||||
|
ua: "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15) AppleWebKit/605.1.15 (KHTML, like Gecko) FxiOS/24.1 Safari/605.1.15"
|
||||||
|
spec:
|
||||||
|
browser:
|
||||||
|
name: "Firefox"
|
||||||
|
version: "24.1"
|
||||||
|
os:
|
||||||
|
name: "iOS"
|
||||||
|
platform:
|
||||||
|
type: "tablet"
|
||||||
|
vendor: "Apple"
|
||||||
|
model: "iPad"
|
||||||
|
engine:
|
||||||
|
name: "WebKit"
|
||||||
|
version: "605.1.15"
|
||||||
SeaMonkey:
|
SeaMonkey:
|
||||||
-
|
-
|
||||||
ua: "Mozilla/5.0 (Windows NT 5.2; rv:10.0.1) Gecko/20100101 Firefox/10.0.1 SeaMonkey/2.7.1"
|
ua: "Mozilla/5.0 (Windows NT 5.2; rv:10.0.1) Gecko/20100101 Firefox/10.0.1 SeaMonkey/2.7.1"
|
||||||
|
Loading…
Reference in New Issue
Block a user