From 8ded638be1bc61ef69b7d08050b37841658f2dd4 Mon Sep 17 00:00:00 2001 From: "Queen Vinyl Da.i'gyu-Kazotetsu" Date: Sat, 20 Jul 2024 00:57:34 -0700 Subject: [PATCH] Update Chromium data for webRequest Web Extensions interface This PR updates and corrects version values for Chromium (Chrome, Opera, Samsung Internet, WebView Android) for the `webRequest` Web Extensions interface. This sets the feature(s) to a version range based upon the date that the feature was added to BCD with the intent of replacing `true` values with ranged values to eliminate `true` values from BCD. Commit/PR Adding the Feature: #440 --- webextensions/api/webRequest.json | 252 +++++++++++++++--------------- 1 file changed, 125 insertions(+), 127 deletions(-) diff --git a/webextensions/api/webRequest.json b/webextensions/api/webRequest.json index 91fb526f8b098c..fca18f75797f5f 100644 --- a/webextensions/api/webRequest.json +++ b/webextensions/api/webRequest.json @@ -6,7 +6,7 @@ "mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/webRequest", "support": { "chrome": { - "version_added": true + "version_added": "≤44" }, "edge": { "version_added": "14" @@ -29,7 +29,7 @@ "mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/webRequest/BlockingResponse", "support": { "chrome": { - "version_added": true + "version_added": "≤61" }, "edge": { "version_added": "14" @@ -98,7 +98,7 @@ "mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/webRequest/HttpHeaders", "support": { "chrome": { - "version_added": true + "version_added": "≤61" }, "edge": { "version_added": "14" @@ -124,7 +124,7 @@ "mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/webRequest/MAX_HANDLER_BEHAVIOR_CHANGED_CALLS_PER_10_MINUTES", "support": { "chrome": { - "version_added": true + "version_added": "≤61" }, "edge": { "version_added": "14" @@ -148,7 +148,7 @@ "mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/webRequest/RequestFilter", "support": { "chrome": { - "version_added": true, + "version_added": "≤61", "notes": "If a filter contains unrecognized values in its types property, addListener() throws an exception." }, "edge": { @@ -179,7 +179,7 @@ "__compat": { "support": { "chrome": { - "version_added": true + "version_added": "≤61" }, "edge": { "version_added": "14" @@ -202,7 +202,7 @@ "__compat": { "support": { "chrome": { - "version_added": true + "version_added": "≤61" }, "edge": { "version_added": "14" @@ -229,7 +229,7 @@ "__compat": { "support": { "chrome": { - "version_added": true + "version_added": "≤61" }, "edge": { "version_added": "14" @@ -252,7 +252,7 @@ "__compat": { "support": { "chrome": { - "version_added": true + "version_added": "≤61" }, "edge": { "version_added": "14" @@ -1343,7 +1343,7 @@ "mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/webRequest/UploadData", "support": { "chrome": { - "version_added": true + "version_added": "≤61" }, "edge": { "version_added": "14" @@ -1412,7 +1412,7 @@ "mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/webRequest/handlerBehaviorChanged", "support": { "chrome": { - "version_added": true + "version_added": "≤61" }, "edge": { "version_added": "14" @@ -1436,7 +1436,7 @@ "mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/webRequest/onAuthRequired", "support": { "chrome": { - "version_added": true + "version_added": "≤61" }, "edge": { "version_added": "14" @@ -1460,7 +1460,7 @@ "__compat": { "support": { "chrome": { - "version_added": true + "version_added": "≤61" }, "edge": { "version_added": "14" @@ -1482,7 +1482,7 @@ "__compat": { "support": { "chrome": { - "version_added": true + "version_added": "≤61" }, "edge": { "version_added": "14" @@ -1546,7 +1546,7 @@ "__compat": { "support": { "chrome": { - "version_added": true + "version_added": "≤61" }, "edge": { "version_added": "14" @@ -1590,7 +1590,7 @@ "__compat": { "support": { "chrome": { - "version_added": true + "version_added": "≤61" }, "edge": { "version_added": "14" @@ -1613,7 +1613,7 @@ "__compat": { "support": { "chrome": { - "version_added": true + "version_added": "≤61" }, "edge": { "version_added": "14" @@ -1655,7 +1655,7 @@ "__compat": { "support": { "chrome": { - "version_added": true + "version_added": "≤61" }, "edge": { "version_added": "14" @@ -1697,7 +1697,7 @@ "__compat": { "support": { "chrome": { - "version_added": true + "version_added": "≤61" }, "edge": { "version_added": "14" @@ -1720,7 +1720,7 @@ "__compat": { "support": { "chrome": { - "version_added": true + "version_added": "≤61" }, "edge": { "version_added": "14" @@ -1743,7 +1743,7 @@ "__compat": { "support": { "chrome": { - "version_added": true + "version_added": "≤61" }, "edge": { "version_added": "14" @@ -1766,7 +1766,7 @@ "__compat": { "support": { "chrome": { - "version_added": true + "version_added": "≤61" }, "edge": { "version_added": "14" @@ -1789,7 +1789,7 @@ "__compat": { "support": { "chrome": { - "version_added": true + "version_added": "≤61" }, "edge": { "version_added": "14" @@ -1812,7 +1812,7 @@ "__compat": { "support": { "chrome": { - "version_added": true + "version_added": "≤61" }, "edge": { "version_added": "14" @@ -1835,7 +1835,7 @@ "__compat": { "support": { "chrome": { - "version_added": true + "version_added": "≤61" }, "edge": { "version_added": "14" @@ -1879,7 +1879,7 @@ "__compat": { "support": { "chrome": { - "version_added": true + "version_added": "≤61" }, "edge": { "version_added": "14" @@ -1902,7 +1902,7 @@ "__compat": { "support": { "chrome": { - "version_added": true + "version_added": "≤61" }, "edge": { "version_added": "14" @@ -1972,7 +1972,7 @@ "mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/webRequest/onBeforeRedirect", "support": { "chrome": { - "version_added": true + "version_added": "≤61" }, "edge": { "version_added": "14" @@ -2038,7 +2038,7 @@ "__compat": { "support": { "chrome": { - "version_added": true + "version_added": "≤61" }, "edge": { "version_added": "14" @@ -2063,7 +2063,7 @@ "__compat": { "support": { "chrome": { - "version_added": true + "version_added": "≤61" }, "edge": { "version_added": "14" @@ -2109,7 +2109,7 @@ "__compat": { "support": { "chrome": { - "version_added": true + "version_added": "≤61" }, "edge": { "version_added": "14" @@ -2134,7 +2134,7 @@ "__compat": { "support": { "chrome": { - "version_added": true + "version_added": "≤61" }, "edge": { "version_added": "14" @@ -2178,7 +2178,7 @@ "__compat": { "support": { "chrome": { - "version_added": true + "version_added": "≤61" }, "edge": { "version_added": "14" @@ -2222,7 +2222,7 @@ "__compat": { "support": { "chrome": { - "version_added": true + "version_added": "≤61" }, "edge": { "version_added": "14" @@ -2247,7 +2247,7 @@ "__compat": { "support": { "chrome": { - "version_added": true + "version_added": "≤61" }, "edge": { "version_added": "14" @@ -2272,7 +2272,7 @@ "__compat": { "support": { "chrome": { - "version_added": true + "version_added": "≤61" }, "edge": { "version_added": "14" @@ -2297,7 +2297,7 @@ "__compat": { "support": { "chrome": { - "version_added": true + "version_added": "≤61" }, "edge": { "version_added": "14" @@ -2322,7 +2322,7 @@ "__compat": { "support": { "chrome": { - "version_added": true + "version_added": "≤61" }, "edge": { "version_added": "14" @@ -2347,7 +2347,7 @@ "__compat": { "support": { "chrome": { - "version_added": true + "version_added": "≤61" }, "edge": { "version_added": "14" @@ -2393,7 +2393,7 @@ "__compat": { "support": { "chrome": { - "version_added": true + "version_added": "≤61" }, "edge": { "version_added": "14" @@ -2418,7 +2418,7 @@ "__compat": { "support": { "chrome": { - "version_added": true + "version_added": "≤61" }, "edge": { "version_added": "14" @@ -2443,7 +2443,7 @@ "__compat": { "support": { "chrome": { - "version_added": true + "version_added": "≤61" }, "edge": { "version_added": "14" @@ -2492,7 +2492,7 @@ "mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/webRequest/onBeforeRequest", "support": { "chrome": { - "version_added": true, + "version_added": "≤61", "notes": "Asynchronous event listeners are not supported." }, "edge": { @@ -2581,7 +2581,7 @@ "__compat": { "support": { "chrome": { - "version_added": true + "version_added": "≤61" }, "edge": { "version_added": "14" @@ -2627,7 +2627,7 @@ "__compat": { "support": { "chrome": { - "version_added": true + "version_added": "≤61" }, "edge": { "version_added": "14" @@ -2671,7 +2671,7 @@ "__compat": { "support": { "chrome": { - "version_added": true + "version_added": "≤61" }, "edge": { "version_added": "14" @@ -2715,11 +2715,9 @@ "__compat": { "support": { "chrome": { - "version_added": true - }, - "edge": { - "version_added": "79" + "version_added": "≤61" }, + "edge": "mirror", "firefox": { "version_added": "53" }, @@ -2738,7 +2736,7 @@ "__compat": { "support": { "chrome": { - "version_added": true + "version_added": "≤61" }, "edge": { "version_added": "14" @@ -2763,7 +2761,7 @@ "__compat": { "support": { "chrome": { - "version_added": true + "version_added": "≤61" }, "edge": { "version_added": "14" @@ -2809,7 +2807,7 @@ "__compat": { "support": { "chrome": { - "version_added": true + "version_added": "≤61" }, "edge": { "version_added": "14" @@ -2834,7 +2832,7 @@ "__compat": { "support": { "chrome": { - "version_added": true + "version_added": "≤61" }, "edge": { "version_added": "14" @@ -2859,7 +2857,7 @@ "__compat": { "support": { "chrome": { - "version_added": true + "version_added": "≤61" }, "edge": { "version_added": "14" @@ -2908,7 +2906,7 @@ "mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/webRequest/onBeforeSendHeaders", "support": { "chrome": { - "version_added": true, + "version_added": "≤61", "notes": "Asynchronous event listeners are not supported." }, "edge": { @@ -2997,7 +2995,7 @@ "__compat": { "support": { "chrome": { - "version_added": true + "version_added": "≤61" }, "edge": { "version_added": "14" @@ -3043,7 +3041,7 @@ "__compat": { "support": { "chrome": { - "version_added": true + "version_added": "≤61" }, "edge": { "version_added": "14" @@ -3087,7 +3085,7 @@ "__compat": { "support": { "chrome": { - "version_added": true + "version_added": "≤61" }, "edge": { "version_added": "14" @@ -3131,7 +3129,7 @@ "__compat": { "support": { "chrome": { - "version_added": true + "version_added": "≤61" }, "edge": { "version_added": "14" @@ -3154,7 +3152,7 @@ "__compat": { "support": { "chrome": { - "version_added": true + "version_added": "≤61" }, "edge": { "version_added": "14" @@ -3179,7 +3177,7 @@ "__compat": { "support": { "chrome": { - "version_added": true + "version_added": "≤61" }, "edge": { "version_added": "14" @@ -3225,7 +3223,7 @@ "__compat": { "support": { "chrome": { - "version_added": true + "version_added": "≤61" }, "edge": { "version_added": "14" @@ -3250,7 +3248,7 @@ "__compat": { "support": { "chrome": { - "version_added": true + "version_added": "≤61" }, "edge": { "version_added": "14" @@ -3275,7 +3273,7 @@ "__compat": { "support": { "chrome": { - "version_added": true + "version_added": "≤61" }, "edge": { "version_added": "14" @@ -3324,7 +3322,7 @@ "mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/webRequest/onCompleted", "support": { "chrome": { - "version_added": true + "version_added": "≤61" }, "edge": { "version_added": "14" @@ -3390,7 +3388,7 @@ "__compat": { "support": { "chrome": { - "version_added": true + "version_added": "≤61" }, "edge": { "version_added": "14" @@ -3415,7 +3413,7 @@ "__compat": { "support": { "chrome": { - "version_added": true + "version_added": "≤61" }, "edge": { "version_added": "14" @@ -3461,7 +3459,7 @@ "__compat": { "support": { "chrome": { - "version_added": true + "version_added": "≤61" }, "edge": { "version_added": "14" @@ -3486,7 +3484,7 @@ "__compat": { "support": { "chrome": { - "version_added": true + "version_added": "≤61" }, "edge": { "version_added": "14" @@ -3530,7 +3528,7 @@ "__compat": { "support": { "chrome": { - "version_added": true + "version_added": "≤61" }, "edge": { "version_added": "14" @@ -3574,7 +3572,7 @@ "__compat": { "support": { "chrome": { - "version_added": true + "version_added": "≤61" }, "edge": { "version_added": "14" @@ -3599,7 +3597,7 @@ "__compat": { "support": { "chrome": { - "version_added": true + "version_added": "≤61" }, "edge": { "version_added": "14" @@ -3624,7 +3622,7 @@ "__compat": { "support": { "chrome": { - "version_added": true + "version_added": "≤61" }, "edge": { "version_added": "14" @@ -3649,7 +3647,7 @@ "__compat": { "support": { "chrome": { - "version_added": true + "version_added": "≤61" }, "edge": { "version_added": "14" @@ -3674,7 +3672,7 @@ "__compat": { "support": { "chrome": { - "version_added": true + "version_added": "≤61" }, "edge": { "version_added": "14" @@ -3720,7 +3718,7 @@ "__compat": { "support": { "chrome": { - "version_added": true + "version_added": "≤61" }, "edge": { "version_added": "14" @@ -3745,7 +3743,7 @@ "__compat": { "support": { "chrome": { - "version_added": true + "version_added": "≤61" }, "edge": { "version_added": "14" @@ -3770,7 +3768,7 @@ "__compat": { "support": { "chrome": { - "version_added": true + "version_added": "≤61" }, "edge": { "version_added": "14" @@ -3819,7 +3817,7 @@ "mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/webRequest/onErrorOccurred", "support": { "chrome": { - "version_added": true + "version_added": "≤61" }, "edge": { "version_added": "14" @@ -3885,7 +3883,7 @@ "__compat": { "support": { "chrome": { - "version_added": true + "version_added": "≤61" }, "edge": { "version_added": "14" @@ -3910,7 +3908,7 @@ "__compat": { "support": { "chrome": { - "version_added": true + "version_added": "≤61" }, "edge": { "version_added": "14" @@ -3935,7 +3933,7 @@ "__compat": { "support": { "chrome": { - "version_added": true + "version_added": "≤61" }, "edge": { "version_added": "14" @@ -3981,7 +3979,7 @@ "__compat": { "support": { "chrome": { - "version_added": true + "version_added": "≤61" }, "edge": { "version_added": "14" @@ -4006,7 +4004,7 @@ "__compat": { "support": { "chrome": { - "version_added": true + "version_added": "≤61" }, "edge": { "version_added": "14" @@ -4050,7 +4048,7 @@ "__compat": { "support": { "chrome": { - "version_added": true + "version_added": "≤61" }, "edge": { "version_added": "14" @@ -4094,7 +4092,7 @@ "__compat": { "support": { "chrome": { - "version_added": true + "version_added": "≤61" }, "edge": { "version_added": "14" @@ -4119,7 +4117,7 @@ "__compat": { "support": { "chrome": { - "version_added": true + "version_added": "≤61" }, "edge": { "version_added": "14" @@ -4165,7 +4163,7 @@ "__compat": { "support": { "chrome": { - "version_added": true + "version_added": "≤61" }, "edge": { "version_added": "14" @@ -4190,7 +4188,7 @@ "__compat": { "support": { "chrome": { - "version_added": true + "version_added": "≤61" }, "edge": { "version_added": "14" @@ -4215,7 +4213,7 @@ "__compat": { "support": { "chrome": { - "version_added": true + "version_added": "≤61" }, "edge": { "version_added": "14" @@ -4264,7 +4262,7 @@ "mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/webRequest/onHeadersReceived", "support": { "chrome": { - "version_added": true, + "version_added": "≤61", "notes": "Asynchronous event listeners are not supported." }, "edge": { @@ -4361,7 +4359,7 @@ "__compat": { "support": { "chrome": { - "version_added": true + "version_added": "≤61" }, "edge": { "version_added": "14" @@ -4449,7 +4447,7 @@ "__compat": { "support": { "chrome": { - "version_added": true + "version_added": "≤61" }, "edge": { "version_added": "14" @@ -4493,7 +4491,7 @@ "__compat": { "support": { "chrome": { - "version_added": true + "version_added": "≤61" }, "edge": { "version_added": "14" @@ -4537,7 +4535,7 @@ "__compat": { "support": { "chrome": { - "version_added": true + "version_added": "≤61" }, "edge": { "version_added": "14" @@ -4562,7 +4560,7 @@ "__compat": { "support": { "chrome": { - "version_added": true + "version_added": "≤61" }, "edge": { "version_added": "14" @@ -4587,7 +4585,7 @@ "__compat": { "support": { "chrome": { - "version_added": true + "version_added": "≤61" }, "edge": { "version_added": "14" @@ -4612,7 +4610,7 @@ "__compat": { "support": { "chrome": { - "version_added": true + "version_added": "≤61" }, "edge": { "version_added": "14" @@ -4637,7 +4635,7 @@ "__compat": { "support": { "chrome": { - "version_added": true + "version_added": "≤61" }, "edge": { "version_added": "14" @@ -4683,7 +4681,7 @@ "__compat": { "support": { "chrome": { - "version_added": true + "version_added": "≤61" }, "edge": { "version_added": "14" @@ -4708,7 +4706,7 @@ "__compat": { "support": { "chrome": { - "version_added": true + "version_added": "≤61" }, "edge": { "version_added": "14" @@ -4733,7 +4731,7 @@ "__compat": { "support": { "chrome": { - "version_added": true + "version_added": "≤61" }, "edge": { "version_added": "14" @@ -4782,7 +4780,7 @@ "mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/webRequest/onResponseStarted", "support": { "chrome": { - "version_added": true + "version_added": "≤61" }, "edge": { "version_added": "14" @@ -4848,7 +4846,7 @@ "__compat": { "support": { "chrome": { - "version_added": true + "version_added": "≤61" }, "edge": { "version_added": "14" @@ -4873,7 +4871,7 @@ "__compat": { "support": { "chrome": { - "version_added": true + "version_added": "≤61" }, "edge": { "version_added": "14" @@ -4919,7 +4917,7 @@ "__compat": { "support": { "chrome": { - "version_added": true + "version_added": "≤61" }, "edge": { "version_added": "14" @@ -4942,7 +4940,7 @@ "__compat": { "support": { "chrome": { - "version_added": true + "version_added": "≤61" }, "edge": { "version_added": "14" @@ -4986,7 +4984,7 @@ "__compat": { "support": { "chrome": { - "version_added": true + "version_added": "≤61" }, "edge": { "version_added": "14" @@ -5030,7 +5028,7 @@ "__compat": { "support": { "chrome": { - "version_added": true + "version_added": "≤61" }, "edge": { "version_added": "14" @@ -5055,7 +5053,7 @@ "__compat": { "support": { "chrome": { - "version_added": true + "version_added": "≤61" }, "edge": { "version_added": "14" @@ -5080,7 +5078,7 @@ "__compat": { "support": { "chrome": { - "version_added": true + "version_added": "≤61" }, "edge": { "version_added": "14" @@ -5105,7 +5103,7 @@ "__compat": { "support": { "chrome": { - "version_added": true + "version_added": "≤61" }, "edge": { "version_added": "14" @@ -5130,7 +5128,7 @@ "__compat": { "support": { "chrome": { - "version_added": true + "version_added": "≤61" }, "edge": { "version_added": "14" @@ -5176,7 +5174,7 @@ "__compat": { "support": { "chrome": { - "version_added": true + "version_added": "≤61" }, "edge": { "version_added": "14" @@ -5201,7 +5199,7 @@ "__compat": { "support": { "chrome": { - "version_added": true + "version_added": "≤61" }, "edge": { "version_added": "14" @@ -5224,7 +5222,7 @@ "__compat": { "support": { "chrome": { - "version_added": true + "version_added": "≤61" }, "edge": { "version_added": "14" @@ -5273,7 +5271,7 @@ "mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/webRequest/onSendHeaders", "support": { "chrome": { - "version_added": true + "version_added": "≤61" }, "edge": { "version_added": "14" @@ -5339,7 +5337,7 @@ "__compat": { "support": { "chrome": { - "version_added": true + "version_added": "≤61" }, "edge": { "version_added": "14" @@ -5385,7 +5383,7 @@ "__compat": { "support": { "chrome": { - "version_added": true + "version_added": "≤61" }, "edge": { "version_added": "14" @@ -5429,7 +5427,7 @@ "__compat": { "support": { "chrome": { - "version_added": true + "version_added": "≤61" }, "edge": { "version_added": "14" @@ -5473,7 +5471,7 @@ "__compat": { "support": { "chrome": { - "version_added": true + "version_added": "≤61" }, "edge": { "version_added": "14" @@ -5498,7 +5496,7 @@ "__compat": { "support": { "chrome": { - "version_added": true + "version_added": "≤61" }, "edge": { "version_added": "14" @@ -5523,7 +5521,7 @@ "__compat": { "support": { "chrome": { - "version_added": true + "version_added": "≤61" }, "edge": { "version_added": "14" @@ -5569,7 +5567,7 @@ "__compat": { "support": { "chrome": { - "version_added": true + "version_added": "≤61" }, "edge": { "version_added": "14" @@ -5594,7 +5592,7 @@ "__compat": { "support": { "chrome": { - "version_added": true + "version_added": "≤61" }, "edge": { "version_added": "14" @@ -5619,7 +5617,7 @@ "__compat": { "support": { "chrome": { - "version_added": true + "version_added": "≤61" }, "edge": { "version_added": "14"