From 050a8aa8ac652e7c8b4ebf7722502c32f10c8c72 Mon Sep 17 00:00:00 2001 From: Domenic Denicola Date: Mon, 27 Jul 2020 18:41:28 -0400 Subject: [PATCH] Editorial: tweak constructor/getter step introductions Aligns with https://github.com/heycam/webidl/pull/882. --- index.bs | 68 ++++++++++++++++++++++++++++---------------------------- 1 file changed, 34 insertions(+), 34 deletions(-) diff --git a/index.bs b/index.bs index 5abdd3535..38c2bdb3f 100644 --- a/index.bs +++ b/index.bs @@ -746,8 +746,8 @@ option. If {{UnderlyingSource/type}} is set to undefined (including via omission
- The ReadableStream(|underlyingSource|, - |strategy|) constructor steps are: + The new ReadableStream(|underlyingSource|, |strategy|) constructor steps are: 1. If |underlyingSource| is missing, set it to null. 1. Let |underlyingSourceDict| be |underlyingSource|, [=converted to an IDL value=] of type @@ -770,7 +770,7 @@ option. If {{UnderlyingSource/type}} is set to undefined (including via omission
- The locked attribute's getter steps are: + The locked getter steps are: 1. Return ! [$IsReadableStreamLocked$]([=this=]).
@@ -1121,9 +1121,9 @@ to filling the [=readable stream=]'s [=internal queue=] or changing its state. I
- The ReadableStreamDefaultReader(|stream|) constructor steps - are: + The new ReadableStreamDefaultReader(|stream|) + constructor steps are: 1. Perform ? [$SetUpReadableStreamDefaultReader$]([=this=], |stream|).
@@ -1300,9 +1300,9 @@ value: newViewOnSameMemory, done: true } for closed streams, instead of t
- The ReadableStreamBYOBReader(|stream|) constructor steps - are: + The new ReadableStreamBYOBReader(|stream|) constructor + steps are: 1. Perform ? [$SetUpReadableStreamBYOBReader$]([=this=], |stream|).
@@ -1468,7 +1468,7 @@ the following table:
The desiredSize attribute's getter steps are: + for="ReadableStreamDefaultController">desiredSize getter steps are: 1. Return ! [$ReadableStreamDefaultControllerGetDesiredSize$]([=this=]).
@@ -1705,7 +1705,7 @@ has the following [=struct/items=]:
The byobRequest attribute's getter steps are: + for="ReadableByteStreamController">byobRequest getter steps are: 1. If [=this=].\[[byobRequest]] is null and [=this=].\[[pendingPullIntos]] is not [=list/is empty|empty=], @@ -1723,7 +1723,7 @@ has the following [=struct/items=]:
The desiredSize attribute's getter steps are: + for="ReadableByteStreamController">desiredSize getter steps are: 1. Return ! [$ReadableByteStreamControllerGetDesiredSize$]([=this=]).
@@ -1880,7 +1880,7 @@ following table:
The view - attribute's getter steps are: + getter steps are: 1. Return [=this=].\[[view]].
@@ -3618,8 +3618,8 @@ as seen for example in [[#example-ws-no-backpressure]].
- The WritableStream(|underlyingSink|, - |strategy|) constructor steps are: + The new WritableStream(|underlyingSink|, |strategy|) constructor steps are: 1. If |underlyingSink| is missing, set it to null. 1. Let |underlyingSinkDict| be |underlyingSink|, [=converted to an IDL value=] of type @@ -3639,7 +3639,7 @@ as seen for example in [[#example-ws-no-backpressure]].
- The locked attribute's getter steps are: + The locked getter steps are: 1. Return ! [$IsWritableStreamLocked$]([=this=]).
@@ -3788,9 +3788,9 @@ following table:
- The WritableStreamDefaultWriter(|stream|) constructor steps - are: + The new WritableStreamDefaultWriter(|stream|) + constructor steps are: 1. Perform ? [$SetUpWritableStreamDefaultWriter$]([=this=], |stream|).
@@ -4938,8 +4938,9 @@ side=], or to terminate or error the stream.
- The TransformStream(|transformer|, - |writableStrategy|, |readableStrategy|) constructor steps are: + The new TransformStream(|transformer|, |writableStrategy|, + |readableStrategy|) constructor steps are: 1. If |transformer| is missing, set it to null. 1. Let |transformerDict| be |transformer|, [=converted to an IDL value=] of type {{Transformer}}. @@ -4967,14 +4968,14 @@ side=], or to terminate or error the stream.
- The readable attribute's getter steps + The readable getter steps are: 1. Return [=this=].\[[readable]].
- The writable attribute's getter steps + The writable getter steps are: 1. Return [=this=].\[[writable]]. @@ -5054,7 +5055,7 @@ the following table:
The desiredSize attribute's getter steps are: + for="TransformStreamDefaultController">desiredSize getter steps are: 1. Let |readableController| be [=this=].\[[controlledTransformStream]].\[[readable]].\[[readableStreamController]]. @@ -5546,22 +5547,22 @@ value given in the constructor.
- The ByteLengthQueuingStrategy(|init|) constructor steps are: + The new ByteLengthQueuingStrategy(|init|) constructor steps + are: 1. Set [=this=].\[[highWaterMark]] to |init|["{{QueuingStrategyInit/highWaterMark}}"].
The highWaterMark - attribute's getter steps are: + getter steps are: 1. Return [=this=].\[[highWaterMark]].
- The size attribute's getter - steps are: + The size getter steps are: 1. Return [=this=]'s [=relevant global object=]'s [=byte length queuing strategy size function=].
@@ -5660,22 +5661,21 @@ value given in the constructor.
- The CountQueuingStrategy(|init|) constructor steps are: + The new CountQueuingStrategy(|init|) constructor steps are: 1. Set [=this=].\[[highWaterMark]] to |init|["{{QueuingStrategyInit/highWaterMark}}"].
The highWaterMark - attribute's getter steps are: + getter steps are: 1. Return [=this=].\[[highWaterMark]].
- The size attribute's getter - steps are: + The size getter steps are: 1. Return [=this=]'s [=relevant global object=]'s [=count queuing strategy size function=].