Revert writeClose() type back to void from Promise<undefined>
authorTakeshi Yoshino <tyoshino@google.com>
Fri, 08 Nov 2013 04:00:04 +0900
changeset 52 565481c25eb3
parent 51 5cd4dc71b9e0
child 53 849bff454eb7
Revert writeClose() type back to void from Promise<undefined>

For now, it seems not worth returning a Promise.
preview.html
--- a/preview.html	Fri Nov 08 03:54:56 2013 +0900
+++ b/preview.html	Fri Nov 08 04:00:04 2013 +0900
@@ -388,11 +388,11 @@
 				</p>
 			</dd>
 
-			<dt>Promise&amp;lt;undefined&gt; writeClose()</dt>
+			<dt>void writeClose()</dt>
 			<dd>
 				<p>
 					This method tells the WritableByteStream that no more data will be written to it.
-					Once writeClose() has been called on a WritableByteStream, any method must not be called on the WritableByteStream.
+					Once writeClose() has been called on a WritableByteStream, any more method call must not be made on the WritableByteStream.
 				</p>
 			</dd>
 		</dl>
@@ -701,7 +701,7 @@
 					</dl>
 				</dd>
 
-				<dt>Promise writeClose()</dt>
+				<dt>void writeClose()</dt>
 				<dd>
 					<p>
 						When all data has been read from the <a>ByteStream</a> on which writeClose() has been called, i.e. <a href="#eof-reached">EOF is reached</a>, it resolves the Promise returned by read() with a <a>ByteStreamReadResult</a> with the <a href="#widl-ByteStreamReadResult-eof">eof</a> attribute set to true.