Skip to content

Commit

Permalink
Add missing features for NavigatorUAData API (#13465)
Browse files Browse the repository at this point in the history
This PR is a part of a project to add missing interfaces and interface features to BCD that are from an active spec (including WICG specs) and is supported in at least one browser.  This particular PR adds the missing features of the NavigatorUAData API, populating the results using data from the [mdn-bcd-collector](https://mdn-bcd-collector.appspot.com) project (v4.0.0).

Tests Used: https://mdn-bcd-collector.appspot.com/tests/api/NavigatorUAData

Co-authored-by: Philip Jägenstedt <philip@foolip.org>
  • Loading branch information
queengooborg and foolip authored Nov 12, 2021
1 parent b80776a commit a9411c7
Showing 1 changed file with 96 additions and 0 deletions.
96 changes: 96 additions & 0 deletions api/NavigatorUAData.json
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,102 @@
"deprecated": false
}
}
},
"platform": {
"__compat": {
"spec_url": "https://wicg.github.io/ua-client-hints/#dom-navigatoruadata-platform",
"support": {
"chrome": {
"version_added": "93"
},
"chrome_android": {
"version_added": "93"
},
"edge": {
"version_added": "93"
},
"firefox": {
"version_added": false
},
"firefox_android": {
"version_added": false
},
"ie": {
"version_added": false
},
"opera": {
"version_added": "79"
},
"opera_android": {
"version_added": false
},
"safari": {
"version_added": false
},
"safari_ios": {
"version_added": false
},
"samsunginternet_android": {
"version_added": false
},
"webview_android": {
"version_added": false
}
},
"status": {
"experimental": true,
"standard_track": true,
"deprecated": false
}
}
},
"toJSON": {
"__compat": {
"spec_url": "https://wicg.github.io/ua-client-hints/#dom-navigatoruadata-tojson",
"support": {
"chrome": {
"version_added": "93"
},
"chrome_android": {
"version_added": "93"
},
"edge": {
"version_added": "93"
},
"firefox": {
"version_added": false
},
"firefox_android": {
"version_added": false
},
"ie": {
"version_added": false
},
"opera": {
"version_added": "79"
},
"opera_android": {
"version_added": false
},
"safari": {
"version_added": false
},
"safari_ios": {
"version_added": false
},
"samsunginternet_android": {
"version_added": false
},
"webview_android": {
"version_added": false
}
},
"status": {
"experimental": true,
"standard_track": true,
"deprecated": false
}
}
}
}
}
Expand Down

0 comments on commit a9411c7

Please sign in to comment.