Unrevert D3518381

Reviewed By: gabelevi

Differential Revision: D3522895

fbshipit-source-id: 52f28c7f3142566a07d8bc845be882aeda098809
This commit is contained in:
Jeff Morrison authored and Facebook Github Bot 9 committed 2016-07-06 12:58:41 -07:00
1 parent ba3c7ef08c
commit 7795918eb4
11 files changed
+43 -18

No files matched your search

+8 -1
View File
@@ -1,4 +1,11 @@
/**
* Copyright (c) 2013-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* The examples provided by Facebook are for non-commercial testing and
* evaluation purposes only.
*
@@ -81,7 +88,7 @@ function showValue(value) {
if (typeof ArrayBuffer !== 'undefined' &&
typeof Uint8Array !== 'undefined' &&
value instanceof ArrayBuffer) {
return `ArrayBuffer {${Array.from(new Uint8Array(value))}}`;
return `ArrayBuffer {${String(Array.from(new Uint8Array(value)))}}`;
}
return value;
}