Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(125)

Unified Diff: third_party/WebKit/LayoutTests/webaudio/resources/audit.js

Issue 2781643002: Audit should support Uint8Arrays (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/webaudio/unit-tests/audit.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/webaudio/resources/audit.js
diff --git a/third_party/WebKit/LayoutTests/webaudio/resources/audit.js b/third_party/WebKit/LayoutTests/webaudio/resources/audit.js
index db68c36295d42e1d9404581607fc6bc48434c62b..80fe9cdbea422a7fb76eb56d2c15c0beac811a46 100644
--- a/third_party/WebKit/LayoutTests/webaudio/resources/audit.js
+++ b/third_party/WebKit/LayoutTests/webaudio/resources/audit.js
@@ -63,7 +63,7 @@ window.Audit = (function () {
case 'object':
// Handle Arrays.
if (target instanceof Array || target instanceof Float32Array ||
- target instanceof Float64Array) {
+ target instanceof Float64Array || target instanceof Uint8Array) {
let arrayElements = target.length < options.numberOfArrayElements
? String(target)
: String(target.slice(0, options.numberOfArrayElements)) + '...';
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/webaudio/unit-tests/audit.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698