diff --git a/api/NetworkInformation.json b/api/NetworkInformation.json index 6a179b96cdd8d5..8ba69b633b7f34 100644 --- a/api/NetworkInformation.json +++ b/api/NetworkInformation.json @@ -48,39 +48,36 @@ "deprecated": false } }, - "downlink": { + "change_event": { "__compat": { - "mdn_url": "https://developer.mozilla.org/docs/Web/API/NetworkInformation/downlink", - "spec_url": "https://wicg.github.io/netinfo/#dom-networkinformation-downlink", + "description": "change event", + "mdn_url": "https://developer.mozilla.org/docs/Web/API/NetworkInformation/change_event", + "spec_url": "https://wicg.github.io/netinfo/#dom-networkinformation-onchange", "support": { "chrome": { - "version_added": "61", - "notes": "The value is never greater than 10 Mbps, as a non-standard anti-fingerprinting measure." + "version_added": "61" }, "chrome_android": { - "version_added": "38", - "notes": "The value is never greater than 10 Mbps, as a non-standard anti-fingerprinting measure." + "version_added": "38" }, "edge": { - "version_added": "79", - "notes": "The value is never greater than 10 Mbps, as a non-standard anti-fingerprinting measure." + "version_added": "79" }, "firefox": { "version_added": false }, "firefox_android": { - "version_added": false + "version_added": false, + "notes": "On Firefox, the event handler property corresponding to the change event is ontypechange." }, "ie": { "version_added": false }, "opera": { - "version_added": "48", - "notes": "The value is never greater than 10 Mbps, as a non-standard anti-fingerprinting measure." + "version_added": "48" }, "opera_android": { - "version_added": "25", - "notes": "The value is never greater than 10 Mbps, as a non-standard anti-fingerprinting measure." + "version_added": "45" }, "safari": { "version_added": false @@ -89,12 +86,10 @@ "version_added": false }, "samsunginternet_android": { - "version_added": "3.0", - "notes": "The value is never greater than 10 Mbps, as a non-standard anti-fingerprinting measure." + "version_added": "3.0" }, "webview_android": { - "version_added": "50", - "notes": "The value is never greater than 10 Mbps, as a non-standard anti-fingerprinting measure." + "version_added": "50" } }, "status": { @@ -104,20 +99,22 @@ } } }, - "downlinkMax": { + "downlink": { "__compat": { - "mdn_url": "https://developer.mozilla.org/docs/Web/API/NetworkInformation/downlinkMax", - "spec_url": "https://wicg.github.io/netinfo/#dom-networkinformation-downlinkmax", + "mdn_url": "https://developer.mozilla.org/docs/Web/API/NetworkInformation/downlink", + "spec_url": "https://wicg.github.io/netinfo/#dom-networkinformation-downlink", "support": { "chrome": { "version_added": "61", - "notes": "Only supported in Chrome OS" + "notes": "The value is never greater than 10 Mbps, as a non-standard anti-fingerprinting measure." }, "chrome_android": { - "version_added": "38" + "version_added": "38", + "notes": "The value is never greater than 10 Mbps, as a non-standard anti-fingerprinting measure." }, "edge": { - "version_added": false + "version_added": "79", + "notes": "The value is never greater than 10 Mbps, as a non-standard anti-fingerprinting measure." }, "firefox": { "version_added": false @@ -129,10 +126,12 @@ "version_added": false }, "opera": { - "version_added": false + "version_added": "48", + "notes": "The value is never greater than 10 Mbps, as a non-standard anti-fingerprinting measure." }, "opera_android": { - "version_added": "45" + "version_added": "25", + "notes": "The value is never greater than 10 Mbps, as a non-standard anti-fingerprinting measure." }, "safari": { "version_added": false @@ -141,10 +140,12 @@ "version_added": false }, "samsunginternet_android": { - "version_added": "3.0" + "version_added": "3.0", + "notes": "The value is never greater than 10 Mbps, as a non-standard anti-fingerprinting measure." }, "webview_android": { - "version_added": "50" + "version_added": "50", + "notes": "The value is never greater than 10 Mbps, as a non-standard anti-fingerprinting measure." } }, "status": { @@ -154,19 +155,20 @@ } } }, - "effectiveType": { + "downlinkMax": { "__compat": { - "mdn_url": "https://developer.mozilla.org/docs/Web/API/NetworkInformation/effectiveType", - "spec_url": "https://wicg.github.io/netinfo/#dom-networkinformation-effectivetype", + "mdn_url": "https://developer.mozilla.org/docs/Web/API/NetworkInformation/downlinkMax", + "spec_url": "https://wicg.github.io/netinfo/#dom-networkinformation-downlinkmax", "support": { "chrome": { - "version_added": "61" + "version_added": "61", + "notes": "Only supported in Chrome OS" }, "chrome_android": { "version_added": "38" }, "edge": { - "version_added": "79" + "version_added": false }, "firefox": { "version_added": false @@ -178,7 +180,7 @@ "version_added": false }, "opera": { - "version_added": "48" + "version_added": false }, "opera_android": { "version_added": "45" @@ -203,10 +205,10 @@ } } }, - "onchange": { + "effectiveType": { "__compat": { - "mdn_url": "https://developer.mozilla.org/docs/Web/API/NetworkInformation/onchange", - "spec_url": "https://wicg.github.io/netinfo/#dom-networkinformation-onchange", + "mdn_url": "https://developer.mozilla.org/docs/Web/API/NetworkInformation/effectiveType", + "spec_url": "https://wicg.github.io/netinfo/#dom-networkinformation-effectivetype", "support": { "chrome": { "version_added": "61" @@ -221,8 +223,7 @@ "version_added": false }, "firefox_android": { - "version_added": false, - "notes": "On Firefox, the event handler property corresponding to the change event is ontypechange." + "version_added": false }, "ie": { "version_added": false @@ -253,55 +254,6 @@ } } }, - "ontypechange": { - "__compat": { - "mdn_url": "https://developer.mozilla.org/docs/Web/API/NetworkInformation/ontypechange", - "spec_url": "https://wicg.github.io/netinfo/#dom-networkinformation-onchange", - "support": { - "chrome": { - "version_added": false - }, - "chrome_android": { - "version_added": "38" - }, - "edge": { - "version_added": false - }, - "firefox": { - "version_added": false - }, - "firefox_android": { - "version_added": "31" - }, - "ie": { - "version_added": false - }, - "opera": { - "version_added": false - }, - "opera_android": { - "version_added": "25" - }, - "safari": { - "version_added": false - }, - "safari_ios": { - "version_added": false - }, - "samsunginternet_android": { - "version_added": "3.0" - }, - "webview_android": { - "version_added": false - } - }, - "status": { - "experimental": true, - "standard_track": false, - "deprecated": true - } - } - }, "rtt": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/API/NetworkInformation/rtt", @@ -457,6 +409,59 @@ } } }, + "typechange_event": { + "__compat": { + "description": "typechange event", + "mdn_url": "https://developer.mozilla.org/docs/Web/API/NetworkInformation/typechange_event", + "spec_url": "https://wicg.github.io/netinfo/#dom-networkinformation-onchange", + "support": { + "chrome": { + "version_added": false + }, + "chrome_android": { + "version_added": "38", + "notes": "Removal proposed in bug 699892." + }, + "edge": { + "version_added": false + }, + "firefox": { + "version_added": false + }, + "firefox_android": { + "version_added": "31" + }, + "ie": { + "version_added": false + }, + "opera": { + "version_added": false + }, + "opera_android": { + "version_added": "25", + "notes": "Removal proposed in bug 699892." + }, + "safari": { + "version_added": false + }, + "safari_ios": { + "version_added": false + }, + "samsunginternet_android": { + "version_added": "3.0", + "notes": "Removal proposed in bug 699892." + }, + "webview_android": { + "version_added": false + } + }, + "status": { + "experimental": true, + "standard_track": false, + "deprecated": true + } + } + }, "worker_support": { "__compat": { "description": "Available in workers",