Unrevert D3518381

Reviewed By: gabelevi

Differential Revision: D3522895

fbshipit-source-id: 52f28c7f3142566a07d8bc845be882aeda098809
This commit is contained in:
Jeff Morrison
2016-07-06 12:49:08 -07:00
committed by Facebook Github Bot 9
parent ba3c7ef08c
commit 7795918eb4
11 changed files with 43 additions and 18 deletions

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;
}