Skip to content

Commit

Permalink
Revert "Merge reject_pending_read_request into releaseLock"
Browse files Browse the repository at this point in the history
This reverts commit 8ea9b2d.
  • Loading branch information
MattiasBuelens committed Jan 2, 2025
1 parent 7df65c9 commit 52cb87d
Show file tree
Hide file tree
Showing 2 changed files with 106 additions and 80 deletions.
80 changes: 50 additions & 30 deletions api/ReadableStreamBYOBReader.json
Original file line number Diff line number Diff line change
Expand Up @@ -266,27 +266,13 @@
"mdn_url": "https://developer.mozilla.org/docs/Web/API/ReadableStreamBYOBReader/releaseLock",
"spec_url": "https://streams.spec.whatwg.org/#ref-for-byob-reader-release-lock②",
"support": {
"chrome": [
{
"version_added": "105"
},
{
"version_added": "89",
"partial_implementation": true,
"notes": "Before version 105, `releaseLock()` would throw if there are pending read requests (rather than pending read requests being rejected)."
}
],
"chrome": {
"version_added": "89"
},
"chrome_android": "mirror",
"deno": [
{
"version_added": "1.18"
},
{
"version_added": "1.16",
"partial_implementation": true,
"notes": "Before version 1.18, `releaseLock()` would throw if there are pending read requests (rather than pending read requests being rejected)."
}
],
"deno": {
"version_added": "1.16"
},
"edge": "mirror",
"firefox": {
"version_added": "102"
Expand All @@ -295,16 +281,9 @@
"ie": {
"version_added": false
},
"nodejs": [
{
"version_added": "18.9.0"
},
{
"version_added": "16.5.0",
"partial_implementation": true,
"notes": "Before version 18.9.0, `releaseLock()` would throw if there are pending read requests (rather than pending read requests being rejected)."
}
],
"nodejs": {
"version_added": "16.5.0"
},
"oculus": "mirror",
"opera": "mirror",
"opera_android": "mirror",
Expand All @@ -321,6 +300,47 @@
"standard_track": true,
"deprecated": false
}
},
"reject_pending_read_request": {
"__compat": {
"description": "`releaseLock()` rejects pending read requests",
"support": {
"chrome": {
"version_added": "105",
"notes": "Before version 105, `releaseLock()` would throw if there are pending read requests (rather than pending read requests being rejected)."
},
"chrome_android": "mirror",
"deno": {
"version_added": "1.18"
},
"edge": "mirror",
"firefox": {
"version_added": "102"
},
"firefox_android": "mirror",
"ie": {
"version_added": false
},
"nodejs": {
"version_added": "18.9.0"
},
"oculus": "mirror",
"opera": "mirror",
"opera_android": "mirror",
"safari": {
"version_added": false
},
"safari_ios": "mirror",
"samsunginternet_android": "mirror",
"webview_android": "mirror",
"webview_ios": "mirror"
},
"status": {
"experimental": false,
"standard_track": true,
"deprecated": false
}
}
}
}
}
Expand Down
106 changes: 56 additions & 50 deletions api/ReadableStreamDefaultReader.json
Original file line number Diff line number Diff line change
Expand Up @@ -225,65 +225,30 @@
"mdn_url": "https://developer.mozilla.org/docs/Web/API/ReadableStreamDefaultReader/releaseLock",
"spec_url": "https://streams.spec.whatwg.org/#ref-for-default-reader-release-lock②",
"support": {
"chrome": [
{
"version_added": "105"
},
{
"version_added": "43",
"partial_implementation": true,
"notes": "Before version 105, `releaseLock()` would throw if there are pending read requests (rather than pending read requests being rejected)."
}
],
"chrome": {
"version_added": "43"
},
"chrome_android": "mirror",
"deno": [
{
"version_added": "1.18"
},
{
"version_added": "1.0",
"partial_implementation": true,
"notes": "Before version 1.18, `releaseLock()` would throw if there are pending read requests (rather than pending read requests being rejected)."
}
],
"deno": {
"version_added": "1.0"
},
"edge": "mirror",
"firefox": [
{
"version_added": "102"
},
{
"version_added": "65",
"partial_implementation": true,
"notes": "Before version 102, `releaseLock()` would throw if there are pending read requests (rather than pending read requests being rejected)."
}
],
"firefox": {
"version_added": "65"
},
"firefox_android": "mirror",
"ie": {
"version_added": false
},
"nodejs": [
{
"version_added": "18.9.0"
},
{
"version_added": "16.5.0",
"partial_implementation": true,
"notes": "Before version 18.9.0, `releaseLock()` would throw if there are pending read requests (rather than pending read requests being rejected)."
}
],
"nodejs": {
"version_added": "16.5.0"
},
"oculus": "mirror",
"opera": "mirror",
"opera_android": "mirror",
"safari": [
{
"version_added": "17"
},
{
"version_added": "10",
"partial_implementation": true,
"notes": "Before version 17, `releaseLock()` would throw if there are pending read requests (rather than pending read requests being rejected)."
}
],
"safari": {
"version_added": "10"
},
"safari_ios": "mirror",
"samsunginternet_android": "mirror",
"webview_android": "mirror",
Expand All @@ -294,6 +259,47 @@
"standard_track": true,
"deprecated": false
}
},
"reject_pending_read_request": {
"__compat": {
"description": "`releaseLock()` rejects pending read requests",
"support": {
"chrome": {
"version_added": "105",
"notes": "Before version 105, `releaseLock()` would throw if there are pending read requests (rather than pending read requests being rejected)."
},
"chrome_android": "mirror",
"deno": {
"version_added": "1.18"
},
"edge": "mirror",
"firefox": {
"version_added": "102"
},
"firefox_android": "mirror",
"ie": {
"version_added": false
},
"nodejs": {
"version_added": "18.9.0"
},
"oculus": "mirror",
"opera": "mirror",
"opera_android": "mirror",
"safari": {
"version_added": "17"
},
"safari_ios": "mirror",
"samsunginternet_android": "mirror",
"webview_android": "mirror",
"webview_ios": "mirror"
},
"status": {
"experimental": false,
"standard_track": true,
"deprecated": false
}
}
}
}
}
Expand Down

0 comments on commit 52cb87d

Please sign in to comment.