From baf0435a9b1610696f3554a46732ea185134fc5c Mon Sep 17 00:00:00 2001 From: skyclouds2001 <95597335+skyclouds2001@users.noreply.github.com> Date: Sun, 22 Dec 2024 19:46:55 +0800 Subject: [PATCH] Add `Request()` constructor `init.duplex` parameter --- api/Request.json | 52 +++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 51 insertions(+), 1 deletion(-) diff --git a/api/Request.json b/api/Request.json index 5abc6c313a4df4..5b60a869a8535d 100644 --- a/api/Request.json +++ b/api/Request.json @@ -219,10 +219,60 @@ } } }, + "init_duplex_parameter": { + "__compat": { + "description": "`init.duplex` parameter", + "spec_url": "https://fetch.spec.whatwg.org/#dom-requestinit-duplex", + "support": { + "chrome": { + "version_added": "131" + }, + "chrome_android": { + "version_added": false + }, + "deno": { + "version_added": false + }, + "edge": "mirror", + "firefox": { + "version_added": false, + "impl_url": "https://bugzil.la/1792434" + }, + "firefox_android": "mirror", + "ie": { + "version_added": false + }, + "nodejs": [ + { + "version_added": "19.3.0" + }, + { + "version_added": "18.13.0", + "version_removed": "19.0.0" + } + ], + "oculus": "mirror", + "opera": "mirror", + "opera_android": "mirror", + "safari": { + "version_added": false, + "impl_url": "https://webkit.org/b/245671" + }, + "safari_ios": "mirror", + "samsunginternet_android": "mirror", + "webview_android": "mirror", + "webview_ios": "mirror" + }, + "status": { + "experimental": true, + "standard_track": true, + "deprecated": false + } + } + }, "init_keepalive_parameter": { "__compat": { "description": "`init.keepalive` parameter", - "mdn_url": "https://developer.mozilla.org/docs/Web/API/Request/keepalive", "spec_url": "https://fetch.spec.whatwg.org/#dom-requestinit-keepalive", "tags": [ "web-features:fetch-keepalive"