Browse Source

Fastint test cases, array 'length' test case

pull/156/head
Sami Vaarala 10 years ago
parent
commit
4ac16e6b55
  1. 3097
      ecmascript-testcases/test-dev-fastint-basic.js
  2. 15
      ecmascript-testcases/test-dev-set-arraylength-negzero.js

3097
ecmascript-testcases/test-dev-fastint-basic.js

File diff suppressed because it is too large

15
ecmascript-testcases/test-dev-set-arraylength-negzero.js

@ -0,0 +1,15 @@
/*===
0
===*/
function test() {
var arr = [ 'foo', 'bar', 'quux' ];
arr.length = -0;
print(arr.length);
}
try {
test();
} catch (e) {
print(e.stack || e);
}
Loading…
Cancel
Save