198198●●options
199199
200200spec_title:WebTransport
201- spec_date:2024 - 10 - 08
202- trans_update:2024 - 10 - 11
201+ spec_date:2024 - 10 - 22
202+ trans_update:2024 - 10 - 23
203203source_checked:230718
204204 page_state_key:
205205original_url:https://w3c.github.io/webtransport/
@@ -3050,7 +3050,7 @@ <h3 title="Internal slots">5.1. 内部~slot</h3>
30503050< p >
30513051各 `WebTransport$I %~transport は、
30523052次に挙げる内部~slotを有する
3053- — 各項に与える記述は規範的ではない :
3053+ — 各項に与える【~data型~以外の】記述は規範的ではない :
30543054◎
30553055A WebTransport object has the following internal slots.
30563056◎
@@ -3082,27 +3082,23 @@ <h3 title="Internal slots">5.1. 内部~slot</h3>
30823082</ dd >
30833083
30843084 < dt > `IncomingBidirectionalStreams@sl</ dt >
3085+ < dt > `IncomingUnidirectionalStreams@sl</ dt >
30853086 < dd >
3086- ある `ReadableStream$I
3087+ いずれも, ある `ReadableStream$I
30873088◎
30883089A ReadableStream\
30893090</ dd >
30903091 < dd >
3091- ~serverから受信した `WebTransportBidirectionalStream$I たちからなる†
3092+ 順に,~serverから受信した[
3093+ 双方向~streamを表現する `WebTransportBidirectionalStream$I たち/
3094+ 一方向~streamを表現する `WebTransportReceiveStream$I たち
3095+ ]からなる†
30923096◎
30933097consisting of WebTransportBidirectionalStream objects.
3094- </ dd >
3095-
3096- < dt > `IncomingUnidirectionalStreams@sl</ dt >
3097- < dd >
3098- ある `ReadableStream$I
30993098◎
3100- A ReadableStream\
3101- </ dd >
3102- < dd >
3103- ~serverから受信した一方向~streamを表現する `WebTransportReceiveStream$I たちからなる†
3099+ IncomingUnidirectionalStreams
31043100◎
3105- consisting of WebTransportReceiveStreams.
3101+ A ReadableStream consisting of WebTransportReceiveStreams.
31063102</ dd >
31073103 < dd class ="trans-note "> 【†
31083104“からなる( `consisting of^en )”
@@ -3112,11 +3108,15 @@ <h3 title="Internal slots">5.1. 内部~slot</h3>
31123108`双方向~streamを~pullする$, `一方向~streamを~pullする$
31133109]を見よ。
31143110】</ dd >
3111+ < dd class ="note "> 注記:
3112+ 流入~stream上にすでに~dataがあるかどうかは、
3113+ ~serverの挙動に依存することになる。
3114+ 【!Note: Whether the incoming streams already have data on them will depend on server behavior.】
3115+ </ dd >
31153116
31163117 < dt > `State@sl</ dt >
31173118 < dd >
3118- %~transport の状態を指示する
3119- — 次に挙げるいずれかとして
3119+ 次に挙げるいずれか
31203120⇒#
31213121`connecting^l,
31223122`connected^l,
@@ -3126,6 +3126,10 @@ <h3 title="Internal slots">5.1. 内部~slot</h3>
31263126◎
31273127An enum indicating the state of the transport. One of "connecting", "connected", "draining", "closed", and "failed".
31283128</ dd >
3129+ < dd >
3130+ %~transport の状態を指示する
3131+ ◎
3132+ ↑</ dd >
31293133
31303134 < dt > `Ready@sl</ dt >
31313135 < dd >
@@ -4399,6 +4403,9 @@ <h3 title="Attributes">5.3. 属性</h3>
43994403~RET コレ . `IncomingBidirectionalStreams$sl
44004404◎
44014405↑↑ Returns a ReadableStream of WebTransportBidirectionalStreams that have been received from the server.\
4406+ ◎
4407+ ↑↑ Note: Whether the incoming streams already have data on them will depend on server behavior.
4408+ ◎
44024409The getter steps for the incomingBidirectionalStreams attribute SHALL be:
44034410• Return this's [[IncomingBidirectionalStreams]].
44044411</ dd >
@@ -4414,6 +4421,9 @@ <h3 title="Attributes">5.3. 属性</h3>
44144421~RET コレ . `IncomingUnidirectionalStreams$sl
44154422◎
44164423↑↑ A ReadableStream of unidirectional streams, each represented by a WebTransportReceiveStream, that have been received from the server.\
4424+ ◎
4425+ ↑↑ Note: Whether the incoming streams already have data on them will depend on server behavior.
4426+ ◎
44174427The getter steps for incomingUnidirectionalStreams are:
44184428• Return this.[[IncomingUnidirectionalStreams]].
44194429</ dd >
@@ -4732,32 +4742,34 @@ <h3 title="Methods">5.4. ~method</h3>
47324742◎
47334743Let p be a new promise.
47344744</ li >
4735- < li class ="algo ">
4736- < p >
4737- この段は`並列的$に走らす:
4738- ◎
4739- If transport.[[State]] is "failed", reject p with an InvalidStateError and abort these steps.
4740- ◎
4741- Run the following steps in parallel:
4742- </ p >
4743- < ol >
4744- < li >
4745+ < li >
47454746< p >
47464747~IF[
47474748%~transport . `State$sl ~EQ `failed^l
47484749]
4749- ⇒#
4750- `~promiseを却下する$( %p, `InvalidStateError$E 例外 );
4751- ~RET
4750+ ⇒
4751+ ~RET `却下される~promise$( `InvalidStateError$E 例外 )
47524752◎
47534753↑</ p >
4754+
47544755< p class ="trans-note "> 【
47554756この段は、
4756- 原文では並列的に遂行されていないが,誤りであろう
4757- (さもなければ、
4758- 代わりに`却下される~promise$を返すべきである)。
4757+ 原文では[
4758+ `~promiseを却下する$( %p, `InvalidStateError^E 例外 )
4759+ ]を行ってから値を返さずに手続きを終えているが,誤りであろう。
4760+ `failed^l は、
4761+ 以下で`並列的$に走らす手続きの中でも取扱われているので,この段は不要かもしれない。
47594762】</ p >
4760- </ li >
4763+ ◎
4764+ If transport.[[State]] is "failed", reject p with an InvalidStateError and abort these steps.
4765+ </ li >
4766+ < li class ="algo ">
4767+ < p >
4768+ この段は`並列的$に走らす:
4769+ ◎
4770+ Run the following steps in parallel:
4771+ </ p >
4772+ < ol >
47614773 < li >
47624774~IF[
47634775%~transport . `State$sl ~EQ `connecting^l
@@ -4862,6 +4874,13 @@ <h3 title="Methods">5.4. ~method</h3>
48624874◎
48634875Creates a WebTransportBidirectionalStream object for an outgoing bidirectional stream. Note that the mere creation of a stream is not immediately visible to the peer until it is used to send data.
48644876</ dd >
4877+ < dd class ="note "> 注記:
4878+ 当の~stream上に~dataが送信されるまでは、
4879+ ~serverが当の~streamを自覚するようになることは期待されない。
4880+ ◎
4881+ Note: There is no expectation that the server will be aware of the stream until data is sent on it.
4882+ </ dd >
4883+
48654884 < dd class ="algo ">
48664885< p >
48674886~method手続きは:
@@ -5030,6 +5049,12 @@ <h3 title="Methods">5.4. ~method</h3>
50305049~serverからは即時に可視にならないことに注意。
50315050◎
50325051Creates a WebTransportSendStream for an outgoing unidirectional stream. Note that the mere creation of a stream is not immediately visible to the server until it is used to send data.
5052+ </ dd >
5053+ < dd class ="note "> 注記:
5054+ 当の~stream上に~dataが送信されるまでは、
5055+ ~serverが当の~streamを自覚するようになることは期待されない。
5056+ ◎
5057+ Note: There is no expectation that the server will be aware of the stream until data is sent on it.
50335058</ dd >
50345059 < dd class ="algo ">
50355060< p >
0 commit comments