| Index: test/mjsunit/regress/regress-crbug-168545.js
|
| diff --git a/test/mjsunit/regress/regress-2153.js b/test/mjsunit/regress/regress-crbug-168545.js
|
| similarity index 89%
|
| copy from test/mjsunit/regress/regress-2153.js
|
| copy to test/mjsunit/regress/regress-crbug-168545.js
|
| index 3170042bedc6e80f9ca11436f7162c209eb8f799..1bc52fe9b0975b4f654c797da307c8f8ae40fef4 100644
|
| --- a/test/mjsunit/regress/regress-2153.js
|
| +++ b/test/mjsunit/regress/regress-crbug-168545.js
|
| @@ -1,4 +1,4 @@
|
| -// Copyright 2012 the V8 project authors. All rights reserved.
|
| +// Copyright 2013 the V8 project authors. All rights reserved.
|
| // Redistribution and use in source and binary forms, with or without
|
| // modification, are permitted provided that the following conditions are
|
| // met:
|
| @@ -26,7 +26,5 @@
|
| // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
| var o = {};
|
| -o.__defineGetter__('foo', function () { return null; });
|
| -var o = {};
|
| -o.foo = 42;
|
| -assertEquals(42, o.foo);
|
| +Object.defineProperty(o, "length", { get: function() { throw "bail"; }});
|
| +assertThrows("new Int16Array(o);");
|
|
|