Chromium Code Reviews| Index: LayoutTests/fast/canvas/webgl/array-unit-tests.html |
| diff --git a/LayoutTests/fast/canvas/webgl/array-unit-tests.html b/LayoutTests/fast/canvas/webgl/array-unit-tests.html |
| index 30fd9614fcece32313644b51015e767d99f96f64..7ab3c4f3c8069e135e1b0c96d6b1156fc1841a13 100644 |
| --- a/LayoutTests/fast/canvas/webgl/array-unit-tests.html |
| +++ b/LayoutTests/fast/canvas/webgl/array-unit-tests.html |
| @@ -123,9 +123,6 @@ function testInheritanceHierarchy() { |
| } catch (e) { |
| testPassed('ArrayBufferView has [NoInterfaceObject] extended attribute and was (correctly) not defined'); |
| } |
| - |
| - // There is currently only one kind of view that inherits from another |
| - shouldBe('new Uint8ClampedArray(1) instanceof Uint8Array', 'true'); |
|
Ken Russell (switch to Gerrit)
2013/07/17 03:01:35
This is problematic and needs to be resolved. The
|
| } |
| // |
| @@ -344,8 +341,8 @@ function testOffsetsAndSizes(type, name, elementSizeInBytes) { |
| running('test ' + name + ' OffsetsAndSizes'); |
| try { |
| var len = 10; |
| - assertEq('type.BYTES_PER_ELEMENT', elementSizeInBytes, type.BYTES_PER_ELEMENT); |
| var array = new type(len); |
| + assertEq('array.BYTES_PER_ELEMENT', elementSizeInBytes, array.BYTES_PER_ELEMENT); |
|
Ken Russell (switch to Gerrit)
2013/07/17 03:01:35
This is a major compatibility problem. BYTES_PER_E
|
| assert('array.buffer', array.buffer); |
| assertEq('array.byteOffset', 0, array.byteOffset); |
| assertEq('array.length', len, array.length); |
| @@ -1003,7 +1000,6 @@ function runTests() { |
| testConstructionWithNegativeOutOfRangeValues(type, name); |
| testConstructionWithUnalignedOffset(type, name, testCase.elementSizeInBytes); |
| testConstructionWithUnalignedLength(type, name, testCase.elementSizeInBytes); |
| - testConstructionOfHugeArray(type, name, testCase.elementSizeInBytes); |
| testConstructionWithBothArrayBufferAndLength(type, name, testCase.elementSizeInBytes); |
| testConstructionWithSubPortionOfArrayBuffer(type, name, testCase.elementSizeInBytes); |
| testSubarrayWithOutOfRangeValues(type, name, testCase.elementSizeInBytes); |