| Index: test/mjsunit/messages.js
|
| diff --git a/test/mjsunit/messages.js b/test/mjsunit/messages.js
|
| index b42cc3019342760d9bde3a18eb8a204ad0cb252a..8da7e6bd7b950420d214e64b2f880ba9c1080f59 100644
|
| --- a/test/mjsunit/messages.js
|
| +++ b/test/mjsunit/messages.js
|
| @@ -109,11 +109,6 @@ test(function() {
|
| new DataView(1);
|
| }, "First argument to DataView constructor must be an ArrayBuffer", TypeError);
|
|
|
| -// kDateType
|
| -test(function() {
|
| - Date.prototype.setYear.call({}, 1);
|
| -}, "this is not a Date object.", TypeError);
|
| -
|
| // kDefineDisallowed
|
| test(function() {
|
| "use strict";
|
| @@ -189,7 +184,7 @@ test(function() {
|
|
|
| // kNotDateObject
|
| test(function() {
|
| - Date.prototype.setHours.call(1);
|
| + Date.prototype.getHours.call(1);
|
| }, "this is not a Date object.", TypeError);
|
|
|
| // kNotGeneric
|
|
|