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

Side by Side Diff: test/mjsunit/harmony/typedarrays.js

Issue 14330006: Disable the test due to Win64 build problems. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 8 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 27 matching lines...) Expand all
38 TestByteLength(1, 1); 38 TestByteLength(1, 1);
39 TestByteLength(256, 256); 39 TestByteLength(256, 256);
40 TestByteLength(-10, 0); 40 TestByteLength(-10, 0);
41 TestByteLength(2.567, 2); 41 TestByteLength(2.567, 2);
42 TestByteLength(-2.567, 0); 42 TestByteLength(-2.567, 0);
43 43
44 TestByteLength("abc", 0); 44 TestByteLength("abc", 0);
45 45
46 TestByteLength(0, 0); 46 TestByteLength(0, 0);
47 47
48 /* TODO[dslomov]: Reenable the test
48 assertThrows(function() { 49 assertThrows(function() {
49 var ab1 = new __ArrayBuffer(0xFFFFFFFFFFFF) 50 var ab1 = new __ArrayBuffer(0xFFFFFFFFFFFF)
50 }, RangeError); 51 }, RangeError);
52 */
51 53
52 var ab = new __ArrayBuffer(); 54 var ab = new __ArrayBuffer();
53 assertSame(0, ab.byteLength); 55 assertSame(0, ab.byteLength);
54 } 56 }
55 57
56 TestArrayBufferCreation(); 58 TestArrayBufferCreation();
57 59
58 function TestByteLengthNotWritable() { 60 function TestByteLengthNotWritable() {
59 var ab = new __ArrayBuffer(1024); 61 var ab = new __ArrayBuffer(1024);
60 assertSame(1024, ab.byteLength); 62 assertSame(1024, ab.byteLength);
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
220 } 222 }
221 for (var i = 0; i < 20; i++) { 223 for (var i = 0; i < 20; i++) {
222 TestProperty(m, i, 'val' + i); 224 TestProperty(m, i, 'val' + i);
223 TestProperty(m, 'foo' + i, 'bar' + i); 225 TestProperty(m, 'foo' + i, 'bar' + i);
224 } 226 }
225 } 227 }
226 TestArbitrary(new __ArrayBuffer(256)); 228 TestArbitrary(new __ArrayBuffer(256));
227 229
228 // Test direct constructor call 230 // Test direct constructor call
229 assertTrue(__ArrayBuffer() instanceof __ArrayBuffer); 231 assertTrue(__ArrayBuffer() instanceof __ArrayBuffer);
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698