Review fixes

This commit is contained in:
Stanley Cheung 2020-08-17 12:59:17 -07:00 committed by Stanley Cheung
parent 0238da3b6e
commit 3d921fffb7
2 changed files with 2 additions and 1 deletions

View File

@ -41,7 +41,7 @@ class Request {
*/ */
getCallOptions() {} getCallOptions() {}
/** /**
* @param {string} key * @param {string} key
* @param {string} value * @param {string} value
* @return {!Request<REQUEST, RESPONSE>} * @return {!Request<REQUEST, RESPONSE>}

View File

@ -278,6 +278,7 @@ class StreamBodyClientReadableStream {
for (let i = 0; i < bytes.length; i++) { for (let i = 0; i < bytes.length; i++) {
byteSource += String.fromCharCode(bytes[i]); byteSource += String.fromCharCode(bytes[i]);
} }
return byteSource;
} else { } else {
return this.xhr_.getResponse(); return this.xhr_.getResponse();
} }