Skip to content

Commit 1a21d59

Browse files
author
reffy-bot
committed
Update of ED report from new reffy run
Using reffy commit 17.2.10.
1 parent b9e3fbc commit 1a21d59

File tree

10 files changed

+281
-143
lines changed

10 files changed

+281
-143
lines changed

ed/algorithms/streams.json

Lines changed: 22 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5918,7 +5918,19 @@
59185918
"rationale": ".algorithm",
59195919
"steps": [
59205920
{
5921-
"html": "<p>Let <var>returnValue</var> be the result of performing <var>controller</var>.<a data-link-type=\"dfn\" href=\"https://streams.spec.whatwg.org/#writablestreamdefaultcontroller-strategysizealgorithm\" id=\"ref-for-writablestreamdefaultcontroller-strategysizealgorithm②\">[[strategySizeAlgorithm]]</a>, passing in <var>chunk</var>,\n and interpreting the result as a <a data-link-type=\"dfn\" href=\"https://tc39.es/ecma262/multipage/ecmascript-data-types-and-values.html#sec-completion-record-specification-type\" id=\"ref-for-sec-completion-record-specification-type②\">completion record</a>.</p>"
5921+
"html": "If <var>controller</var>.<a data-link-type=\"dfn\" href=\"https://streams.spec.whatwg.org/#writablestreamdefaultcontroller-strategysizealgorithm\" id=\"ref-for-writablestreamdefaultcontroller-strategysizealgorithm②\">[[strategySizeAlgorithm]]</a> is undefined, then:",
5922+
"rationale": "assert",
5923+
"steps": [
5924+
{
5925+
"html": "<p class=\"assertion\">Assert: <var>controller</var>.<a data-link-type=\"dfn\" href=\"https://streams.spec.whatwg.org/#writablestreamdefaultcontroller-stream\" id=\"ref-for-writablestreamdefaultcontroller-stream⑤\">[[stream]]</a>.<a data-link-type=\"dfn\" href=\"https://streams.spec.whatwg.org/#writablestream-state\" id=\"ref-for-writablestream-state③②\">[[state]]</a> is \"<code>erroring</code>\" or\n \"<code>errored</code>\".</p>"
5926+
},
5927+
{
5928+
"html": "<p>Return 1.</p>"
5929+
}
5930+
]
5931+
},
5932+
{
5933+
"html": "<p>Let <var>returnValue</var> be the result of performing <var>controller</var>.<a data-link-type=\"dfn\" href=\"https://streams.spec.whatwg.org/#writablestreamdefaultcontroller-strategysizealgorithm\" id=\"ref-for-writablestreamdefaultcontroller-strategysizealgorithm③\">[[strategySizeAlgorithm]]</a>, passing in <var>chunk</var>,\n and interpreting the result as a <a data-link-type=\"dfn\" href=\"https://tc39.es/ecma262/multipage/ecmascript-data-types-and-values.html#sec-completion-record-specification-type\" id=\"ref-for-sec-completion-record-specification-type②\">completion record</a>.</p>"
59225934
},
59235935
{
59245936
"html": "If <var>returnValue</var> is an abrupt completion,",
@@ -5955,7 +5967,7 @@
59555967
"rationale": ".algorithm",
59565968
"steps": [
59575969
{
5958-
"html": "<p>Let <var>stream</var> be <var>controller</var>.<a data-link-type=\"dfn\" href=\"https://streams.spec.whatwg.org/#writablestreamdefaultcontroller-stream\" id=\"ref-for-writablestreamdefaultcontroller-stream\">[[stream]]</a>.</p>"
5970+
"html": "<p>Let <var>stream</var> be <var>controller</var>.<a data-link-type=\"dfn\" href=\"https://streams.spec.whatwg.org/#writablestreamdefaultcontroller-stream\" id=\"ref-for-writablestreamdefaultcontroller-stream\">[[stream]]</a>.</p>"
59595971
},
59605972
{
59615973
"html": "<p>Perform ! <a data-link-type=\"abstract-op\" href=\"https://streams.spec.whatwg.org/#writable-stream-mark-close-request-in-flight\" id=\"ref-for-writable-stream-mark-close-request-in-flight\">WritableStreamMarkCloseRequestInFlight</a>(<var>stream</var>).</p>"
@@ -5999,7 +6011,7 @@
59996011
"rationale": ".algorithm",
60006012
"steps": [
60016013
{
6002-
"html": "<p>Let <var>stream</var> be <var>controller</var>.<a data-link-type=\"dfn\" href=\"https://streams.spec.whatwg.org/#writablestreamdefaultcontroller-stream\" id=\"ref-for-writablestreamdefaultcontroller-stream\">[[stream]]</a>.</p>"
6014+
"html": "<p>Let <var>stream</var> be <var>controller</var>.<a data-link-type=\"dfn\" href=\"https://streams.spec.whatwg.org/#writablestreamdefaultcontroller-stream\" id=\"ref-for-writablestreamdefaultcontroller-stream\">[[stream]]</a>.</p>"
60036015
},
60046016
{
60056017
"html": "<p>Perform ! <a data-link-type=\"abstract-op\" href=\"https://streams.spec.whatwg.org/#writable-stream-mark-first-write-request-in-flight\" id=\"ref-for-writable-stream-mark-first-write-request-in-flight\">WritableStreamMarkFirstWriteRequestInFlight</a>(<var>stream</var>).</p>"
@@ -6015,7 +6027,7 @@
60156027
"html": "<p>Perform ! <a data-link-type=\"abstract-op\" href=\"https://streams.spec.whatwg.org/#writable-stream-finish-in-flight-write\" id=\"ref-for-writable-stream-finish-in-flight-write\">WritableStreamFinishInFlightWrite</a>(<var>stream</var>).</p>"
60166028
},
60176029
{
6018-
"html": "<p>Let <var>state</var> be <var>stream</var>.<a data-link-type=\"dfn\" href=\"https://streams.spec.whatwg.org/#writablestream-state\" id=\"ref-for-writablestream-state③\">[[state]]</a>.</p>"
6030+
"html": "<p>Let <var>state</var> be <var>stream</var>.<a data-link-type=\"dfn\" href=\"https://streams.spec.whatwg.org/#writablestream-state\" id=\"ref-for-writablestream-state③\">[[state]]</a>.</p>"
60196031
},
60206032
{
60216033
"html": "<p class=\"assertion\">Assert: <var>state</var> is \"<code>writable</code>\" or \"<code>erroring</code>\".</p>"
@@ -6045,7 +6057,7 @@
60456057
"rationale": "if",
60466058
"steps": [
60476059
{
6048-
"html": "<p>If <var>stream</var>.<a data-link-type=\"dfn\" href=\"https://streams.spec.whatwg.org/#writablestream-state\" id=\"ref-for-writablestream-state③\">[[state]]</a> is \"<code>writable</code>\", perform ! <a data-link-type=\"abstract-op\" href=\"https://streams.spec.whatwg.org/#writable-stream-default-controller-clear-algorithms\" id=\"ref-for-writable-stream-default-controller-clear-algorithms③\">WritableStreamDefaultControllerClearAlgorithms</a>(<var>controller</var>).</p>"
6060+
"html": "<p>If <var>stream</var>.<a data-link-type=\"dfn\" href=\"https://streams.spec.whatwg.org/#writablestream-state\" id=\"ref-for-writablestream-state③\">[[state]]</a> is \"<code>writable</code>\", perform ! <a data-link-type=\"abstract-op\" href=\"https://streams.spec.whatwg.org/#writable-stream-default-controller-clear-algorithms\" id=\"ref-for-writable-stream-default-controller-clear-algorithms③\">WritableStreamDefaultControllerClearAlgorithms</a>(<var>controller</var>).</p>"
60496061
},
60506062
{
60516063
"html": "<p>Perform ! <a data-link-type=\"abstract-op\" href=\"https://streams.spec.whatwg.org/#writable-stream-finish-in-flight-write-with-error\" id=\"ref-for-writable-stream-finish-in-flight-write-with-error\">WritableStreamFinishInFlightWriteWithError</a>(<var>stream</var>, <var>reason</var>).</p>"
@@ -6076,10 +6088,10 @@
60766088
]
60776089
},
60786090
{
6079-
"html": "<p>Let <var>stream</var> be <var>controller</var>.<a data-link-type=\"dfn\" href=\"https://streams.spec.whatwg.org/#writablestreamdefaultcontroller-stream\" id=\"ref-for-writablestreamdefaultcontroller-stream\">[[stream]]</a>.</p>"
6091+
"html": "<p>Let <var>stream</var> be <var>controller</var>.<a data-link-type=\"dfn\" href=\"https://streams.spec.whatwg.org/#writablestreamdefaultcontroller-stream\" id=\"ref-for-writablestreamdefaultcontroller-stream\">[[stream]]</a>.</p>"
60806092
},
60816093
{
6082-
"html": "If ! <a data-link-type=\"abstract-op\" href=\"https://streams.spec.whatwg.org/#writable-stream-close-queued-or-in-flight\" id=\"ref-for-writable-stream-close-queued-or-in-flight①①\">WritableStreamCloseQueuedOrInFlight</a>(<var>stream</var>) is false and <var>stream</var>.<a data-link-type=\"dfn\" href=\"https://streams.spec.whatwg.org/#writablestream-state\" id=\"ref-for-writablestream-state③\">[[state]]</a> is \"<code>writable</code>\",",
6094+
"html": "If ! <a data-link-type=\"abstract-op\" href=\"https://streams.spec.whatwg.org/#writable-stream-close-queued-or-in-flight\" id=\"ref-for-writable-stream-close-queued-or-in-flight①①\">WritableStreamCloseQueuedOrInFlight</a>(<var>stream</var>) is false and <var>stream</var>.<a data-link-type=\"dfn\" href=\"https://streams.spec.whatwg.org/#writablestream-state\" id=\"ref-for-writablestream-state③\">[[state]]</a> is \"<code>writable</code>\",",
60836095
"rationale": "let",
60846096
"steps": [
60856097
{
@@ -6592,7 +6604,7 @@
65926604
"rationale": ".algorithm",
65936605
"steps": [
65946606
{
6595-
"html": "<p class=\"assertion\">Assert: <var>stream</var>.<a data-link-type=\"dfn\" href=\"https://streams.spec.whatwg.org/#transformstream-writable\" id=\"ref-for-transformstream-writable⑥\">[[writable]]</a>.<a data-link-type=\"dfn\" href=\"https://streams.spec.whatwg.org/#writablestream-state\" id=\"ref-for-writablestream-state③\">[[state]]</a> is \"<code>writable</code>\".</p>"
6607+
"html": "<p class=\"assertion\">Assert: <var>stream</var>.<a data-link-type=\"dfn\" href=\"https://streams.spec.whatwg.org/#transformstream-writable\" id=\"ref-for-transformstream-writable⑥\">[[writable]]</a>.<a data-link-type=\"dfn\" href=\"https://streams.spec.whatwg.org/#writablestream-state\" id=\"ref-for-writablestream-state③\">[[state]]</a> is \"<code>writable</code>\".</p>"
65966608
},
65976609
{
65986610
"html": "<p>Let <var>controller</var> be <var>stream</var>.<a data-link-type=\"dfn\" href=\"https://streams.spec.whatwg.org/#transformstream-controller\" id=\"ref-for-transformstream-controller⑦\">[[controller]]</a>.</p>"
@@ -6615,7 +6627,7 @@
66156627
"html": "<p>Let <var>writable</var> be <var>stream</var>.<a data-link-type=\"dfn\" href=\"https://streams.spec.whatwg.org/#transformstream-writable\" id=\"ref-for-transformstream-writable⑦\">[[writable]]</a>.</p>"
66166628
},
66176629
{
6618-
"html": "<p>Let <var>state</var> be <var>writable</var>.<a data-link-type=\"dfn\" href=\"https://streams.spec.whatwg.org/#writablestream-state\" id=\"ref-for-writablestream-state③\">[[state]]</a>.</p>"
6630+
"html": "<p>Let <var>state</var> be <var>writable</var>.<a data-link-type=\"dfn\" href=\"https://streams.spec.whatwg.org/#writablestream-state\" id=\"ref-for-writablestream-state③\">[[state]]</a>.</p>"
66196631
},
66206632
{
66216633
"html": "<p>If <var>state</var> is \"<code>erroring</code>\", throw <var>writable</var>.<a data-link-type=\"dfn\" href=\"https://streams.spec.whatwg.org/#writablestream-storederror\" id=\"ref-for-writablestream-storederror①⑥\">[[storedError]]</a>.</p>"
@@ -6804,7 +6816,7 @@
68046816
"rationale": "if",
68056817
"steps": [
68066818
{
6807-
"html": "<p>If <var>writable</var>.<a data-link-type=\"dfn\" href=\"https://streams.spec.whatwg.org/#writablestream-state\" id=\"ref-for-writablestream-state③\">[[state]]</a> is \"<code>errored</code>\", <a data-link-type=\"dfn\" href=\"https://webidl.spec.whatwg.org/#reject\" id=\"ref-for-reject②⓪\">reject</a> <var>controller</var>.<a data-link-type=\"dfn\" href=\"https://streams.spec.whatwg.org/#transformstreamdefaultcontroller-finishpromise\" id=\"ref-for-transformstreamdefaultcontroller-finishpromise①⑦\">[[finishPromise]]</a> with <var>writable</var>.<a data-link-type=\"dfn\" href=\"https://streams.spec.whatwg.org/#writablestream-storederror\" id=\"ref-for-writablestream-storederror①⑦\">[[storedError]]</a>.</p>"
6819+
"html": "<p>If <var>writable</var>.<a data-link-type=\"dfn\" href=\"https://streams.spec.whatwg.org/#writablestream-state\" id=\"ref-for-writablestream-state③\">[[state]]</a> is \"<code>errored</code>\", <a data-link-type=\"dfn\" href=\"https://webidl.spec.whatwg.org/#reject\" id=\"ref-for-reject②⓪\">reject</a> <var>controller</var>.<a data-link-type=\"dfn\" href=\"https://streams.spec.whatwg.org/#transformstreamdefaultcontroller-finishpromise\" id=\"ref-for-transformstreamdefaultcontroller-finishpromise①⑦\">[[finishPromise]]</a> with <var>writable</var>.<a data-link-type=\"dfn\" href=\"https://streams.spec.whatwg.org/#writablestream-storederror\" id=\"ref-for-writablestream-storederror①⑦\">[[storedError]]</a>.</p>"
68086820
},
68096821
{
68106822
"html": "Otherwise:",

0 commit comments

Comments
 (0)