Chromium Code Reviews| Index: LayoutTests/fast/canvas/webgl/script-tests/arraybuffer-transfer-of-control.js |
| diff --git a/LayoutTests/fast/canvas/webgl/script-tests/arraybuffer-transfer-of-control.js b/LayoutTests/fast/canvas/webgl/script-tests/arraybuffer-transfer-of-control.js |
| index 4e1ede279712795114f329d5746f88a7c83e0875..a239803dbaef0008d44f1fb192faa02fc13eb44c 100644 |
| --- a/LayoutTests/fast/canvas/webgl/script-tests/arraybuffer-transfer-of-control.js |
| +++ b/LayoutTests/fast/canvas/webgl/script-tests/arraybuffer-transfer-of-control.js |
| @@ -13,6 +13,7 @@ var basicBufferTypes = |
| ["Uint32", Uint32Array, 4], |
| ["Int8", Int8Array, 1], |
| ["Uint8", Uint8Array, 1], |
| + ["Uint8Clamped", Uint8ClampedArray, 1], |
|
Dmitry Lomov (no reviews)
2013/07/15 16:58:05
This is added because Uint8ClampedArray is not a s
|
| ["Int16", Int16Array, 2], |
| ["Uint16", Uint16Array, 2], |
| ["Float32", Float32Array, 4], |
| @@ -115,7 +116,7 @@ function assertViewClosed(testName, view) |
| return false; |
| } catch (xn) { } |
| try { |
| - view.set(0, 1); |
| + view.set([0], 1); |
|
Dmitry Lomov (no reviews)
2013/07/15 16:58:05
This test didn't test what it thought it tested: v
|
| testFailed(testName + ": set on a closed view succeeded"); |
| return false; |
| } catch (xn) { } |