blob: 05e807e98982e15d5eb61b21f2127ac2946682a4 [file] [log] [blame]
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
info: The Date.prototype property "setUTCMinutes" has { DontEnum } attributes
esid: sec-date.prototype.setutcminutes
description: Checking DontEnum attribute
---*/
if (Date.prototype.propertyIsEnumerable('setUTCMinutes')) {
$ERROR('#1: The Date.prototype.setUTCMinutes property has the attribute DontEnum');
}
for (var x in Date.prototype) {
if (x === "setUTCMinutes") {
$ERROR('#2: The Date.prototype.setUTCMinutes has the attribute DontEnum');
}
}