From 34b1fb5eb3100d9c756b7476ecea043ed05bc175 Mon Sep 17 00:00:00 2001 From: Sim Date: Fri, 30 Apr 2021 00:39:14 +0800 Subject: [PATCH] compat data for HID (#9910) * compat data for HID * fix format errors * it's experimental * add mdn url and spec url for HID members * support opera 75 and above (https://github.com/mdn/browser-compat-data/pull/10012#discussion_r618580817) --- api/HID.json | 249 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 249 insertions(+) create mode 100644 api/HID.json diff --git a/api/HID.json b/api/HID.json new file mode 100644 index 00000000000000..040466ba17affc --- /dev/null +++ b/api/HID.json @@ -0,0 +1,249 @@ +{ + "api": { + "HID": { + "__compat": { + "mdn_url": "https://developer.mozilla.org/docs/Web/API/HID", + "spec_url": "https://wicg.github.io/webhid/#dom-hid", + "support": { + "chrome": { + "version_added": "89" + }, + "chrome_android": { + "version_added": false + }, + "edge": { + "version_added": "89" + }, + "firefox": { + "version_added": false + }, + "firefox_android": { + "version_added": false + }, + "ie": { + "version_added": false + }, + "opera": { + "version_added": "75" + }, + "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": false, + "deprecated": false + } + }, + "getDevices": { + "__compat": { + "mdn_url": "https://developer.mozilla.org/docs/Web/API/HID/getDevices", + "spec_url": "https://wicg.github.io/webhid/#dom-hid-getdevices", + "support": { + "chrome": { + "version_added": "89" + }, + "chrome_android": { + "version_added": false + }, + "edge": { + "version_added": "89" + }, + "firefox": { + "version_added": false + }, + "firefox_android": { + "version_added": false + }, + "ie": { + "version_added": false + }, + "opera": { + "version_added": "75" + }, + "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": false, + "deprecated": false + } + } + }, + "onconnect": { + "__compat": { + "mdn_url": "https://developer.mozilla.org/docs/Web/API/HID/onconnect", + "spec_url": "https://wicg.github.io/webhid/#dom-hid-onconnect", + "support": { + "chrome": { + "version_added": "89" + }, + "chrome_android": { + "version_added": false + }, + "edge": { + "version_added": "89" + }, + "firefox": { + "version_added": false + }, + "firefox_android": { + "version_added": false + }, + "ie": { + "version_added": false + }, + "opera": { + "version_added": "75" + }, + "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": false, + "deprecated": false + } + } + }, + "ondisconnect": { + "__compat": { + "mdn_url": "https://developer.mozilla.org/docs/Web/API/HID/ondisconnect", + "spec_url": "https://wicg.github.io/webhid/#dom-hid-ondisconnect", + "support": { + "chrome": { + "version_added": "89" + }, + "chrome_android": { + "version_added": false + }, + "edge": { + "version_added": "89" + }, + "firefox": { + "version_added": false + }, + "firefox_android": { + "version_added": false + }, + "ie": { + "version_added": false + }, + "opera": { + "version_added": "75" + }, + "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": false, + "deprecated": false + } + } + }, + "requestDevice": { + "__compat": { + "mdn_url": "https://developer.mozilla.org/docs/Web/API/HID/requestDevice", + "spec_url": "https://wicg.github.io/webhid/#dom-hid-requestdevice", + "support": { + "chrome": { + "version_added": "89" + }, + "chrome_android": { + "version_added": false + }, + "edge": { + "version_added": "89" + }, + "firefox": { + "version_added": false + }, + "firefox_android": { + "version_added": false + }, + "ie": { + "version_added": false + }, + "opera": { + "version_added": "75" + }, + "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": false, + "deprecated": false + } + } + } + } + } +}