Overview.htm
changeset 155 841bc807e839
parent 154 e5f35a6d88fe
child 156 a0e5ee8be17c
equal deleted inserted replaced
154:e5f35a6d88fe 155:841bc807e839
   775 					<li>Reject <var>writeClosePromise</var> with <var>reason</var></li>
   775 					<li>Reject <var>writeClosePromise</var> with <var>reason</var></li>
   776 				</ol>
   776 				</ol>
   777 			</p>
   777 			</p>
   778 
   778 
   779 			<p>
   779 			<p>
   780 				When <a>dataSink</a> acknowledges the <a>write abort</a>, run the steps below:
   780 				When <a>dataSink</a> acknowledges the <a>write abort</a>, fulfill <var>writeAbortPromise</var> with <code>undefined</code>
   781 
   781 			</p>
   782 				<ol>
   782 
   783 					<li>
   783 			<p>
   784 						<dl class="switch">
   784 				When <a>dataSink</a> notifies of failure of the <a>write abort</a> signal with <var>reason</var>, reject <var>writeAbortPromise</var> with <var>reason</var>
   785 							<dt>If in the event loop</dt>
       
   786 							<dd>Run the rest of these steps</dd>
       
   787 							<dt>Otherwise</dt>
       
   788 							<dd>Queue a task which runs the rest of these steps</dd>
       
   789 						</dl>
       
   790 					</li>
       
   791 
       
   792 					<li>Fulfill <var>writeAbortPromise</var> with <code>undefined</code></li>
       
   793 				</ol>
       
   794 			</p>
       
   795 
       
   796 			<p>
       
   797 				When <a>dataSink</a> notifies of failure of the <a>write abort</a> signal with <var>reason</var>, run the steps below:
       
   798 
       
   799 				<ol>
       
   800 					<li>
       
   801 						<dl class="switch">
       
   802 							<dt>If in the event loop</dt>
       
   803 							<dd>Run the rest of these steps</dd>
       
   804 							<dt>Otherwise</dt>
       
   805 							<dd>Queue a task which runs the rest of these steps</dd>
       
   806 						</dl>
       
   807 					</li>
       
   808 
       
   809 					<li>Reject <var>writeAbortPromise</var> with <var>reason</var></li>
       
   810 				</ol>
       
   811 			</p>
   785 			</p>
   812 
   786 
   813 			<p>
   787 			<p>
   814 				When <a>dataSink</a> requests <var>amountNewlyRequested</var> more data, run the steps below:
   788 				When <a>dataSink</a> requests <var>amountNewlyRequested</var> more data, run the steps below:
   815 
   789