diff --git a/test/vm/fails/key_size_overflow.js b/test/vm/fails/key_size_overflow.js index 9daebc924..beb50bed7 100644 --- a/test/vm/fails/key_size_overflow.js +++ b/test/vm/fails/key_size_overflow.js @@ -1,3 +1,10 @@ +var key = "0123456789ABCDEF"; + +for(var i = 0; i < 8; ++i) { + key = concat(key, key); +} +key = concat(key, "."); + var map = {}; -map["A3D6C7817001F48946270CD00CE1EA2105F470F65DA66C1FBCAADE3E7CAB964AA3D6C7817001F48946270CD00CE1EA2105F470F65DA66C1FBCAADE3E7CAB964AA3D6C7817001F48946270CD00CE1EA2105F470F65DA66C1FBCAADE3E7CAB964AA3D6C7817001F48946270CD00CE1EA2105F470F65DA66C1FBCAADE3E7CAB964A.A3D6C7817001F48946270CD00CE1EA2105F470F65DA66C1FBCAADE3E7CAB964AA3D6C7817001F48946270CD00CE1EA2105F470F65DA66C1FBCAADE3E7CAB964AA3D6C7817001F48946270CD00CE1EA2105F470F65DA66C1FBCAADE3E7CAB964AA3D6C7817001F48946270CD00CE1EA2105F470F65DA66C1FBCAADE3E7CAB964A.A3D6C7817001F48946270CD00CE1EA2105F470F65DA66C1FBCAADE3E7CAB964AA3D6C7817001F48946270CD00CE1EA2105F470F65DA66C1FBCAADE3E7CAB964AA3D6C7817001F48946270CD00CE1EA2105F470F65DA66C1FBCAADE3E7CAB964AA3D6C7817001F48946270CD00CE1EA2105F470F65DA66C1FBCAADE3E7CAB964A.A3D6C7817001F48946270CD00CE1EA2105F470F65DA66C1FBCAADE3E7CAB964AA3D6C7817001F48946270CD00CE1EA2105F470F65DA66C1FBCAADE3E7CAB964AA3D6C7817001F48946270CD00CE1EA2105F470F65DA66C1FBCAADE3E7CAB964AA3D6C7817001F48946270CD00CE1EA2105F470F65DA66C1FBCAADE3E7CAB964A.A3D6C7817001F48946270CD00CE1EA2105F470F65DA66C1FBCAADE3E7CAB964AA3D6C7817001F48946270CD00CE1EA2105F470F65DA66C1FBCAADE3E7CAB964AA3D6C7817001F48946270CD00CE1EA2105F470F65DA66C1FBCAADE3E7CAB964AA3D6C7817001F48946270CD00CE1EA2105F470F65DA66C1FBCAADE3E7CAB964A."] = 1; +map[key] = 1; diff --git a/test/vm/fails/value_size_overflow.js b/test/vm/fails/value_size_overflow.js index 0d0b9a690..52fbbaf2c 100644 --- a/test/vm/fails/value_size_overflow.js +++ b/test/vm/fails/value_size_overflow.js @@ -1,7 +1,7 @@ var value = "0123456789ABCDEF"; -for(var i = 0; i < 13; ++i) { +for(var i = 0; i < 29; ++i) { value = concat(value, value); }